instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the team sites entry that has a public entry of No and a developer entry of Yes?
SELECT Team Sites FROM table WHERE Public = no AND Developer = yes
Translate the following into a SQL query
What is the name for the entry that has a public of Yes, a personal sites of No, and a team sites of No?
SELECT Name FROM table WHERE Public = yes AND Personal Sites = no AND Team Sites = no
Translate the following into a SQL query
What is the name of the entry that has a developer entry of Yes and a personal sites entry of No?
SELECT Name FROM table WHERE Developer = yes AND Personal Sites = no
Translate the following into a SQL query
What Line has Ohakune Junction as its NIMT?
SELECT Line Name FROM table WHERE NIMT Junction = ohakune junction
Translate the following into a SQL query
What line has Newmarket Junction terminus?
SELECT Line Name FROM table WHERE Terminus = newmarket junction
Translate the following into a SQL query
What terminus is 3.5km in lenght?
SELECT Terminus FROM table WHERE Length = 3.5km
Translate the following into a SQL query
What line has Junction of Huntly NIMT
SELECT Line Name FROM table WHERE NIMT Junction = huntly
Translate the following into a SQL query
What is the average final with an all around greater than 19.35 and a total over 40?
SELECT AVG Final FROM table WHERE All Around > 19.35 AND Total > 40
Translate the following into a SQL query
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
SELECT SUM Final FROM table WHERE Place > 2 AND Nation = finland AND All Around > 18.9
Translate the following into a SQL query
What is the place of the player with £140,000 and a 68-68-75-68=279 score?
SELECT Place FROM table WHERE Money ( £ ) = 140,000 AND Score = 68-68-75-68=279
Translate the following into a SQL query
What is the country of player stuart appleby, who has a t1 place?
SELECT Country FROM table WHERE Place = t1 AND Player = stuart appleby
Translate the following into a SQL query
What is the place of player sergio garcía, who has £77,500?
SELECT Place FROM table WHERE Money ( £ ) = 77,500 AND Player = sergio garcía
Translate the following into a SQL query
What is the to par of the player with a 73-70-70-65=278 score?
SELECT To par FROM table WHERE Score = 73-70-70-65=278
Translate the following into a SQL query
Who is the player with £140,000?
SELECT Player FROM table WHERE Money ( £ ) = 140,000
Translate the following into a SQL query
What is Date, when Time is "56.49"?
SELECT Date FROM table WHERE Time = 56.49
Translate the following into a SQL query
What is Event, when Date is "19 December 2009"?
SELECT Event FROM table WHERE Date = 19 december 2009
Translate the following into a SQL query
What is Time, when Meet is "Duel in the Pool", and when Date is "19 December 2009"?
SELECT Time FROM table WHERE Meet = duel in the pool AND Date = 19 december 2009
Translate the following into a SQL query
What is the Location, when Event is "100m Butterfly"?
SELECT Location FROM table WHERE Event = 100m butterfly
Translate the following into a SQL query
What is Date, when Meet is "World Championships", when Nationality is "United States", and when Time is "1:46.68"?
SELECT Date FROM table WHERE Meet = world championships AND Nationality = united states AND Time = 1:46.68
Translate the following into a SQL query
What is Event, when Meet is "World Championships", and when Time is "20.51"?
SELECT Event FROM table WHERE Meet = world championships AND Time = 20.51
Translate the following into a SQL query
What is the highest number of households with a median household income of $31,176, and a population of 25,607?
SELECT MAX Number of households FROM table WHERE Median household income = $31,176 AND Population < 25,607
Translate the following into a SQL query
What is the median household income for Cape Girardeau?
SELECT Median household income FROM table WHERE County = cape girardeau
Translate the following into a SQL query
What is the median household income with 4,527 houses, and a median family income of $71,009?
SELECT Median household income FROM table WHERE Number of households > 4,527 AND Median family income = $71,009
Translate the following into a SQL query
Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers?
SELECT Colourist/s FROM table WHERE Letterer/s = albers AND Story Title = broken glass (part 3)
Translate the following into a SQL query
What is the Cover Date of the Story Title Spacehikers (Part 2)?
SELECT Cover Date FROM table WHERE Story Title = spacehikers (part 2)
Translate the following into a SQL query
What is the Story Title that has Albers as the Letterer?
SELECT Story Title FROM table WHERE Letterer/s = albers
Translate the following into a SQL query
Who are the drivers with 133 laps in OC class?
SELECT Drivers FROM table WHERE Laps = 133 AND Class = oc
Translate the following into a SQL query
What are the most laps for the Qual position of 7 in the OC class?
SELECT MAX Laps FROM table WHERE Class = oc AND Qual Pos = 7
Translate the following into a SQL query
What are Perkins Engineering's fewest laps?
SELECT MIN Laps FROM table WHERE Team = perkins engineering
Translate the following into a SQL query
Which class has a Qual position of 30?
SELECT Class FROM table WHERE Qual Pos = 30
Translate the following into a SQL query
What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?
SELECT Release date FROM table WHERE Version = 1.0 AND Category = utilities AND Developer = microsoft AND Title = msn money
Translate the following into a SQL query
What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?
SELECT Release date FROM table WHERE Category = utilities AND Developer = microsoft AND Title = chord finder
Translate the following into a SQL query
What Developer has a Release date of 2010-12-16, and a Title of facebook?
SELECT Developer FROM table WHERE Release date = 2010-12-16 AND Title = facebook
Translate the following into a SQL query
What Title has a Version of 1.0.0.3?
SELECT Title FROM table WHERE Version = 1.0.0.3
Translate the following into a SQL query
What Version has a Title of alarm clock?
SELECT Version FROM table WHERE Title = alarm clock
Translate the following into a SQL query
What Version has a Developer of dino games, and a Title of metronome?
SELECT Version FROM table WHERE Developer = dino games AND Title = metronome
Translate the following into a SQL query
Where did Wales play?
SELECT Venue FROM table WHERE Opposing Teams = wales
Translate the following into a SQL query
What venue has 19 against?
SELECT Venue FROM table WHERE Against = 19
Translate the following into a SQL query
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?
SELECT Award Ceremony FROM table WHERE Nominee = sarah travis AND Category = best orchestrations
Translate the following into a SQL query
What is the most current year signed for separation of † and a separation year of 1997?
SELECT MAX Year signed FROM table WHERE Reason for separation = † AND Year separated = 1997
Translate the following into a SQL query
What is the Chinese name for the English name Andy Lau?
SELECT Chinese name FROM table WHERE English name = andy lau
Translate the following into a SQL query
What year was Wilfred Lau separated because Capital stopped recording music?
SELECT Year separated FROM table WHERE Reason for separation = capital stopped recording music AND English name = wilfred lau
Translate the following into a SQL query
What is the English name for the Chinese name of 蘇永康 later than 1974?
SELECT English name FROM table WHERE Year signed > 1974 AND Chinese name = 蘇永康
Translate the following into a SQL query
What was the signed year for the Chinese name 蘇永康 who separated in 1987?
SELECT Year signed FROM table WHERE Year separated = 1987 AND Chinese name = 蘇永康
Translate the following into a SQL query
WHAT IS THE SITE ON OCTOBER 7?
SELECT Site FROM table WHERE Date = october 7
Translate the following into a SQL query
WHAT DATE HAD 6 RANK?
SELECT Date FROM table WHERE Rank # = 6
Translate the following into a SQL query
WHAT OPPONENT WAS ON OCTOBER 7?
SELECT Opponent# FROM table WHERE Date = october 7
Translate the following into a SQL query
WHAT RANK HAD A RESULT OF W13-3?
SELECT Rank # FROM table WHERE Result = w13-3
Translate the following into a SQL query
What is the original NFL team of the College of Oregon DT Player?
SELECT Original NFL team FROM table WHERE College = oregon AND Pos. = dt
Translate the following into a SQL query
What Player is from Iowa State?
SELECT Player FROM table WHERE College = iowa state
Translate the following into a SQL query
What was the result of the game that had 77,702 people in attendance?
SELECT Result FROM table WHERE Attendance = 77,702
Translate the following into a SQL query
On what day did the team play the Indianapolis Colts?
SELECT Date FROM table WHERE Opponent = indianapolis colts
Translate the following into a SQL query
What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16?
SELECT AVG Played FROM table WHERE Goals Against < 63 AND Team = nelson AND Lost > 16
Translate the following into a SQL query
What is the total number of Goals For, when Points 1 is "41"?
SELECT COUNT Goals For FROM table WHERE Points 1 = 41
Translate the following into a SQL query
What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8?
SELECT MIN Position FROM table WHERE Lost > 15 AND Team = cheadle town AND Drawn > 8
Translate the following into a SQL query
What is the lowest Position, when Points 1 is "39", and when Goals Against is greater than 49?
SELECT MIN Position FROM table WHERE Points 1 = 39 AND Goals Against > 49
Translate the following into a SQL query
WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stage?
SELECT Season FROM table WHERE Head Coach = jonas kazlauskas AND Europe = champions cup group stage
Translate the following into a SQL query
WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist?
SELECT LKF Cup FROM table WHERE Europe = euroleague group stage AND Regional Competitions = bbl elite division finalist
Translate the following into a SQL query
WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST?
SELECT Europe FROM table WHERE Head Coach = vainauskas , sakalauskas AND Regional Competitions = nebl finalist
Translate the following into a SQL query
What is the American sound that has a 17th century equivalent of ɪ, and a Semi-closed initial unstressed vowels of i /ɪ, ɨ/?
SELECT American FROM table WHERE 17th c. = ɪ AND Semi-closed initial unstressed vowels = i /ɪ, ɨ/
Translate the following into a SQL query
What is the American sound that has a 17th century equivalent of ɔ?
SELECT American FROM table WHERE 17th c. = ɔ
Translate the following into a SQL query
What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis?
SELECT Australian FROM table WHERE Examples = illyria, cf. cirrhosis
Translate the following into a SQL query
For the 17th century entry of ɐ, what is Semi-closed initial unstressed vowels?
SELECT Semi-closed initial unstressed vowels FROM table WHERE 17th c. = ɐ
Translate the following into a SQL query
What is the entry for the Australian sound that has a 17th century equivalent of ɐ?
SELECT Australian FROM table WHERE 17th c. = ɐ
Translate the following into a SQL query
What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/?
SELECT Examples FROM table WHERE American = ɪ, ə AND Semi-closed initial unstressed vowels = y /ɨ/
Translate the following into a SQL query
What field is an opponent of cannons and resulted with w 16-11?
SELECT Field FROM table WHERE Opponent = cannons AND Result = w 16-11
Translate the following into a SQL query
what is the result from texas stadium?
SELECT Result FROM table WHERE Field = texas stadium
Translate the following into a SQL query
What field resulted with w 18-12?
SELECT Field FROM table WHERE Result = w 18-12
Translate the following into a SQL query
What field had results of w 18-12?
SELECT Field FROM table WHERE Result = w 18-12
Translate the following into a SQL query
WHAT ARE THE HIGHEST POINTS WITH GOALS LARGER THAN 48, WINS LESS THAN 19, GOALS AGAINST SMALLER THAN 44, DRAWS LARGER THAN 5?
SELECT MAX Points FROM table WHERE Goals for > 48 AND Wins < 19 AND Goals against < 44 AND Draws > 5
Translate the following into a SQL query
WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12?
SELECT COUNT Points FROM table WHERE Wins < 14 AND Club = sd indauchu AND Position > 12
Translate the following into a SQL query
WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7?
SELECT AVG Goals for FROM table WHERE Draws < 6 AND Losses < 7
Translate the following into a SQL query
How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?
SELECT COUNT 2010 FROM table WHERE 2007 > 4.6 AND 2006 = 8.2
Translate the following into a SQL query
What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?
SELECT 2010 FROM table WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2
Translate the following into a SQL query
How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
SELECT COUNT 2008 FROM table WHERE 2006 = 6.9 AND 2007 < 7.1
Translate the following into a SQL query
What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5?
SELECT MAX 2010 FROM table WHERE 2009 < 6.5 AND 2008 = 0.4 AND 2007 < 0.5
Translate the following into a SQL query
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
SELECT SUM 2007 FROM table WHERE 2006 = 0.2 AND 2010 < 0.1
Translate the following into a SQL query
What Tournament has an Outcome of runner-up, and a Score of 4–6, 3–6?
SELECT Tournament FROM table WHERE Outcome = runner-up AND Score = 4–6, 3–6
Translate the following into a SQL query
What Surface has a Date of 1 september 2008?
SELECT Surface FROM table WHERE Date = 1 september 2008
Translate the following into a SQL query
What Score has an Opponent of nina bratchikova?
SELECT Score FROM table WHERE Opponent = nina bratchikova
Translate the following into a SQL query
What Surface has a Tournament of pune, india?
SELECT Surface FROM table WHERE Tournament = pune, india
Translate the following into a SQL query
What Tournament has a Date of 20 december 2010?
SELECT Tournament FROM table WHERE Date = 20 december 2010
Translate the following into a SQL query
What Tournament has a Score of 5–7, 2–6?
SELECT Tournament FROM table WHERE Score = 5–7, 2–6
Translate the following into a SQL query
Which Place has a Score of 71-70=141?
SELECT Place FROM table WHERE Score = 71-70=141
Translate the following into a SQL query
Which Country has a Score of 69-66=135?
SELECT Country FROM table WHERE Score = 69-66=135
Translate the following into a SQL query
Which Country has a To par of –9?
SELECT Country FROM table WHERE To par = –9
Translate the following into a SQL query
Which To par has a Country of united states, and a Score of 71-70=141?
SELECT To par FROM table WHERE Country = united states AND Score = 71-70=141
Translate the following into a SQL query
Which Player has a To par of –5, and a Country of england?
SELECT Player FROM table WHERE To par = –5 AND Country = england
Translate the following into a SQL query
Which Category has an Award of monte carlo tv festival awards, and a Year larger than 2010?
SELECT Category FROM table WHERE Award = monte carlo tv festival awards AND Year > 2010
Translate the following into a SQL query
How many years have a Result of nominated?
SELECT COUNT Year FROM table WHERE Result = nominated
Translate the following into a SQL query
Which Result has a Category of outstanding actor (drama)?
SELECT Result FROM table WHERE Category = outstanding actor (drama)
Translate the following into a SQL query
Which Result has an Award of virgin media tv awards?
SELECT Result FROM table WHERE Award = virgin media tv awards
Translate the following into a SQL query
What is the prize money for the second round qualifying that is listed?
SELECT Prize money FROM table WHERE Round = second round qualifying
Translate the following into a SQL query
How many years have runner-up as the outcome, and indian wells as the championship?
SELECT SUM Year FROM table WHERE Outcome = runner-up AND Championship = indian wells
Translate the following into a SQL query
What score has 2000 as the year?
SELECT Score FROM table WHERE Year = 2000
Translate the following into a SQL query
What surface has indian wells as the championship, with winner as the outcome?
SELECT Surface FROM table WHERE Championship = indian wells AND Outcome = winner
Translate the following into a SQL query
Which average money has a To par larger than 12?
SELECT AVG Money ( $ ) FROM table WHERE To par > 12
Translate the following into a SQL query
Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283?
SELECT Country FROM table WHERE To par < 6 AND Money ( $ ) > 700 AND Score = 69-73-70-71=283
Translate the following into a SQL query
Which average money has a Place of t10, and a Player of denny shute, and a To par larger than 12?
SELECT AVG Money ( $ ) FROM table WHERE Place = t10 AND Player = denny shute AND To par > 12
Translate the following into a SQL query
Which Country has a Money ($) of 0, and a Place of t10?
SELECT Country FROM table WHERE Money ( $ ) = 0 AND Place = t10