instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | which fa cups had a total of 565 (7)? | SELECT FA Cup FROM table WHERE Total = 565 (7) |
Translate the following into a SQL query | which leage had a league cup of 46 (1) | SELECT League FROM table WHERE League Cup = 46 (1) |
Translate the following into a SQL query | which years had other a of 8 (1)? | SELECT Years FROM table WHERE Other a = 8 (1) |
Translate the following into a SQL query | What name is associated with League 142? | SELECT Name FROM table WHERE League = 142 |
Translate the following into a SQL query | How many values of Other A correspond to Tommy Johnson Category:Articles with hCards? | SELECT COUNT Other a FROM table WHERE Name = Tommy Johnson Category:Articles with hCards |
Translate the following into a SQL query | How many different Leagues are associated with Billy Meredith Category:Articles with hCards? | SELECT COUNT League FROM table WHERE Name = Billy Meredith Category:Articles with hCards |
Translate the following into a SQL query | How many separate values for Years are associated with FA Cup of 5? | SELECT COUNT Years FROM table WHERE FA Cup = 5 |
Translate the following into a SQL query | What years have a total of 139? | SELECT Years FROM table WHERE Total = 139 |
Translate the following into a SQL query | What was the GDP (in millions USD) of Indonesia in 2009? | SELECT COUNT GDP millions of USD (2009) FROM table WHERE Country / territory = Indonesia |
Translate the following into a SQL query | What was the GDP (in millions USD) of Hong Kong in 2009? | SELECT MAX GDP millions of USD (2009) FROM table WHERE Country / territory = Hong Kong |
Translate the following into a SQL query | How tall is Braxton Kelley? | SELECT Height FROM table WHERE Name = Braxton Kelley |
Translate the following into a SQL query | what class is Braxton Kelley in? | SELECT COUNT Class FROM table WHERE Name = Braxton Kelley |
Translate the following into a SQL query | how many hometowns use the position of fs? | SELECT COUNT Hometown FROM table WHERE Position = FS |
Translate the following into a SQL query | who is number 98? | SELECT Name FROM table WHERE Number = 98 |
Translate the following into a SQL query | How many games were played against the Chicago Bears? | SELECT COUNT Record FROM table WHERE Opponent = Chicago Bears |
Translate the following into a SQL query | What is the result of the game against the Chicago Bears? | SELECT Result FROM table WHERE Opponent = Chicago Bears |
Translate the following into a SQL query | What was the final score of the game on October 4, 1970? | SELECT Result FROM table WHERE Date = October 4, 1970 |
Translate the following into a SQL query | Who was the team's opponent of October 25, 1970? | SELECT Opponent FROM table WHERE Date = October 25, 1970 |
Translate the following into a SQL query | Did Flamengo play in the Recopa Sudamericana in 1998 | SELECT Recopa Sudamericana 1998 FROM table WHERE Team = Flamengo |
Translate the following into a SQL query | What were Cruzeiro results in the Copa Mercosur in 1998 | SELECT Copa Mercosur 1998 FROM table WHERE Team = Cruzeiro |
Translate the following into a SQL query | Where is California Lutheran University located? | SELECT COUNT Location FROM table WHERE Institution = California Lutheran University |
Translate the following into a SQL query | What is the new classification for the University of Arizona Western in the Collegiate Lacrosse League? | SELECT New Classification FROM table WHERE Institution = University of Arizona |
Translate the following into a SQL query | What is California State University, Hayward's new conference for Western Collegiate Lacrosse? | SELECT New Conference FROM table WHERE Institution = California State University, Hayward |
Translate the following into a SQL query | Which new conference is the Toreros Western Collegiate Lacrosse team playing in? | SELECT New Conference FROM table WHERE Team Nickname = Toreros |
Translate the following into a SQL query | In Ascot (UK), what was the result? | SELECT Result FROM table WHERE Venue = Ascot (UK) |
Translate the following into a SQL query | How many different jockeys ran on 17 Feb 2007? | SELECT COUNT Jockey FROM table WHERE Date = 17 Feb 2007 |
Translate the following into a SQL query | How many venues were used on 10 Mar 2007? | SELECT Venue FROM table WHERE Date = 10 Mar 2007 |
Translate the following into a SQL query | How many jockeys are listed running at the Sir Rupert Clarke Stakes? | SELECT COUNT Jockey FROM table WHERE Race = Sir Rupert Clarke Stakes |
Translate the following into a SQL query | How many venues had a race called the Australia Stakes? | SELECT COUNT Venue FROM table WHERE Race = Australia Stakes |
Translate the following into a SQL query | Where was the 1400 m held? | SELECT Venue FROM table WHERE Distance = 1400 m |
Translate the following into a SQL query | What is the group name when 3yo hcp restricted maiden was raced? | SELECT Group FROM table WHERE Race = 3yo Hcp Restricted Maiden |
Translate the following into a SQL query | When did the 55 kg participant race? | SELECT Date FROM table WHERE Weight (kg) = 55 |
Translate the following into a SQL query | Name the number of weeks for 50073 attendance | SELECT COUNT Week FROM table WHERE Attendance = 50073 |
Translate the following into a SQL query | Name the result for milwaukee county stadium | SELECT Result FROM table WHERE Game Site = Milwaukee County Stadium |
Translate the following into a SQL query | What was the record when the game was played at Cleveland Municipal Stadium? | SELECT Record FROM table WHERE Game Site = Cleveland Municipal Stadium |
Translate the following into a SQL query | What was the game date in week 13? | SELECT Date FROM table WHERE Week = 13 |
Translate the following into a SQL query | Where did the team play the Detroit Lions? | SELECT Game Site FROM table WHERE Opponent = Detroit Lions |
Translate the following into a SQL query | What week of the season did the date December 2, 1962 fall on? | SELECT Week FROM table WHERE Date = December 2, 1962 |
Translate the following into a SQL query | what is the result for October 14, 1956? | SELECT Result FROM table WHERE Date = October 14, 1956 |
Translate the following into a SQL query | Name the game site for week 6 | SELECT Game Site FROM table WHERE Week = 6 |
Translate the following into a SQL query | Name the number of weeks for san francisco 49ers | SELECT COUNT Week FROM table WHERE Opponent = San Francisco 49ers |
Translate the following into a SQL query | Name the most attendance for game site for los angeles memorial coliseum | SELECT MAX Attendance FROM table WHERE Game Site = Los Angeles Memorial Coliseum |
Translate the following into a SQL query | what's the result with record being 0–1 | SELECT Result FROM table WHERE Record = 0–1 |
Translate the following into a SQL query | what's the game site with result being l 24–34 | SELECT Game Site FROM table WHERE Result = L 24–34 |
Translate the following into a SQL query | how many result with date being october 25, 1964 | SELECT COUNT Result FROM table WHERE Date = October 25, 1964 |
Translate the following into a SQL query | how many opponent with date being october 25, 1964 | SELECT COUNT Opponent FROM table WHERE Date = October 25, 1964 |
Translate the following into a SQL query | Name the population 2010 census for population 2000 census of 920599 | SELECT Population (2010 Census) FROM table WHERE Population 2000 Census = 920599 |
Translate the following into a SQL query | Name the total number of population 2000 census for mesquita | SELECT COUNT Population 2000 Census FROM table WHERE Administrative division = Mesquita |
Translate the following into a SQL query | Name the population 2000 census for 77 area | SELECT Population 2000 Census FROM table WHERE Area (km²) = 77 |
Translate the following into a SQL query | Name the number of area where population density 2010 for 514 | SELECT COUNT Area (km²) FROM table WHERE Population density 2010 (/km²) = 514 |
Translate the following into a SQL query | Name the number of population density 2010 for duque de caxias | SELECT COUNT Population density 2010 (/km²) FROM table WHERE Administrative division = Duque de Caxias |
Translate the following into a SQL query | Name the administrative division for 95391 | SELECT Administrative division FROM table WHERE Population (2010 Census) = 95391 |
Translate the following into a SQL query | How many losses did 12 de Octubre have ? | SELECT MIN Losses FROM table WHERE Team = 12 de Octubre |
Translate the following into a SQL query | Name the santee sisseton for morning | SELECT Santee-Sisseton FROM table WHERE English gloss = morning |
Translate the following into a SQL query | Name the southern lakota for morning | SELECT Southern Lakota FROM table WHERE English gloss = morning |
Translate the following into a SQL query | Name the southern lakota for wakȟáŋyeža | SELECT Southern Lakota FROM table WHERE Yankton-Yanktonai = wakȟáŋyeža |
Translate the following into a SQL query | Name the english gloss for naháŋȟčiŋ | SELECT English gloss FROM table WHERE Southern Lakota = naháŋȟčiŋ |
Translate the following into a SQL query | Name the santee sisseton for híŋhaŋna | SELECT COUNT Santee-Sisseton FROM table WHERE Yankton-Yanktonai = híŋhaŋna |
Translate the following into a SQL query | Name the yankton yanktonai for wičháša | SELECT Yankton-Yanktonai FROM table WHERE Southern Lakota = wičháša |
Translate the following into a SQL query | What was the last round the team drafted? | SELECT MAX Round FROM table |
Translate the following into a SQL query | What college did steve justice attend? | SELECT College FROM table WHERE Player = Steve Justice |
Translate the following into a SQL query | How may women doubles winner were there when Philippe Aulner was mens singles winner? | SELECT COUNT Womens doubles FROM table WHERE Mens singles = Philippe Aulner |
Translate the following into a SQL query | How many mixed doubles were won in 1996? | SELECT COUNT Mixed doubles FROM table WHERE Year = 1996 |
Translate the following into a SQL query | who is the the womens doubles with mens doubles being reinhold pum karl buchart and mixed doubles being hermann fröhlich lore voit | SELECT Womens doubles FROM table WHERE Mens doubles = Reinhold Pum Karl Buchart AND Mixed doubles = Hermann Fröhlich Lore Voit |
Translate the following into a SQL query | who is the the womens doubles with mens doubles being leopold bauer alfred kohlhauser | SELECT Womens doubles FROM table WHERE Mens doubles = Leopold Bauer Alfred Kohlhauser |
Translate the following into a SQL query | who is the the mixed doubles with mens singles being peter moritz | SELECT Mixed doubles FROM table WHERE Mens singles = Peter Moritz |
Translate the following into a SQL query | who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner | SELECT Mens doubles FROM table WHERE Mens singles = Jürgen Koch AND Womens singles = Sabine Ploner |
Translate the following into a SQL query | who is the the womens singles with mixed doubles being bernd frohnwieser hilde themel and year being smaller than 1959.0 | SELECT Womens singles FROM table WHERE Mixed doubles = Bernd Frohnwieser Hilde Themel AND Year < 1959.0 |
Translate the following into a SQL query | How many mixed doubles were there in the year that Olga Koseli won the women's singles? | SELECT COUNT Mixed doubles FROM table WHERE Womens singles = Olga Koseli |
Translate the following into a SQL query | What is the # for the episode with viewing figures of 7.02 million ? | SELECT MAX # FROM table WHERE Viewing figure = 7.02 million |
Translate the following into a SQL query | What is the lowest rank for puerto rico? | SELECT MIN Rank FROM table WHERE Country = Puerto Rico |
Translate the following into a SQL query | What is the highest rank for the country with 6 2nd runner ups? | SELECT MAX Rank FROM table WHERE 2nd Runner-up = 6 |
Translate the following into a SQL query | How many different directors are associated with the writer Gaby Chiappe? | SELECT COUNT Director FROM table WHERE Writer = Gaby Chiappe |
Translate the following into a SQL query | What writers are associated with a viewing figure of 7.01 million? | SELECT Writer FROM table WHERE Viewing figure = 7.01 million |
Translate the following into a SQL query | What are all episodes with a viewing figure of 6.72 million? | SELECT Episode FROM table WHERE Viewing figure = 6.72 million |
Translate the following into a SQL query | What original air dates are associated with a viewing figure of 7.27 million? | SELECT Original air date FROM table WHERE Viewing figure = 7.27 million |
Translate the following into a SQL query | Who is the director of the episode at entry number 13? | SELECT Director FROM table WHERE # = 13 |
Translate the following into a SQL query | Who wrote the episode that David Tucker directed? | SELECT COUNT Writer FROM table WHERE Director = David Tucker |
Translate the following into a SQL query | Which episode has been viewed 6.34 million times? | SELECT Episode FROM table WHERE Viewing figure = 6.34 million |
Translate the following into a SQL query | What is the original air date of the episode directed by Paul Marcus? | SELECT Original air date FROM table WHERE Director = Paul Marcus |
Translate the following into a SQL query | Which numerical entry corresponds to "Episode 9"? | SELECT COUNT # FROM table WHERE Episode = "Episode 9" |
Translate the following into a SQL query | How many licenses have version 1.2.2.0? | SELECT COUNT License FROM table WHERE Version = 1.2.2.0 |
Translate the following into a SQL query | What is the version with sbagen software? | SELECT Version FROM table WHERE Software = SBaGen |
Translate the following into a SQL query | How many licenses have mind workstation software? | SELECT COUNT License FROM table WHERE Software = Mind WorkStation |
Translate the following into a SQL query | What is the software with version 1.2.2.0? | SELECT Software FROM table WHERE Version = 1.2.2.0 |
Translate the following into a SQL query | What is hte license for beeone smod/hms software? | SELECT License FROM table WHERE Software = BeeOne SMOD/HMS |
Translate the following into a SQL query | What are all the operating systems for sbagen? | SELECT Operating systems FROM table WHERE Software = SBaGen |
Translate the following into a SQL query | What is the English word for the French word cheval? | SELECT English FROM table WHERE French = cheval |
Translate the following into a SQL query | What is the Spanish word for the French word filtrer? | SELECT Spanish FROM table WHERE French = filtrer |
Translate the following into a SQL query | What is the French word where the German word is filtern? | SELECT French FROM table WHERE German = filtern |
Translate the following into a SQL query | What is the french word for the Russian word filtrovat (фильтровать)? | SELECT French FROM table WHERE Russian = filtrovat (фильтровать) |
Translate the following into a SQL query | What is the French word for the Italian word nazione? | SELECT French FROM table WHERE Italian = nazione |
Translate the following into a SQL query | What is the English word for the Russian words loshad, kobyla (лошадь, кобыла)? | SELECT English FROM table WHERE Russian = loshad, kobyla (лошадь, кобыла) |
Translate the following into a SQL query | Which state had 3821 students in the fall of 06? | SELECT States FROM table WHERE Fall 06 = 3821 |
Translate the following into a SQL query | How man students were from Maryland in Fall 05? | SELECT Fall 05 FROM table WHERE States = Maryland |
Translate the following into a SQL query | What is the number of students in Fall 09 from the state that had 3940 in Fall 07? | SELECT MAX Fall 09 FROM table WHERE Fall 07 = 3940 |
Translate the following into a SQL query | What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06? | SELECT MAX Fall 09 FROM table WHERE Fall 06 = 3821 |
Translate the following into a SQL query | What is the lowest number of students from a state during the Fall 06 semester? | SELECT MIN Fall 06 FROM table |
Translate the following into a SQL query | Name the 132.1% for where north carolina is colorado | SELECT 132.1% FROM table WHERE North Carolina = Colorado |
Translate the following into a SQL query | Name the vermont for where 95.8% is 60.6% | SELECT Vermont FROM table WHERE 95.8% = 60.6% |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.