instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897? | SELECT Qual 1 FROM table WHERE Best < 58.669 AND Qual 2 < 57.897 |
Translate the following into a SQL query | Which team has a qualifying 2 time under 59.612 and a best of 59.14? | SELECT Team FROM table WHERE Qual 2 < 59.612 AND Best = 59.14 |
Translate the following into a SQL query | Which Lungchang has a Halang of ʒɯ², and a Rera of ʒo²? | SELECT Lungchang FROM table WHERE Halang = ʒɯ² AND Rera = ʒo² |
Translate the following into a SQL query | Which Tikhak has a Yonguk of wu¹ti¹? | SELECT Tikhak FROM table WHERE Yonguk = wu¹ti¹ |
Translate the following into a SQL query | Which Yonguk has a Halang of ran¹? | SELECT Yonguk FROM table WHERE Halang = ran¹ |
Translate the following into a SQL query | Which Halang has a Rera of ʒo²? | SELECT Halang FROM table WHERE Rera = ʒo² |
Translate the following into a SQL query | Which Muklom has a Halang of wɯ¹cʰi¹? | SELECT Muklom FROM table WHERE Halang = wɯ¹cʰi¹ |
Translate the following into a SQL query | Which Hakhun has a Tikhak of ʒu²? | SELECT Hakhun FROM table WHERE Tikhak = ʒu² |
Translate the following into a SQL query | What is the location of Tamagaki station with an l stop? | SELECT Location FROM table WHERE Stop = l AND Station = tamagaki |
Translate the following into a SQL query | What is the station with a number greater than 9 and a distance of 16.4 km? | SELECT Station FROM table WHERE Number > 9 AND Distance (km) = 16.4 |
Translate the following into a SQL query | What is the Japanese name of the station with a number 3? | SELECT Japanese FROM table WHERE Number = 3 |
Translate the following into a SQL query | What is the number of the station in Suzuka that is smaller than 11.1 km and has an l stop? | SELECT SUM Number FROM table WHERE Location = suzuka AND Distance (km) < 11.1 AND Stop = l |
Translate the following into a SQL query | What is the distance of Kawage station? | SELECT SUM Distance (km) FROM table WHERE Station = kawage |
Translate the following into a SQL query | Which station has a number less than 5 and an l stop? | SELECT Station FROM table WHERE Number < 5 AND Stop = l |
Translate the following into a SQL query | Name the visitor for detroit on february 24 | SELECT Visitor FROM table WHERE Home = detroit AND Date = february 24 |
Translate the following into a SQL query | What is the highest listed year for the partner of Marcel Granollers and a hard surface? | SELECT MAX Year FROM table WHERE Partner = marcel granollers AND Surface = hard |
Translate the following into a SQL query | What is the listed surface for the Championship of Toronto that had a runner-up outcome? | SELECT Surface FROM table WHERE Outcome = runner-up AND Championship = toronto |
Translate the following into a SQL query | What time was the game during week 5? | SELECT Time ( ET ) FROM table WHERE Week = 5 |
Translate the following into a SQL query | Which City has a Series of Tamra's oc wedding? | SELECT City FROM table WHERE Series = tamra's oc wedding |
Translate the following into a SQL query | What is the average number of borough councilors from Brompton? | SELECT AVG Number of Borough Councilors FROM table WHERE Borough = brompton |
Translate the following into a SQL query | Which components have a borough of Lennoxville and borough councilors under 4? | SELECT Components FROM table WHERE Number of Borough Councilors < 4 AND Borough = lennoxville |
Translate the following into a SQL query | 5 November 2010 of dragon oil 4.02% has what average Date? | SELECT AVG Date FROM table WHERE 5 November 2010 = dragon oil 4.02% |
Translate the following into a SQL query | What is the average number of points for a difference of 55 and an against less than 47? | SELECT AVG Points FROM table WHERE Difference = 55 AND Against < 47 |
Translate the following into a SQL query | What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn? | SELECT MAX Lost FROM table WHERE Against > 60 AND Points < 61 AND Drawn > 18 |
Translate the following into a SQL query | What is the Name of the Historic House of the 18th Century? | SELECT Name FROM table WHERE Type = historic house AND Date = 18th century |
Translate the following into a SQL query | What is the Type of castle from the 14th Century which Condition is preserved? | SELECT Type FROM table WHERE Date = 14th century AND Condition = preserved |
Translate the following into a SQL query | What is the Name of the private Castle of the 16th century which is occupied? | SELECT Name FROM table WHERE Ownership = private AND Condition = occupied AND Date = 16th century |
Translate the following into a SQL query | What is the Date of the castle with a Historic Scotland Ownership? | SELECT Date FROM table WHERE Ownership = historic scotland |
Translate the following into a SQL query | What is the Date of the Fortified House? | SELECT Date FROM table WHERE Type = fortified house |
Translate the following into a SQL query | What is the Date of the Courtyard Castle? | SELECT Date FROM table WHERE Type = courtyard castle |
Translate the following into a SQL query | What is the highest lost that has 6 for points? | SELECT MAX Lost FROM table WHERE Points = 6 |
Translate the following into a SQL query | How many losses have points less than 3, with a drawn greater than 0? | SELECT SUM Lost FROM table WHERE Points < 3 AND Drawn > 0 |
Translate the following into a SQL query | Which Margin of victory has a Runner(s)-up of buddy gardner? | SELECT Margin of victory FROM table WHERE Runner(s)-up = buddy gardner |
Translate the following into a SQL query | Which Date has a Winning score of –14 (66-64-68-68=266)? | SELECT Date FROM table WHERE Winning score = –14 (66-64-68-68=266) |
Translate the following into a SQL query | Which Tournament has a Winning score of e (72-69-71-68=280)? | SELECT Tournament FROM table WHERE Winning score = e (72-69-71-68=280) |
Translate the following into a SQL query | Which Margin of victory has a Runner(s)-up of dave barr? | SELECT Margin of victory FROM table WHERE Runner(s)-up = dave barr |
Translate the following into a SQL query | Which Margin of victory has a Runner(s)-up of mark o'meara? | SELECT Margin of victory FROM table WHERE Runner(s)-up = mark o'meara |
Translate the following into a SQL query | In round 9 what was the nationality? | SELECT Nationality FROM table WHERE Round = 9 |
Translate the following into a SQL query | In round 3 what was the position? | SELECT Position FROM table WHERE Round = 3 |
Translate the following into a SQL query | Who has a nationality of Czech Republic and a position of right wing? | SELECT Player FROM table WHERE Position = right wing AND Nationality = czech republic |
Translate the following into a SQL query | What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11? | SELECT MAX Winning Pct. FROM table WHERE Losses > 4 AND Ties < 2 AND Games Started > 11 AND Wins < 22 |
Translate the following into a SQL query | Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold? | SELECT COUNT Gold FROM table WHERE Rank = 6 AND Bronze > 0 |
Translate the following into a SQL query | Total of 5 had what bronze? | SELECT Bronze FROM table WHERE Total = 5 |
Translate the following into a SQL query | In which tournament did he place 20th? | SELECT Tournament FROM table WHERE Result = 20th |
Translate the following into a SQL query | What the result for the hypo-meeting tournament in 1994? | SELECT Result FROM table WHERE Year = 1994 AND Tournament = hypo-meeting |
Translate the following into a SQL query | What was the result in 1995? | SELECT Result FROM table WHERE Year = 1995 |
Translate the following into a SQL query | After March 19, what's the score of game 67? | SELECT Score FROM table WHERE March > 19 AND Game = 67 |
Translate the following into a SQL query | Who is the head linesman of the game on 1 February 2009? | SELECT Head Linesman FROM table WHERE Date = 1 february 2009 |
Translate the following into a SQL query | What is the date of the game where the line judge was Bob Beeks, the head linesman was Jerry Bergman, and Paul Baetz was the back judge? | SELECT Date FROM table WHERE Line Judge = bob beeks AND Head Linesman = jerry bergman AND Back Judge = paul baetz |
Translate the following into a SQL query | Which game was on 14 January 1973? | SELECT Game FROM table WHERE Date = 14 january 1973 |
Translate the following into a SQL query | Who was the line judge at the game where Scott Green was referee? | SELECT Line Judge FROM table WHERE Referee = scott green |
Translate the following into a SQL query | Who is the head linesman at game xxxv? | SELECT Head Linesman FROM table WHERE Game = xxxv |
Translate the following into a SQL query | What game had Al Jury as field judge? | SELECT Game FROM table WHERE Field Judge = al jury |
Translate the following into a SQL query | What's listed for Departure that has 1676 listed for the Kilometers? | SELECT Departure FROM table WHERE Kilometers = 1676 |
Translate the following into a SQL query | What is the sum of Kilometers that has a Station Code of KGQ? | SELECT COUNT Kilometers FROM table WHERE Station Code = kgq |
Translate the following into a SQL query | What's the Kilometers listed that also has the Station Code of Kuda? | SELECT Kilometers FROM table WHERE Station Code = kuda |
Translate the following into a SQL query | What's listed for the Station Code that has the Arrival of 02:20? | SELECT Station Code FROM table WHERE Arrival = 02:20 |
Translate the following into a SQL query | What is listede for Departure that also has a Station Code of CLT? | SELECT Departure FROM table WHERE Station Code = clt |
Translate the following into a SQL query | What is the smallest area with 45 population? | SELECT MIN Area (km 2 ) FROM table WHERE Population (2000) = 45 |
Translate the following into a SQL query | What is the area located in Rhode Island with more than 38 sq mi area? | SELECT AVG Area (km 2 ) FROM table WHERE Location = rhode island AND Area (sq mi) > 38 |
Translate the following into a SQL query | What is the average area in New York that is larger than 55 sq mi? | SELECT AVG Area (km 2 ) FROM table WHERE Area (sq mi) > 55 AND Location = new york |
Translate the following into a SQL query | Which event was in Tokyo, Japan and had an opponent of rumina sato? | SELECT Event FROM table WHERE Location = tokyo, japan AND Opponent = rumina sato |
Translate the following into a SQL query | Which round was 2:30? | SELECT Round FROM table WHERE Time = 2:30 |
Translate the following into a SQL query | Which event had the opponent of shinya aoki and was at 4:56? | SELECT Event FROM table WHERE Opponent = shinya aoki AND Time = 4:56 |
Translate the following into a SQL query | Which method did pride bushido 10 have ? | SELECT Method FROM table WHERE Event = pride bushido 10 |
Translate the following into a SQL query | Which 2008–09 has an Event of autumn gold? | SELECT 2008–09 FROM table WHERE Event = autumn gold |
Translate the following into a SQL query | Which 2009–10 has a 2012–13 of r16? | SELECT 2009–10 FROM table WHERE 2012–13 = r16 |
Translate the following into a SQL query | Which 2008–09 has a 2012–13 of q, and a 2006–07 of q, and a 2007–08 of qf? | SELECT 2008–09 FROM table WHERE 2012–13 = q AND 2006–07 = q AND 2007–08 = qf |
Translate the following into a SQL query | Which 2007–08 has a 2009–10 of dnp? | SELECT 2007–08 FROM table WHERE 2009–10 = dnp |
Translate the following into a SQL query | Which Drawn has a Team of internacional-sp? | SELECT SUM Drawn FROM table WHERE Team = internacional-sp |
Translate the following into a SQL query | How much Lost has a Drawn larger than 5, and a Played larger than 18? | SELECT SUM Lost FROM table WHERE Drawn > 5 AND Played > 18 |
Translate the following into a SQL query | Which Drawn is the highest one that has a Played smaller than 18? | SELECT MAX Drawn FROM table WHERE Played < 18 |
Translate the following into a SQL query | Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9? | SELECT MAX Drawn FROM table WHERE Against > 15 AND Points < 15 AND Lost < 9 |
Translate the following into a SQL query | What's the least amount of floors at 921 sw sixth avenue? | SELECT MIN Floors FROM table WHERE Street address = 921 sw sixth avenue |
Translate the following into a SQL query | What's the address of the union bank of California tower? | SELECT Street address FROM table WHERE Name = union bank of california tower |
Translate the following into a SQL query | What were the years that the building at 200 sw harrison was considered to be the tallest building? | SELECT Years as tallest FROM table WHERE Street address = 200 sw harrison |
Translate the following into a SQL query | What is the smallest position with less than 7 points piloted by Didier Hauss? | SELECT MIN Position FROM table WHERE Points < 7 AND Pilot = didier hauss |
Translate the following into a SQL query | During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner? | SELECT Season FROM table WHERE Winner = kiveton park AND Final venue = sandy lane |
Translate the following into a SQL query | What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner? | SELECT Runner-up FROM table WHERE Winner = kiveton park AND Season = 2005-06 |
Translate the following into a SQL query | What was the Result in Green Lane with Kirkburton as the Runner-up? | SELECT Result FROM table WHERE Runner-up = kirkburton AND Final venue = green lane |
Translate the following into a SQL query | What was the Result in the 2005-06 Season? | SELECT Result FROM table WHERE Season = 2005-06 |
Translate the following into a SQL query | What was the Final Venue having Sheffield Reserves as the Winner? | SELECT Final venue FROM table WHERE Winner = sheffield reserves |
Translate the following into a SQL query | What is the total number of Round that has a Time of 6:04? | SELECT SUM Round FROM table WHERE Time = 6:04 |
Translate the following into a SQL query | What Round has the Method of Submission (Single Wing Choke)? | SELECT Round FROM table WHERE Method = submission (single wing choke) |
Translate the following into a SQL query | Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska? | SELECT Class FROM table WHERE Frequency MHz > 91.5 AND City of license = hyannis, nebraska |
Translate the following into a SQL query | Which Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb? | SELECT Class FROM table WHERE ERP W > 205 AND Frequency MHz < 93.9 AND Call sign = k210cb |
Translate the following into a SQL query | Which Frequency MHz that has a ERP W larger than 205, and a Call sign of k230ap? | SELECT MAX Frequency MHz FROM table WHERE ERP W > 205 AND Call sign = k230ap |
Translate the following into a SQL query | Which Frequency MHz has a ERP W of 250? | SELECT MAX Frequency MHz FROM table WHERE ERP W = 250 |
Translate the following into a SQL query | What was the date of game 81? | SELECT Date FROM table WHERE Game = 81 |
Translate the following into a SQL query | WHich Surface has an Opponent of gustavo kuerten? | SELECT Surface FROM table WHERE Opponent = gustavo kuerten |
Translate the following into a SQL query | Which Surface has a Tournament of st. petersburg , russia? | SELECT Surface FROM table WHERE Tournament = st. petersburg , russia |
Translate the following into a SQL query | When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken? | SELECT Date FROM table WHERE Surface = hard (i) AND Tournament = brighton , united kingdom |
Translate the following into a SQL query | Which Opponent has a Score of 3–6, 5–7? | SELECT Opponent FROM table WHERE Score = 3–6, 5–7 |
Translate the following into a SQL query | When has a Tournament of palermo , italy? | SELECT Date FROM table WHERE Tournament = palermo , italy |
Translate the following into a SQL query | Which Opponent is on 29 september 1997? | SELECT Opponent FROM table WHERE Date = 29 september 1997 |
Translate the following into a SQL query | Which constellation has hd 75732 as a destignation HD? | SELECT Constellation FROM table WHERE Designation HD = hd 75732 |
Translate the following into a SQL query | What message has hd 186408 as a designation HD? | SELECT Message FROM table WHERE Designation HD = hd 186408 |
Translate the following into a SQL query | What date sent has cygnus as a constellation, and hd 190360 as a designation HD? | SELECT Date sent FROM table WHERE Constellation = cygnus AND Designation HD = hd 190360 |
Translate the following into a SQL query | What date sent has orion as the constellation? | SELECT Date sent FROM table WHERE Constellation = orion |
Translate the following into a SQL query | Which constellation has cosmic call 1 as the message, and an arrival date of october 2067? | SELECT Constellation FROM table WHERE Message = cosmic call 1 AND Arrival date = october 2067 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.