instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which source has a date of June 2008?
SELECT Source FROM table WHERE Date = june 2008
Translate the following into a SQL query
Which source date has an Internet Explorer usage of 60.2%?
SELECT Source FROM table WHERE Internet Explorer = 60.2%
Translate the following into a SQL query
What city has the home team of the brisbane broncos?
SELECT City FROM table WHERE Home team/s = brisbane broncos
Translate the following into a SQL query
What is the earliest closed year in the country of france?
SELECT MIN Closed (as a RL stadium) FROM table WHERE Country = france
Translate the following into a SQL query
What is the result for the event that lasted 2:20?
SELECT Res. FROM table WHERE Time = 2:20
Translate the following into a SQL query
Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event?
SELECT Opponent FROM table WHERE Res. = loss AND Event = gladiator challenge 87: collision course
Translate the following into a SQL query
For the Cage Combat Fighting Championships: Mayhem, what was the record?
SELECT Record FROM table WHERE Event = cage combat fighting championships: mayhem
Translate the following into a SQL query
What is the Name of the Gabeca Montichiari Club?
SELECT Name FROM table WHERE 2008 club = gabeca montichiari
Translate the following into a SQL query
What is the Height of the Player from the 2008 Club of RPA Perugia?
SELECT Height FROM table WHERE 2008 club = rpa perugia
Translate the following into a SQL query
Who was the designer for The Grapefruit Moon?
SELECT Designer FROM table WHERE Restaurant Name = the grapefruit moon
Translate the following into a SQL query
Who is the chef at Lakes Bar and Grill?
SELECT Chef FROM table WHERE Restaurant Name = lakes bar and grill
Translate the following into a SQL query
What is the name of the Cobourg, ON restaurant that had Robin de Groot as designer?
SELECT Restaurant Name FROM table WHERE Designer = robin de groot AND Location = cobourg, on
Translate the following into a SQL query
What European competitions have a tier of 2 and a position of 3?
SELECT European competitions FROM table WHERE Tier = 2 AND Pos. = 3
Translate the following into a SQL query
Which Nation won 5 Silver, and more than 4 Gold?
SELECT Nation FROM table WHERE Silver = 5 AND Gold > 4
Translate the following into a SQL query
What is the sum of heat for christophe lebon when lane is less than 4?
SELECT COUNT Heat FROM table WHERE Lane < 4 AND Name = christophe lebon
Translate the following into a SQL query
Who is from the united states, has a rank less than 9, and heat more than 5?
SELECT Name FROM table WHERE Rank < 9 AND Heat > 5 AND Nationality = united states
Translate the following into a SQL query
Serbia has a heat less than 2 and what sum of rank?
SELECT COUNT Rank FROM table WHERE Nationality = serbia AND Heat < 2
Translate the following into a SQL query
When rank is 33, what is the smallest lane?
SELECT MIN Lane FROM table WHERE Rank = 33
Translate the following into a SQL query
Which Model has a Number of CPUs of 1–10, and a Performance (MIPS) of 49–447?
SELECT Model FROM table WHERE Number of CPUs = 1–10 AND Performance (MIPS) = 49–447
Translate the following into a SQL query
Which Year Introduced has a Memory (GB) of 0.125–2?
SELECT MAX Year Introduced FROM table WHERE Memory (GB) = 0.125–2
Translate the following into a SQL query
Which Number of CPUs has a Memory (GB) of 0.5–16?
SELECT Number of CPUs FROM table WHERE Memory (GB) = 0.5–16
Translate the following into a SQL query
Which Memory (GB) has a Number of CPUs of 1–6?
SELECT Memory (GB) FROM table WHERE Number of CPUs = 1–6
Translate the following into a SQL query
Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined larger than 50 from renault?
SELECT Fuel Type FROM table WHERE mpg-US Extra-Urban > 53.5 AND mpg-US Combined > 50 AND Manufacturer = renault
Translate the following into a SQL query
What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56?
SELECT Country FROM table WHERE Rank > 4 AND Time = 5:59.56
Translate the following into a SQL query
What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?
SELECT Time FROM table WHERE Rank > 2 AND Notes = fb AND Country = belarus
Translate the following into a SQL query
What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
SELECT Time FROM table WHERE Notes = fa AND Rank < 2
Translate the following into a SQL query
Who are the Rowers from Poland?
SELECT Rowers FROM table WHERE Country = poland
Translate the following into a SQL query
Who are the Rowers with a Time of 5:56.38?
SELECT Rowers FROM table WHERE Time = 5:56.38
Translate the following into a SQL query
What's the release date for Claws For Alarm who has a director of Charles M. Jones, no reissue, and a production number less than 1323?
SELECT Release date FROM table WHERE Production Number < 1323 AND reissue? = no AND Director = charles m. jones AND Title = claws for alarm
Translate the following into a SQL query
What's the title of the film with the release date of 1954-12-18?
SELECT Title FROM table WHERE Release date = 1954-12-18
Translate the following into a SQL query
Was there a reissue with a release date of 1954-09-04 having a production number more than 1289 and a director of Robert McKimson?
SELECT reissue? FROM table WHERE Director = robert mckimson AND Production Number > 1289 AND Release date = 1954-09-04
Translate the following into a SQL query
What is the production number for Bell Hoppy in the MM Series?
SELECT COUNT Production Number FROM table WHERE Series = mm AND Title = bell hoppy
Translate the following into a SQL query
How much Scored has Losses smaller than 0?
SELECT SUM Scored FROM table WHERE Losses < 0
Translate the following into a SQL query
Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9?
SELECT MIN Wins FROM table WHERE Losses < 6 AND Position = 4 AND Played > 9
Translate the following into a SQL query
How much Conceded has Wins smaller than 3, and Points larger than 11?
SELECT COUNT Conceded FROM table WHERE Wins < 3 AND Points > 11
Translate the following into a SQL query
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?
SELECT MIN Draws FROM table WHERE Points < 15 AND Conceded > 10 AND Position > 8 AND Wins = 1
Translate the following into a SQL query
How many losses have 11 points?
SELECT COUNT Losses FROM table WHERE Points = 11
Translate the following into a SQL query
What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
SELECT Song Title FROM table WHERE Singer(s) = sonu nigam AND Lyricist = dev kohli/biddu AND Number > 8
Translate the following into a SQL query
Who was the singer for the song numbered 3, with lyricist Dev Kohli?
SELECT Singer(s) FROM table WHERE Lyricist = dev kohli AND Number = 3
Translate the following into a SQL query
What is the average number for the song "O Sudha"?
SELECT AVG Number FROM table WHERE Song Title = o sudha
Translate the following into a SQL query
What is the average length for the song "Ma Ke Jaisi"?
SELECT Length FROM table WHERE Song Title = ma ke jaisi
Translate the following into a SQL query
Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2?
SELECT Name FROM table WHERE FA Cup Goals = 0 AND League Cup Goals < 2 AND Total Goals = 2
Translate the following into a SQL query
what is the fa cup goals when total apps is 10 (4)?
SELECT SUM FA Cup Goals FROM table WHERE Total Apps = 10 (4)
Translate the following into a SQL query
how many times is the fa cup apps more than 0, the position mf and the league goals 4?
SELECT COUNT Total Goals FROM table WHERE FA Cup Apps > 0 AND Position = mf AND League Goals = 4
Translate the following into a SQL query
What is the district with more than 1,246,756 electorates and a constituency number of 191?
SELECT District FROM table WHERE Number of electorates (2009) > 1,246,756 AND Constituency number = 191
Translate the following into a SQL query
What is the total number of electorates in 2009 with a constituency of 193?
SELECT COUNT Number of electorates (2009) FROM table WHERE Constituency number = 193
Translate the following into a SQL query
What is the reserved for the constituency of 192?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Constituency number = 192
Translate the following into a SQL query
Which Artist has a Percentage of 11.32%?
SELECT Artist FROM table WHERE Percentage = 11.32%
Translate the following into a SQL query
What is the week for November 28, 1982?
SELECT MIN Week FROM table WHERE Date = november 28, 1982
Translate the following into a SQL query
What is the attendance number when the result is l 41-37?
SELECT Attendance FROM table WHERE Result = l 41-37
Translate the following into a SQL query
What is the attendance in a week earlier than 4, and result is w 31-20?
SELECT AVG Attendance FROM table WHERE Week < 4 AND Result = w 31-20
Translate the following into a SQL query
What is the opponent in a week larger than 1, with a result of l 21-20?
SELECT Opponent FROM table WHERE Week > 1 AND Result = l 21-20
Translate the following into a SQL query
What sport was played by the team founded in 2010?
SELECT Sport FROM table WHERE Founded = 2010
Translate the following into a SQL query
What club team was founded before 2011 and plays at the champion window field?
SELECT Club FROM table WHERE Founded < 2011 AND Venue = champion window field
Translate the following into a SQL query
How many different dates are there for founded teams for the venue of champion window field?
SELECT COUNT Founded FROM table WHERE Venue = champion window field
Translate the following into a SQL query
What club team plays at the champion window field?
SELECT Club FROM table WHERE Venue = champion window field
Translate the following into a SQL query
How much Gross Domestic Product has a US Dollar Exchange of 12.19 algerian dinars, and an Inflation Index (2000=100) larger than 22?
SELECT SUM Gross Domestic Product FROM table WHERE US Dollar Exchange = 12.19 algerian dinars AND Inflation Index (2000=100) > 22
Translate the following into a SQL query
Which Gross Domestic Product has an Inflation Index (2000=100) smaller than 9.3?
SELECT AVG Gross Domestic Product FROM table WHERE Inflation Index (2000=100) < 9.3
Translate the following into a SQL query
Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.65, and a Year smaller than 1990?
SELECT MAX Inflation Index (2000=100) FROM table WHERE Per Capita Income (as % of USA) = 10.65 AND Year < 1990
Translate the following into a SQL query
What release date has 6998 as the production num.?
SELECT Release date FROM table WHERE Production Num. = 6998
Translate the following into a SQL query
What director has lt as the series, with 6982 as the production num.?
SELECT Director FROM table WHERE Series = lt AND Production Num. = 6982
Translate the following into a SQL query
What series has 1935-07-13 as the release date?
SELECT Series FROM table WHERE Release date = 1935-07-13
Translate the following into a SQL query
What title has lt as the series, ben hardaway as the director, with 6612 as the production num.?
SELECT Title FROM table WHERE Series = lt AND Director = ben hardaway AND Production Num. = 6612
Translate the following into a SQL query
What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr of st-81?
SELECT Title FROM table WHERE Label = pacific jazz AND Year = 1963 AND Label-Nr = st-81
Translate the following into a SQL query
What is the earliest year with a label-Nr of st-43?
SELECT MIN Year FROM table WHERE Label-Nr = st-43
Translate the following into a SQL query
What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
SELECT Title FROM table WHERE Label = pacific jazz AND Label-Nr = st-20124
Translate the following into a SQL query
What is the type earlier than 1968, and a Title of stretchin' out?
SELECT Type FROM table WHERE Year < 1968 AND Title = stretchin' out
Translate the following into a SQL query
what is the team that is pick 31?
SELECT Team FROM table WHERE Pick = 31
Translate the following into a SQL query
what is the position when the pick is higher than 32 and the team is atlanta braves?
SELECT Position FROM table WHERE Pick > 32 AND Team = atlanta braves
Translate the following into a SQL query
what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)?
SELECT Position FROM table WHERE Pick > 33 AND School = tottenville hs (staten island, ny)
Translate the following into a SQL query
What is the Attendance of the game in Week 12?
SELECT MAX Attendance FROM table WHERE Week = 12
Translate the following into a SQL query
What is the Opponent on December 3, 1979?
SELECT Opponent FROM table WHERE Date = december 3, 1979
Translate the following into a SQL query
What is the Result of the game against Philadelphia Eagles?
SELECT Result FROM table WHERE Opponent = philadelphia eagles
Translate the following into a SQL query
What is the score March 27?
SELECT Score FROM table WHERE Date = march 27
Translate the following into a SQL query
What is the score for the game larger than 4 in series 3-2?
SELECT Score FROM table WHERE Game > 4 AND Series = 3-2
Translate the following into a SQL query
What is the game number for series 4-2?
SELECT COUNT Game FROM table WHERE Series = 4-2
Translate the following into a SQL query
What date has a game smaller than 4, and a score of 116-114?
SELECT Date FROM table WHERE Game < 4 AND Score = 116-114
Translate the following into a SQL query
What is the game number on April 7?
SELECT COUNT Game FROM table WHERE Date = april 7
Translate the following into a SQL query
Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979?
SELECT Opposing Team FROM table WHERE Against < 19 AND Date = 20/05/1979
Translate the following into a SQL query
What was the production number of the episode titel of pre-hysterical hare?
SELECT COUNT Production Number FROM table WHERE Title = pre-hysterical hare
Translate the following into a SQL query
What director had a production number of 1490?
SELECT Director FROM table WHERE Production Number = 1490
Translate the following into a SQL query
Which title was directed by chuck jones and released on 1958-04-12?
SELECT Title FROM table WHERE Director = chuck jones AND Release date = 1958-04-12
Translate the following into a SQL query
Which Name has a Time larger than 53.06, and a Lane smaller than 8, and a Rank larger than 2, and a Nationality of japan?
SELECT Name FROM table WHERE Time > 53.06 AND Lane < 8 AND Rank > 2 AND Nationality = japan
Translate the following into a SQL query
How many lanes have a Time of 53.61, and a Rank larger than 3?
SELECT SUM Lane FROM table WHERE Time = 53.61 AND Rank > 3
Translate the following into a SQL query
What is the 3rd day result when the 2nd day was rowed-over in 2010?
SELECT 3rd day FROM table WHERE 2nd day = rowed-over AND Year = 2010
Translate the following into a SQL query
What is the 3rd day result when the 4th day was bumped Fitzwilliam?
SELECT 3rd day FROM table WHERE 4th Day = bumped fitzwilliam
Translate the following into a SQL query
What is the finish position in the year prior to 2009?
SELECT Finish position FROM table WHERE Year < 2009
Translate the following into a SQL query
What is the result for the first day in a year prior to 2011 when the 4th day's result is bumped Girton?
SELECT 1st day FROM table WHERE Year < 2011 AND 4th Day = bumped girton
Translate the following into a SQL query
Which #/ County has a Location of ossian?
SELECT # / County FROM table WHERE Location = ossian
Translate the following into a SQL query
How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans?
SELECT COUNT Enrollment FROM table WHERE IHSAA Class = aaaaa AND Mascot = spartans
Translate the following into a SQL query
How much Enrollment has a School of fort wayne homestead?
SELECT SUM Enrollment FROM table WHERE School = fort wayne homestead
Translate the following into a SQL query
Which IHSAA Class has a Location of columbia city?
SELECT IHSAA Class FROM table WHERE Location = columbia city
Translate the following into a SQL query
Who was the opponent at the game with a score of 111-106?
SELECT Opponent FROM table WHERE Score = 111-106
Translate the following into a SQL query
What was the location of the game with a score of 113-106?
SELECT Location/Attendance FROM table WHERE Score = 113-106
Translate the following into a SQL query
What is the highest pick number for a pick drafted by the denver broncos?
SELECT MAX Pick FROM table WHERE Team = denver broncos
Translate the following into a SQL query
What opponent has l 27-7 as the result?
SELECT Opponent FROM table WHERE Result = l 27-7
Translate the following into a SQL query
How many weeks has 54,187 as the attendance?
SELECT COUNT Week FROM table WHERE Attendance = 54,187
Translate the following into a SQL query
How many weeks have an attendance greater than 55,121, and l 27-7 as the result?
SELECT SUM Week FROM table WHERE Attendance > 55,121 AND Result = l 27-7
Translate the following into a SQL query
What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
SELECT Tournament FROM table WHERE Opponent = alberta brianti AND Score = 6-4 2-6 6-2
Translate the following into a SQL query
When was the score 3-6 4-6?
SELECT Date FROM table WHERE Score = 3-6 4-6