instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is Bandwidth Included, when Internet Plan is "8mb"? | SELECT Bandwidth Included FROM table WHERE Internet Plan = 8mb |
Translate the following into a SQL query | What is the Price, when Upstream is "256 kbit"? | SELECT Price FROM table WHERE Upstream = 256 kbit |
Translate the following into a SQL query | Which Semifinalists has a Finalist of andre agassi? | SELECT Semifinalists FROM table WHERE Finalist = andre agassi |
Translate the following into a SQL query | WHich Tournament has a Finalist of gustavo kuerten (4)? | SELECT Tournament FROM table WHERE Finalist = gustavo kuerten (4) |
Translate the following into a SQL query | Which finalist has Semifinalists of andre agassi (1) lleyton hewitt (14)? | SELECT Finalist FROM table WHERE Semifinalists = andre agassi (1) lleyton hewitt (14) |
Translate the following into a SQL query | Which Finalist has a Tournament of monte carlo? | SELECT Finalist FROM table WHERE Tournament = monte carlo |
Translate the following into a SQL query | WHo is the Winner of andre agassi Finalist? | SELECT Winner FROM table WHERE Finalist = andre agassi |
Translate the following into a SQL query | WHich Tournament has a Finalist of marat safin (12)? | SELECT Tournament FROM table WHERE Finalist = marat safin (12) |
Translate the following into a SQL query | What was the date for the Sepang International circuit, round 3? | SELECT Date FROM table WHERE Circuit = sepang international circuit AND Round = 3 |
Translate the following into a SQL query | Which round had a winning driver of Uwe Alzen, at the Sepang International circuit? | SELECT Round FROM table WHERE Winning Driver = uwe alzen AND Circuit = sepang international circuit |
Translate the following into a SQL query | What was the round number for March 22? | SELECT Round FROM table WHERE Date = march 22 |
Translate the following into a SQL query | Who had the high points in the game @ Charlotte? | SELECT High points FROM table WHERE Team = @ charlotte |
Translate the following into a SQL query | What's the record of Game 70? | SELECT Record FROM table WHERE Game = 70 |
Translate the following into a SQL query | Who had the high points when they played in Philips Arena 14,413? | SELECT High points FROM table WHERE Location Attendance = philips arena 14,413 |
Translate the following into a SQL query | What is the date of the game that took place at the Resch Center? | SELECT Date FROM table WHERE Game site = resch center |
Translate the following into a SQL query | Which network returns april 3, and a Show of shop 'til you drop? | SELECT New/Returning/Same Network FROM table WHERE Returning = april 3 AND Show = shop 'til you drop |
Translate the following into a SQL query | Which retitled network has a Show of supermarket sweep? | SELECT Retitled as/Same FROM table WHERE Show = supermarket sweep |
Translate the following into a SQL query | Which show returns april 3 with a Previous Network of lifetime? | SELECT Retitled as/Same FROM table WHERE Returning = april 3 AND Previous Network = lifetime |
Translate the following into a SQL query | What is the lowest grid number for Yamaha? | SELECT MIN Grid FROM table WHERE Manufacturer = yamaha |
Translate the following into a SQL query | How many laps had a grid over 16 and a Time of +1:35.890? | SELECT Laps FROM table WHERE Grid > 16 AND Time = +1:35.890 |
Translate the following into a SQL query | What was the lowest lab for Gilera with a grid less than 12? | SELECT MIN Laps FROM table WHERE Manufacturer = gilera AND Grid < 12 |
Translate the following into a SQL query | What is the highest Grid with a time of +1:19.905, and less than 20 laps? | SELECT MAX Grid FROM table WHERE Time = +1:19.905 AND Laps < 20 |
Translate the following into a SQL query | What Rider has a Grid of 21? | SELECT Rider FROM table WHERE Grid = 21 |
Translate the following into a SQL query | Who is the away captain when the game resulted in [[|]] by 7 wickets? | SELECT Away captain FROM table WHERE Result = [[|]] by 7 wickets |
Translate the following into a SQL query | Who is the home captain of the match that resulted [[|]] by 151 runs? | SELECT Home captain FROM table WHERE Result = [[|]] by 151 runs |
Translate the following into a SQL query | How many totals have a To par of –1? | SELECT SUM Total FROM table WHERE To par = –1 |
Translate the following into a SQL query | Which Year(s) won has a Total smaller than 285, and a Player of tom watson? | SELECT Year(s) won FROM table WHERE Total < 285 AND Player = tom watson |
Translate the following into a SQL query | Which Finish has a Total of 288? | SELECT Finish FROM table WHERE Total = 288 |
Translate the following into a SQL query | Who won in 1991? | SELECT Player FROM table WHERE Year(s) won = 1991 |
Translate the following into a SQL query | Who was picked before 149 in round 9? | SELECT Player FROM table WHERE Pick < 149 AND Round = 9 |
Translate the following into a SQL query | Who was pick 16 and before round 10? | SELECT Player FROM table WHERE Round < 10 AND Pick = 16 |
Translate the following into a SQL query | What is Affiliation, when Nickname is Bulldogs? | SELECT Affiliation FROM table WHERE Nickname = bulldogs |
Translate the following into a SQL query | What is the average Founded, when Enrollment is 4,000? | SELECT AVG Founded FROM table WHERE Enrollment = 4,000 |
Translate the following into a SQL query | Which team raced at Amaroo Park? | SELECT Team FROM table WHERE Circuit = amaroo park |
Translate the following into a SQL query | On what date did Dick Johnson with at Calder? | SELECT Date FROM table WHERE Winner = dick johnson AND Race Title = calder |
Translate the following into a SQL query | Which team raced on Oran Park Raceway? | SELECT Team FROM table WHERE Circuit = oran park raceway |
Translate the following into a SQL query | On what date was the race in Melbourne, Victoria? | SELECT Date FROM table WHERE City / State = melbourne, victoria |
Translate the following into a SQL query | Which city or state contains Calder Park Raceway? | SELECT City / State FROM table WHERE Circuit = calder park raceway |
Translate the following into a SQL query | What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)? | SELECT MIN Margin FROM table WHERE St Kilda Saints = 11.13 (79) |
Translate the following into a SQL query | What is the average Margin that has a Round of 13. (h)? | SELECT AVG Margin FROM table WHERE Round = 13. (h) |
Translate the following into a SQL query | What is the location of South Adelaide? | SELECT Location FROM table WHERE Team = south adelaide |
Translate the following into a SQL query | Which team has an unknown coach and location of Athelstone? | SELECT Team FROM table WHERE Coach = unknown AND Location = athelstone |
Translate the following into a SQL query | When was the team that plays at Athelstone founded? | SELECT Founded FROM table WHERE Location = athelstone |
Translate the following into a SQL query | Who is the coach of the team from Port Pirie? | SELECT Coach FROM table WHERE Location = port pirie |
Translate the following into a SQL query | Who is the coach of the team with home ground at Club Cove? | SELECT Coach FROM table WHERE Home Ground = club cove |
Translate the following into a SQL query | Which team was founded in 1970? | SELECT Team FROM table WHERE Founded = 1970 |
Translate the following into a SQL query | When did acharya shree koshalendraprasadji maharaj become acharya? | SELECT Became Acharya on FROM table WHERE Name of Acharya = acharya shree koshalendraprasadji maharaj |
Translate the following into a SQL query | What is the term of acharya shree vasudevprasadji maharaj? | SELECT Term FROM table WHERE Name of Acharya = acharya shree vasudevprasadji maharaj |
Translate the following into a SQL query | What was the event where justin robbins had a record of 9-4-1? | SELECT Event FROM table WHERE Record = 9-4-1 |
Translate the following into a SQL query | Where was the location where justin robbins fought against billy kidd? | SELECT Location FROM table WHERE Opponent = billy kidd |
Translate the following into a SQL query | What was the method of resolution for the fight at cage warriors 39? | SELECT Method FROM table WHERE Event = cage warriors 39 |
Translate the following into a SQL query | A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? | SELECT SUM Regular season FROM table WHERE Playoffs = 35 AND Total > 302 |
Translate the following into a SQL query | What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4? | SELECT College/Junior/Club Team (League) FROM table WHERE Round > 4 AND Position = lw AND Player = mark miller |
Translate the following into a SQL query | Who is the lw position player from a round greater than 10? | SELECT Player FROM table WHERE Position = lw AND Round > 10 |
Translate the following into a SQL query | Who is the player from round 8? | SELECT Player FROM table WHERE Round = 8 |
Translate the following into a SQL query | What is the nationality of the player from round 7? | SELECT Nationality FROM table WHERE Round = 7 |
Translate the following into a SQL query | What is the nationality of the player from round 5? | SELECT Nationality FROM table WHERE Round = 5 |
Translate the following into a SQL query | What state had an elected/assumed office in 2013? | SELECT State FROM table WHERE Elected/assumed office = 2013 |
Translate the following into a SQL query | What was the air date of the episode that has an 18-49 of 2.2/7? | SELECT Air Date FROM table WHERE 18-49 = 2.2/7 |
Translate the following into a SQL query | What was the air date of 'Gary tries to do it all'? | SELECT Air Date FROM table WHERE Episode = gary tries to do it all |
Translate the following into a SQL query | What is the highest number of viewers for the episode that has an 18-49 of 1.8/6? | SELECT MAX Viewers FROM table WHERE 18-49 = 1.8/6 |
Translate the following into a SQL query | What was the timeslot for the episode with less than 6.76 viewers and an 18-49 of 1.9/5? | SELECT Timeslot FROM table WHERE Viewers < 6.76 AND 18-49 = 1.9/5 |
Translate the following into a SQL query | What is the timeslot for the episode with an 18-49 of 2.2/7? | SELECT Timeslot FROM table WHERE 18-49 = 2.2/7 |
Translate the following into a SQL query | What is the timeslot for 'gary has to choose' with an 18-49 of 1.8/5? | SELECT Timeslot FROM table WHERE 18-49 = 1.8/5 AND Episode = gary has to choose |
Translate the following into a SQL query | What is the location of the university that was established in 2000? | SELECT Location FROM table WHERE Established = 2000 |
Translate the following into a SQL query | What year was the team with the nickname pride established? | SELECT COUNT Established FROM table WHERE Nickname = pride |
Translate the following into a SQL query | What is the enrollment of the university established in or after 2011? | SELECT Enrollment FROM table WHERE Established > 2011 |
Translate the following into a SQL query | What country was ole ellefsæter from? | SELECT Country FROM table WHERE Winner = ole ellefsæter |
Translate the following into a SQL query | Who won the FIS Nordic World Ski Championships in 1972? | SELECT Winner FROM table WHERE FIS Nordic World Ski Championships = 1972 |
Translate the following into a SQL query | For a country of Spain, place of t6, what is the Money ($)? | SELECT Money ( $ ) FROM table WHERE Place = t6 AND Country = spain |
Translate the following into a SQL query | Which country has a to par of e? | SELECT Country FROM table WHERE To par = e |
Translate the following into a SQL query | Which player is from Australia, and has a place of t9? | SELECT Player FROM table WHERE Place = t9 AND Country = australia |
Translate the following into a SQL query | What was the place for player John Merrick? | SELECT Place FROM table WHERE Player = john merrick |
Translate the following into a SQL query | Which country had a place of t1, as well as a score of 72-68-70-73=283? | SELECT Country FROM table WHERE Place = t1 AND Score = 72-68-70-73=283 |
Translate the following into a SQL query | What place has jack renner as the player? | SELECT Place FROM table WHERE Player = jack renner |
Translate the following into a SQL query | What to par has The United States as the country, t8 as the place, and tommy valentine as the player? | SELECT To par FROM table WHERE Country = united states AND Place = t8 AND Player = tommy valentine |
Translate the following into a SQL query | What to par has 66 as the score? | SELECT To par FROM table WHERE Score = 66 |
Translate the following into a SQL query | Mean of played with smaller than 7 conceded? | SELECT AVG Played FROM table WHERE Conceded < 7 |
Translate the following into a SQL query | The highest position with more than 16 points and less than 7 concedes? | SELECT MAX Position FROM table WHERE Points > 16 AND Conceded < 7 |
Translate the following into a SQL query | The highest draws with smaller than 9 played? | SELECT MAX Draws FROM table WHERE Played < 9 |
Translate the following into a SQL query | Which Home Town has a Took Office of 1983, and a District larger than 15? | SELECT Home Town FROM table WHERE Took Office = 1983 AND District > 15 |
Translate the following into a SQL query | Which Senator has a Party of republican, a Home Town of houston, and a District of 7? | SELECT Senator FROM table WHERE Party = republican AND Home Town = houston AND District = 7 |
Translate the following into a SQL query | Which Home Town has a Senator of dan shelley? | SELECT Home Town FROM table WHERE Senator = dan shelley |
Translate the following into a SQL query | Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18? | SELECT COUNT Took Office FROM table WHERE Party = democratic AND Home Town = victoria AND District < 18 |
Translate the following into a SQL query | Which Took Office has a District of 29? | SELECT AVG Took Office FROM table WHERE District = 29 |
Translate the following into a SQL query | What are the average Laps on Grid 15? | SELECT AVG Laps FROM table WHERE Grid = 15 |
Translate the following into a SQL query | What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18? | SELECT MIN Laps FROM table WHERE Time = +24.440 AND Grid > 18 |
Translate the following into a SQL query | What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? | SELECT MAX Laps FROM table WHERE Grid < 13 AND Time = +18.366 |
Translate the following into a SQL query | What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? | SELECT MIN Wins FROM table WHERE Season = 2011 AND Podiums = 1 AND Poles < 0 |
Translate the following into a SQL query | What is Position, when Points is greater than 7, and when Series is Toyota Racing Series? | SELECT Position FROM table WHERE Points > 7 AND Series = toyota racing series |
Translate the following into a SQL query | What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3? | SELECT SUM Races FROM table WHERE Series = toyota racing series AND Podiums > 3 |
Translate the following into a SQL query | What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? | SELECT AVG Podiums FROM table WHERE Wins > 1 AND Races = 2 AND Points > 150 |
Translate the following into a SQL query | What is the total number of Poles, when Position is 6th, and when Points is less than 164? | SELECT COUNT Poles FROM table WHERE Position = 6th AND Points < 164 |
Translate the following into a SQL query | Which boys/girls school is a day school with an anglican denomination? | SELECT Boys/Girls FROM table WHERE Denomination = anglican AND Day/Boarding = day |
Translate the following into a SQL query | Which is the earliest founded day school to have entered the competition after 1958? | SELECT MIN Founded FROM table WHERE Day/Boarding = day AND Year Entered Competition > 1958 |
Translate the following into a SQL query | How many to par in England? | SELECT To par FROM table WHERE Country = england |
Translate the following into a SQL query | Where is David Frost from? | SELECT Place FROM table WHERE Player = david frost |
Translate the following into a SQL query | Which country earned place T3 with a score of 70-68=138? | SELECT Country FROM table WHERE Place = t3 AND Score = 70-68=138 |
Translate the following into a SQL query | Which country had a score of 69-67=136? | SELECT Country FROM table WHERE Score = 69-67=136 |
Translate the following into a SQL query | How many to par for Greg Norman? | SELECT To par FROM table WHERE Player = greg norman |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.