instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What number episode had a 4.2 rating?
|
SELECT MIN No. FROM table WHERE Rating = 4.2
|
Translate the following into a SQL query
|
What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)?
|
SELECT COUNT Winning Coach FROM table WHERE Top Team in Regular Season (points) = Kansas City Spurs (110 points)
|
Translate the following into a SQL query
|
If the top team in regular season (points) is the New York Cosmos (200 points), what is the winner (number of titles)?
|
SELECT Winner (number of titles) FROM table WHERE Top Team in Regular Season (points) = New York Cosmos (200 points)
|
Translate the following into a SQL query
|
If the runner-up is the Fort Lauderdale Strikers, what is the winner (number of titles)?
|
SELECT Winner (number of titles) FROM table WHERE Runners-up = Fort Lauderdale Strikers
|
Translate the following into a SQL query
|
How many figures for Other in the district where the GN division is 95?
|
SELECT COUNT Other FROM table WHERE GN Divisions = 95
|
Translate the following into a SQL query
|
What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
|
SELECT Market Share FROM table WHERE Technology = CDMA EVDO GSM EDGE HSPA+
|
Translate the following into a SQL query
|
What was the rank of operator whose technology is CDMA EVDO?
|
SELECT MIN Rank FROM table WHERE Technology = CDMA EVDO
|
Translate the following into a SQL query
|
What was the production code for the episode directed by Michael Morris?
|
SELECT MIN Production code FROM table WHERE Directed by = Michael Morris
|
Translate the following into a SQL query
|
What is the title the episode directed by Allison Liddi-Brown?
|
SELECT Title FROM table WHERE Directed by = Allison Liddi-Brown
|
Translate the following into a SQL query
|
What the production code for the episode with 16.10 U.S. viewers?
|
SELECT MAX Production code FROM table WHERE U.S. viewers (millions) = 16.10
|
Translate the following into a SQL query
|
what is the episode title on original air date of September 30, 2007?
|
SELECT Title FROM table WHERE Original airing = September 30, 2007
|
Translate the following into a SQL query
|
What is the rating if the rating/share (18-49) is 3.6?
|
SELECT Rating FROM table WHERE Rating/share (18–49) = 3.6
|
Translate the following into a SQL query
|
What is the rating/share total number if the total viewers is 12.75 million?
|
SELECT COUNT Rating/share (18–49) FROM table WHERE Total viewers (in millions) = 12.75
|
Translate the following into a SQL query
|
If the rating is 9.1, what was the total viewers?
|
SELECT Total viewers (in millions) FROM table WHERE Rating = 9.1
|
Translate the following into a SQL query
|
What was the reating share when the total viewers was 11.49 million?
|
SELECT Rating/share (18–49) FROM table WHERE Total viewers (in millions) = 11.49
|
Translate the following into a SQL query
|
What was the name of the show that had 10.47 million total viewers?
|
SELECT Title FROM table WHERE Total viewers (in millions) = 10.47
|
Translate the following into a SQL query
|
How many shows had 12.46 total viewers?
|
SELECT COUNT Title FROM table WHERE Total viewers (in millions) = 12.46
|
Translate the following into a SQL query
|
What episode had 10.47 total viewers?
|
SELECT Title FROM table WHERE Total viewers (in millions) = 10.47
|
Translate the following into a SQL query
|
If the establishment is 49319, what is the sales, receipts or shipments maximum amount?
|
SELECT MAX Sales, receipts, or shipments ($1,000) FROM table WHERE Establishments = 49319
|
Translate the following into a SQL query
|
If the annual payroll is 21173895, what is the establishments?
|
SELECT Establishments FROM table WHERE Annual payroll ($1,000) = 21173895
|
Translate the following into a SQL query
|
What is the sector is the establishment is 110313?
|
SELECT Sector FROM table WHERE Establishments = 110313
|
Translate the following into a SQL query
|
How many different Leagues had average attendance of 3589?
|
SELECT COUNT League FROM table WHERE Avg. Attendance = 3589
|
Translate the following into a SQL query
|
How many people saw the 3rd, Central regular season on average?
|
SELECT MIN Avg. Attendance FROM table WHERE Regular Season = 3rd, Central
|
Translate the following into a SQL query
|
What League was played in 2007?
|
SELECT League FROM table WHERE Year = 2007
|
Translate the following into a SQL query
|
When was the average attendance 789?
|
SELECT MIN Year FROM table WHERE Avg. Attendance = 789
|
Translate the following into a SQL query
|
what is the score in fg-fga if in ft-fta is 16-21
|
SELECT FG-FGA FROM table WHERE FT-FTA = 16-21
|
Translate the following into a SQL query
|
if the 3fg-fga is 1-20 what is the number in ft pct
|
SELECT COUNT FT Pct FROM table WHERE 3FG-FGA = 1-20
|
Translate the following into a SQL query
|
in the ft pct .667 what is the number of gp-gs
|
SELECT COUNT GP-GS FROM table WHERE FT Pct = .667
|
Translate the following into a SQL query
|
Name the team number 1 for san lorenzo
|
SELECT Team #1 FROM table WHERE Team #2 = San Lorenzo
|
Translate the following into a SQL query
|
Name the team #2 for river plate
|
SELECT Team #2 FROM table WHERE Team #1 = River Plate
|
Translate the following into a SQL query
|
Name the points for zamora
|
SELECT Points FROM table WHERE Team #1 = Zamora
|
Translate the following into a SQL query
|
Name the 2nd leg for boca juniors
|
SELECT 2nd leg FROM table WHERE Team #1 = Boca Juniors
|
Translate the following into a SQL query
|
What is every media type for the Psychedelic Trance genre?
|
SELECT Media type FROM table WHERE Genre = Psychedelic Trance
|
Translate the following into a SQL query
|
Who is every composer for the media named Hall of Dreams?
|
SELECT Composer FROM table WHERE Name of the media = Hall Of Dreams
|
Translate the following into a SQL query
|
What is every media type for the Dub genre?
|
SELECT Media type FROM table WHERE Genre = Dub
|
Translate the following into a SQL query
|
What is every media type for the World genre?
|
SELECT Media type FROM table WHERE Genre = World
|
Translate the following into a SQL query
|
What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?
|
SELECT Composition name FROM table WHERE Music Library = Heart of Asia AND Media type = Album AND Genre = Trance
|
Translate the following into a SQL query
|
What was the '{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' if '_{\mathrm{h,cp}} = \frac{c_\mathrm{aq}}{p}' is 7.8 × 10−4?
|
SELECT k_{\mathrm{H,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}} FROM table WHERE k_{\mathrm{H,cp}} = \frac{c_\mathrm{aq}}{p} = 7.8 × 10−4
|
Translate the following into a SQL query
|
What was the equation if k_{\mathrm{h,px}} = \frac{p}{x} is 12.30 × 10?
|
SELECT equation: FROM table WHERE k_{\mathrm{H,px}} = \frac{p}{x} = 12.30 × 10
|
Translate the following into a SQL query
|
What wast the 'k_{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' of CO 2?
|
SELECT k_{\mathrm{H,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}} FROM table WHERE equation: = CO 2
|
Translate the following into a SQL query
|
How many "k_{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}i if its 'k_{\mathrm{h,px}} = \frac{p}{x}' is 14.97 × 10?
|
SELECT COUNT k_{\mathrm{H,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}} FROM table WHERE k_{\mathrm{H,px}} = \frac{p}{x} = 14.97 × 10
|
Translate the following into a SQL query
|
What was the equation if k_{\mathrm{h,pc}} = \frac{p}{c_\mathrm{aq}} is 2222.22?
|
SELECT equation: FROM table WHERE k_{\mathrm{H,pc}} = \frac{p}{c_\mathrm{aq}} = 2222.22
|
Translate the following into a SQL query
|
What is the 'k_{\mathrm{h,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}}' of O 2?
|
SELECT k_{\mathrm{H,cc}} = \frac{c_{\mathrm{aq}}}{c_{\mathrm{gas}}} FROM table WHERE equation: = O 2
|
Translate the following into a SQL query
|
what percentage is brooklyn when manhattan is 15.5%?
|
SELECT Brooklyn FROM table WHERE Manhattan = 15.5%
|
Translate the following into a SQL query
|
What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?
|
SELECT Qld Cup Premierships FROM table WHERE Home Ground = Dairy Farmers Stadium
|
Translate the following into a SQL query
|
What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?
|
SELECT First year in Qld Cup FROM table WHERE Home Ground = Corbett Park, Crosby Park, Lang Park, ANZ Stadium
|
Translate the following into a SQL query
|
What is the home ground if team is Sunshine Coast Falcons?
|
SELECT Home Ground FROM table WHERE Team = Sunshine Coast Falcons
|
Translate the following into a SQL query
|
What is the QLD Cup Premierships if team is Gold Coast Vikings?
|
SELECT Qld Cup Premierships FROM table WHERE Team = Gold Coast Vikings
|
Translate the following into a SQL query
|
What is every team in the location of Port Moresby?
|
SELECT Team FROM table WHERE Location = Port Moresby
|
Translate the following into a SQL query
|
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?
|
SELECT COUNT Last year in Qld Cup FROM table WHERE Qld Cup Premierships = 1996, 2001
|
Translate the following into a SQL query
|
What are the Wycombe Wanderers when 1 January 2010 is 23 July 2009 and df is gk?
|
SELECT Wycombe Wanderers FROM table WHERE 1 January 2010 = 23 July 2009 AND DF = GK
|
Translate the following into a SQL query
|
What are the undisclosed when Adam Hinshelwood is Ricky Newman?
|
SELECT Undisclosed FROM table WHERE Adam Hinshelwood = Ricky Newman
|
Translate the following into a SQL query
|
What is the df when Adam Hinshelwood is Junior Mendes?
|
SELECT DF FROM table WHERE Adam Hinshelwood = Junior Mendes
|
Translate the following into a SQL query
|
What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?
|
SELECT Undisclosed FROM table WHERE Aldershot Town = Aldershot Town AND Wycombe Wanderers = Oxford United
|
Translate the following into a SQL query
|
What is the undisclosed when Wycombe Wanderers is unattached?
|
SELECT Undisclosed FROM table WHERE Wycombe Wanderers = Unattached
|
Translate the following into a SQL query
|
Who is the head coach for the team that plays at Altrincham Ice Dome?
|
SELECT Head Coach FROM table WHERE Arena = Altrincham Ice Dome
|
Translate the following into a SQL query
|
What arena does the team play at that has Michael Wales as the captain?
|
SELECT Arena FROM table WHERE Captain = Michael Wales
|
Translate the following into a SQL query
|
List all themes from the top 9.
|
SELECT Theme FROM table WHERE Week # = Top 9
|
Translate the following into a SQL query
|
In what week was the original singer Whitney Houston.
|
SELECT Week # FROM table WHERE Original Artist = Whitney Houston
|
Translate the following into a SQL query
|
Name the song for safe result #8.
|
SELECT Song Choice FROM table WHERE Result = Safe AND Order # = 8
|
Translate the following into a SQL query
|
List the song chose for the British Invasion.
|
SELECT Song Choice FROM table WHERE Theme = British Invasion
|
Translate the following into a SQL query
|
Name the stops for stations 36
|
SELECT Stops FROM table WHERE Stations = 36
|
Translate the following into a SQL query
|
Name the number of lines for porta nolana - ottaviano- sarno
|
SELECT COUNT Lines FROM table WHERE Route = Porta Nolana - Ottaviano- Sarno
|
Translate the following into a SQL query
|
Name the travel time for porta nolana - nola - baiano
|
SELECT Travel time FROM table WHERE Route = Porta Nolana - Nola - Baiano
|
Translate the following into a SQL query
|
Name the number of stations for 15 minutes travel time
|
SELECT COUNT Stations FROM table WHERE Travel time = 15 minutes
|
Translate the following into a SQL query
|
How big (in km2) is Persarmenia?
|
SELECT Area (km²) FROM table WHERE Province (ashkharh) = Persarmenia
|
Translate the following into a SQL query
|
What's the center of the Artsakh province?
|
SELECT Center FROM table WHERE Province (ashkharh) = Artsakh
|
Translate the following into a SQL query
|
How many different provinces is Baghaberd the center of?
|
SELECT COUNT Province (ashkharh) FROM table WHERE Center = Baghaberd
|
Translate the following into a SQL query
|
How big is the province with the Armenian name of փայտակարան?
|
SELECT MIN Area (km²) FROM table WHERE Armenian name = Փայտակարան
|
Translate the following into a SQL query
|
What's the center of the province that spreads out on 23860 km2?
|
SELECT Center FROM table WHERE Area (km²) = 23860
|
Translate the following into a SQL query
|
How many different numbers of cantons does the province with the Armenian name վասպուրական have?
|
SELECT COUNT Number of cantons (gavars) FROM table WHERE Armenian name = Վասպուրական
|
Translate the following into a SQL query
|
what are the seasons for no 3?
|
SELECT Seasons FROM table WHERE No. = 3
|
Translate the following into a SQL query
|
what are the maximum wins where the poles are 2?
|
SELECT MAX Wins FROM table WHERE Poles = 2
|
Translate the following into a SQL query
|
What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə?
|
SELECT Translation FROM table WHERE IPA ( Rio de Janeiro ) = ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə
|
Translate the following into a SQL query
|
What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə?
|
SELECT Translation FROM table WHERE IPA ( São Paulo ) = dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə
|
Translate the following into a SQL query
|
Which frequency is DYMY?
|
SELECT Frequency FROM table WHERE Callsign = DYMY
|
Translate the following into a SQL query
|
What is the frequency when radio station branding is 106.3 energy fm naga?
|
SELECT Frequency FROM table WHERE Branding = 106.3 Energy FM Naga
|
Translate the following into a SQL query
|
What is the callsign when power kw is 25kw?
|
SELECT Callsign FROM table WHERE Power kW = 25kW
|
Translate the following into a SQL query
|
What is the frequency when callsign is dxru-fm?
|
SELECT Frequency FROM table WHERE Callsign = DXRU-FM
|
Translate the following into a SQL query
|
What is the radio station branding when the power km is 5kw?
|
SELECT Branding FROM table WHERE Power kW = 5kW
|
Translate the following into a SQL query
|
What is the coverage when power kw is 25kw?
|
SELECT Coverage FROM table WHERE Power kW = 25kW
|
Translate the following into a SQL query
|
How many power kw have a frequency of 93.7 mhz?
|
SELECT COUNT Power kW FROM table WHERE Frequency = 93.7 MHz
|
Translate the following into a SQL query
|
Who were all the writers whose episodes had 0.97 million viewers?
|
SELECT Written by FROM table WHERE U.S. viewers (million) = 0.97
|
Translate the following into a SQL query
|
How many directors worked on the episode written by Brent Fletcher & Miranda Kwok?
|
SELECT COUNT Directed by FROM table WHERE Written by = Brent Fletcher & Miranda Kwok
|
Translate the following into a SQL query
|
What was the title of the episode directed by Rowan Woods?
|
SELECT Title FROM table WHERE Directed by = Rowan Woods
|
Translate the following into a SQL query
|
How many episodes were viewed by 1.29 million people?
|
SELECT COUNT No. FROM table WHERE U.S. viewers (million) = 1.29
|
Translate the following into a SQL query
|
Who was the writer for the episode originally airing on March 1, 2004?
|
SELECT Written by FROM table WHERE Original air date = March 1, 2004
|
Translate the following into a SQL query
|
List the title for the season episode number of 8.
|
SELECT Title FROM table WHERE Season # = 8
|
Translate the following into a SQL query
|
Who directed the "Out with the Old, in with the new" episode?
|
SELECT Directed by FROM table WHERE Title = "Out with the Old, in with the New"
|
Translate the following into a SQL query
|
Who was the director for the episode originally airing September 29, 2003?
|
SELECT Directed by FROM table WHERE Original air date = September 29, 2003
|
Translate the following into a SQL query
|
What is the highest series number of the episode "Til Death do us part-and make it soon"?
|
SELECT MAX Series # FROM table WHERE Title = "Til Death Do Us Part-And Make It Soon"
|
Translate the following into a SQL query
|
Name the original air date for harry hannigan directed by adam weissman
|
SELECT Original air date FROM table WHERE Written by = Harry Hannigan AND Directed by = Adam Weissman
|
Translate the following into a SQL query
|
How many people directed "through the looking glass"?
|
SELECT COUNT Directed by FROM table WHERE Title = "Through The Looking Glass"
|
Translate the following into a SQL query
|
How many people directed episode 7 In the season?
|
SELECT COUNT Directed by FROM table WHERE Season # = 7
|
Translate the following into a SQL query
|
How many original air dates were there for the episode with production code 212?
|
SELECT COUNT Original air date FROM table WHERE Prod. code = 212
|
Translate the following into a SQL query
|
What is the production code for "road trip (aka "the kiss")"?
|
SELECT Prod. code FROM table WHERE Title = "Road Trip (aka "The Kiss")"
|
Translate the following into a SQL query
|
What is the production code for episode 31 in the series?
|
SELECT MIN Prod. code FROM table WHERE Series # = 31
|
Translate the following into a SQL query
|
How many seasons did Barking Birmingham & Solihull Stourbridge were relegated from league?
|
SELECT COUNT Season FROM table WHERE Relegated from league = Barking Birmingham & Solihull Stourbridge
|
Translate the following into a SQL query
|
Who was relegated to league if Barking Birmingham & Solihull Stourbridge were relegated from league?
|
SELECT Relegated to league FROM table WHERE Relegated from league = Barking Birmingham & Solihull Stourbridge
|
Translate the following into a SQL query
|
How many were the minimum team that participated in the league?
|
SELECT MIN Teams FROM table
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.