instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What conference does Gonzaga University play in? | SELECT Primary conference FROM table WHERE Institution = Gonzaga University |
Translate the following into a SQL query | How many Universities were founded in Tacoma, Washington? | SELECT COUNT Founded FROM table WHERE Location = Tacoma, Washington |
Translate the following into a SQL query | Which school's team has the nickname of the Wildcats? | SELECT Institution FROM table WHERE Team Nickname = Wildcats |
Translate the following into a SQL query | What year was the university that is located in Ellensburg, Washington established? | SELECT MIN Founded FROM table WHERE Location = Ellensburg, Washington |
Translate the following into a SQL query | Where is the university located that's nicknamed the Wolves? | SELECT Location FROM table WHERE Team Nickname = Wolves |
Translate the following into a SQL query | What is the total number of viewers where the share is 7 and the week rank is 64? | SELECT COUNT Viewers FROM table WHERE Share = 7 AND Weekly Rank = 64 |
Translate the following into a SQL query | How many episodes have a share bigger than 7.0? | SELECT COUNT # FROM table WHERE Share > 7.0 |
Translate the following into a SQL query | How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.? | SELECT COUNT # FROM table WHERE Weekly Rank = TBA AND Timeslot = 8:00 P.M. |
Translate the following into a SQL query | What are the timeslot(s) for broadcast on February 22, 2008? | SELECT Timeslot FROM table WHERE Air Date = February 22, 2008 |
Translate the following into a SQL query | What broadcast dates have a weekly rank of 73? | SELECT COUNT Air Date FROM table WHERE Weekly Rank = 73 |
Translate the following into a SQL query | When was the date of appointment for St. Johnstone's manager? | SELECT Date of appointment FROM table WHERE Team = St. Johnstone |
Translate the following into a SQL query | Who was the outgoing manager for Aberdeen? | SELECT Outgoing manager FROM table WHERE Team = Aberdeen |
Translate the following into a SQL query | When was the date of appointment for the manager replacing Wim Jansen? | SELECT Date of appointment FROM table WHERE Outgoing manager = Wim Jansen |
Translate the following into a SQL query | What is the result for salmonella spp. if you use citrate? | SELECT COUNT Citrate FROM table WHERE Species = Salmonella spp. |
Translate the following into a SQL query | Which species show a negative result with both voges-proskauer and indole? | SELECT Species FROM table WHERE Voges-Proskauer = Negative AND Indole = Negative |
Translate the following into a SQL query | What are the results for testing the species with voges-proskauer when citrate yields a positive result? | SELECT Voges-Proskauer FROM table WHERE Citrate = Positive |
Translate the following into a SQL query | What is the result of proteus mirabilis tested with indole? | SELECT Indole FROM table WHERE Species = Proteus mirabilis |
Translate the following into a SQL query | When was the show originally aired that had a TV broadcast of S07E04? | SELECT Originalairdate FROM table WHERE TV Broadcast = S07E04 |
Translate the following into a SQL query | Which title was No. 4 in season? | SELECT Title FROM table WHERE No. in season = 4 |
Translate the following into a SQL query | Who directed the show that had a TV broadcast of S07E04? | SELECT Directed by FROM table WHERE TV Broadcast = S07E04 |
Translate the following into a SQL query | What seasons did unicaja málaga finish in 3rd? | SELECT Season FROM table WHERE 3rd Place = Unicaja Málaga |
Translate the following into a SQL query | What teams finished 3rd when limoges finished 4th? | SELECT 3rd Place FROM table WHERE 4th Place = Limoges |
Translate the following into a SQL query | What team finished in 1st when tau cerámica was in 3rd? | SELECT 1st Place FROM table WHERE 3rd Place = TAU Cerámica |
Translate the following into a SQL query | What teams finished in 3rd when panathinaikos finished 2nd? | SELECT 3rd Place FROM table WHERE 2nd Place = Panathinaikos |
Translate the following into a SQL query | What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California? | SELECT Mid-Atlantic South (Washington, D.C.) FROM table WHERE Alaska ( Juneau ) = 90 g/mi (56 g/km) AND California (San Francisco) = 110 g/mi (68 g/km) |
Translate the following into a SQL query | What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest? | SELECT Mid-Atlantic South (Washington, D.C.) FROM table WHERE Midwest (Des Moines) = 300 g/mi (186 g/km) |
Translate the following into a SQL query | What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest? | SELECT U.S. national average electric mix FROM table WHERE Midwest (Des Moines) = 280 g/mi (174 g/km) |
Translate the following into a SQL query | How many Ford Focus electric vehicle emission test scores were recorded in California? | SELECT COUNT California (San Francisco) FROM table WHERE Vehicle = Ford Focus Electric |
Translate the following into a SQL query | What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ? | SELECT California (San Francisco) FROM table WHERE Alaska ( Juneau ) = 80 g/mi (50 g/km) AND Southeast (Atlanta) = 250 g/mi (155 g/km) |
Translate the following into a SQL query | What was the lowest no. of attendance on record? | SELECT MIN Attendance FROM table |
Translate the following into a SQL query | When was the game played if the attendance is less than 6427.0? | SELECT Date FROM table WHERE Attendance < 6427.0 |
Translate the following into a SQL query | How many were in attendance during the game on January 9, 1988? | SELECT Attendance FROM table WHERE Date = January 9, 1988 |
Translate the following into a SQL query | Where is the headquarters of the place whose abbreviation is hy? | SELECT Headquarters FROM table WHERE Code = HY |
Translate the following into a SQL query | Where is the headquarters of the place whose population in 2011 was 3811738? | SELECT Headquarters FROM table WHERE Population (2011) = 3811738 |
Translate the following into a SQL query | What was the minimum population in 2011 of the district of Prakasam? | SELECT MIN Population (2011) FROM table WHERE District = Prakasam |
Translate the following into a SQL query | What is the abbreviation of the district of Mahbubnagar? | SELECT Code FROM table WHERE District = Mahbubnagar |
Translate the following into a SQL query | What is the 2011 population of the district of East Godavari? | SELECT Population (2011) FROM table WHERE District = East Godavari |
Translate the following into a SQL query | What is the adjusted GDP when the nominal GDP per capita is 2874? | SELECT GDP Adjusted ($ billions) FROM table WHERE GDP per capita Nominal ($) = 2874 |
Translate the following into a SQL query | What is the adjusted GDP per capita when the population is 37.376 million? | SELECT GDP per capita Adjusted ($) FROM table WHERE Population (millions) = 37.376 |
Translate the following into a SQL query | What is the nominal GDP per capita when the population is 63.056 million? | SELECT MIN GDP per capita Nominal ($) FROM table WHERE Population (millions) = 63.056 |
Translate the following into a SQL query | What is the adjusted GDP when the population is 5.141 million? | SELECT GDP Adjusted ($ billions) FROM table WHERE Population (millions) = 5.141 |
Translate the following into a SQL query | What is the population in millions when the adjusted GDP is 492 billion? | SELECT Population (millions) FROM table WHERE GDP Adjusted ($ billions) = 492 |
Translate the following into a SQL query | What is the adjusted GDP when the nominal GDP is 8.43 (in billions)? | SELECT GDP Adjusted ($ billions) FROM table WHERE GDP Nominal ($ billions) = 8.43 |
Translate the following into a SQL query | What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8? | SELECT Operating profit (S$m) FROM table WHERE Expenditure (S$m) = 12,127.8 |
Translate the following into a SQL query | What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1? | SELECT Expenditure (S$m) FROM table WHERE Operating profit (S$m) = 717.1 |
Translate the following into a SQL query | How many years was the operating profit (s$m) 717.1? | SELECT COUNT Profit before taxation (S$m) FROM table WHERE Operating profit (S$m) = 717.1 |
Translate the following into a SQL query | Name the simplified characters for wade giles is ch'ing-yüan … i-ma | SELECT Simplified characters FROM table WHERE Wade-Giles = ch'ing-yüan … i-ma |
Translate the following into a SQL query | Name the pinyin for 657 date | SELECT Pinyin FROM table WHERE Date (CE) = 657 |
Translate the following into a SQL query | Name the text for 心猿意马 | SELECT Text FROM table WHERE Simplified characters = 心猿意马 |
Translate the following into a SQL query | Name the simplified charaacters being hsin-yüan … i-ma | SELECT Simplified characters FROM table WHERE Wade-Giles = hsin-yüan … i-ma |
Translate the following into a SQL query | Name the total number of pinyin for hsin-yüan-i-ma | SELECT COUNT Pinyin FROM table WHERE Wade-Giles = hsin-yüan-i-ma |
Translate the following into a SQL query | Name the date for qíngyuán … yìmǎ | SELECT Date (CE) FROM table WHERE Pinyin = qíngyuán … yìmǎ |
Translate the following into a SQL query | Which line offers Fast to Norwood Junction? | SELECT Line FROM table WHERE Service Pattern = Fast to Norwood Junction |
Translate the following into a SQL query | Who is the operator to Highbury & Islington? | SELECT Operator FROM table WHERE Destination = Highbury & Islington |
Translate the following into a SQL query | How many frequency figures are given for next station service pattern? | SELECT COUNT Frequency (per hour) FROM table WHERE Service Pattern = Next station |
Translate the following into a SQL query | Who is the operator to destination Dalston Junction? | SELECT Operator FROM table WHERE Destination = Dalston Junction |
Translate the following into a SQL query | How many tournament wins were at Volvo Masters Andalucia? | SELECT COUNT No. FROM table WHERE Tournament = Volvo Masters Andalucia |
Translate the following into a SQL query | Who was the runner up at the Volvo Masters Andalucia? | SELECT Runner(s)-up FROM table WHERE Tournament = Volvo Masters Andalucia |
Translate the following into a SQL query | In what tournament was the winning score 68-67-65-66=266? | SELECT Tournament FROM table WHERE Winning score = 68-67-65-66=266 |
Translate the following into a SQL query | Name the joined for blue hose | SELECT Joined FROM table WHERE Nickname = Blue Hose |
Translate the following into a SQL query | Name the maximum founded for blue hose | SELECT MAX Founded FROM table WHERE Nickname = Blue Hose |
Translate the following into a SQL query | Name the maximum enrollment for st. andrews university | SELECT MAX Enrollment FROM table WHERE Institution = St. Andrews University |
Translate the following into a SQL query | Name the current conference for 1974, 1989 | SELECT Current Conference FROM table WHERE Left = 1974, 1989 |
Translate the following into a SQL query | What is the total number of episodes where alexa wyatt is the writer? | SELECT COUNT Series # FROM table WHERE Writer(s) = Alexa Wyatt |
Translate the following into a SQL query | Who is the director when Chris Hawkshaw is the writer? | SELECT Director(s) FROM table WHERE Writer(s) = Chris Hawkshaw |
Translate the following into a SQL query | What is the season number of the episode directed by Donald Crombie and the series number is 40? | SELECT Season # FROM table WHERE Director(s) = Donald Crombie AND Series # = 40 |
Translate the following into a SQL query | What is the released date for Super Mario 64 DS? | SELECT Released Date FROM table WHERE Western Title = Super Mario 64 DS |
Translate the following into a SQL query | What are the game modes for the game released in 2007? | SELECT Game Modes FROM table WHERE Released Date = 2007 |
Translate the following into a SQL query | How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ? | SELECT COUNT Western Title FROM table WHERE Chinese Title = 摸摸耀西-云中漫步 |
Translate the following into a SQL query | What was the released date of Polarium? | SELECT Released Date FROM table WHERE Western Title = Polarium |
Translate the following into a SQL query | What game modes are there when the pinyin is zhígǎn yī bǐ ? | SELECT Game Modes FROM table WHERE Pinyin = Zhígǎn Yī Bǐ |
Translate the following into a SQL query | What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients? | SELECT Donor payment FROM table WHERE Children per donor = 6 children AND Allowed recipients = no data |
Translate the following into a SQL query | What are donor payments in the country where there are 12 children to 6 families (2 per family)? | SELECT Donor payment FROM table WHERE Children per donor = 12 children to 6 families (2 per family) |
Translate the following into a SQL query | What is the donor payment in Belgium? | SELECT Donor payment FROM table WHERE Country = Belgium |
Translate the following into a SQL query | What is the country where there are 8 children per donor and no data for donor payments? | SELECT Country FROM table WHERE Children per donor = 8 children AND Donor payment = no data |
Translate the following into a SQL query | What are the children per donor in the country where the allowed recipients are married or in cohabitation? | SELECT Children per donor FROM table WHERE Allowed recipients = Married or in cohabitation |
Translate the following into a SQL query | List the possible children per donor levels for countries where the allowed recipients is no data. | SELECT Children per donor FROM table WHERE Allowed recipients = no data |
Translate the following into a SQL query | Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site? | SELECT Missouri vs. FROM table WHERE at Neutral Site = MU, 2-1 |
Translate the following into a SQL query | Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How | SELECT Missouri vs. FROM table WHERE at Opponents Venue = UI, 4-1 |
Translate the following into a SQL query | How many times did the team achieve an overrall record of mu, 21-19? | SELECT COUNT Last 5 Meetings FROM table WHERE Overall Record = MU, 21-19 |
Translate the following into a SQL query | What is the record at the neutral site for when the overall record is ui, 27-16? | SELECT at Neutral Site FROM table WHERE Overall Record = UI, 27-16 |
Translate the following into a SQL query | What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0? | SELECT at Opponents Venue FROM table WHERE Last 5 Meetings = MU, 4-1 AND at Neutral Site = Tied, 0-0 |
Translate the following into a SQL query | What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79? | SELECT Stamp duty reserve tax FROM table WHERE over Total Tax Revenue (in %) = 0.79 |
Translate the following into a SQL query | When the standard stamp duty is 367 what is the percentage over gdp? | SELECT over GDP (in %) FROM table WHERE Standard Stamp Duty = 367 |
Translate the following into a SQL query | When the stamp duty reserve tax is 3,669 what is the percentage over gdp? | SELECT over GDP (in %) FROM table WHERE Stamp duty reserve tax = 3,669 |
Translate the following into a SQL query | During what years are the percentage over total tax revenue is 0.65? | SELECT Year FROM table WHERE over Total Tax Revenue (in %) = 0.65 |
Translate the following into a SQL query | Name the total number of opponets venue for oklahoma | SELECT COUNT at Opponents Venue FROM table WHERE Missouri vs. = Oklahoma |
Translate the following into a SQL query | Name the total number of last 5 meetings for texas tech | SELECT COUNT Last 5 Meetings FROM table WHERE Missouri vs. = Texas Tech |
Translate the following into a SQL query | Name the total number of series sorted for when released is april 2010 | SELECT COUNT Series Sorted FROM table WHERE Released = April 2010 |
Translate the following into a SQL query | Name the author for 6y/ae | SELECT Author FROM table WHERE Series Sorted = 6Y/AE |
Translate the following into a SQL query | Name the author for peri and april 2010 | SELECT Author FROM table WHERE Featuring = Peri AND Released = April 2010 |
Translate the following into a SQL query | Name the released for pat mills | SELECT Released FROM table WHERE Author = Pat Mills |
Translate the following into a SQL query | Name the featuring for pat mills | SELECT Featuring FROM table WHERE Author = Pat Mills |
Translate the following into a SQL query | What are the outcomes of the last 5 meetings where the overall record is UM, 2-1? | SELECT Last 5 Meetings FROM table WHERE Overall Record = UM, 2-1 |
Translate the following into a SQL query | What is the record of wins/losses that were played at opponents venue (uf, 1-0) | SELECT Overall Record FROM table WHERE at Opponents Venue = UF, 1-0 |
Translate the following into a SQL query | Who are the opponents of Missouri that have an overall record of MU, 3-1? | SELECT Missouri vs. FROM table WHERE Overall Record = MU, 3-1 |
Translate the following into a SQL query | What is the record at Columbia for the team overall record of MU, 3-1? | SELECT at Columbia FROM table WHERE Overall Record = MU, 3-1 |
Translate the following into a SQL query | How many feet in length are there when the length is 106.1 meters? | SELECT COUNT Length feet FROM table WHERE Length meters = 106.1 |
Translate the following into a SQL query | When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? | SELECT MIN Length feet FROM table WHERE Km from Kingston = 105.4 |
Translate the following into a SQL query | Which parishes have a railroad length of 51.8 meters? | SELECT Parish FROM table WHERE Length meters = 51.8 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.