instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
How many individuals watched the show that had a bbc ranking of 6?
|
SELECT COUNT Viewers FROM table WHERE BBC Three weekly ranking = 6
|
Translate the following into a SQL query
|
How many times did episode number 8 air?
|
SELECT COUNT Cable rank FROM table WHERE Episode no. = 8
|
Translate the following into a SQL query
|
When did episode number 6 air?
|
SELECT Airdate FROM table WHERE Episode no. = 6
|
Translate the following into a SQL query
|
How many items are listed under viewers column when the bbd three weekly ranking was 1?
|
SELECT COUNT Viewers FROM table WHERE BBC Three weekly ranking = 1
|
Translate the following into a SQL query
|
What episode number had a cable ranking of 8?
|
SELECT MIN Episode no. FROM table WHERE Cable rank = 8
|
Translate the following into a SQL query
|
What date did the episode air that had n/a for it's bbc three weekly ranking?
|
SELECT Airdate FROM table WHERE BBC Three weekly ranking = N/A
|
Translate the following into a SQL query
|
What date did the episode air that had a ranking of 17 for cable?
|
SELECT Airdate FROM table WHERE Cable rank = 17
|
Translate the following into a SQL query
|
When 3 is the bbc three weekly ranking what is the airdate?
|
SELECT Airdate FROM table WHERE BBC Three weekly ranking = 3
|
Translate the following into a SQL query
|
When 656000 is the amount of viewers and n/a is the cable rank what is the airdate?
|
SELECT Airdate FROM table WHERE Cable rank = N/A AND Viewers = 656000
|
Translate the following into a SQL query
|
List the states that have entry times of 49years, 29days
|
SELECT State served FROM table WHERE Time since entry = 49years, 29days
|
Translate the following into a SQL query
|
Of which part does congressman dick clark belong to?
|
SELECT Party FROM table WHERE Senator = Dick Clark
|
Translate the following into a SQL query
|
On what date did congressman joseph tydings enter take his seat?
|
SELECT Entered Senate FROM table WHERE Senator = Joseph Tydings
|
Translate the following into a SQL query
|
What are the lowest points when poles were 0 and races were 10?
|
SELECT MIN Points FROM table WHERE Poles = 0 AND Races = 10
|
Translate the following into a SQL query
|
What was the highest number of points when flaps were 0?
|
SELECT MAX Points FROM table WHERE FLaps = 0
|
Translate the following into a SQL query
|
Who played 20 questions during the issue in which Pamela Horton is on the cover?
|
SELECT 20 Questions FROM table WHERE Cover model = Pamela Horton
|
Translate the following into a SQL query
|
What date did Dax Shepard play 20 questions?
|
SELECT Date FROM table WHERE 20 Questions = Dax Shepard
|
Translate the following into a SQL query
|
Who was the centerfold model when Krysten Ritter played 20 questions?
|
SELECT Centerfold model FROM table WHERE 20 Questions = Krysten Ritter
|
Translate the following into a SQL query
|
Who was the centerfold model when Meghan McCain played 20 questions?
|
SELECT Centerfold model FROM table WHERE 20 Questions = Meghan McCain
|
Translate the following into a SQL query
|
When the power kw is 5kw, what is the frequency?
|
SELECT Frequency FROM table WHERE Power kW = 5kW
|
Translate the following into a SQL query
|
when coverage is dumaguete central visayas region, what is the callsign?
|
SELECT Callsign FROM table WHERE Coverage = Dumaguete Central Visayas Region
|
Translate the following into a SQL query
|
How much power covers dumaguete central visayas region?
|
SELECT COUNT Power kW FROM table WHERE Coverage = Dumaguete Central Visayas Region
|
Translate the following into a SQL query
|
What frequency is mega manila set to?
|
SELECT Frequency FROM table WHERE Coverage = Mega Manila
|
Translate the following into a SQL query
|
What original air date was for the episode with production code of 108?
|
SELECT Original air date FROM table WHERE Production code = 108
|
Translate the following into a SQL query
|
How many production codes are there for episode 10 in the season?
|
SELECT COUNT Production code FROM table WHERE Season = 10
|
Translate the following into a SQL query
|
What date did "paintball deer hunter" originally air?
|
SELECT Original air date FROM table WHERE Episode title = "Paintball Deer Hunter"
|
Translate the following into a SQL query
|
What date did the episode with code 110 originally air?
|
SELECT Original air date FROM table WHERE Production code = 110
|
Translate the following into a SQL query
|
What is the name of the episode with a production code of 107?
|
SELECT Episode title FROM table WHERE Production code = 107
|
Translate the following into a SQL query
|
How many episodes in the series has a production code of 111?
|
SELECT COUNT Series FROM table WHERE Production code = 111
|
Translate the following into a SQL query
|
Name the total number of payout for december 28, 2009
|
SELECT COUNT Payout ( US$ ) FROM table WHERE Date = December 28, 2009
|
Translate the following into a SQL query
|
Name the payout for espn for music city bowl
|
SELECT Payout ( US$ ) FROM table WHERE TV = ESPN AND Bowl Game = Music City Bowl
|
Translate the following into a SQL query
|
Name the date for raymond james stadium
|
SELECT Date FROM table WHERE Stadium = Raymond James Stadium
|
Translate the following into a SQL query
|
What date did episode 4 in the season originally air?
|
SELECT Original air date FROM table WHERE Season = 4
|
Translate the following into a SQL query
|
What date did episode 115 in the series originally air?
|
SELECT Original air date FROM table WHERE Series = 115
|
Translate the following into a SQL query
|
What was the 2nd leg for team #1 River Plate?
|
SELECT 2nd leg FROM table WHERE Team #1 = River Plate
|
Translate the following into a SQL query
|
What was team number 2's Fluminense's 2nd leg?
|
SELECT 2nd leg FROM table WHERE Team #2 = Fluminense
|
Translate the following into a SQL query
|
What was david ferrer seeded?
|
SELECT MAX Seed FROM table WHERE Player = David Ferrer
|
Translate the following into a SQL query
|
What player had 1420 points coming in?
|
SELECT Player FROM table WHERE Points = 1420
|
Translate the following into a SQL query
|
How many players named victor hănescu played?
|
SELECT COUNT Points won FROM table WHERE Player = Victor Hănescu
|
Translate the following into a SQL query
|
Name the kurdistan democratic party for kurdistan list being 10
|
SELECT MIN Kurdistan Democratic Party FROM table WHERE Total Kurdistan List = 10
|
Translate the following into a SQL query
|
Name the most kirdistan list for diyala
|
SELECT MAX Total Kurdistan List FROM table WHERE Governorate = Diyala
|
Translate the following into a SQL query
|
Name the governorate seats for hewler
|
SELECT MIN Total Governorate Seats FROM table WHERE Governorate = Hewler
|
Translate the following into a SQL query
|
Name the least total kurdistan list
|
SELECT MIN Total Kurdistan List FROM table
|
Translate the following into a SQL query
|
Name the most total governorate seats for hewler
|
SELECT MAX Total Governorate Seats FROM table WHERE Governorate = Hewler
|
Translate the following into a SQL query
|
Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?
|
SELECT 2nd runner-up FROM table WHERE Mutya ng Pilipinas Asia Pacific = Rochelle Romero Ong
|
Translate the following into a SQL query
|
List the year that mimilannie p. lisondra was the 3rd place winner.
|
SELECT MAX Year FROM table WHERE 2nd runner-up = Mimilannie P. Lisondra
|
Translate the following into a SQL query
|
List the number of years where ritchie ocampo was the mutya ng pilipinas winner.
|
SELECT COUNT Year FROM table WHERE Mutya ng Pilipinas Asia Pacific = Ritchie Ocampo
|
Translate the following into a SQL query
|
Name the number of awardees for english and hindi
|
SELECT COUNT Awardee(s) FROM table WHERE Language = English and Hindi
|
Translate the following into a SQL query
|
Name the name of award for zubeen garg
|
SELECT Name of Award FROM table WHERE Awardee(s) = Zubeen Garg
|
Translate the following into a SQL query
|
Name the awardee for best editing
|
SELECT Awardee(s) FROM table WHERE Name of Award = Best Editing
|
Translate the following into a SQL query
|
Name the number of awardees for best cinematography
|
SELECT COUNT Awardee(s) FROM table WHERE Name of Award = Best Cinematography
|
Translate the following into a SQL query
|
Name the least flaps
|
SELECT MIN FLaps FROM table
|
Translate the following into a SQL query
|
Name th most poles for macau grand prix
|
SELECT MAX Poles FROM table WHERE Series = Macau Grand Prix
|
Translate the following into a SQL query
|
Name the total number of races for 15th position
|
SELECT COUNT Races FROM table WHERE Position = 15th
|
Translate the following into a SQL query
|
Name the most races for flaps larger than 2.0
|
SELECT MAX Races FROM table WHERE FLaps > 2.0
|
Translate the following into a SQL query
|
Name the number of poles for 15th position
|
SELECT COUNT Poles FROM table WHERE Position = 15th
|
Translate the following into a SQL query
|
Name the team for season 2010
|
SELECT Team FROM table WHERE Season = 2010
|
Translate the following into a SQL query
|
Name the air date for jay j. demopoulos
|
SELECT Original air date FROM table WHERE Written by = Jay J. Demopoulos
|
Translate the following into a SQL query
|
At which location did 29753 fans show up to watch the game?
|
SELECT Game site FROM table WHERE Attendance = 29753
|
Translate the following into a SQL query
|
What was the game record during week 7?
|
SELECT Team record FROM table WHERE Week = 7
|
Translate the following into a SQL query
|
What time did the game start on saturday, april 20?
|
SELECT Kickoff FROM table WHERE Date = Saturday, April 20
|
Translate the following into a SQL query
|
In which week was the team record 7–2?
|
SELECT MIN Week FROM table WHERE Team record = 7–2
|
Translate the following into a SQL query
|
How man fans showed up to watch the game versus the raleigh-durham skyhawks?
|
SELECT MAX Attendance FROM table WHERE Opponent = Raleigh-Durham Skyhawks
|
Translate the following into a SQL query
|
If the rank is 26, what is the disposable USD growth?
|
SELECT Disposable USD growth FROM table WHERE Rank = 26
|
Translate the following into a SQL query
|
What country has a compulsory deduction of 29.3%?
|
SELECT Country FROM table WHERE Compulsory deduction = 29.3%
|
Translate the following into a SQL query
|
What is Australia's Disposable USD growth?
|
SELECT MAX Disposable USD growth FROM table WHERE Country = Australia
|
Translate the following into a SQL query
|
What is the lowest disposable USD 2011?
|
SELECT MIN Disposable USD 2011 FROM table
|
Translate the following into a SQL query
|
Name the most minutes and starts being 12
|
SELECT MAX Minutes FROM table WHERE Starts = 12
|
Translate the following into a SQL query
|
Name the position for 132 minutes
|
SELECT Position FROM table WHERE Minutes = 132
|
Translate the following into a SQL query
|
Name the rank for thomas morgenstern
|
SELECT Rank FROM table WHERE Name = Thomas Morgenstern
|
Translate the following into a SQL query
|
Name the rank for switzerland
|
SELECT COUNT Rank FROM table WHERE Nationality = Switzerland
|
Translate the following into a SQL query
|
Name the points for switzerland
|
SELECT Points FROM table WHERE Nationality = Switzerland
|
Translate the following into a SQL query
|
Name the points for thomas morgenstern
|
SELECT Points FROM table WHERE Name = Thomas Morgenstern
|
Translate the following into a SQL query
|
Name the total number of overall fht points for simon ammann
|
SELECT COUNT Overall FHT Points FROM table WHERE Name = Simon Ammann
|
Translate the following into a SQL query
|
When was jack watson appointed?
|
SELECT Appointed FROM table WHERE Name = Jack Watson
|
Translate the following into a SQL query
|
When was the Carysfort launched?
|
SELECT Launched FROM table WHERE Ship = Carysfort
|
Translate the following into a SQL query
|
When was the stokers' training ship launched?
|
SELECT Launched FROM table WHERE Disposition = Stokers' training ship
|
Translate the following into a SQL query
|
How many ships were named Carysfort?
|
SELECT COUNT Completed FROM table WHERE Ship = Carysfort
|
Translate the following into a SQL query
|
What is the background of the person fired in week 5?
|
SELECT Background FROM table WHERE Result = Fired in week 5
|
Translate the following into a SQL query
|
What was the result of the player from Maylands, Western Australia?
|
SELECT Result FROM table WHERE Hometown = Maylands, Western Australia
|
Translate the following into a SQL query
|
How many ages for player Amy Cato?
|
SELECT COUNT Age FROM table WHERE Candidate = Amy Cato
|
Translate the following into a SQL query
|
What is the name of the player from Maylands, Western Australia?
|
SELECT Candidate FROM table WHERE Hometown = Maylands, Western Australia
|
Translate the following into a SQL query
|
How many age figures for the player fired in week 6?
|
SELECT COUNT Age FROM table WHERE Result = Fired in week 6
|
Translate the following into a SQL query
|
What was the latitude that had a UTC time of 18:19:36?
|
SELECT Latitude FROM table WHERE Time (UTC) = 18:19:36
|
Translate the following into a SQL query
|
What is the depth of the aftershock at 18:00:22?
|
SELECT Depth FROM table WHERE Time (UTC) = 18:00:22
|
Translate the following into a SQL query
|
Name the team for susan bates
|
SELECT Team FROM table WHERE Listed Owner(s) = Susan Bates
|
Translate the following into a SQL query
|
Name the truck for eric phillips
|
SELECT Truck(s) FROM table WHERE Crew Chief = Eric Phillips
|
Translate the following into a SQL query
|
Name the listed owner for mike garvey
|
SELECT Listed Owner(s) FROM table WHERE Crew Chief = Mike Garvey
|
Translate the following into a SQL query
|
Name the least listed owner for pete raymer
|
SELECT MIN # FROM table WHERE Listed Owner(s) = Pete Raymer
|
Translate the following into a SQL query
|
Name the crew chief for rhonda thorson
|
SELECT Crew Chief FROM table WHERE Listed Owner(s) = Rhonda Thorson
|
Translate the following into a SQL query
|
What episode number in the series is "mean teacher"?
|
SELECT MAX No. in series FROM table WHERE Title = "Mean Teacher"
|
Translate the following into a SQL query
|
What episode number in the series is "guitar"?
|
SELECT MIN No. in series FROM table WHERE Title = "Guitar"
|
Translate the following into a SQL query
|
What is the production code for episode 3 in the season?
|
SELECT MAX Production code FROM table WHERE No. in season = 3
|
Translate the following into a SQL query
|
Name the year 2007 for 668 2008-q1
|
SELECT year 2007 FROM table WHERE 2008 - Q1 = 668
|
Translate the following into a SQL query
|
Name the year 2007 for 668 being 2008-q1
|
SELECT year 2007 FROM table WHERE 2008 - Q1 = 668
|
Translate the following into a SQL query
|
What is the lowest score of all games for match 2?
|
SELECT MIN Match2 FROM table
|
Translate the following into a SQL query
|
What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5?
|
SELECT MAX Match2 FROM table WHERE Match4 = 0 AND Total = 5
|
Translate the following into a SQL query
|
What is the score for match 1 for the team Eastern Tigers?
|
SELECT Match1 FROM table WHERE Team = Eastern Tigers
|
Translate the following into a SQL query
|
How many sockets are listed that have a brand name of "Core i3-2xx7m"?
|
SELECT COUNT Socket FROM table WHERE Brand name (list) = Core i3-2xx7M
|
Translate the following into a SQL query
|
What is the i/o bus for the brand name Core i3-21xx?
|
SELECT I/O Bus FROM table WHERE Brand name (list) = Core i3-21xx
|
Translate the following into a SQL query
|
What i/o buses are associated with the brand name Core i3-21xxt?
|
SELECT I/O Bus FROM table WHERE Brand name (list) = Core i3-21xxT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.