instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What country'c capital is santiago? | SELECT Country or territory with flag FROM table WHERE Capital = Santiago |
Translate the following into a SQL query | who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin | SELECT Voice Actor (English 1998 / Pioneer) FROM table WHERE Voice Actor (English 1997 / Saban) = Alec Willows AND Voice Actor (English 2006 / FUNimation) = Andy McAvin |
Translate the following into a SQL query | what's the character name with voice actor (englbeingh 1997 / saban) being ian james corlett | SELECT Character Name FROM table WHERE Voice Actor (English 1997 / Saban) = Ian James Corlett |
Translate the following into a SQL query | what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson | SELECT Character Name FROM table WHERE Voice Actor (English 1998 / Pioneer) = Paul Dobson |
Translate the following into a SQL query | how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi | SELECT COUNT Voice Actor (English 1998 / Pioneer) FROM table WHERE Voice Actor (Japanese) = Shinobu Satouchi |
Translate the following into a SQL query | who is the the voice actor (japanese) with character name being goku | SELECT Voice Actor (Japanese) FROM table WHERE Character Name = Goku |
Translate the following into a SQL query | how many big wins does peru state college have | SELECT COUNT National Titles FROM table WHERE School = Peru State College |
Translate the following into a SQL query | which school has 14 large championships | SELECT School FROM table WHERE National Titles = 14 |
Translate the following into a SQL query | how many overall championships does concordia university have | SELECT MIN National Titles FROM table WHERE School = Concordia University |
Translate the following into a SQL query | what's the duration with mission being sts-87 | SELECT Duration FROM table WHERE Mission = STS-87 |
Translate the following into a SQL query | what's the edo flight with duration being 17 days, 15 hours, 53 minutes, 18 seconds | SELECT EDO Flight FROM table WHERE Duration = 17 days, 15 hours, 53 minutes, 18 seconds |
Translate the following into a SQL query | what's the primary payload(s) with launch date being july 8, 1994 | SELECT Primary Payload(s) FROM table WHERE Launch Date = July 8, 1994 |
Translate the following into a SQL query | what's the mission with primary payload(s) being spacelab life sciences-2 | SELECT Mission FROM table WHERE Primary Payload(s) = Spacelab Life Sciences-2 |
Translate the following into a SQL query | what's the shuttle with primary payload(s) being united states microgravity laboratory-1 | SELECT Shuttle FROM table WHERE Primary Payload(s) = United States Microgravity Laboratory-1 |
Translate the following into a SQL query | how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds | SELECT COUNT Primary Payload(s) FROM table WHERE Shuttle = Columbia AND Duration = 13 days, 19 hours, 30 minutes, 4 seconds |
Translate the following into a SQL query | what's the pts with team being kopron team scot | SELECT Pts FROM table WHERE Team = Kopron Team Scot |
Translate the following into a SQL query | what's the pts with position being nc | SELECT Pts FROM table WHERE Position = NC |
Translate the following into a SQL query | what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc | SELECT Pts FROM table WHERE Poles < 1.0 AND Motorcycle = Aprilia AND Class = 250cc |
Translate the following into a SQL query | what's the poles with pts being 81 | SELECT Poles FROM table WHERE Pts = 81 |
Translate the following into a SQL query | how many class with poles being bigger than 1.0 | SELECT COUNT Class FROM table WHERE Poles > 1.0 |
Translate the following into a SQL query | what's the position with team being skilled racing team | SELECT Position FROM table WHERE Team = Skilled Racing Team |
Translate the following into a SQL query | Who was the defensive award winner in February when the rookie award was given to Rhys Duch? | SELECT Defensive FROM table WHERE Month = February AND Rookie = Rhys Duch |
Translate the following into a SQL query | Who was the offensive award winner the week when Bob Watson was given the overall award? | SELECT Offensive FROM table WHERE Overall = Bob Watson |
Translate the following into a SQL query | Who was the defensive award winner when the rookie award was given to Daryl Veltman and the offensive award was given to Mark Steenhuis? | SELECT Defensive FROM table WHERE Rookie = Daryl Veltman AND Offensive = Mark Steenhuis |
Translate the following into a SQL query | Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena? | SELECT Rookie FROM table WHERE Transition = Brodie Merrill AND Offensive = Pat Maddalena |
Translate the following into a SQL query | What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification? | SELECT MIN Enrollment FROM table WHERE WIAA Classification = 3A |
Translate the following into a SQL query | What is the WIAA classification of Oakland Alternative High School? | SELECT WIAA Classification FROM table WHERE High School = Oakland Alternative |
Translate the following into a SQL query | When was Mount Tahoma established? | SELECT MAX Established FROM table WHERE High School = Mount Tahoma |
Translate the following into a SQL query | What's the note about the school established in the year of 1973? | SELECT Notes FROM table WHERE Established = 1973 |
Translate the following into a SQL query | Who was in the 4th district in 1924? | SELECT 4th District FROM table WHERE Year = 1924 |
Translate the following into a SQL query | List all the years with Cecil M. Featherly in the 1st district and David L. Baker in the 2nd district? | SELECT Year FROM table WHERE 2nd District = David L. Baker AND 1st District = Cecil M. Featherly |
Translate the following into a SQL query | What is the last year that Howard A. Wassum was in the 5th district? | SELECT MAX Year FROM table WHERE 5th District = Howard A. Wassum |
Translate the following into a SQL query | List all FTE middle school teachers in Sunnyvale. | SELECT FTE Teachers FROM table WHERE School Level = Middle AND City = Sunnyvale |
Translate the following into a SQL query | What is the highest number of students with a teacher:student ratio of 20.8? | SELECT MAX Students FROM table WHERE Pupil/Teacher Ratio = 20.8 |
Translate the following into a SQL query | How many FTE teachers are there when the student:teacher ration is 19? | SELECT FTE Teachers FROM table WHERE Pupil/Teacher Ratio = 19 |
Translate the following into a SQL query | What edition of congress for member-elect richard p. giles? | SELECT Congress FROM table WHERE Member-elect = Richard P. Giles |
Translate the following into a SQL query | how many mean elevation with lowest point being gulf of mexico and state being texas | SELECT COUNT Mean elevation FROM table WHERE Lowest point = Gulf of Mexico AND State = Texas |
Translate the following into a SQL query | what's the highest point with lowest point being belle fourche river at south dakota border | SELECT Highest point FROM table WHERE Lowest point = Belle Fourche River at South Dakota border |
Translate the following into a SQL query | what's the lowest elevation with highest point being charles mound | SELECT Lowest elevation FROM table WHERE Highest point = Charles Mound |
Translate the following into a SQL query | what's the lowest point with highest point being mount greylock | SELECT Lowest point FROM table WHERE Highest point = Mount Greylock |
Translate the following into a SQL query | what's the state with highest point being mount katahdin | SELECT State FROM table WHERE Highest point = Mount Katahdin |
Translate the following into a SQL query | What language for the glam genre? | SELECT Language FROM table WHERE Genre = Glam |
Translate the following into a SQL query | What game allow the 1980s to be exportable? | SELECT Exportable FROM table WHERE Decade = 1980s |
Translate the following into a SQL query | How many family friendly games are in the 1990s? | SELECT COUNT Family Friendly FROM table WHERE Decade = 1990s |
Translate the following into a SQL query | When 0-1 is the aggregate what are the home (1st leg)? | SELECT Home (1st leg) FROM table WHERE Aggregate = 0-1 |
Translate the following into a SQL query | When 2-0 is the 1st leg what are the home (2nd leg)? | SELECT Home (2nd leg) FROM table WHERE 1st Leg = 2-0 |
Translate the following into a SQL query | When belgrano is the home (1st leg) what is the home (2nd leg)? | SELECT Home (2nd leg) FROM table WHERE Home (1st leg) = Belgrano |
Translate the following into a SQL query | When platense is the home (2nd leg) what is the 2nd leg? | SELECT 2nd leg FROM table WHERE Home (2nd leg) = Platense |
Translate the following into a SQL query | When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg? | SELECT COUNT 1st Leg FROM table WHERE Home (1st leg) = Altos Hornos Zapla |
Translate the following into a SQL query | When temperley is the home (2nd leg) what is the home (1st leg)? | SELECT Home (1st leg) FROM table WHERE Home (2nd leg) = Temperley |
Translate the following into a SQL query | How many 2nd legs had an aggregate of 2-4? | SELECT COUNT 2nd leg FROM table WHERE Aggregate = 2-4 |
Translate the following into a SQL query | How many home (2nd leg) had a 1st leg 1-1? | SELECT COUNT Home (2nd leg) FROM table WHERE 1st Leg = 1-1 |
Translate the following into a SQL query | How many 2nd legs are there where home (1st leg) is Independiente? | SELECT 2nd leg FROM table WHERE Home (1st leg) = Independiente |
Translate the following into a SQL query | Who was in home (2nd leg) when Talleres was in home (1st leg) | SELECT Home (2nd leg) FROM table WHERE Home (1st leg) = Talleres |
Translate the following into a SQL query | Who was in 2nd leg when Boca Juniors was in home (1st leg)? | SELECT 2nd leg FROM table WHERE Home (1st leg) = Boca Juniors |
Translate the following into a SQL query | Name the 1968 bbc for 1957 bbc anneke wills | SELECT 1968 (BBC) FROM table WHERE 1957 (BBC) = Anneke Wills |
Translate the following into a SQL query | Name the 2000 carlton television for 1951 bbc john stuart | SELECT 2000 ( Carlton Television ) FROM table WHERE 1951 ( BBC ) = John Stuart |
Translate the following into a SQL query | Name the cast for 1957 bcc for jean anderson | SELECT Cast FROM table WHERE 1957 (BBC) = Jean Anderson |
Translate the following into a SQL query | Name the 1970 film when 1951 bbc is michael croudson | SELECT 1970 (film) FROM table WHERE 1951 ( BBC ) = Michael Croudson |
Translate the following into a SQL query | Name the cast for 1951 bbc being carole lorimer | SELECT Cast FROM table WHERE 1951 ( BBC ) = Carole Lorimer |
Translate the following into a SQL query | Name the 1970 film for when 1968 being neil mcdermott | SELECT 1970 (film) FROM table WHERE 1968 (BBC) = Neil McDermott |
Translate the following into a SQL query | Name the playoffs for 2nd round open cup | SELECT Playoffs FROM table WHERE Open Cup = 2nd Round |
Translate the following into a SQL query | What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup? | SELECT Reg. Season FROM table WHERE Playoffs = Conference Semifinals AND US Open Cup = Did not qualify |
Translate the following into a SQL query | Name the population in 1931 for lubelskie | SELECT Population (1931) in 1,000s FROM table WHERE Voivodeship or city = lubelskie |
Translate the following into a SQL query | Name the s car starting 1937 when area 1930 is 16.5 | SELECT s Car plate (starting 1937) FROM table WHERE Area (1930) in 1,000skm 2 = 16.5 |
Translate the following into a SQL query | Name the population when the capital is tarnopol | SELECT Population (1931) in 1,000s FROM table WHERE Capital = Tarnopol |
Translate the following into a SQL query | Name the s car plate starting 1937 for area 1930 being 22.2 | SELECT s Car plate (starting 1937) FROM table WHERE Area (1930) in 1,000skm 2 = 22.2 |
Translate the following into a SQL query | Name the most bits 14-12 for output from accumulator to character bus | SELECT MIN Bits 14-12 FROM table WHERE Description = Output from accumulator to character bus |
Translate the following into a SQL query | what is smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230? | SELECT MIN Number in Fleet FROM table WHERE Chassis Manufacturer = Scania AND Fleet Numbers = 3230 |
Translate the following into a SQL query | Which chassis manufacturer is for fleet numbers range 2530-2558 | SELECT Chassis Manufacturer FROM table WHERE Fleet Numbers = 2530-2558 |
Translate the following into a SQL query | Chassis model Scania K360ua has what minimum number in fleet? | SELECT MIN Number in Fleet FROM table WHERE Chassis Model = Scania K360UA |
Translate the following into a SQL query | Name the channels when designation is pc700 | SELECT Channels FROM table WHERE Designation = PC700 |
Translate the following into a SQL query | Name the maximum clock rate mhz | SELECT MAX Clock rate (MHz) FROM table |
Translate the following into a SQL query | Name the bus width bits when bandwidth mb/s is 3200 | SELECT Bus width (bits) FROM table WHERE Bandwidth (MB/s) = 3200 |
Translate the following into a SQL query | Name the least clock rate mhz | SELECT MIN Clock rate (MHz) FROM table |
Translate the following into a SQL query | Name the least clock rate mhz when designation is rimm 4200 | SELECT MIN Clock rate (MHz) FROM table WHERE Designation = RIMM 4200 |
Translate the following into a SQL query | Name the number of clock rate mhz when bandwidth mb/s is 2400 | SELECT COUNT Clock rate (MHz) FROM table WHERE Bandwidth (MB/s) = 2400 |
Translate the following into a SQL query | Which elementary schools list Cort Monroe as the principal from 2013 to 2014? | SELECT Elementary Schools FROM table WHERE Principal (2013-2014) = Cort Monroe |
Translate the following into a SQL query | Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe? | SELECT Assistant Principal (2013-2014) FROM table WHERE Principal (2013-2014) = Cort Monroe |
Translate the following into a SQL query | Who played in the series that resulted in matches with the following scores: 0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5? | SELECT Opponent FROM table WHERE Result = 0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5 |
Translate the following into a SQL query | Where was there a change of 6.5%? | SELECT Name FROM table WHERE % change = 6.5 |
Translate the following into a SQL query | When the change is 8.8%, what is the density (pop/km²)? | SELECT Density (pop/km²) FROM table WHERE % change = 8.8 |
Translate the following into a SQL query | How many locations had a density (pop/km²) of 91.8 in the 2011 census? | SELECT COUNT 2011 Census FROM table WHERE Density (pop/km²) = 91.8 |
Translate the following into a SQL query | When the 2006 census had a population of 422204, what was the density (pop/km²) ? | SELECT COUNT Density (pop/km²) FROM table WHERE 2006 Census = 422204 |
Translate the following into a SQL query | When the % change is 8.4, what is the population rank? | SELECT MIN Population rank FROM table WHERE % change = 8.4 |
Translate the following into a SQL query | When the population rank is 34, what the is % change? | SELECT % change FROM table WHERE Population rank = 34 |
Translate the following into a SQL query | How many teams scored exactly 38 points | SELECT COUNT Team FROM table WHERE Points For = 38 |
Translate the following into a SQL query | In what year did Italy begin playing? | SELECT MIN First Played FROM table WHERE Team = Italy |
Translate the following into a SQL query | For teams that played 5 games, what was the smallest number of wins? | SELECT MIN Win FROM table WHERE Played = 5 |
Translate the following into a SQL query | How many games did the team that began in 2011 and scored 36 points play? | SELECT COUNT Played FROM table WHERE First Played = 2011 AND Points For = 36 |
Translate the following into a SQL query | What are all the run times with 8.2 million viewers? | SELECT Run time FROM table WHERE Viewers (in millions) = 8.2 |
Translate the following into a SQL query | What are all the episodes with an episode run time of 24:01? | SELECT Episode FROM table WHERE Run time = 24:01 |
Translate the following into a SQL query | How many episodes had a broadcast date and run time of 24:43? | SELECT COUNT Broadcast date FROM table WHERE Run time = 24:43 |
Translate the following into a SQL query | How many members gained university status in 1900? | SELECT COUNT Research Funding (£,000) FROM table WHERE Gained university status = 1900 |
Translate the following into a SQL query | What is the largest number of students? | SELECT MAX Total Number of Students FROM table |
Translate the following into a SQL query | How many members have professor edward acton as vice-chancellor? | SELECT COUNT Total Number of Students FROM table WHERE Vice-chancellor = Professor Edward Acton |
Translate the following into a SQL query | What is the year leicester was established? | SELECT MAX Established FROM table WHERE Location = Leicester |
Translate the following into a SQL query | which country has miss universe Hungary as former pageant? | SELECT Country/Territory FROM table WHERE Former pageant = Miss Universe Hungary |
Translate the following into a SQL query | which is the former pageant in the country where the new pageant is miss bahamas? | SELECT Former pageant FROM table WHERE New pageant = Miss Bahamas |
Translate the following into a SQL query | when did new zealand last compete? | SELECT MAX Last competed FROM table WHERE Country/Territory = New Zealand |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.