instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Which co-singers appear in the movie Pyaasa?
|
SELECT Co-Singers FROM table WHERE Movie/Album = Pyaasa
|
Translate the following into a SQL query
|
What is the additional information in the song mera yaar bana hai dulha
|
SELECT Additional Info FROM table WHERE Song = Mera Yaar Bana Hai Dulha
|
Translate the following into a SQL query
|
In which years are co-stars mala sinha and amitabh bachchan?
|
SELECT Year FROM table WHERE Co-Stars = Mala Sinha and Amitabh Bachchan
|
Translate the following into a SQL query
|
Which song has Drunkard Groom listed as additional information?
|
SELECT Song FROM table WHERE Additional Info = Drunkard Groom
|
Translate the following into a SQL query
|
Who was the lyricist for the song with music directed by madan mohan kohli?
|
SELECT Lyricist FROM table WHERE Music Director = Madan Mohan Kohli
|
Translate the following into a SQL query
|
Which song directed by datta naik had the ending stranza written by Johnny Walker?
|
SELECT Additional Info FROM table WHERE Music Director = Datta Naik
|
Translate the following into a SQL query
|
In which album can Dil De De Nahin Nahin Dil Le Le be found?
|
SELECT Movie/Album FROM table WHERE Song = Dil De De Nahin Nahin Dil Le Le
|
Translate the following into a SQL query
|
What was the GDP for 2002-2005 for the construction center?
|
SELECT 2002-2005 FROM table WHERE Supply sector (% of GDP in current prices) = Construction
|
Translate the following into a SQL query
|
What was GDP for 2006-2009 for the sector that had a 20.1 GDP for 2010-2012?
|
SELECT 2006-2009 FROM table WHERE 2010-2012 = 20.1
|
Translate the following into a SQL query
|
What sector had a 1.4 GDP for 2006-2009?
|
SELECT Supply sector (% of GDP in current prices) FROM table WHERE 2006-2009 = 1.4
|
Translate the following into a SQL query
|
What sector had a 17.3 GDP for 1993-2001?
|
SELECT Supply sector (% of GDP in current prices) FROM table WHERE 1993-2001 = 17.3
|
Translate the following into a SQL query
|
The sector that had a 8.7 GDP for 2006-2009 had what GDP for 1993-2001?
|
SELECT 1993-2001 FROM table WHERE 2006-2009 = 8.7
|
Translate the following into a SQL query
|
What is the November 3 result when June 10-11 is 147?
|
SELECT November 3 FROM table WHERE June 10-11 = 147
|
Translate the following into a SQL query
|
What is the November 3 result when the result for January 15-16 is 141?
|
SELECT November 3 FROM table WHERE January 15-16 = 141
|
Translate the following into a SQL query
|
What is the November 3 result when the June 10-11 is 147?
|
SELECT November 3 FROM table WHERE June 10-11 = 147
|
Translate the following into a SQL query
|
What June 10-11 is is that corresponds to March 28, 1968?
|
SELECT June 10-11 FROM table WHERE March 27-29 = March 28, 1968
|
Translate the following into a SQL query
|
What January 15-16 is is that corresponds to November 3, 2013?
|
SELECT January 15-16 FROM table WHERE November 3 = November 3, 2013
|
Translate the following into a SQL query
|
When 127 is on June 10th to 11th what is November 3rd?
|
SELECT November 3 FROM table WHERE June 10-11 = 127
|
Translate the following into a SQL query
|
When 129 is on March 27th to 29th what is June 10th to 11th?
|
SELECT June 10-11 FROM table WHERE March 27-29 = 129
|
Translate the following into a SQL query
|
When 139 is on March 27th to 29th what is August 21st to 22nd?
|
SELECT August 21-22 FROM table WHERE March 27-29 = 139
|
Translate the following into a SQL query
|
During November 3 where august 21-22 is august 21, 2017?
|
SELECT November 3 FROM table WHERE August 21-22 = August 21, 2017
|
Translate the following into a SQL query
|
How many solar eclipse on June 10-11, while November 3 is 153?
|
SELECT June 10-11 FROM table WHERE November 3 = 153
|
Translate the following into a SQL query
|
How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?
|
SELECT COUNT August 21-22 FROM table WHERE June 10-11 = June 11, 1983
|
Translate the following into a SQL query
|
How many solar eclipse during June 10-11 and march 27-29 is 149?
|
SELECT June 10-11 FROM table WHERE March 27-29 = 149
|
Translate the following into a SQL query
|
How many solar eclipse during august 21-22 and January 15-16 is 141?
|
SELECT August 21-22 FROM table WHERE January 15-16 = 141
|
Translate the following into a SQL query
|
How many solar eclipse during January 15-16 and august 21-22 on august 21, 2017?
|
SELECT January 15-16 FROM table WHERE August 21-22 = August 21, 2017
|
Translate the following into a SQL query
|
Name the fastest lap for round 14
|
SELECT COUNT Fastest Lap FROM table WHERE Round = 14
|
Translate the following into a SQL query
|
Name the winning driver for 20 april
|
SELECT Winning driver FROM table WHERE Date = 20 April
|
Translate the following into a SQL query
|
Name the circuit for 13 july
|
SELECT Circuit FROM table WHERE Date = 13 July
|
Translate the following into a SQL query
|
Name the fastest lap for round 3
|
SELECT Fastest Lap FROM table WHERE Round = 3
|
Translate the following into a SQL query
|
Name the fastest lap for piquet sports and silverstone
|
SELECT Fastest Lap FROM table WHERE Winning team = Piquet Sports AND Circuit = Silverstone
|
Translate the following into a SQL query
|
How many laps where the position is 10th and the races is smaller than 9.0?
|
SELECT COUNT F/Laps FROM table WHERE Position = 10th AND Races < 9.0
|
Translate the following into a SQL query
|
What is the lowest amount of races?
|
SELECT MIN Races FROM table
|
Translate the following into a SQL query
|
Which races have 137 points?
|
SELECT Races FROM table WHERE Points = 137
|
Translate the following into a SQL query
|
What team has 137 points?
|
SELECT Team FROM table WHERE Points = 137
|
Translate the following into a SQL query
|
How many points were scored when the podiums is 0 and position is 10th?
|
SELECT Points FROM table WHERE Podiums = 0 AND Position = 10th
|
Translate the following into a SQL query
|
What is the rate limit when the desired rate change (%) is +40.4?
|
SELECT Rate limit (p) FROM table WHERE Desired rate change (%) = +40.4
|
Translate the following into a SQL query
|
What is the rate limit when budget plans (£m) is limit agreed?
|
SELECT Rate limit (p) FROM table WHERE Budget plans (£m) = limit agreed
|
Translate the following into a SQL query
|
What is the rate limit when the desired rate (p) is 162?
|
SELECT Rate limit (p) FROM table WHERE Desired rate (p) = 162
|
Translate the following into a SQL query
|
What is the rate change % when the rate limit is 82.86?
|
SELECT Rate change (%) FROM table WHERE Rate limit (p) = 82.86
|
Translate the following into a SQL query
|
What is the desired rate when the rate limit (p) is 50.33?
|
SELECT Desired rate (p) FROM table WHERE Rate limit (p) = 50.33
|
Translate the following into a SQL query
|
What is the authority who set the budget limit (£m) at 900?
|
SELECT Authority FROM table WHERE Budget limit (£m) = 900
|
Translate the following into a SQL query
|
What was the highest share?
|
SELECT MAX Share FROM table
|
Translate the following into a SQL query
|
What was the final score of the game with 7523 in attendance?
|
SELECT Final score FROM table WHERE Attendance = 7523
|
Translate the following into a SQL query
|
What is the lowest attendance?
|
SELECT MIN Attendance FROM table
|
Translate the following into a SQL query
|
If the rebounds are at 87, what are the amount of steals?
|
SELECT Steals FROM table WHERE Rebounds = 87
|
Translate the following into a SQL query
|
How many players 89 points?
|
SELECT COUNT Blocks FROM table WHERE Points = 89
|
Translate the following into a SQL query
|
If the Steals are 20, what are the blocks?
|
SELECT MAX Blocks FROM table WHERE Steals = 20
|
Translate the following into a SQL query
|
How many millions of viewers did the episode directed by Jeffrey Blitz have?
|
SELECT U.S. viewers (million) FROM table WHERE Directed by = Jeffrey Blitz
|
Translate the following into a SQL query
|
Who directed the episode that had 5.92 million viewers?
|
SELECT Directed by FROM table WHERE U.S. viewers (million) = 5.92
|
Translate the following into a SQL query
|
What was the name of the episode Alan Yang wrote?
|
SELECT Title FROM table WHERE Written by = Alan Yang
|
Translate the following into a SQL query
|
How many episodes were directed by Michael McCullers?
|
SELECT COUNT Original air date FROM table WHERE Directed by = Michael McCullers
|
Translate the following into a SQL query
|
When 3rd is the position what is the lowest amount of points?
|
SELECT MIN Points FROM table WHERE Position = 3rd
|
Translate the following into a SQL query
|
When art grand prix is the team and 2010 is the season how many wins are there?
|
SELECT COUNT Wins FROM table WHERE Season = 2010 AND Team = ART Grand Prix
|
Translate the following into a SQL query
|
When 7th is the position and 15 is the race who is the team?
|
SELECT Team FROM table WHERE Races = 15 AND Position = 7th
|
Translate the following into a SQL query
|
What is the lowest overall amount of poles?
|
SELECT MIN Poles FROM table
|
Translate the following into a SQL query
|
When racing engineering is the team and 2012 is the team what is the position?
|
SELECT Position FROM table WHERE Season = 2012 AND Team = Racing Engineering
|
Translate the following into a SQL query
|
Is the facility opened in 1968 a major facility?
|
SELECT Major Facility FROM table WHERE Year Opened = 1968
|
Translate the following into a SQL query
|
What is the custody level of the facility in Shelton?
|
SELECT Custody Level(s) FROM table WHERE Location = Shelton
|
Translate the following into a SQL query
|
Is the Washington Corrections Center for Women (WCCW) a major facility?
|
SELECT Major Facility FROM table WHERE Facility = Washington Corrections Center for Women (WCCW)
|
Translate the following into a SQL query
|
What is the capacity for a facility opened in 1956?
|
SELECT COUNT Capacity FROM table WHERE Year Opened = 1956
|
Translate the following into a SQL query
|
What facility opening in 1954?
|
SELECT Facility FROM table WHERE Year Opened = 1954
|
Translate the following into a SQL query
|
Which player had 6 assists?
|
SELECT Player FROM table WHERE Assists = 6
|
Translate the following into a SQL query
|
What is the fewest steals any player had?
|
SELECT MIN Steals FROM table
|
Translate the following into a SQL query
|
How many steals did Kelly Miller have?
|
SELECT MIN Steals FROM table WHERE Player = Kelly Miller
|
Translate the following into a SQL query
|
Which player had 9 blocks?
|
SELECT Player FROM table WHERE Blocks = 9
|
Translate the following into a SQL query
|
How many rebounds did Tammy Sutton-Brown have?
|
SELECT Rebounds FROM table WHERE Player = Tammy Sutton-Brown
|
Translate the following into a SQL query
|
What was the science score in the year there was a social studies score of 93.56?
|
SELECT Science FROM table WHERE Social Studies = 93.56
|
Translate the following into a SQL query
|
How many years did the school have a mathetmatics score of 98.02?
|
SELECT COUNT Science FROM table WHERE Mathematics = 98.02
|
Translate the following into a SQL query
|
What was the reading score in the year the science score was 96.13?
|
SELECT Reading FROM table WHERE Science = 96.13
|
Translate the following into a SQL query
|
What was the language score when the reading score was 94.47?
|
SELECT Language FROM table WHERE Reading = 94.47
|
Translate the following into a SQL query
|
How many values for points have Sophia Witherspoon as the player?
|
SELECT COUNT Points FROM table WHERE Player = Sophia Witherspoon
|
Translate the following into a SQL query
|
What is the highest value for points?
|
SELECT MAX Points FROM table
|
Translate the following into a SQL query
|
What is every value for rebounds when steals is 19?
|
SELECT Rebounds FROM table WHERE Steals = 19
|
Translate the following into a SQL query
|
What is every value for points if rebounds is 6 and blocks is 0?
|
SELECT Points FROM table WHERE Rebounds = 6 AND Blocks = 0
|
Translate the following into a SQL query
|
What is every entry for assists if the player is Lynn Pride?
|
SELECT Assists FROM table WHERE Player = Lynn Pride
|
Translate the following into a SQL query
|
What is the air date of the episode written by Itamar Moses?
|
SELECT Original air date FROM table WHERE Written by = Itamar Moses
|
Translate the following into a SQL query
|
What is the june 10-11 when august 21-22 is august 21, 2017?
|
SELECT June 10-11 FROM table WHERE August 21-22 = August 21, 2017
|
Translate the following into a SQL query
|
how many times is march 27-29 is 129?
|
SELECT COUNT November 3 FROM table WHERE March 27-29 = 129
|
Translate the following into a SQL query
|
what is june 10-11 when march 27-29 is 149?
|
SELECT June 10-11 FROM table WHERE March 27-29 = 149
|
Translate the following into a SQL query
|
what is november 3 when june 10-11 is june 10, 1964?
|
SELECT November 3 FROM table WHERE June 10-11 = June 10, 1964
|
Translate the following into a SQL query
|
what is march 27-29 when november 3 is 133?
|
SELECT March 27-29 FROM table WHERE November 3 = 133
|
Translate the following into a SQL query
|
What is january 15-16 when november 3 is 153?
|
SELECT January 15-16 FROM table WHERE November 3 = 153
|
Translate the following into a SQL query
|
january 15-16 when august 21-22 is august 22, 1979?
|
SELECT January 15-16 FROM table WHERE August 21-22 = August 22, 1979
|
Translate the following into a SQL query
|
How many entries are shown for november 3 when january 15-16 is 141?
|
SELECT COUNT November 3 FROM table WHERE January 15-16 = 141
|
Translate the following into a SQL query
|
march 27-29 where june 10-11 is 127?
|
SELECT March 27-29 FROM table WHERE June 10-11 = 127
|
Translate the following into a SQL query
|
june 10-11 when november 3 is 133?
|
SELECT June 10-11 FROM table WHERE November 3 = 133
|
Translate the following into a SQL query
|
june 10-11 when january 15-16 is january 15, 1991?
|
SELECT June 10-11 FROM table WHERE January 15-16 = January 15, 1991
|
Translate the following into a SQL query
|
What is shown for november 3 when august 21-22 is august 22, 1998?
|
SELECT November 3 FROM table WHERE August 21-22 = August 22, 1998
|
Translate the following into a SQL query
|
Name the number of teams for 11th position september 10
|
SELECT COUNT Team FROM table WHERE Position in table = 11th AND Date of appointment = September 10
|
Translate the following into a SQL query
|
Name the replaced by for august 9
|
SELECT Replaced by FROM table WHERE Date of vacancy = August 9 AND Date of appointment = August 9
|
Translate the following into a SQL query
|
Name the most number for charvez davis
|
SELECT MAX # FROM table WHERE Name = Charvez Davis
|
Translate the following into a SQL query
|
Name the most height
|
SELECT MAX Weight FROM table
|
Translate the following into a SQL query
|
Name the number of home town for number being 32
|
SELECT COUNT Home Town FROM table WHERE # = 32
|
Translate the following into a SQL query
|
Name the total number of height for number 32
|
SELECT COUNT Height FROM table WHERE # = 32
|
Translate the following into a SQL query
|
Name the number for florida air academy
|
SELECT # FROM table WHERE Last School = Florida Air Academy
|
Translate the following into a SQL query
|
Name the height for demetrius jemison
|
SELECT Height FROM table WHERE Name = Demetrius Jemison
|
Translate the following into a SQL query
|
How many wins did Canterbury Wizards have?
|
SELECT MAX Won FROM table WHERE Team = Canterbury Wizards
|
Translate the following into a SQL query
|
What team had a net run rate of 0.134?
|
SELECT Team FROM table WHERE Net Run Rate = 0.134
|
Translate the following into a SQL query
|
What's the largest number of abandoned games by any of the teams?
|
SELECT MAX Abandoned FROM table
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.