instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | The EPT German Open took place in what city? | SELECT City FROM table WHERE Event = ept german open |
Translate the following into a SQL query | When did an event take place in the City of Copenhagen? | SELECT Date FROM table WHERE City = copenhagen |
Translate the following into a SQL query | The prize of Β£1,000,000 was given by an event in what city? | SELECT City FROM table WHERE Prize = Β£1,000,000 |
Translate the following into a SQL query | JoΓ£o Barbosa was the winner of which event? | SELECT Event FROM table WHERE Winner = joΓ£o barbosa |
Translate the following into a SQL query | What was the Attendance during the Home game where St. Johnstone was the Opponent? | SELECT COUNT Attendance FROM table WHERE Opponent = st. johnstone AND Venue = home |
Translate the following into a SQL query | Which class has a Class Position of 6th? | SELECT Class FROM table WHERE Class Pos. = 6th |
Translate the following into a SQL query | Which class has a Year of 1968? | SELECT Class FROM table WHERE Year = 1968 |
Translate the following into a SQL query | Which class has a Team of kouros racing team? | SELECT Class FROM table WHERE Team = kouros racing team |
Translate the following into a SQL query | Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when the Result is 42-3? | SELECT Winner FROM table WHERE Loser = baltimore colts AND Location = schaefer stadium AND Result = 42-3 |
Translate the following into a SQL query | What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6? | SELECT Location FROM table WHERE Winner = baltimore colts AND Year < 1972 AND Result = 14-6 |
Translate the following into a SQL query | What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)? | SELECT Date FROM table WHERE Year > 1978 AND Location = memorial stadium (baltimore) |
Translate the following into a SQL query | Which engine has a Chassis of lotus 44 f2? | SELECT Engine FROM table WHERE Chassis = lotus 44 f2 |
Translate the following into a SQL query | What entrant appeared in 1969? | SELECT Entrant FROM table WHERE Year = 1969 |
Translate the following into a SQL query | Which engine has a Year larger than 1969? | SELECT Engine FROM table WHERE Year > 1969 |
Translate the following into a SQL query | What is the largest year with an Entrant of ron harris / team lotus? | SELECT MAX Year FROM table WHERE Entrant = ron harris / team lotus |
Translate the following into a SQL query | During stage 21, who held the Intergiro classification? | SELECT Intergiro classification FROM table WHERE Stage = 21 |
Translate the following into a SQL query | During which stage was gatorade the Trofeo Fast Team? | SELECT Stage FROM table WHERE Trofeo Fast Team = gatorade |
Translate the following into a SQL query | Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio? | SELECT Intergiro classification FROM table WHERE Trofeo Fast Team = gb-mg maglificio |
Translate the following into a SQL query | During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra? | SELECT Stage FROM table WHERE Intergiro classification = miguel indurain AND Points classification = mario cipollini AND Young rider classification = leonardo sierra |
Translate the following into a SQL query | Who was the winner when the General classification was held by Miguel Indurain, the Points classification held by Mario Cipollini, the Mountains classification held by Claudio Chiappucci, and the Young RIder classification held by Pavel Tonkov? | SELECT Winner FROM table WHERE General classification = miguel indurain AND Points classification = mario cipollini AND Mountains classification = claudio chiappucci AND Young rider classification = pavel tonkov |
Translate the following into a SQL query | What is the rank of Strong's Words Compounded of yasha [# 3467] & yahu? | SELECT Strong's # FROM table WHERE Strong's Words Compounded = yasha [# 3467] & yahu |
Translate the following into a SQL query | How to spell Strong's # of 5166 in English? | SELECT English Spelling FROM table WHERE Strong's # = 5166 |
Translate the following into a SQL query | What is the Words with a Strong's # of 5418? | SELECT Strong's Words Compounded FROM table WHERE Strong's # = 5418 |
Translate the following into a SQL query | What is the goals against for the goalkeeper with 2520 minutes? | SELECT Goals Against FROM table WHERE Minutes = 2520 |
Translate the following into a SQL query | What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses? | SELECT AVG Games Played FROM table WHERE Loses = 10 AND Player = bo oshoniyi AND Minutes > 1170 |
Translate the following into a SQL query | What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had? | SELECT MAX Goals Against FROM table WHERE Club = dallas burn AND GA Average > 1.46 |
Translate the following into a SQL query | What is the lowest number of losses a goalkeeper with more than 2776 minutes had? | SELECT MIN Loses FROM table WHERE Minutes > 2776 |
Translate the following into a SQL query | What is the lowest minutes a goalkeeper with 13 games played has? | SELECT MIN Minutes FROM table WHERE Games Played = 13 |
Translate the following into a SQL query | Which round resulted in 10-52? | SELECT Round FROM table WHERE Score = 10-52 |
Translate the following into a SQL query | What venue did Melbourne Storm played in Rd 7, 2006? | SELECT Venue FROM table WHERE Opponent = melbourne storm AND Round = rd 7, 2006 |
Translate the following into a SQL query | In which venue was the result a draw? | SELECT Venue FROM table WHERE Result = draw |
Translate the following into a SQL query | Who is the singer that has Comedian; II of Preeti Amin? | SELECT Tansen(Singers) FROM table WHERE Comedian:II = preeti amin |
Translate the following into a SQL query | Who is the comedian that has a pair no larger than 5 with a comedian II: Jimmy Moses? | SELECT Comedian:1 FROM table WHERE Pair No. > 5 AND Comedian:II = jimmy moses |
Translate the following into a SQL query | What is the result of Comedian : II of Ali Asgar? | SELECT Place(Result) FROM table WHERE Comedian:II = ali asgar |
Translate the following into a SQL query | Which School Colors were Founded of 1969, with an Institution of barton community college? | SELECT School Colors FROM table WHERE Founded = 1969 AND Institution = barton community college |
Translate the following into a SQL query | Which Institution has a Mascot of broncbusters? | SELECT Institution FROM table WHERE Mascot = broncbusters |
Translate the following into a SQL query | What is the largest Founded with an Institution of cloud county community college? | SELECT MAX Founded FROM table WHERE Institution = cloud county community college |
Translate the following into a SQL query | What is the total Founded with a Main Campus Location of liberal? | SELECT COUNT Founded FROM table WHERE Main Campus Location = liberal |
Translate the following into a SQL query | What is the 3-person dive that has none as the 2-person dive? | SELECT 3-person dive FROM table WHERE 2-person dive = none |
Translate the following into a SQL query | What is the 2-person dive that has 2 as the surface? | SELECT 2-person dive FROM table WHERE Surface = 2 |
Translate the following into a SQL query | What surface has 2 as a cage dive? | SELECT Surface FROM table WHERE Cage dive = 2 |
Translate the following into a SQL query | Which cage dive has none as a 3-person dive? | SELECT Cage dive FROM table WHERE 3-person dive = none |
Translate the following into a SQL query | Which 3-person dive has 0 as a remote camera? | SELECT 3-person dive FROM table WHERE Remote camera = 0 |
Translate the following into a SQL query | Which years have a Decile smaller than 2, and an Area of mohaka? | SELECT Years FROM table WHERE Decile < 2 AND Area = mohaka |
Translate the following into a SQL query | Which gender has an Authority of state, Years of 1β8, and a Decile smaller than 10, and a Roll of 36? | SELECT Gender FROM table WHERE Authority = state AND Years = 1β8 AND Decile < 10 AND Roll = 36 |
Translate the following into a SQL query | Which roll has an Area of mahia? | SELECT Roll FROM table WHERE Area = mahia |
Translate the following into a SQL query | Which Decile has an Authority of state, a Roll smaller than 61, and an Area of kotemaori? | SELECT Decile FROM table WHERE Authority = state AND Roll < 61 AND Area = kotemaori |
Translate the following into a SQL query | What's the highest League Cup with an FA Cup thats larger than 2? | SELECT MAX League Cup FROM table WHERE FA Cup > 2 |
Translate the following into a SQL query | What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11? | SELECT COUNT FA Cup FROM table WHERE Play-offs = 3 AND Name = mitch cook category:articles with hcards AND Total < 11 |
Translate the following into a SQL query | What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0? | SELECT COUNT FA Cup FROM table WHERE League < 29 AND Play-offs < 0 |
Translate the following into a SQL query | What's the lowest Play-offs with a League of 4 and FA Cup larger than 1? | SELECT MIN Play-offs FROM table WHERE League = 4 AND FA Cup > 1 |
Translate the following into a SQL query | What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards? | SELECT COUNT League Cup FROM table WHERE Play-offs > 2 AND Name = mitch cook category:articles with hcards |
Translate the following into a SQL query | What is the number for the Channel 4 weekly rank when there are more than 2.19 million viewers for the episode "zero worship" which was earlier than episode 34? | SELECT COUNT Channel 4 weekly rank a FROM table WHERE Viewers (millions) > 2.19 AND Title = "zero worship" AND Episode # < 34 |
Translate the following into a SQL query | What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007? | SELECT AVG Channel 4 weekly rank a FROM table WHERE Viewers (millions) < 2.19 AND Airdate = december 7, 2007 |
Translate the following into a SQL query | What is the number of viewers in millions for the episode on October 10, 2008, and a Channel 4 weekly rank a smaller than 30? | SELECT COUNT Viewers (millions) FROM table WHERE Airdate = october 10, 2008 AND Channel 4 weekly rank a < 30 |
Translate the following into a SQL query | What is the duration of the flight with end time of 21:06? | SELECT Duration FROM table WHERE End Time = 21:06 |
Translate the following into a SQL query | What is the spacecraft with end time of 4 September 04:51? | SELECT Spacecraft FROM table WHERE End Time = 4 september 04:51 |
Translate the following into a SQL query | What is the crew with the end time of 21:11? | SELECT Crew FROM table WHERE End Time = 21:11 |
Translate the following into a SQL query | What is the duration of the Expedition 20 ISS Zvezda? | SELECT Duration FROM table WHERE Spacecraft = expedition 20 iss zvezda |
Translate the following into a SQL query | Who was the crew for the duration of 12 minutes? | SELECT Crew FROM table WHERE Duration = 12 minutes |
Translate the following into a SQL query | Name the sum of year for connaught engineering and points less than 0 | SELECT SUM Year FROM table WHERE Entrant = connaught engineering AND Points < 0 |
Translate the following into a SQL query | What is the average win percentage of a season with a GB of 5? | SELECT AVG Win % FROM table WHERE GB [d ] = 5 |
Translate the following into a SQL query | What was the starting position of Joie Chitwood when he finished more than 200 laps? | SELECT Start FROM table WHERE Laps > 200 |
Translate the following into a SQL query | What is Chitwood's lowest completed number of laps with a qualifying time of 124.619? | SELECT MIN Laps FROM table WHERE Qual = 124.619 |
Translate the following into a SQL query | Which venue was used on 12 September 1998? | SELECT Venue FROM table WHERE Date = 12 september 1998 |
Translate the following into a SQL query | What is the score [A] of the match at Vanuatu (n) on 5 September 1998? | SELECT Score [A ] FROM table WHERE Venue = vanuatu (n) AND Date = 5 september 1998 |
Translate the following into a SQL query | What is the score [A] of the match on 19 September 1998? | SELECT Score [A ] FROM table WHERE Date = 19 september 1998 |
Translate the following into a SQL query | What was the score of the game when the record was 32β19β7? | SELECT Score FROM table WHERE Record = 32β19β7 |
Translate the following into a SQL query | What was the date of the game when the record was 9β5β2? | SELECT Date FROM table WHERE Record = 9β5β2 |
Translate the following into a SQL query | Who was the home team when the record was 36β21β8? | SELECT Home FROM table WHERE Record = 36β21β8 |
Translate the following into a SQL query | What was the date of the game when the Calgary Flames were the visiting team and there was a record of 1β2β0? | SELECT Date FROM table WHERE Visitor = calgary flames AND Record = 1β2β0 |
Translate the following into a SQL query | Who was the home team when the record was 27β14β6? | SELECT Home FROM table WHERE Record = 27β14β6 |
Translate the following into a SQL query | What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania? | SELECT Lifespan FROM table WHERE State = pennsylvania AND Representative = harry p. o'neill |
Translate the following into a SQL query | What years did Representative Frank A. Oliver serve? | SELECT Years FROM table WHERE Representative = frank a. oliver |
Translate the following into a SQL query | Name the record for october 11 | SELECT Record FROM table WHERE Date = october 11 |
Translate the following into a SQL query | Name the score with record of 68-66 | SELECT Score FROM table WHERE Record = 68-66 |
Translate the following into a SQL query | Name the record for august 28 | SELECT Record FROM table WHERE Date = august 28 |
Translate the following into a SQL query | What was the score for Leo Diegel? | SELECT Score FROM table WHERE Player = leo diegel |
Translate the following into a SQL query | What is the name of the player with a To par of β4? | SELECT Player FROM table WHERE To par = β4 |
Translate the following into a SQL query | What was the surface for the game that was played with partner Tiya Rolle? | SELECT Surface FROM table WHERE Partner = tiya rolle |
Translate the following into a SQL query | What is the final score for the game played on January 10, 2011 with partner Mashona Washington? | SELECT Score FROM table WHERE Partner = mashona washington AND Date = january 10, 2011 |
Translate the following into a SQL query | What was the outcome for the game that was played on 07-Jun-2010? | SELECT Outcome FROM table WHERE Date = 07-jun-2010 |
Translate the following into a SQL query | What is the score for the game that was played on 29-Jun-2009? | SELECT Score FROM table WHERE Date = 29-jun-2009 |
Translate the following into a SQL query | What was the surface for the game that was played on 12-Apr-2005? | SELECT Surface FROM table WHERE Date = 12-apr-2005 |
Translate the following into a SQL query | What points has james allen as the skipper? | SELECT Points FROM table WHERE Skipper = james allen |
Translate the following into a SQL query | What is the name of the yacht where 12 is the overall place? | SELECT Yacht name FROM table WHERE Overall place = 12 |
Translate the following into a SQL query | Which skipper has a combine elapsed time of 174d 01h 11m 59s? | SELECT Skipper FROM table WHERE Combined elapsed time = 174d 01h 11m 59s |
Translate the following into a SQL query | Which skipper has barclays adventurer as the name of the yacht? | SELECT Skipper FROM table WHERE Yacht name = barclays adventurer |
Translate the following into a SQL query | What is the overall place that has 170d 11h 31m 10s as the combined elapsed time? | SELECT Overall place FROM table WHERE Combined elapsed time = 170d 11h 31m 10s |
Translate the following into a SQL query | What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of β? | SELECT Senior status FROM table WHERE Reason for termination = death AND Chief Judge = β |
Translate the following into a SQL query | What is the location of Classification of T12? | SELECT Location FROM table WHERE Classification = t12 |
Translate the following into a SQL query | What is the fastest time for athlete Jason Smyth? | SELECT Fastest time (s) FROM table WHERE Athlete = jason smyth |
Translate the following into a SQL query | What was the final of play No. 2, Alzira Ricardo B.? | SELECT FINAL FROM table WHERE No.2 = alzira ricardo b. |
Translate the following into a SQL query | What was the No. 10 team that has No. 8 of Diana? | SELECT No.10 FROM table WHERE No.8 = diana |
Translate the following into a SQL query | Name the total number of years for chassis of ensign n175 | SELECT COUNT Year FROM table WHERE Chassis = ensign n175 |
Translate the following into a SQL query | What was the Blue Jays lowest attendance when their record was 52-48? | SELECT MIN Attendance FROM table WHERE Record = 52-48 |
Translate the following into a SQL query | What is the result when you play at home against Pride | SELECT Result FROM table WHERE Home/Away = home AND Opponent = pride |
Translate the following into a SQL query | What is the result of games played at frontier field | SELECT Result FROM table WHERE Field = frontier field |
Translate the following into a SQL query | What days were games played at Hofstra Stadium? | SELECT Date FROM table WHERE Field = hofstra stadium |
Translate the following into a SQL query | What Field was played at in an away game against the bayhawks? | SELECT Field FROM table WHERE Home/Away = away AND Opponent = bayhawks |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.