instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what is the pole position for france? | SELECT Pole Position FROM table WHERE Country = France |
Translate the following into a SQL query | what is the maximum round and fabien foret had the pole position? | SELECT MAX Round FROM table WHERE Pole Position = Fabien Foret |
Translate the following into a SQL query | How many values of attendance occur when ave. on previous season is +645? | SELECT COUNT Ave. Attendance FROM table WHERE +/- ave. on prev. season = +645 |
Translate the following into a SQL query | What is the lowest value of average attendance when average on previous season is -459? | SELECT MIN Ave. Attendance FROM table WHERE +/- ave. on prev. season = -459 |
Translate the following into a SQL query | What is the least value for average attendance when average on previous season is +644? | SELECT MIN Ave. Attendance FROM table WHERE +/- ave. on prev. season = +644 |
Translate the following into a SQL query | What is every value for average on previous season if the competition is league two? | SELECT +/- ave. on prev. season FROM table WHERE Competition = League Two |
Translate the following into a SQL query | What is the least w? | SELECT MIN W FROM table |
Translate the following into a SQL query | What is the most stolen ends? | SELECT MAX Stolen Ends FROM table |
Translate the following into a SQL query | What is the total appearances when the total goals is 289? | SELECT MIN Total appearances FROM table WHERE Total goals = 289 |
Translate the following into a SQL query | What is the league goals when the total goals is 179? | SELECT MAX League goals FROM table WHERE Total goals = 179 |
Translate the following into a SQL query | How many total appearances are there when the league appearances is 192? | SELECT COUNT Total appearances FROM table WHERE League appearances = 192 |
Translate the following into a SQL query | Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska? | SELECT Away Team FROM table WHERE Competition = 1st ``Republic of Srpska Football Day`` AND Home Team = U 14 Republic of Srpska |
Translate the following into a SQL query | What were the competitions when the away team was fk kozara gradiska? | SELECT Competition FROM table WHERE Away Team = FK Kozara Gradiska |
Translate the following into a SQL query | What are the names of players from the dr congo? | SELECT Name FROM table WHERE Country = DR Congo |
Translate the following into a SQL query | How many is the high assist total for players from panama? | SELECT MAX Assists FROM table WHERE Country = Panama |
Translate the following into a SQL query | What was the result of the home match against FK Rudar Ugljevik? | SELECT Result FROM table WHERE Away Team = FK Rudar Ugljevik |
Translate the following into a SQL query | Where was the home match against FK Rudar Ugljevik played? | SELECT Location FROM table WHERE Away Team = FK Rudar Ugljevik |
Translate the following into a SQL query | When 1971 is the year what is the la roche? | SELECT La Roche FROM table WHERE Year = 1971 |
Translate the following into a SQL query | When deutsche grammophon is the label how many clairons are there? | SELECT COUNT Clairon FROM table WHERE Label = Deutsche Grammophon |
Translate the following into a SQL query | When hermann uhde is the count who is the conductor? | SELECT Conductor FROM table WHERE Count = Hermann Uhde |
Translate the following into a SQL query | When dietrich fischer-dieskau is the olivier who is the conductor? | SELECT Conductor FROM table WHERE Olivier = Dietrich Fischer-Dieskau |
Translate the following into a SQL query | When karl ridderbusch is the la roche who is the olivier? | SELECT Olivier FROM table WHERE La Roche = Karl Ridderbusch |
Translate the following into a SQL query | What are the works numbers where the year is 1929 and the driver diameter is 60"/1520mm? | SELECT Works No. FROM table WHERE Year = 1929 AND Driver Diameter = 60"/1520mm |
Translate the following into a SQL query | For what year is the SAR no. 874? | SELECT Year FROM table WHERE SAR No. = 874 |
Translate the following into a SQL query | Who is the writer when the director is bob berlinger? | SELECT Written by FROM table WHERE Directed by = Bob Berlinger |
Translate the following into a SQL query | How many millions of U.S viewers are there when the director is andy wolk? | SELECT U.S. viewers (million) FROM table WHERE Directed by = Andy Wolk |
Translate the following into a SQL query | What is the series # when the director is john showalter? | SELECT Series # FROM table WHERE Directed by = John Showalter |
Translate the following into a SQL query | Who is the director when the title is "believers"? | SELECT Directed by FROM table WHERE Title = "Believers" |
Translate the following into a SQL query | What is the title when the series # is 7? | SELECT Title FROM table WHERE Series # = 7 |
Translate the following into a SQL query | Which episode had a share 16-19 of 23,22%? | SELECT MAX Episode FROM table WHERE Share 16-39 = 23,22% |
Translate the following into a SQL query | What was the official rating 16-39 of episode 9? | SELECT Official rating 16-39 FROM table WHERE Episode = 9 |
Translate the following into a SQL query | What is the intro date for the interface that equals pci? | SELECT Intro Date FROM table WHERE Interface = PCI |
Translate the following into a SQL query | What is the intro date for the throughput of 16 mbit/s? | SELECT Intro Date FROM table WHERE Throughput = 16 Mbit/s |
Translate the following into a SQL query | How many intro dates have the price of 686€? | SELECT COUNT Intro Date FROM table WHERE Price = 686€ |
Translate the following into a SQL query | What is the price for the manufacturer LETech? | SELECT Price FROM table WHERE Manufacturer = LETech |
Translate the following into a SQL query | What is the price (usd) for the model pq32mu? | SELECT MIN Price (USD) FROM table WHERE Model = PQ32MU |
Translate the following into a SQL query | Who is the manufacturer whose intro date is 2006 and their throughput is 4 mbit/s? | SELECT Manufacturer FROM table WHERE Intro Date = 2006 AND Throughput = 4 Mbit/s |
Translate the following into a SQL query | What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)? | SELECT Lok Sabha FROM table WHERE Vidhan Sabha Constituency = Karakat (Vidhan Sabha constituency) |
Translate the following into a SQL query | How many were in the Kargahar (vidhan sabha constituency)? | SELECT MIN Constituency No. FROM table WHERE Vidhan Sabha Constituency = Kargahar (Vidhan Sabha constituency) |
Translate the following into a SQL query | What district has 213 constituents? | SELECT COUNT District FROM table WHERE Constituency No. = 213 |
Translate the following into a SQL query | How many Lok Sabha are in the one with 216 constituents? | SELECT Lok Sabha FROM table WHERE Constituency No. = 216 |
Translate the following into a SQL query | How many countries spent at least $51.0 billion in international tourism in 2012? | SELECT MAX Rank 2012 FROM table WHERE International tourism expenditure 2011 = $51.0 billion |
Translate the following into a SQL query | How many countries spent $83.7 billion on international tourism in 2012? | SELECT COUNT % change FROM table WHERE International tourism expenditure 2012 = $83.7 billion |
Translate the following into a SQL query | What was the percentage increase in spending on international tourism from 2011 to 2012 of the country that spent $85.9 billion in 2011? | SELECT % change FROM table WHERE International tourism expenditure 2011 = $85.9 billion |
Translate the following into a SQL query | Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012? | SELECT Country FROM table WHERE % change = 5.7 |
Translate the following into a SQL query | Name the most other apps for league goals being 1 | SELECT MAX Other Apps FROM table WHERE League Goals = 1 |
Translate the following into a SQL query | Name the most fa cup apps for league apps being 27 | SELECT MAX FA Cup Apps FROM table WHERE League Apps = 27 |
Translate the following into a SQL query | Name the total number of division for fa cups being 9 | SELECT COUNT Division FROM table WHERE FA Cup Apps = 9 |
Translate the following into a SQL query | How many international tourists visited Russia in 2012? | SELECT International tourist arrivals (2012) FROM table WHERE Country = Russia |
Translate the following into a SQL query | What was the premiere date for the episode whose alternate title was miłość i przeznaczenie? | SELECT Series premiere FROM table WHERE Alternante title = Miłość i przeznaczenie |
Translate the following into a SQL query | Which TV network had its series finale on May 7, 2012? | SELECT TV Network(s) FROM table WHERE Series finale = May 7, 2012 |
Translate the following into a SQL query | What was the date of the series premiere whose TV network was TV3? | SELECT Series premiere FROM table WHERE TV Network(s) = TV3 |
Translate the following into a SQL query | Which TV network has a country of origin of Iran? | SELECT TV Network(s) FROM table WHERE Country = Iran |
Translate the following into a SQL query | What was the date of series premiere for the novela whose alternate title was miłość i przeznaczenie? | SELECT Series premiere FROM table WHERE Alternante title = Miłość i przeznaczenie |
Translate the following into a SQL query | What was the date of the series finale for Peru? | SELECT Series finale FROM table WHERE Country = Peru |
Translate the following into a SQL query | What is every original air date with U.S. viewers of 0.23 million? | SELECT Original air date FROM table WHERE U.S. viewers (million) = 0.23 |
Translate the following into a SQL query | What is the lowest number in series when U.S. viewers is 0.23 million? | SELECT MIN No. in series FROM table WHERE U.S. viewers (million) = 0.23 |
Translate the following into a SQL query | What were the total apps for Dunne in season where he had 0 league goals? | SELECT Total Apps FROM table WHERE League Goals = 0 |
Translate the following into a SQL query | How many league goals did Dunne have in the season where he had 2 league apps? | SELECT League Goals FROM table WHERE League Apps = 2 |
Translate the following into a SQL query | How many other goals did Dunne have in the season where he had 1 league goal? | SELECT Other Goals FROM table WHERE League Goals = 1 |
Translate the following into a SQL query | When boston university is the team what is the record? | SELECT Record FROM table WHERE Team = Boston University |
Translate the following into a SQL query | What is the subject when the highest mark is 79? | SELECT Subject FROM table WHERE Highest mark = 79 |
Translate the following into a SQL query | How many lowest mark entries are there when % passed is 76? | SELECT COUNT Lowest mark FROM table WHERE % Pass = 76 |
Translate the following into a SQL query | if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team | SELECT LMP2 Winning Team FROM table WHERE FLM Winning Team = No. 99 JMB Racing |
Translate the following into a SQL query | Who is every high rebound when the team is Mount St. Mary's? | SELECT High rebounds FROM table WHERE Team = Mount St. Mary's |
Translate the following into a SQL query | What position was serena abrami in? | SELECT Position FROM table WHERE Singer = Serena Abrami |
Translate the following into a SQL query | How many singers got 2nd place in the 4th evening? | SELECT COUNT 2nd Evening FROM table WHERE 4th Evening = 2nd place |
Translate the following into a SQL query | Who got 3rd place on the 4th evening? | SELECT Singer FROM table WHERE 4th Evening = 3rd place |
Translate the following into a SQL query | Who went out on the 2nd evening? | SELECT Singer FROM table WHERE 2nd Evening = Out |
Translate the following into a SQL query | What was gabriella ferrone's result on the 5th evening? | SELECT 5th Evening FROM table WHERE Singer = Gabriella Ferrone |
Translate the following into a SQL query | What is the maximum overall number? | SELECT MAX # FROM table |
Translate the following into a SQL query | When the number is 2 what is the lowest amount of al-wedhat wins? | SELECT MIN Al-Wehdat Wins FROM table WHERE # = 2 |
Translate the following into a SQL query | When jordan fa cup is the tournament how many draws? | SELECT COUNT Draws FROM table WHERE Tournament = Jordan FA Cup |
Translate the following into a SQL query | What is the highest value of area when capital is San Juan? | SELECT MAX Area (km²) FROM table WHERE Capital = San Juan |
Translate the following into a SQL query | How many entries for area correspond to a population density of 207.9? | SELECT COUNT Area (km²) FROM table WHERE Population density (per km²) = 207.9 |
Translate the following into a SQL query | What is every entry for area if capital is Port-au-Prince? | SELECT Area (km²) FROM table WHERE Capital = Port-au-Prince |
Translate the following into a SQL query | What is every country with a flag with population of 11346670? | SELECT Country with flag FROM table WHERE Population (1 July 2005 est.) = 11346670 |
Translate the following into a SQL query | What is the highest value for population when area is 9104? | SELECT MAX Population (1 July 2005 est.) FROM table WHERE Area (km²) = 9104 |
Translate the following into a SQL query | What many times was the victoria derby raced? | SELECT COUNT Date FROM table WHERE Race = Victoria Derby |
Translate the following into a SQL query | What is the autumn classic weight? | SELECT Weight (kg) FROM table WHERE Race = Autumn Classic |
Translate the following into a SQL query | Who directed the episode that had 3.55 million viewers? | SELECT Directed by FROM table WHERE U.S. viewers (million) = 3.55 |
Translate the following into a SQL query | What are the dimensions of the coin worth ₩200? | SELECT Dimensions FROM table WHERE Value = ₩200 |
Translate the following into a SQL query | How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse? | SELECT COUNT Date of issue FROM table WHERE Obverse = Kumsusan Memorial Palace |
Translate the following into a SQL query | What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse? | SELECT Dimensions FROM table WHERE Obverse = Kim Il-sung AND Date of issue = 1992 |
Translate the following into a SQL query | What is on the reverse side of the ₩500 coin? | SELECT Reverse FROM table WHERE Value = ₩500 |
Translate the following into a SQL query | What is on the reverse side of the ₩100 coin? | SELECT Reverse FROM table WHERE Value = ₩100 |
Translate the following into a SQL query | What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side? | SELECT Dimensions FROM table WHERE Reverse = Western sea barrage and locks at Taedong Gang |
Translate the following into a SQL query | What are all the name(namesakes) for the entire chart? | SELECT Name (Namesake) FROM table |
Translate the following into a SQL query | What are the names(namesakes) through out the entire chart? | SELECT Name (Namesake) FROM table |
Translate the following into a SQL query | What season was the finale that aired on May 23, 2004? | SELECT TV season FROM table WHERE Season finale = May 23, 2004 |
Translate the following into a SQL query | What TV season was the 1st season? | SELECT TV season FROM table WHERE Season = 1st |
Translate the following into a SQL query | When was the 3rd season premiere originally aired? | SELECT Season premiere FROM table WHERE Season = 3rd |
Translate the following into a SQL query | What was the 2nd's season's ranking? | SELECT Ranking FROM table WHERE Season = 2nd |
Translate the following into a SQL query | When did the season premiere that saw 8.4 million viewers first air? | SELECT Season premiere FROM table WHERE Viewers (in millions) = 8.4 |
Translate the following into a SQL query | When did the season finale for the January 9, 2000 season premiere first air? | SELECT Season finale FROM table WHERE Season premiere = January 9, 2000 |
Translate the following into a SQL query | Who directed the episode that was watched by 2.97 million U.S. viewers? | SELECT Directed by FROM table WHERE U.S. viewers (million) = 2.97 |
Translate the following into a SQL query | What is the original air date of the episode written by Liz Feldman? | SELECT Original air date FROM table WHERE Written by = Liz Feldman |
Translate the following into a SQL query | Who wrote the episode that was watched by 2.97 million U.S. viewers? | SELECT Written by FROM table WHERE U.S. viewers (million) = 2.97 |
Translate the following into a SQL query | How many millions of U.S viewers watched the episode written by Liz Feldman? | SELECT U.S. viewers (million) FROM table WHERE Written by = Liz Feldman |
Translate the following into a SQL query | How many people attended the uefa champions league competition? | SELECT Attendance FROM table WHERE Competition = UEFA Champions League |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.