instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many teams does Jeff Wyler own? | SELECT COUNT Team FROM table WHERE Listed Owner(s) = Jeff Wyler |
Translate the following into a SQL query | Who is the primary sponsor for crew cheif Rick Ren's team? | SELECT Primary Sponsor(s) FROM table WHERE Crew Chief = Rick Ren |
Translate the following into a SQL query | Who sponsors owner Bobby Dotter's team? | SELECT Primary Sponsor(s) FROM table WHERE Listed Owner(s) = Bobby Dotter |
Translate the following into a SQL query | What's the price of the team whose captain is Sanath Jayasuriya? | SELECT Price FROM table WHERE Captain = Sanath Jayasuriya |
Translate the following into a SQL query | What team is from the Eastern province? | SELECT Team FROM table WHERE Province = Eastern |
Translate the following into a SQL query | Who's the head coach of the team with a price of $3.22 million? | SELECT Head coach FROM table WHERE Price = $3.22 million |
Translate the following into a SQL query | In how many teams is Waqar Younis the head coach? | SELECT COUNT Team FROM table WHERE Head coach = Waqar Younis |
Translate the following into a SQL query | What province does the Ruhuna Royals team come from? | SELECT Province FROM table WHERE Team = Ruhuna Royals |
Translate the following into a SQL query | When was Alexey Kuleshov born? | SELECT Birth Date FROM table WHERE Player = Alexey Kuleshov |
Translate the following into a SQL query | What is the trigger pack on the Colt 602 with the a1 rear sight type? | SELECT Trigger pack FROM table WHERE Rear sight type = A1 AND Colt model no. = 602 |
Translate the following into a SQL query | How many case deflectors are there for the Colt 646? | SELECT COUNT Case deflector? FROM table WHERE Colt model no. = 646 |
Translate the following into a SQL query | What is the rear sight type on the model with the acr muzzle brake device? | SELECT Rear sight type FROM table WHERE Muzzle device = ACR muzzle brake |
Translate the following into a SQL query | Which muzzle devices are on the Colt 603? | SELECT Muzzle device FROM table WHERE Colt model no. = 603 |
Translate the following into a SQL query | How many millions of people in the US watched the episode with season number 8? | SELECT U.S. viewers (millions) FROM table WHERE No. in season = 8 |
Translate the following into a SQL query | How many episodes had the series number of 38? | SELECT COUNT Directed by FROM table WHERE No. in series = 38 |
Translate the following into a SQL query | How many different numbers of people in the US who'd seen the episode with a season number 8 are there? | SELECT COUNT U.S. viewers (millions) FROM table WHERE No. in season = 8 |
Translate the following into a SQL query | Name the rufus guest for 15 december 2008 | SELECT COUNT Rufus guest FROM table WHERE First broadcast = 15 December 2008 |
Translate the following into a SQL query | Name the winner for jason byrne | SELECT Winner FROM table WHERE Marcus guest = Jason Byrne |
Translate the following into a SQL query | Name the rufus guest for episode 1x07 | SELECT Rufus guest FROM table WHERE Episode = 1x07 |
Translate the following into a SQL query | Name the winner for 26 january 2009 | SELECT Winner FROM table WHERE First broadcast = 26 January 2009 |
Translate the following into a SQL query | When was episode 2x11 aired for the first time? | SELECT First broadcast FROM table WHERE Episode = 2x11 |
Translate the following into a SQL query | Who won the episode in which Sean Lock was Rufus's guest? | SELECT Winner FROM table WHERE Rufus guest = Sean Lock |
Translate the following into a SQL query | When was the episode 2x10 aired for the first time? | SELECT First broadcast FROM table WHERE Episode = 2x10 |
Translate the following into a SQL query | Who was Marcus's guest in the episode when Rufus's guest was Rory McGrath? | SELECT Marcus guest FROM table WHERE Rufus guest = Rory McGrath |
Translate the following into a SQL query | Name the total number of timeslot for august 9, 2007 finale | SELECT COUNT Timeslot ( EDT ) FROM table WHERE Season Finale = August 9, 2007 |
Translate the following into a SQL query | Name the timeslot for 9.4 viewers for 2006 | SELECT Timeslot ( EDT ) FROM table WHERE Viewers (in millions) = 9.4 AND TV Season = 2006 |
Translate the following into a SQL query | How many items were under ranking l.a.(2) when the world ranking was 21st? | SELECT COUNT Ranking L.A. (2) FROM table WHERE World Ranking (1) = 21st |
Translate the following into a SQL query | What was the author/editor/source when the l.a. ranking was 1st? | SELECT Author / Editor / Source FROM table WHERE Ranking L.A. (2) = 1st |
Translate the following into a SQL query | How many years were listed under index when there were 157 countries sampled? | SELECT COUNT Index (Year) FROM table WHERE Countries sampled = 157 |
Translate the following into a SQL query | What was the publication year ranking l.a. is 1st? | SELECT Year of publication FROM table WHERE Ranking L.A. (2) = 1st |
Translate the following into a SQL query | How many years were recorded when world ranking was 21st? | SELECT COUNT Index (Year) FROM table WHERE World Ranking (1) = 21st |
Translate the following into a SQL query | What Wireless LAN had a process technology of 90nm and a Carmel centrino? | SELECT Wireless LAN FROM table WHERE Process Technology = 90nm AND Centrino = Carmel |
Translate the following into a SQL query | How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LAN with the codename Arrandale? | SELECT Chipset FROM table WHERE Codename = Arrandale AND Wireless LAN = Intel Centrino Ultimate-N 6300 |
Translate the following into a SQL query | What's the process technology of the Intel WiFi Link 5100 wireless LAN? | SELECT Process Technology FROM table WHERE Wireless LAN = Intel WiFi Link 5100 |
Translate the following into a SQL query | What type of processor does the Intel Centrino Wireless-N 105 wireless LAN have? | SELECT Processor FROM table WHERE Wireless LAN = Intel Centrino Wireless-N 105 |
Translate the following into a SQL query | What's the code name of the wireless LAN with Chief River Centrino? | SELECT Codename FROM table WHERE Centrino = Chief River |
Translate the following into a SQL query | on 19 april 1985 how many of number last flew | SELECT COUNT Number FROM table WHERE Last flew = 19 April 1985 |
Translate the following into a SQL query | what is the registration located on 31 january 1975 where first flew? | SELECT Registration FROM table WHERE First flew = 31 January 1975 |
Translate the following into a SQL query | at what location is the last flew on 11 june 2000 | SELECT Location FROM table WHERE Last flew = 11 June 2000 |
Translate the following into a SQL query | how many number is located at registration f-bvff? | SELECT COUNT Number FROM table WHERE Registration = F-BVFF |
Translate the following into a SQL query | Who is the television commentator when the radio commentator is Galyna Babiy? | SELECT Television commentator FROM table WHERE Radio commentator = Galyna Babiy |
Translate the following into a SQL query | Who is the television commentator when the spokesperson is Kateryna Osadcha? | SELECT Television commentator FROM table WHERE Spokesperson = Kateryna Osadcha |
Translate the following into a SQL query | What is the year when the spoksperson is Ruslana? | SELECT MIN Year(s) FROM table WHERE Spokesperson = Ruslana |
Translate the following into a SQL query | Who is the television commentator for the year 2006? | SELECT Television commentator FROM table WHERE Year(s) = 2006 |
Translate the following into a SQL query | What is the season number of the episode seen by 10.11 million people in the US? | SELECT No. in season FROM table WHERE U.S. viewers (millions) = 10.11 |
Translate the following into a SQL query | How many different series number does the episode titled "Skate or Die" have? | SELECT COUNT No. in series FROM table WHERE Title = "Skate or Die" |
Translate the following into a SQL query | What's the series number of the episode titled "Rapture"? | SELECT No. in series FROM table WHERE Title = "Rapture" |
Translate the following into a SQL query | How many episodes with different series numbers were seen by 8.69 people in the US? | SELECT COUNT No. in season FROM table WHERE U.S. viewers (millions) = 8.69 |
Translate the following into a SQL query | If the language is only native, what is the percentage of the San Antonio de Lomerio municipality? | SELECT San Antonio de Lomerío Municipality (%) FROM table WHERE Language = Only native |
Translate the following into a SQL query | For language Aymara Simi, what was the maximum San Javier municipality percentage? | SELECT MAX San Javier Municipality (%) FROM table WHERE Language = Aymara simi |
Translate the following into a SQL query | If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality? | SELECT COUNT San Julián Municipality (%) FROM table WHERE San Antonio de Lomerío Municipality (%) = 5.480 |
Translate the following into a SQL query | What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31? | SELECT San Antonio de Lomerío Municipality (%) FROM table WHERE San Javier Municipality (%) = 31 |
Translate the following into a SQL query | If the Cuatro Cañadas municipality percentage is 252, what are all the San Antonio de Lomerío municipality percentage? | SELECT San Antonio de Lomerío Municipality (%) FROM table WHERE Cuatro Cañadas Municipality (%) = 252 |
Translate the following into a SQL query | What is the San Javier municipality percentage if the Cuatro Cañadas municipality percentage is 202? | SELECT San Javier Municipality (%) FROM table WHERE Cuatro Cañadas Municipality (%) = 202 |
Translate the following into a SQL query | How many total number have robert young as the director? | SELECT COUNT # FROM table WHERE Director = Robert Young |
Translate the following into a SQL query | How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere? | SELECT MIN # FROM table WHERE Producer = Charles Salmon AND Television Premiere = January 27, 2007 |
Translate the following into a SQL query | How many dvd releases where directed by david decoteau? | SELECT COUNT DVD release FROM table WHERE Director = David DeCoteau |
Translate the following into a SQL query | When was the dvd release directed by Billy O'Brien? | SELECT DVD release FROM table WHERE Director = Billy O'Brien |
Translate the following into a SQL query | What was the record after game 20? | SELECT Record FROM table WHERE Game = 20 |
Translate the following into a SQL query | For the game against Iowa, who had the most assists? | SELECT High assists FROM table WHERE Team = Iowa |
Translate the following into a SQL query | state high assists on february 15 | SELECT High assists FROM table WHERE Date = February 15 |
Translate the following into a SQL query | how many high points where date is february 19 | SELECT COUNT High points FROM table WHERE Date = February 19 |
Translate the following into a SQL query | state the number of location attendance where record is 15–10 (5–7) | SELECT COUNT Location Attendance FROM table WHERE Record = 15–10 (5–7) |
Translate the following into a SQL query | how many dates where high assists is stu douglass (5) – 4 | SELECT COUNT Date FROM table WHERE High assists = Stu Douglass (5) – 4 |
Translate the following into a SQL query | how many records were made on february 22 | SELECT COUNT Record FROM table WHERE Date = February 22 |
Translate the following into a SQL query | Name the most applications for 1986 | SELECT MAX Applications FROM table WHERE Year = 1986 |
Translate the following into a SQL query | Name the torque for 1986 | SELECT Torque FROM table WHERE Year = 1986 |
Translate the following into a SQL query | What network showed the season with Australia as the destination? | SELECT Network FROM table WHERE Destination = Australia |
Translate the following into a SQL query | What was the latest season with 20 contestants? | SELECT MAX Season FROM table WHERE Contestants = 20 |
Translate the following into a SQL query | What season was won by Ashutosh Kaushik? | SELECT MIN Season FROM table WHERE Winner = Ashutosh Kaushik |
Translate the following into a SQL query | What was the destination of the season won by Anwar Syed? | SELECT Destination FROM table WHERE Winner = Anwar Syed |
Translate the following into a SQL query | What season was won by Anthony Yeh? | SELECT Season FROM table WHERE Winner = Anthony Yeh |
Translate the following into a SQL query | Who won the season with Africa as its destination? | SELECT Winner FROM table WHERE Destination = Africa |
Translate the following into a SQL query | What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle? | SELECT African Spoonbill FROM table WHERE Hadeda Ibis = Brown Snake Eagle |
Translate the following into a SQL query | What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk? | SELECT Hadeda Ibis FROM table WHERE Ostrich = Dark Chanting Goshawk |
Translate the following into a SQL query | What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar? | SELECT African Spoonbill FROM table WHERE Hadeda Ibis = Flernecked Nightjar |
Translate the following into a SQL query | What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? | SELECT Hadeda Ibis FROM table WHERE Knobbilled Duck = Pied Crow |
Translate the following into a SQL query | What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher? | SELECT African Spoonbill FROM table WHERE Ostrich = Brown-hooded Kingfisher |
Translate the following into a SQL query | What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover? | SELECT Hadeda Ibis FROM table WHERE Whitefaced Duck = Blacksmith Plover |
Translate the following into a SQL query | Name the winning pilot for hungary | SELECT Winning Pilot FROM table WHERE Country = Hungary |
Translate the following into a SQL query | Name the most round for michael goulian | SELECT MAX Round FROM table WHERE Winning Pilot = Michael Goulian |
Translate the following into a SQL query | Name the country for hannes arch | SELECT Country FROM table WHERE Winning Pilot = Hannes Arch |
Translate the following into a SQL query | Who wrote the episode with series number 45? | SELECT Written by FROM table WHERE No. in series = 45 |
Translate the following into a SQL query | How many millions of people in the US saw the episode with production code 214? | SELECT U.S. viewers (millions) FROM table WHERE Production code = 214 |
Translate the following into a SQL query | What's the title of the episode seen by 3.8 million people in the US? | SELECT Title FROM table WHERE U.S. viewers (millions) = 3.8 |
Translate the following into a SQL query | Who wrote the episode titled "Mission gone bad" "Trapped in Paris"? | SELECT Written by FROM table WHERE Title = "Mission Gone Bad" "Trapped in Paris" |
Translate the following into a SQL query | On how many different dates did the episode with series number 35 air for the first time? | SELECT COUNT Original air date FROM table WHERE No. in series = 35 |
Translate the following into a SQL query | Name the date for value 55c | SELECT Date FROM table WHERE Value = 55c |
Translate the following into a SQL query | Name the scott for chloropsis hardwickii | SELECT Scott FROM table WHERE Species = Chloropsis hardwickii |
Translate the following into a SQL query | How many people lived in bulac in the year 2000? | SELECT MAX Population (2000) FROM table WHERE Barangay = Bulac |
Translate the following into a SQL query | In 2010, how many people lived in cities with a population density of 3,965.02? | SELECT Population (2010) FROM table WHERE Population Density (2010) = 3,965.02 |
Translate the following into a SQL query | What's the name of the barangay whose area is 3.6787 km² ? | SELECT Barangay FROM table WHERE Area (in km 2 ) = 3.6787 |
Translate the following into a SQL query | How many people lived in the city which has 1.2530 km² in the year 2000? | SELECT MAX Population (2000) FROM table WHERE Area (in km 2 ) = 1.2530 |
Translate the following into a SQL query | How many people lived in san gabriel in the year 2000? | SELECT COUNT Population (2000) FROM table WHERE Barangay = San Gabriel |
Translate the following into a SQL query | How many different titles does the representative whose mission was terminated on August 5, 1984 have? | SELECT COUNT Title FROM table WHERE Termination of Mission = August 5, 1984 |
Translate the following into a SQL query | What state does the representative whose mission was terminated on November 29, 1973 represent? | SELECT State FROM table WHERE Termination of Mission = November 29, 1973 |
Translate the following into a SQL query | Who trained the representative whose presentation of credentials happened on February 24, 1950? | SELECT Training FROM table WHERE Presentation of Credentials = February 24, 1950 |
Translate the following into a SQL query | When was the film Här har du ditt liv used in nomination? | SELECT Year (Ceremony) FROM table WHERE Original title = Här har du ditt liv |
Translate the following into a SQL query | What's the original title of the film Zozo? | SELECT Original title FROM table WHERE Film title used in nomination = Zozo |
Translate the following into a SQL query | What's the original title of The New Land? | SELECT Original title FROM table WHERE Film title used in nomination = The New Land |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.