instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Name the title with presentation of credentials of april 10, 1907
SELECT Title FROM table WHERE Presentation of Credentials = april 10, 1907
Translate the following into a SQL query
Name the title with termination of mission of february 24, 1828
SELECT Title FROM table WHERE Termination of Mission = february 24, 1828
Translate the following into a SQL query
Name the title with termination of mission of april 10, 1939
SELECT Title FROM table WHERE Termination of Mission = april 10, 1939
Translate the following into a SQL query
Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin
SELECT Termination of Mission FROM table WHERE Appointed by = woodrow wilson AND Representative = benton mcmillin
Translate the following into a SQL query
What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way?
SELECT MAX Points Gained FROM table WHERE Fans Took = 907 AND Miles [One Way] > 44.9
Translate the following into a SQL query
What is the points gained of the match where fans took 403 [sunday]?
SELECT SUM Points Gained FROM table WHERE Fans Took = 403 [sunday]
Translate the following into a SQL query
Which team had fans took of 288?
SELECT Team FROM table WHERE Fans Took = 288
Translate the following into a SQL query
What years had a ranking of 1?
SELECT Years FROM table WHERE Ranking = 1
Translate the following into a SQL query
What is the nationality of the person with 50 goals and rank 3?
SELECT Nationality FROM table WHERE Goals = 50 AND Ranking = 3
Translate the following into a SQL query
How many losses occurred with regular season standing of 17th from 20 later than 1996?
SELECT COUNT Losses FROM table WHERE Regular Season Standing = 17th from 20 AND Year > 1996
Translate the following into a SQL query
What is the earliest season with a regular season standing of 11th from 15 and more than 10 wins?
SELECT MIN Season FROM table WHERE Regular Season Standing = 11th from 15 AND Wins > 10
Translate the following into a SQL query
What was the status of joon-hyung park 박준형?
SELECT Status FROM table WHERE Name = joon-hyung park 박준형
Translate the following into a SQL query
Who had a ballet style with original cast?
SELECT Name FROM table WHERE Style = ballet AND Status = original cast
Translate the following into a SQL query
When was the first performance with a replacement cast?
SELECT First Performance FROM table WHERE Status = replacement cast
Translate the following into a SQL query
What is the latest year for the Tyrrell 018 Chassis that has less than 3 points?
SELECT MAX Year FROM table WHERE Chassis = tyrrell 018 AND Points < 3
Translate the following into a SQL query
Which entrant has a Honda V6 engine and a Lotus 99t chassis?
SELECT Entrant FROM table WHERE Engine = honda v6 AND Chassis = lotus 99t
Translate the following into a SQL query
Name the least wickets when matches are more than 10 and 10 WM is more than 1
SELECT MIN Wickets FROM table WHERE Matches > 10 AND 10WM > 1
Translate the following into a SQL query
Name the best when runs of 1088 and matches more than 11
SELECT Best FROM table WHERE Matches > 11 AND Runs = 1088
Translate the following into a SQL query
Name the most runs for wickets of 66 and matches less than 13
SELECT MAX Runs FROM table WHERE Wickets = 66 AND Matches < 13
Translate the following into a SQL query
What is the score of the game with the San Diego Padres as the opponent and a record of 11-23?
SELECT Score FROM table WHERE Opponent = san diego padres AND Record = 11-23
Translate the following into a SQL query
What is the date of the game with a record of 14-31?
SELECT Date FROM table WHERE Record = 14-31
Translate the following into a SQL query
What is the date of the game with a 17-31 record?
SELECT Date FROM table WHERE Record = 17-31
Translate the following into a SQL query
What is the record of the game on 13 May?
SELECT Record FROM table WHERE Date = 13 may
Translate the following into a SQL query
What was average attendance during week 15?
SELECT AVG Attendance FROM table WHERE Week = 15
Translate the following into a SQL query
What's the smallest week that had a result of t 17–17?
SELECT MIN Week FROM table WHERE Result = t 17–17
Translate the following into a SQL query
Who was the opponent in week 12?
SELECT Opponent FROM table WHERE Week = 12
Translate the following into a SQL query
What is the current club of the Forward who was born after 1983 and who has a height under 2.12?
SELECT Current Club FROM table WHERE Year born > 1983 AND Height < 2.12 AND Position = forward
Translate the following into a SQL query
What is the position of the player who is taller than 2.12?
SELECT Position FROM table WHERE Height > 2.12
Translate the following into a SQL query
How many no votes did North Dakota have?
SELECT No vote FROM table WHERE State = north dakota
Translate the following into a SQL query
What was the date for Colorado?
SELECT Date FROM table WHERE State = colorado
Translate the following into a SQL query
How many no votes from Alaska in 1998?
SELECT No vote FROM table WHERE Date = 1998 AND State = alaska
Translate the following into a SQL query
How many positive votes for Tennessee in 2006?
SELECT Yes vote FROM table WHERE Date = 2006 AND State = tennessee
Translate the following into a SQL query
What is the name of the song that is part of the opening theme and has a drama of the revolving doors of vengeance?
SELECT Name of the song FROM table WHERE Kind of the song = opening theme AND Drama = revolving doors of vengeance
Translate the following into a SQL query
How many floors are there at 32 n. main street?
SELECT SUM Floors FROM table WHERE Street address = 32 n. main street
Translate the following into a SQL query
When did the rank 9 building got completed?
SELECT Completed FROM table WHERE Rank = 9
Translate the following into a SQL query
Which party has 24 governments?
SELECT Party FROM table WHERE Governments = 24
Translate the following into a SQL query
What governments did the minister with a term start on 24 September 1984 have?
SELECT Governments FROM table WHERE Term start = 24 september 1984
Translate the following into a SQL query
When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party?
SELECT Term end FROM table WHERE Party = national religious party AND Minister = shlomo-yisrael ben-meir
Translate the following into a SQL query
Who is the minister with a term end on 10 March 1974?
SELECT Minister FROM table WHERE Term end = 10 march 1974
Translate the following into a SQL query
Name the points classification for predictor-lotto and stage 1
SELECT Points Classification FROM table WHERE Team Classification = predictor-lotto AND Stage = 1
Translate the following into a SQL query
Name the points classification for quick step-innergetic with stage 7
SELECT Points Classification FROM table WHERE Team Classification = quick step-innergetic AND Stage = 7
Translate the following into a SQL query
Name the stgae with winner of robbie mcewen
SELECT Stage FROM table WHERE Winner = robbie mcewen
Translate the following into a SQL query
Name the winner for nick nuyens for general classification and stage of 2
SELECT Winner FROM table WHERE General classification = nick nuyens AND Stage = 2
Translate the following into a SQL query
Name the team classification for stage of 6
SELECT Team Classification FROM table WHERE Stage = 6
Translate the following into a SQL query
What is the Davao's power (kW)?
SELECT Power (kW) FROM table WHERE Location = davao
Translate the following into a SQL query
What is the brand of DXRE?
SELECT Branding FROM table WHERE Callsign = dxre
Translate the following into a SQL query
What is the power (kW) of Davao?
SELECT Power (kW) FROM table WHERE Location = davao
Translate the following into a SQL query
What is the callsign of Cagayan de Oro with 5kW?
SELECT Callsign FROM table WHERE Power (kW) = 5kw AND Location = cagayan de oro
Translate the following into a SQL query
What is the callsign of the 5kW Sonshine Radio Cotabato?
SELECT Callsign FROM table WHERE Power (kW) = 5kw AND Branding = sonshine radio cotabato
Translate the following into a SQL query
What's the average amount of Runs that has 40 innings, and Not outs larger than 6?
SELECT AVG Runs FROM table WHERE Innings = 40 AND Not Outs > 6
Translate the following into a SQL query
What's the total Innings that has Runs of 1598, and Matches less than 41?
SELECT COUNT Innings FROM table WHERE Runs = 1598 AND Matches < 41
Translate the following into a SQL query
What is the highest total number of seats with a Seat percentage of 46.5% and less than 394,118 party list votes?
SELECT MAX Total Seats FROM table WHERE Seat percentage = 46.5% AND Party List votes < 394,118
Translate the following into a SQL query
What is the number of party list votes for a vote percentage of 2.6% with 0 total seats?
SELECT SUM Party List votes FROM table WHERE Total Seats = 0 AND Vote percentage = 2.6%
Translate the following into a SQL query
What venue held the event in 2008 that has 2:13:10 in the notes?
SELECT Venue FROM table WHERE Year = 2008 AND Notes = 2:13:10
Translate the following into a SQL query
Who discovered the specimen at the Burpee Museum of Natural History?
SELECT Discoverer FROM table WHERE Museum = burpee museum of natural history
Translate the following into a SQL query
What is the name of the specimen that was discovered after 1987 and is in an Indianapolis, Indiana museum?
SELECT Name FROM table WHERE Discovered > 1987 AND Museum city = indianapolis, in
Translate the following into a SQL query
What is the formation that had the specimen discovered before 2001 and is in an Indianapolis, Indiana museum?
SELECT Formation FROM table WHERE Discovered < 2001 AND Museum city = indianapolis, in
Translate the following into a SQL query
What is the city of the Museum that houses the specimen discovered by Jane Solem?
SELECT Museum city FROM table WHERE Discoverer = jane solem
Translate the following into a SQL query
What city has the museum that holds the Sue specimen?
SELECT Museum city FROM table WHERE Name = sue
Translate the following into a SQL query
With what Name does the Roll of 637 belong?
SELECT Name FROM table WHERE Roll = 637
Translate the following into a SQL query
Which is the Authority that has a Roll of 70?
SELECT Authority FROM table WHERE Roll = 70
Translate the following into a SQL query
The Decile of 6 has which corresponding Years?
SELECT Years FROM table WHERE Decile = 6
Translate the following into a SQL query
Name the award for candida scott knight
SELECT Award FROM table WHERE Director(s) = candida scott knight
Translate the following into a SQL query
Name the recipient for jamaica and award of £6,947
SELECT Recipient FROM table WHERE Award = £6,947 AND Film = jamaica
Translate the following into a SQL query
Name the film for award of £3,740
SELECT Film FROM table WHERE Award = £3,740
Translate the following into a SQL query
Name the director for maya vision international ltd
SELECT Director(s) FROM table WHERE Recipient = maya vision international ltd
Translate the following into a SQL query
Name the film for award of £3,386
SELECT Film FROM table WHERE Award = £3,386
Translate the following into a SQL query
Name the venue for 2004 and position of 25th
SELECT Venue FROM table WHERE Position = 25th AND Year = 2004
Translate the following into a SQL query
Name the venue for 27th position
SELECT Venue FROM table WHERE Position = 27th
Translate the following into a SQL query
What was the score of the draw in the 2005 FIFA Confederations Cup?
SELECT Score FROM table WHERE Competition = 2005 fifa confederations cup AND Result = draw
Translate the following into a SQL query
How many electors has 465,151 naders and more than 143,630 Peroutka?
SELECT SUM Electors FROM table WHERE Nader = 465,151 AND Peroutka > 143,630
Translate the following into a SQL query
What is the highest Peroutka with 46 others, and less than 15 electors?
SELECT MAX Peroutka FROM table WHERE Others = 46 AND Electors < 15
Translate the following into a SQL query
Who came in 3rd place in 1990?
SELECT 3rd place FROM table WHERE Year = 1990
Translate the following into a SQL query
Which class Pos has a Team of jml team panoz?
SELECT Class Pos. FROM table WHERE Team = jml team panoz
Translate the following into a SQL query
Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps?
SELECT Class Pos. FROM table WHERE Year > 1997 AND Team = corvette racing AND Class = gt1 AND Laps = 327
Translate the following into a SQL query
What is the final result of the team that has Simara as No.5?
SELECT FINAL FROM table WHERE No.5 = simara
Translate the following into a SQL query
Which Winning Driver has a Second Driver of jimmy bryan?
SELECT Winning Driver FROM table WHERE Second Driver = jimmy bryan
Translate the following into a SQL query
How many average Cars Entered have a Third Driver of manny ayulo?
SELECT AVG Cars Entered FROM table WHERE Third Driver = manny ayulo
Translate the following into a SQL query
What are the largest Cars Entered with a Season of 1958?
SELECT MAX Cars Entered FROM table WHERE Season = 1958
Translate the following into a SQL query
What is the largest season with a Third Driver of jimmy davies?
SELECT MAX Season FROM table WHERE Third Driver = jimmy davies
Translate the following into a SQL query
What are the largest Cars Entered with a Winning Driver of rodger ward, and a Season smaller than 1959?
SELECT MAX Cars Entered FROM table WHERE Winning Driver = rodger ward AND Season < 1959
Translate the following into a SQL query
What engine with more than 2 points has Brabham bt58 as Chassis?
SELECT Engine FROM table WHERE Chassis = brabham bt58 AND Points > 2
Translate the following into a SQL query
How many points did Judd v8 has in 1989?
SELECT COUNT Points FROM table WHERE Engine = judd v8 AND Year = 1989
Translate the following into a SQL query
How many years has Sasol Jordan Yamaha as an Entrant?
SELECT AVG Year FROM table WHERE Entrant = sasol jordan yamaha
Translate the following into a SQL query
What was the record for the game that had a loss of Williams (3-1)?
SELECT Record FROM table WHERE Loss = williams (3-1)
Translate the following into a SQL query
What was the score of the game that had a loss of Embree (1-2)?
SELECT Score FROM table WHERE Loss = embree (1-2)
Translate the following into a SQL query
What shows for 2007 at the Olympic Games as tournament.
SELECT 2007 FROM table WHERE Tournament = olympic games
Translate the following into a SQL query
What shows for 2009 when the 2012 is 1R?
SELECT 2009 FROM table WHERE 2012 = 1r
Translate the following into a SQL query
What is the 2010 when the 2009 shows Q1?
SELECT 2010 FROM table WHERE 2009 = q1
Translate the following into a SQL query
What is the gross revenue in 2011 for MO?
SELECT Gross Revenue (2011) FROM table WHERE State = mo
Translate the following into a SQL query
Which state has the venue Tsukisamu dome?
SELECT State FROM table WHERE Venue = tsukisamu dome
Translate the following into a SQL query
Which city had a gross revenue in 2011 of $739,578?
SELECT City FROM table WHERE Gross Revenue (2011) = $739,578
Translate the following into a SQL query
What is the gross revenue in 2011 with a gross revenue in 1982 of $1,988,047?
SELECT Gross Revenue (2011) FROM table WHERE Gross Revenue (1982) = $1,988,047
Translate the following into a SQL query
What was the grid when the driver was Mark Webber?
SELECT Grid FROM table WHERE Driver = mark webber
Translate the following into a SQL query
Who was the driver, when the constructor was Renault, and when the Time/Retired was +38.600?
SELECT Driver FROM table WHERE Constructor = renault AND Time/Retired = +38.600
Translate the following into a SQL query
How many laps were there when the Time/Retired was +1:00.003?
SELECT Laps FROM table WHERE Time/Retired = +1:00.003
Translate the following into a SQL query
How many laps were there when the Time/Retired was +14.403?
SELECT Laps FROM table WHERE Time/Retired = +14.403
Translate the following into a SQL query
Who was the driver when there were 35 laps?
SELECT Driver FROM table WHERE Laps = 35
Translate the following into a SQL query
How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?
SELECT Laps FROM table WHERE Constructor = renault AND Driver = fernando alonso
Translate the following into a SQL query
What's the Street address with a Name of New York Life Insurance building?
SELECT Street address FROM table WHERE Name = new york life insurance building