instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many appearances were made by people that had 5 goals and less than 7 rank? | SELECT COUNT Appearances FROM table WHERE Goals = 5 AND Rank < 7 |
Translate the following into a SQL query | What was the surface for the game that had a partner of vania king? | SELECT Surface FROM table WHERE Partner = vania king |
Translate the following into a SQL query | Who was the partner for the game on October 20, 2013? | SELECT Partner FROM table WHERE Date = october 20, 2013 |
Translate the following into a SQL query | Tell me the name for round of e | SELECT Name FROM table WHERE Round = e |
Translate the following into a SQL query | Name the team one for preliminary final | SELECT Team 1 FROM table WHERE Name = preliminary final |
Translate the following into a SQL query | Name the team 1 for round 3 | SELECT Team 1 FROM table WHERE Round = 3 |
Translate the following into a SQL query | Name the round for 2nd elimination final | SELECT Round FROM table WHERE Match = 2nd elimination final |
Translate the following into a SQL query | In less than 58 laps, what is the highest grid for Alexander Wurz? | SELECT MAX Grid FROM table WHERE Driver = alexander wurz AND Laps < 58 |
Translate the following into a SQL query | What is the total laps for grid 19? | SELECT COUNT Laps FROM table WHERE Grid = 19 |
Translate the following into a SQL query | Name the winning driver for mobilecast impul and twin ring motegi | SELECT Winning Driver FROM table WHERE Winning Team = mobilecast impul AND Circuit = twin ring motegi |
Translate the following into a SQL query | Name the winning driver for round 7 | SELECT Winning Driver FROM table WHERE Round = 7 |
Translate the following into a SQL query | Name the number of total for 3 gold and rank less than 3 | SELECT COUNT Total FROM table WHERE Gold = 3 AND Rank < 3 |
Translate the following into a SQL query | Tell me the naame of Investigation of thrombus imaging | SELECT Name FROM table WHERE Investigation = thrombus imaging |
Translate the following into a SQL query | Tell me the name for Investigation of thrombus imaging and Route of administration of iv | SELECT Name FROM table WHERE Route of administration = iv AND Investigation = thrombus imaging |
Translate the following into a SQL query | Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging | SELECT In-vitro / in-vivo FROM table WHERE Route of administration = iv AND Investigation = somatostatin receptor imaging |
Translate the following into a SQL query | The player is Tim Regan and the pick # is position of d, what's the sum? | SELECT SUM Pick # FROM table WHERE Position = d AND Player = tim regan |
Translate the following into a SQL query | The position that has a pick # of 16 is what? | SELECT Position FROM table WHERE Pick # = 16 |
Translate the following into a SQL query | Damani Ralph is associated with which lowest pick #? | SELECT MIN Pick # FROM table WHERE Player = damani ralph |
Translate the following into a SQL query | Chicago fire has a total of a total of how many #s? | SELECT COUNT Pick # FROM table WHERE MLS team = chicago fire |
Translate the following into a SQL query | Tell me the score for score in legs and year less than 2012 | SELECT Score (l) = score in legs, (s) = score in sets. FROM table WHERE Year < 2012 |
Translate the following into a SQL query | Tell me the championship for runner-up outcome of 2010 | SELECT Championship FROM table WHERE Outcome = runner-up AND Year = 2010 |
Translate the following into a SQL query | Tell me the outcome for premier league darts | SELECT Outcome FROM table WHERE Championship = premier league darts |
Translate the following into a SQL query | Tell me the sum of Year for outcome of runner-up for world darts championship | SELECT SUM Year FROM table WHERE Outcome = runner-up AND Championship = world darts championship |
Translate the following into a SQL query | In 2007, how many points were won when more than 5 matches were played? | SELECT COUNT Points won FROM table WHERE Year = 2007 AND Total matches > 5 |
Translate the following into a SQL query | In 2007, what is the average total matches with points % larger than 33.3? | SELECT AVG Total matches FROM table WHERE Points % > 33.3 AND Year = 2007 |
Translate the following into a SQL query | Which player attended school at Georgia Tech? | SELECT Player FROM table WHERE School/Club Team = georgia tech |
Translate the following into a SQL query | What position does Ed Stokes hold? | SELECT Position FROM table WHERE Player = ed stokes |
Translate the following into a SQL query | What is Michael Stewart's school or club team? | SELECT School/Club Team FROM table WHERE Player = michael stewart |
Translate the following into a SQL query | What tournament was played on May 29, 2010? | SELECT Tournament FROM table WHERE Date = may 29, 2010 |
Translate the following into a SQL query | What was the surface made of in the contest where Paula Ormaechea was the partner? | SELECT Surface FROM table WHERE Partner = paula ormaechea |
Translate the following into a SQL query | Tell me the total number of year for class pos of 3rd and laps larger than 353 | SELECT COUNT Year FROM table WHERE Class Pos. = 3rd AND Laps > 353 |
Translate the following into a SQL query | Tell me the method with a record of 4-2 | SELECT Method FROM table WHERE Record = 4-2 |
Translate the following into a SQL query | Tell me the record for yukiya naito | SELECT Record FROM table WHERE Opponent = yukiya naito |
Translate the following into a SQL query | Tell me the record for kazuhiro nakamura | SELECT Record FROM table WHERE Opponent = kazuhiro nakamura |
Translate the following into a SQL query | Tell me the method for stanislav nuschik | SELECT Method FROM table WHERE Opponent = stanislav nuschik |
Translate the following into a SQL query | What was the Result of IFL: Los Angeles? | SELECT Res. FROM table WHERE Event = ifl: los angeles |
Translate the following into a SQL query | Which Event resulted in a Win for Opponent, Shane Ott? | SELECT Event FROM table WHERE Res. = win AND Opponent = shane ott |
Translate the following into a SQL query | Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3? | SELECT Crystal structure FROM table WHERE No. of Cu-O planes in unit cell = 3 AND T c (K) = 110 |
Translate the following into a SQL query | Name the gold with total larger than 33 | SELECT Gold FROM table WHERE Total > 33 |
Translate the following into a SQL query | Name the fewest gold for tanzania with bronze less than 0 | SELECT MIN Gold FROM table WHERE Nation = tanzania AND Bronze < 0 |
Translate the following into a SQL query | Who is the opponent for week 10? | SELECT Opponent FROM table WHERE Week = 10 |
Translate the following into a SQL query | For countries that won more than 32 gold medals, what was the highest number of golds? | SELECT MAX Gold FROM table WHERE Total > 32 |
Translate the following into a SQL query | Tell me fourth place for year of 2010 | SELECT Fourth Place FROM table WHERE Year = 2010 |
Translate the following into a SQL query | Tell me the result for 2010 fifa world cup qualification | SELECT Result FROM table WHERE Competition = 2010 fifa world cup qualification |
Translate the following into a SQL query | Tell me the date for 2010 fifa world cup qualification | SELECT Date FROM table WHERE Competition = 2010 fifa world cup qualification |
Translate the following into a SQL query | Tell me the surface for november 28, 2010 | SELECT Surface FROM table WHERE Date = november 28, 2010 |
Translate the following into a SQL query | Tell me the tournament with a hard surface for 6β1, 6β2 | SELECT Tournament FROM table WHERE Surface = hard AND Score = 6β1, 6β2 |
Translate the following into a SQL query | Tell me the date for 6β3, 6β2 | SELECT Date FROM table WHERE Score = 6β3, 6β2 |
Translate the following into a SQL query | Tell me the date for johanna konta | SELECT Date FROM table WHERE Opponent in the final = johanna konta |
Translate the following into a SQL query | What is the time value for the rider Brian Finch and a rank greater than 3? | SELECT Time FROM table WHERE Rank > 3 AND Rider = brian finch |
Translate the following into a SQL query | What result does the project Once Upon A Time In The West, directed by Sergio Leone have? | SELECT Result FROM table WHERE Director = sergio leone AND Project = once upon a time in the west |
Translate the following into a SQL query | What year was Bulworth nominated? | SELECT Year FROM table WHERE Project = bulworth |
Translate the following into a SQL query | What is the average Year for the project The Untouchables? | SELECT AVG Year FROM table WHERE Project = the untouchables |
Translate the following into a SQL query | Tell me the section for position of 8th and season of 2003 | SELECT Section FROM table WHERE Position = 8th AND Season = 2003 |
Translate the following into a SQL query | What is the date of week 17? | SELECT Date FROM table WHERE Week = 17 |
Translate the following into a SQL query | What was the latest week that the Tampa Bay Buccaneers were an opponent? | SELECT MAX Week FROM table WHERE Opponent = tampa bay buccaneers |
Translate the following into a SQL query | Name the fewest tries for leicester tigers with points less than 207 | SELECT MIN Tries FROM table WHERE Club = leicester tigers AND Points < 207 |
Translate the following into a SQL query | Name the date of st albans city for result of drew 0-0 | SELECT Date FROM table WHERE Opponent = st albans city AND Result = drew 0-0 |
Translate the following into a SQL query | Name the venue for 15 august 2006 | SELECT Venue FROM table WHERE Date = 15 august 2006 |
Translate the following into a SQL query | Name the most attendance for tamworth with home venue | SELECT MAX Attendance FROM table WHERE Opponent = tamworth AND Venue = home |
Translate the following into a SQL query | Name the least attendance for 10 october 2006 | SELECT MIN Attendance FROM table WHERE Date = 10 october 2006 |
Translate the following into a SQL query | I want the average bronze for total of 19 and silver of 8 with rank of 31 | SELECT AVG Bronze FROM table WHERE Total = 19 AND Silver = 8 AND Rank = 31 |
Translate the following into a SQL query | Tell me the average bronze for rank of 43 and total less than 11 | SELECT AVG Bronze FROM table WHERE Rank = 43 AND Total < 11 |
Translate the following into a SQL query | Say the frequency of 1290 khz | SELECT Format FROM table WHERE Frequency = 1290 khz |
Translate the following into a SQL query | Tell me the timeslot of calls of wrko | SELECT Timeslot FROM table WHERE Calls = wrko |
Translate the following into a SQL query | Tell me the format for calls of wrko | SELECT Format FROM table WHERE Calls = wrko |
Translate the following into a SQL query | Tell me the calls for frequency of 1290 khz | SELECT Calls FROM table WHERE Frequency = 1290 khz |
Translate the following into a SQL query | Tell me the branding for frequency of 680 khz | SELECT Branding FROM table WHERE Frequency = 680 khz |
Translate the following into a SQL query | Tell me the timeslot for calls of whyn | SELECT Timeslot FROM table WHERE Calls = whyn |
Translate the following into a SQL query | For how long did Bolivia have a lane greater than 6? | SELECT COUNT Time FROM table WHERE Country = bolivia AND Lane > 6 |
Translate the following into a SQL query | In heat rank 7, what is the sum of lanes? | SELECT SUM Lane FROM table WHERE Heat Rank = 7 |
Translate the following into a SQL query | Which country is ranked 56 overall and has a heat rank smaller than 8? | SELECT Country FROM table WHERE Heat Rank < 8 AND Overall Rank = 56 |
Translate the following into a SQL query | What is the greatest lane with an overall rank of 79 and a time larger than 26.1? | SELECT MAX Lane FROM table WHERE Overall Rank = 79 AND Time > 26.1 |
Translate the following into a SQL query | Tell me the highest week for metropolitan stadium for attendance more than 47,644 | SELECT MAX Week FROM table WHERE Venue = metropolitan stadium AND Attendance > 47,644 |
Translate the following into a SQL query | Name the sum of played for serik berdalin and drawn more than 4 | SELECT SUM Played FROM table WHERE Manager = serik berdalin AND Drawn > 4 |
Translate the following into a SQL query | Who had the highest total PR seats of 48 with a District seat larger than than 73? | SELECT MAX Total Seats FROM table WHERE PR seats = 48 AND District seats > 73 |
Translate the following into a SQL query | In 1955 which party did Thomas Mitchell belong to? | SELECT Party FROM table WHERE Year = 1955 AND Candidate = thomas mitchell |
Translate the following into a SQL query | What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone? | SELECT Days FROM table WHERE Party = ulster unionist AND Constituency = fermanagh and south tyrone |
Translate the following into a SQL query | What are the number of days in 1945 where the constituent was heywood and radcliffe? | SELECT Days FROM table WHERE Year = 1945 AND Constituency = heywood and radcliffe |
Translate the following into a SQL query | What year was Hazel Grove the constituent for the liberal party? | SELECT Year FROM table WHERE Party = liberal AND Constituency = hazel grove |
Translate the following into a SQL query | Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison | SELECT AVG Laps FROM table WHERE Grid > 12 AND Bike = ducati 999rs AND Rider = dean ellison |
Translate the following into a SQL query | Tell me the highest Laps for grid less than 22 and riderS of ruben xaus | SELECT MAX Laps FROM table WHERE Grid < 22 AND Rider = ruben xaus |
Translate the following into a SQL query | Tell me the total number of grid for rider of james toseland | SELECT COUNT Grid FROM table WHERE Rider = james toseland |
Translate the following into a SQL query | Tell me the least Laps for grid larger than 2 with 35:26.734 | SELECT MIN Laps FROM table WHERE Time = 35:26.734 AND Grid > 2 |
Translate the following into a SQL query | Tell me the date with week of 13 | SELECT Date FROM table WHERE Week = 13 |
Translate the following into a SQL query | Tell me the average week for attendance of 48,113 | SELECT AVG Week FROM table WHERE Attendance = 48,113 |
Translate the following into a SQL query | Which Album had a year less than 2005 with a Label by Ministry of Sound? | SELECT Album FROM table WHERE Year < 2005 AND Label = ministry of sound |
Translate the following into a SQL query | Which Album had a bigger year than 2005 and whose country was Australia? | SELECT Album FROM table WHERE Year > 2005 AND Country = australia |
Translate the following into a SQL query | Which song had Central Station as a label and whose album was Various - Wild Nights 4? | SELECT Song FROM table WHERE Label = central station AND Album = various - wild nights 4 |
Translate the following into a SQL query | Where did Zimbabwe play? | SELECT Venue FROM table WHERE Opponent = zimbabwe |
Translate the following into a SQL query | What is the date when Canada played? | SELECT Date FROM table WHERE Opponent = canada |
Translate the following into a SQL query | Tell me the lowest silver for rank of 9 and bronze less than 2 | SELECT MIN Silver FROM table WHERE Rank = 9 AND Bronze < 2 |
Translate the following into a SQL query | Name the report for raymond sommer | SELECT Report FROM table WHERE Winning driver = raymond sommer |
Translate the following into a SQL query | Name the winning driver for monaco grand prix | SELECT Winning driver FROM table WHERE Name = monaco grand prix |
Translate the following into a SQL query | Name the circuit for marcel lehoux | SELECT Circuit FROM table WHERE Winning driver = marcel lehoux |
Translate the following into a SQL query | Name the report for per-viktor widengren and alfa romeo | SELECT Report FROM table WHERE Winning driver = per-viktor widengren AND Winning constructor = alfa romeo |
Translate the following into a SQL query | Tell me the date for warsaw 1929 | SELECT Date FROM table WHERE Location = warsaw AND Year = 1929 |
Translate the following into a SQL query | Tell me the result for warsaw 1929 | SELECT Result FROM table WHERE Location = warsaw AND Year = 1929 |
Translate the following into a SQL query | Tell me the result for harrogate | SELECT Result FROM table WHERE Location = harrogate |
Translate the following into a SQL query | Tell me the Stem Meaning of ical | SELECT Stem Meaning FROM table WHERE 3rd person sg = ical |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.