instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What episode did Pamela Anderson guest host. | SELECT COUNT Episode Number FROM table WHERE Guest Host = Pamela Anderson |
Translate the following into a SQL query | What song was performed when Barbara Windsor was the guest host? | SELECT Musical Guest (Song performed) FROM table WHERE Guest Host = Barbara Windsor |
Translate the following into a SQL query | Who was the coat of cash celeb when Scott Mills and Sally Lindsay appeared? | SELECT Coat Of Cash Wearing Celebrity FROM table WHERE Who knows the most about the guest host? Panelists = Scott Mills and Sally Lindsay |
Translate the following into a SQL query | Who was on the Who knows about the host panel on 8 June 2008? | SELECT Who knows the most about the guest host? Panelists FROM table WHERE Air Date = 8 June 2008 |
Translate the following into a SQL query | Name the musical guest for panelists jermaine jackson and nora sands | SELECT Musical Guest (Song performed) FROM table WHERE Who knows the most about the guest host? panelists = Jermaine Jackson and Nora Sands |
Translate the following into a SQL query | Name the total number of panelists for 19 january 2007 | SELECT COUNT Who knows the most about the guest host? panelists FROM table WHERE Air Date = 19 January 2007 |
Translate the following into a SQL query | Name the panelists for david tennant | SELECT Who knows the most about the guest host? panelists FROM table WHERE Guest Host = David Tennant |
Translate the following into a SQL query | What is the entry for weight in kilograms of jockey D. Nikolic? | SELECT Weight (kg) FROM table WHERE Jockey = D. Nikolic |
Translate the following into a SQL query | Which group had the time 1:11.65? | SELECT Group FROM table WHERE Time = 1:11.65 |
Translate the following into a SQL query | Which horse won with a time of 1:35.98 and what was their position? | SELECT Winner/2nd FROM table WHERE Time = 1:35.98 |
Translate the following into a SQL query | What engine type is used in a Space Shuttle Vacuum scenario? | SELECT Engine type FROM table WHERE Scenario = Space shuttle vacuum |
Translate the following into a SQL query | What is the effective exhaust velocity in a Space Shuttle Vacuum? | SELECT COUNT Effective exhaust velocity (m/s) FROM table WHERE Scenario = Space shuttle vacuum |
Translate the following into a SQL query | What is the maximum specific impulse with a 4423 m/s effective exhaust velocity? | SELECT MAX Specific impulse (s) FROM table WHERE Effective exhaust velocity (m/s) = 4423 |
Translate the following into a SQL query | What is the SFC when the specific impulse is 453? | SELECT SFC in g/(kN·s) FROM table WHERE Specific impulse (s) = 453 |
Translate the following into a SQL query | When are start dates (1st night) for the season of 1966? | SELECT Start date (1st night) FROM table WHERE Season = 1966 |
Translate the following into a SQL query | When are end dates (last night) for the season of 1918? | SELECT End date (Last night) FROM table WHERE Season = 1918 |
Translate the following into a SQL query | What is the percentage of the Labour Party on the Harris Poll | SELECT Harris FROM table WHERE Party = Labour |
Translate the following into a SQL query | On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? | SELECT Opinion Research Centre (OPC) FROM table WHERE National Opinion Polls (NOP) = 1.3% |
Translate the following into a SQL query | Name the del pueblo for centennial 1988 | SELECT del Pueblo FROM table WHERE Centennial = 1988 |
Translate the following into a SQL query | Name the centennial for 1992 akimel | SELECT Centennial FROM table WHERE Akimel A-al The name is Tohono Oodham for children of the river = 1992 |
Translate the following into a SQL query | Name the del pueblo for red/black | SELECT del Pueblo FROM table WHERE Centennial = Red/black |
Translate the following into a SQL query | Name the centennial for location | SELECT Centennial FROM table WHERE Information = Location |
Translate the following into a SQL query | Name the host when first premiere is august 3, 2007 | SELECT Host FROM table WHERE First Premiere = August 3, 2007 |
Translate the following into a SQL query | Name the regular judge when host is anja rubik | SELECT Regular Judge FROM table WHERE Host = Anja Rubik |
Translate the following into a SQL query | Name the number of regular judge when host is bernie chan | SELECT COUNT Regular Judge FROM table WHERE Host = Bernie Chan |
Translate the following into a SQL query | Name the most number for 74 runs margins | SELECT MAX S No FROM table WHERE Margin = 74 runs |
Translate the following into a SQL query | Name the number of team for 35 runs margin and india winner | SELECT COUNT Team (B) FROM table WHERE Margin = 35 runs AND Winner = India |
Translate the following into a SQL query | Namethe team for feb 27, 1996 | SELECT Team (A) FROM table WHERE Match Date = Feb 27, 1996 |
Translate the following into a SQL query | Name the numbers for date of feb 27, 1996 | SELECT S No FROM table WHERE Match Date = Feb 27, 1996 |
Translate the following into a SQL query | Name the team for oct 30, 1989 | SELECT Team (B) FROM table WHERE Match Date = Oct 30, 1989 |
Translate the following into a SQL query | Name the winner for date of nov 5, 1987 | SELECT Winner FROM table WHERE Match Date = Nov 5, 1987 |
Translate the following into a SQL query | On Sept. 17, how many first downs did the oilers have? | SELECT COUNT Oilers first downs FROM table WHERE Date = Sept. 17 |
Translate the following into a SQL query | How many games were against the los angeles rams? | SELECT MIN Game FROM table WHERE Opponent = Los Angeles Rams |
Translate the following into a SQL query | What is the annual change of GDP with a 20.5% GDP of EU in 2012? | SELECT Annual change % of GDP (2012) FROM table WHERE GDP % of EU (2012) = 20.5% |
Translate the following into a SQL query | What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012? | SELECT Public Debt % of GDP (2013 Q1) FROM table WHERE GDP % of EU (2012) = 4.7% |
Translate the following into a SQL query | What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012? | SELECT Inflation % Annual (2012) FROM table WHERE GDP per capita in PPP US$ (2012) = 24505 |
Translate the following into a SQL query | What are all the places where the number of perfect 40s is 0 and the average is 27.25? | SELECT Place FROM table WHERE Perfect 40s = 0 AND Average = 27.25 |
Translate the following into a SQL query | What is the maximum total in which the average is 28.5? | SELECT MAX Total FROM table WHERE Average = 28.5 |
Translate the following into a SQL query | What is the minimum number of perfect 40s? | SELECT MIN Perfect 40s FROM table |
Translate the following into a SQL query | When using a .375 Remington Ultra Magnum, what is the muzzle velocity? | SELECT Muzzle velocity FROM table WHERE Cartridge = .375 Remington Ultra Magnum |
Translate the following into a SQL query | What type of cartridge is used by a Weatherby? | SELECT Cartridge FROM table WHERE Source = Weatherby |
Translate the following into a SQL query | What type of cartridge is used by a Winchester? | SELECT Cartridge FROM table WHERE Source = Winchester |
Translate the following into a SQL query | What is the weight of the bullet used in a Weatherby? | SELECT Bullet weight FROM table WHERE Source = Weatherby |
Translate the following into a SQL query | What is the weight of the bullet used in a Remington? | SELECT Bullet weight FROM table WHERE Source = Remington |
Translate the following into a SQL query | When using a .375 Winchester, what is the muzzle energy? | SELECT Muzzle energy FROM table WHERE Cartridge = .375 Winchester |
Translate the following into a SQL query | Which headphone models correspond to the US MSRP of $150? | SELECT Headphone Model FROM table WHERE US MSRP = $150 |
Translate the following into a SQL query | Which terminations correspond to a US MSRP of $49? | SELECT Termination FROM table WHERE US MSRP = $49 |
Translate the following into a SQL query | How many headphone classes have a US MSRP of $150? | SELECT COUNT Headphone Class FROM table WHERE US MSRP = $150 |
Translate the following into a SQL query | How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79? | SELECT COUNT Earpads FROM table WHERE Headphone Class = Prestige AND US MSRP = $79 |
Translate the following into a SQL query | Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49? | SELECT Headphone Model FROM table WHERE Driver-matched dB = 0.1 AND US MSRP = $49 |
Translate the following into a SQL query | Which terminations correspond with headphone model SR80I? | SELECT Termination FROM table WHERE Headphone Model = SR80i |
Translate the following into a SQL query | What type are State Assemblyman | SELECT Type FROM table WHERE Office = State Assemblyman |
Translate the following into a SQL query | What type had a beginning term of December 8, 1980 | SELECT Type FROM table WHERE Term began = December 8, 1980 |
Translate the following into a SQL query | What type had an election day in 1980 | SELECT Type FROM table WHERE Elected = 1980 |
Translate the following into a SQL query | What year did the term end for those elected in 1990 | SELECT Term ended FROM table WHERE Elected = 1990 |
Translate the following into a SQL query | What is the location for the office whose term ended December 2, 1976 | SELECT Location FROM table WHERE Term ended = December 2, 1976 |
Translate the following into a SQL query | What year did the term end for the office elected in 1984 | SELECT Term ended FROM table WHERE Elected = 1984 |
Translate the following into a SQL query | What was the record on October 8, 1989? | SELECT Record FROM table WHERE Date = October 8, 1989 |
Translate the following into a SQL query | Where was the game site on October 29, 1989? | SELECT Game Site FROM table WHERE Date = October 29, 1989 |
Translate the following into a SQL query | What was the minimum attendance against the New Orleans Saints? | SELECT MIN Attendance FROM table WHERE Opponent = New Orleans Saints |
Translate the following into a SQL query | What was the result of week 2? | SELECT Result FROM table WHERE Week = 2 |
Translate the following into a SQL query | What date did the team play the New York Jets? | SELECT Date FROM table WHERE Opponent = New York Jets |
Translate the following into a SQL query | What was the minimum crowd on January 24, 1987? | SELECT MIN Attendance FROM table WHERE Date = January 24, 1987 |
Translate the following into a SQL query | How many millions of viewers were there for the episode with a run time of 18:00? | SELECT Viewers (in millions) FROM table WHERE Run time = 18:00 |
Translate the following into a SQL query | What was the archive for episode with 6.6 million viewers? | SELECT Archive FROM table WHERE Viewers (in millions) = 6.6 |
Translate the following into a SQL query | When is the latest game the bills had 21 first downs | SELECT MIN Game FROM table WHERE Bills first downs = 21 |
Translate the following into a SQL query | How many first downs did the bills have when their opponent had 6 | SELECT MIN Bills first downs FROM table WHERE Opponents = 6 |
Translate the following into a SQL query | How many points did the bills score when their opponent had 14 | SELECT Bills points FROM table WHERE Opponents = 14 |
Translate the following into a SQL query | What is the minimum number of points given up to the Baltimore Colts | SELECT MIN Opponents FROM table WHERE Opponent = Baltimore Colts |
Translate the following into a SQL query | Who was the runner-up in the Memorial Tournament? | SELECT Runner(s)-up FROM table WHERE Tournament = Memorial Tournament |
Translate the following into a SQL query | What was the winning score for the tournament with runner-up Rory Sabbatini? | SELECT Winning score FROM table WHERE Runner(s)-up = Rory Sabbatini |
Translate the following into a SQL query | What was the margin of victory with the winning score "63-68-68-68=267"? | SELECT Margin of victory FROM table WHERE Winning score = 63-68-68-68=267 |
Translate the following into a SQL query | Name the least position | SELECT MIN Position FROM table |
Translate the following into a SQL query | Name the most goals scored for position 4 | SELECT MAX Goals scored FROM table WHERE Position = 4 |
Translate the following into a SQL query | What is the name of the bowl game that was played in Tempe, Arizona? | SELECT Bowl Game FROM table WHERE City = Tempe, Arizona |
Translate the following into a SQL query | What city in the Citrus Bowl aired on ABC? | SELECT City FROM table WHERE Stadium = Citrus Bowl AND Television = ABC |
Translate the following into a SQL query | What teams played in the Capital One bowl game on January 1, 2009? | SELECT Conference Matchups FROM table WHERE Date = January 1, 2009 AND Bowl Game = Capital One |
Translate the following into a SQL query | Which stadium has a payout of $3 million? | SELECT Stadium FROM table WHERE Payout ( US$ ) = $3 Million |
Translate the following into a SQL query | What is the largest population in regions where the average family size is 2.8 people? | SELECT MAX Number of people FROM table WHERE Average family size = 2.8 |
Translate the following into a SQL query | What is the total number of regions where the average family size is 2.8? | SELECT COUNT % of total deportees FROM table WHERE Average family size = 2.8 |
Translate the following into a SQL query | What regions of the USSR have a percentage of deportees of 10.6? | SELECT Region of USSR FROM table WHERE % of total deportees = 10.6 |
Translate the following into a SQL query | What is the most number of families in regions where average family size is 2.7? | SELECT MAX Number of families FROM table WHERE Average family size = 2.7 |
Translate the following into a SQL query | How many total families are there in regions with 5.8 percent of the population being made up of deportees? | SELECT COUNT Number of families FROM table WHERE % of total deportees = 5.8 |
Translate the following into a SQL query | What is the most number of families among regions where the population is made up of 5.8% deportees? | SELECT MAX Number of families FROM table WHERE % of total deportees = 5.8 |
Translate the following into a SQL query | Which operator runs the Mamariga shuttle line? | SELECT Operator FROM table WHERE Line = Mamariga Shuttle |
Translate the following into a SQL query | How many lengths of line 3 are given? | SELECT COUNT Length FROM table WHERE Line = Line 3 |
Translate the following into a SQL query | What are the terminals for line 2? | SELECT Terminals FROM table WHERE Line = Line 2 |
Translate the following into a SQL query | What is the status of the airport line? | SELECT Status FROM table WHERE Line = Airport Line |
Translate the following into a SQL query | Name the total number of hangul chosongul for 8,352 | SELECT COUNT Hangul/Chosongul FROM table WHERE Area = 8,352 |
Translate the following into a SQL query | Name the iso for chungcheongnam | SELECT ISO FROM table WHERE RR Romaja = Chungcheongnam |
Translate the following into a SQL query | Name the country for 11,891 area | SELECT Country FROM table WHERE Area = 11,891 |
Translate the following into a SQL query | Name the number of region for 경상남도 | SELECT COUNT Region FROM table WHERE Hangul/Chosongul = 경상남도 |
Translate the following into a SQL query | Name the m r romaja for kwanbuk | SELECT M–R Romaja FROM table WHERE Region = Kwanbuk |
Translate the following into a SQL query | Name the population density where population % is 1.1% for slovakia | SELECT Pop. density People/km 2 FROM table WHERE Population % of EU = 1.1% AND Member State = Slovakia |
Translate the following into a SQL query | Name the population density people where population % eu for 1.7% | SELECT COUNT Pop. density People/km 2 FROM table WHERE Population % of EU = 1.7% |
Translate the following into a SQL query | Name the number of area km 2 for population density is 87 | SELECT COUNT Area km 2 FROM table WHERE Pop. density People/km 2 = 87 |
Translate the following into a SQL query | Name the population % of eu for greece | SELECT Population % of EU FROM table WHERE Member State = Greece |
Translate the following into a SQL query | How many networks are there that have a channel number 7? | SELECT COUNT Network FROM table WHERE Channel = 7 |
Translate the following into a SQL query | What station on the network is tv3? | SELECT Network FROM table WHERE Station = TV3 |
Translate the following into a SQL query | What year was the team named the Raiders established? | SELECT MAX Founded FROM table WHERE Team Nickname = Raiders |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.