instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What is the value of Monday August 24 if the rider is Benny Smith 600cc Yamaha?
|
CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, rider VARCHAR)
|
SELECT mon_24_aug FROM table_23465864_5 WHERE rider = "Benny Smith 600cc Yamaha"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, rider VARCHAR) Question: What is the value of Monday August 24 if the rider is Benny Smith 600cc Yamaha? [/INST] SELECT mon_24_aug FROM table_23465864_5 WHERE rider = "Benny Smith 600cc Yamaha" </s>
|
What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph?
|
CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR)
|
SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "26' 04.60 86.814mph"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR) Question: What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph? [/INST] SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "26' 04.60 86.814mph" </s>
|
Who directed 414?
|
CREATE TABLE table_23483182_1 (directed_by VARCHAR, production_code VARCHAR)
|
SELECT directed_by FROM table_23483182_1 WHERE production_code = 414
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23483182_1 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed 414? [/INST] SELECT directed_by FROM table_23483182_1 WHERE production_code = 414 </s>
|
What is the series number of the episode that aired March 25, 2010?
|
CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)
|
SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 2010"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR) Question: What is the series number of the episode that aired March 25, 2010? [/INST] SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 2010" </s>
|
Who wrote the episode that aired February 4, 2010?
|
CREATE TABLE table_23483182_1 (written_by VARCHAR, original_air_date VARCHAR)
|
SELECT written_by FROM table_23483182_1 WHERE original_air_date = "February 4, 2010"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23483182_1 (written_by VARCHAR, original_air_date VARCHAR) Question: Who wrote the episode that aired February 4, 2010? [/INST] SELECT written_by FROM table_23483182_1 WHERE original_air_date = "February 4, 2010" </s>
|
What was the air date where there were 5.72 million viewers?
|
CREATE TABLE table_23483182_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT original_air_date FROM table_23483182_1 WHERE us_viewers__million_ = "5.72"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23483182_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) Question: What was the air date where there were 5.72 million viewers? [/INST] SELECT original_air_date FROM table_23483182_1 WHERE us_viewers__million_ = "5.72" </s>
|
What number was there 6.01 million u.s. drivers?
|
CREATE TABLE table_23483182_1 (no_in_season VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT no_in_season FROM table_23483182_1 WHERE us_viewers__million_ = "6.01"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23483182_1 (no_in_season VARCHAR, us_viewers__million_ VARCHAR) Question: What number was there 6.01 million u.s. drivers? [/INST] SELECT no_in_season FROM table_23483182_1 WHERE us_viewers__million_ = "6.01" </s>
|
What date did they play the Florida Panthers?
|
CREATE TABLE table_23486853_3 (date VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_23486853_3 WHERE opponent = "Florida Panthers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23486853_3 (date VARCHAR, opponent VARCHAR) Question: What date did they play the Florida Panthers? [/INST] SELECT date FROM table_23486853_3 WHERE opponent = "Florida Panthers" </s>
|
What was the score for the Atlanta Thrashers?
|
CREATE TABLE table_23486853_3 (score VARCHAR, opponent VARCHAR)
|
SELECT score FROM table_23486853_3 WHERE opponent = "Atlanta Thrashers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23486853_3 (score VARCHAR, opponent VARCHAR) Question: What was the score for the Atlanta Thrashers? [/INST] SELECT score FROM table_23486853_3 WHERE opponent = "Atlanta Thrashers" </s>
|
What was the score for game 4?
|
CREATE TABLE table_23486853_3 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_23486853_3 WHERE game = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23486853_3 (score VARCHAR, game VARCHAR) Question: What was the score for game 4? [/INST] SELECT score FROM table_23486853_3 WHERE game = 4 </s>
|
How many titles have an original air date of November 17, 1998?
|
CREATE TABLE table_234886_2 (title VARCHAR, original_air_date VARCHAR)
|
SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 1998"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_234886_2 (title VARCHAR, original_air_date VARCHAR) Question: How many titles have an original air date of November 17, 1998? [/INST] SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 1998" </s>
|
How many season numbers are there for the episode seen by 13.54 million people in the US?
|
CREATE TABLE table_23528223_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT COUNT(no_in_season) FROM table_23528223_2 WHERE us_viewers__millions_ = "13.54"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23528223_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR) Question: How many season numbers are there for the episode seen by 13.54 million people in the US? [/INST] SELECT COUNT(no_in_season) FROM table_23528223_2 WHERE us_viewers__millions_ = "13.54" </s>
|
What's the series number of the episode directed by Skipp Sudduth?
|
CREATE TABLE table_23528223_2 (no_in_series VARCHAR, directed_by VARCHAR)
|
SELECT no_in_series FROM table_23528223_2 WHERE directed_by = "Skipp Sudduth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23528223_2 (no_in_series VARCHAR, directed_by VARCHAR) Question: What's the series number of the episode directed by Skipp Sudduth? [/INST] SELECT no_in_series FROM table_23528223_2 WHERE directed_by = "Skipp Sudduth" </s>
|
Who wrote the episode seen by 10.64 million people in the US?
|
CREATE TABLE table_23528223_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT written_by FROM table_23528223_2 WHERE us_viewers__millions_ = "10.64"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23528223_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who wrote the episode seen by 10.64 million people in the US? [/INST] SELECT written_by FROM table_23528223_2 WHERE us_viewers__millions_ = "10.64" </s>
|
Name the scores for david baddiel and maureen lipman
|
CREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR)
|
SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = "David Baddiel and Maureen Lipman"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR) Question: Name the scores for david baddiel and maureen lipman [/INST] SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = "David Baddiel and Maureen Lipman" </s>
|
Name the scores for michael buerk and russell howard
|
CREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR)
|
SELECT scores FROM table_23575917_2 WHERE lees_team = "Michael Buerk and Russell Howard"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR) Question: Name the scores for michael buerk and russell howard [/INST] SELECT scores FROM table_23575917_2 WHERE lees_team = "Michael Buerk and Russell Howard" </s>
|
Name the davids team for 8 august 2008
|
CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR)
|
SELECT davids_team FROM table_23575917_2 WHERE first_broadcast = "8 August 2008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR) Question: Name the davids team for 8 august 2008 [/INST] SELECT davids_team FROM table_23575917_2 WHERE first_broadcast = "8 August 2008" </s>
|
What is the episode number that was first broadcast on 3 September 2010?
|
CREATE TABLE table_23575917_4 (episode VARCHAR, first_broadcast VARCHAR)
|
SELECT episode FROM table_23575917_4 WHERE first_broadcast = "3 September 2010"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_4 (episode VARCHAR, first_broadcast VARCHAR) Question: What is the episode number that was first broadcast on 3 September 2010? [/INST] SELECT episode FROM table_23575917_4 WHERE first_broadcast = "3 September 2010" </s>
|
Who is the Lees Team for episode 4x04?
|
CREATE TABLE table_23575917_4 (lees_team VARCHAR, episode VARCHAR)
|
SELECT lees_team FROM table_23575917_4 WHERE episode = "4x04"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_4 (lees_team VARCHAR, episode VARCHAR) Question: Who is the Lees Team for episode 4x04? [/INST] SELECT lees_team FROM table_23575917_4 WHERE episode = "4x04" </s>
|
Who is on the David's Team for the episode with the Lees Team of Jack Dee and Peter Serafinowicz
|
CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR)
|
SELECT davids_team FROM table_23575917_4 WHERE lees_team = "Jack Dee and Peter Serafinowicz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR) Question: Who is on the David's Team for the episode with the Lees Team of Jack Dee and Peter Serafinowicz [/INST] SELECT davids_team FROM table_23575917_4 WHERE lees_team = "Jack Dee and Peter Serafinowicz" </s>
|
How many David's team for the Lees Team of Deborah Meaden and Mark Watson?
|
CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR)
|
SELECT COUNT(davids_team) FROM table_23575917_4 WHERE lees_team = "Deborah Meaden and Mark Watson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR) Question: How many David's team for the Lees Team of Deborah Meaden and Mark Watson? [/INST] SELECT COUNT(davids_team) FROM table_23575917_4 WHERE lees_team = "Deborah Meaden and Mark Watson" </s>
|
If the episode is 6x03, what is the first broadcast total number?
|
CREATE TABLE table_23575917_7 (first_broadcast VARCHAR, episode VARCHAR)
|
SELECT COUNT(first_broadcast) FROM table_23575917_7 WHERE episode = "6x03"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_7 (first_broadcast VARCHAR, episode VARCHAR) Question: If the episode is 6x03, what is the first broadcast total number? [/INST] SELECT COUNT(first_broadcast) FROM table_23575917_7 WHERE episode = "6x03" </s>
|
If the lees team is Clare Balding and Miranda Hart, what is the first broadcast total number?
|
CREATE TABLE table_23575917_7 (first_broadcast VARCHAR, lees_team VARCHAR)
|
SELECT COUNT(first_broadcast) FROM table_23575917_7 WHERE lees_team = "Clare Balding and Miranda Hart"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_7 (first_broadcast VARCHAR, lees_team VARCHAR) Question: If the lees team is Clare Balding and Miranda Hart, what is the first broadcast total number? [/INST] SELECT COUNT(first_broadcast) FROM table_23575917_7 WHERE lees_team = "Clare Balding and Miranda Hart" </s>
|
If the lees team is Clare Balding and Miranda Hart, what was the score?
|
CREATE TABLE table_23575917_7 (scores VARCHAR, lees_team VARCHAR)
|
SELECT scores FROM table_23575917_7 WHERE lees_team = "Clare Balding and Miranda Hart"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23575917_7 (scores VARCHAR, lees_team VARCHAR) Question: If the lees team is Clare Balding and Miranda Hart, what was the score? [/INST] SELECT scores FROM table_23575917_7 WHERE lees_team = "Clare Balding and Miranda Hart" </s>
|
What is the position of the song that was eliminated on 11 november?
|
CREATE TABLE table_23585197_3 (position INTEGER, date_eliminated VARCHAR)
|
SELECT MAX(position) FROM table_23585197_3 WHERE date_eliminated = "11 November"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23585197_3 (position INTEGER, date_eliminated VARCHAR) Question: What is the position of the song that was eliminated on 11 november? [/INST] SELECT MAX(position) FROM table_23585197_3 WHERE date_eliminated = "11 November" </s>
|
Which artist sang the song that ingela hemming wrote?
|
CREATE TABLE table_23585197_3 (artist VARCHAR, songwriter_s_ VARCHAR)
|
SELECT artist FROM table_23585197_3 WHERE songwriter_s_ = "Ingela Hemming"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23585197_3 (artist VARCHAR, songwriter_s_ VARCHAR) Question: Which artist sang the song that ingela hemming wrote? [/INST] SELECT artist FROM table_23585197_3 WHERE songwriter_s_ = "Ingela Hemming" </s>
|
What is the position of the song that adam sandahl wrote?
|
CREATE TABLE table_23585197_3 (position VARCHAR, songwriter_s_ VARCHAR)
|
SELECT position FROM table_23585197_3 WHERE songwriter_s_ = "Adam Sandahl"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23585197_3 (position VARCHAR, songwriter_s_ VARCHAR) Question: What is the position of the song that adam sandahl wrote? [/INST] SELECT position FROM table_23585197_3 WHERE songwriter_s_ = "Adam Sandahl" </s>
|
What is the position of the song thar genjor mcnell performed?
|
CREATE TABLE table_23585197_3 (position VARCHAR, artist VARCHAR)
|
SELECT position FROM table_23585197_3 WHERE artist = "Genjor McNell"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23585197_3 (position VARCHAR, artist VARCHAR) Question: What is the position of the song thar genjor mcnell performed? [/INST] SELECT position FROM table_23585197_3 WHERE artist = "Genjor McNell" </s>
|
What week has an attendance of 10402
|
CREATE TABLE table_23624542_4 (week INTEGER, attendance VARCHAR)
|
SELECT MIN(week) FROM table_23624542_4 WHERE attendance = 10402
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23624542_4 (week INTEGER, attendance VARCHAR) Question: What week has an attendance of 10402 [/INST] SELECT MIN(week) FROM table_23624542_4 WHERE attendance = 10402 </s>
|
What is the record on Sept 22?
|
CREATE TABLE table_23624542_4 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_23624542_4 WHERE date = "Sept 22"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23624542_4 (record VARCHAR, date VARCHAR) Question: What is the record on Sept 22? [/INST] SELECT record FROM table_23624542_4 WHERE date = "Sept 22" </s>
|
If artist 1 is Wolfgang Gartner, what is the release date?
|
CREATE TABLE table_23649244_2 (release_date VARCHAR, artist_1 VARCHAR)
|
SELECT release_date FROM table_23649244_2 WHERE artist_1 = "Wolfgang Gartner"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23649244_2 (release_date VARCHAR, artist_1 VARCHAR) Question: If artist 1 is Wolfgang Gartner, what is the release date? [/INST] SELECT release_date FROM table_23649244_2 WHERE artist_1 = "Wolfgang Gartner" </s>
|
What is song 1 title is the artist is Danny Byrd?
|
CREATE TABLE table_23649244_2 (song_1_title VARCHAR, artist_1 VARCHAR)
|
SELECT song_1_title FROM table_23649244_2 WHERE artist_1 = "Danny Byrd"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23649244_2 (song_1_title VARCHAR, artist_1 VARCHAR) Question: What is song 1 title is the artist is Danny Byrd? [/INST] SELECT song_1_title FROM table_23649244_2 WHERE artist_1 = "Danny Byrd" </s>
|
What is the mix pack when the artist 2 is Eminem?
|
CREATE TABLE table_23649244_2 (mix_pack VARCHAR, artist_2 VARCHAR)
|
SELECT mix_pack FROM table_23649244_2 WHERE artist_2 = "Eminem"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23649244_2 (mix_pack VARCHAR, artist_2 VARCHAR) Question: What is the mix pack when the artist 2 is Eminem? [/INST] SELECT mix_pack FROM table_23649244_2 WHERE artist_2 = "Eminem" </s>
|
What is every value for Serbs if value for Hungarians is 9.26%?
|
CREATE TABLE table_2374338_2 (serbs VARCHAR, hungarians VARCHAR)
|
SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (serbs VARCHAR, hungarians VARCHAR) Question: What is every value for Serbs if value for Hungarians is 9.26%? [/INST] SELECT serbs FROM table_2374338_2 WHERE hungarians = "9.26%" </s>
|
What is the largest value of population?
|
CREATE TABLE table_2374338_2 (population INTEGER)
|
SELECT MAX(population) FROM table_2374338_2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (population INTEGER) Question: What is the largest value of population? [/INST] SELECT MAX(population) FROM table_2374338_2 </s>
|
How many values for Germans occurs when value for Slovaks is 0.11%?
|
CREATE TABLE table_2374338_2 (germans VARCHAR, slovaks VARCHAR)
|
SELECT COUNT(germans) FROM table_2374338_2 WHERE slovaks = "0.11%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (germans VARCHAR, slovaks VARCHAR) Question: How many values for Germans occurs when value for Slovaks is 0.11%? [/INST] SELECT COUNT(germans) FROM table_2374338_2 WHERE slovaks = "0.11%" </s>
|
What is the smallest value of population if the value for Serbs is 73.53%?
|
CREATE TABLE table_2374338_2 (population INTEGER, serbs VARCHAR)
|
SELECT MIN(population) FROM table_2374338_2 WHERE serbs = "73.53%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (population INTEGER, serbs VARCHAR) Question: What is the smallest value of population if the value for Serbs is 73.53%? [/INST] SELECT MIN(population) FROM table_2374338_2 WHERE serbs = "73.53%" </s>
|
What is every value for Croats if the value of Roma is 3.1%?
|
CREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR)
|
SELECT croats FROM table_2374338_2 WHERE roma = "3.1%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR) Question: What is every value for Croats if the value of Roma is 3.1%? [/INST] SELECT croats FROM table_2374338_2 WHERE roma = "3.1%" </s>
|
What is every value for Croats when value for Romanians is 16.65%?
|
CREATE TABLE table_2374338_2 (croats VARCHAR, romanians VARCHAR)
|
SELECT croats FROM table_2374338_2 WHERE romanians = "16.65%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2374338_2 (croats VARCHAR, romanians VARCHAR) Question: What is every value for Croats when value for Romanians is 16.65%? [/INST] SELECT croats FROM table_2374338_2 WHERE romanians = "16.65%" </s>
|
How many years of nasl years did the accolades read "captained england to victory at the 1966 world cup"?
|
CREATE TABLE table_237757_9 (nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR)
|
SELECT COUNT(nasl_years) FROM table_237757_9 WHERE accolades__pre_nasl_ = "Captained England to victory at the 1966 World Cup"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (nasl_years VARCHAR, accolades__pre_nasl_ VARCHAR) Question: How many years of nasl years did the accolades read "captained england to victory at the 1966 world cup"? [/INST] SELECT COUNT(nasl_years) FROM table_237757_9 WHERE accolades__pre_nasl_ = "Captained England to victory at the 1966 World Cup" </s>
|
What nasl club won several titles with leeds united?
|
CREATE TABLE table_237757_9 (nasl_club_s_ VARCHAR, accolades__pre_nasl_ VARCHAR)
|
SELECT nasl_club_s_ FROM table_237757_9 WHERE accolades__pre_nasl_ = "Won several titles with Leeds United"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (nasl_club_s_ VARCHAR, accolades__pre_nasl_ VARCHAR) Question: What nasl club won several titles with leeds united? [/INST] SELECT nasl_club_s_ FROM table_237757_9 WHERE accolades__pre_nasl_ = "Won several titles with Leeds United" </s>
|
What years did Bobby Moore play?
|
CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR)
|
SELECT nasl_years FROM table_237757_9 WHERE player = "Bobby Moore"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR) Question: What years did Bobby Moore play? [/INST] SELECT nasl_years FROM table_237757_9 WHERE player = "Bobby Moore" </s>
|
What position is Philadelphia Fury?
|
CREATE TABLE table_237757_9 (position VARCHAR, nasl_club_s_ VARCHAR)
|
SELECT position FROM table_237757_9 WHERE nasl_club_s_ = "Philadelphia Fury"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (position VARCHAR, nasl_club_s_ VARCHAR) Question: What position is Philadelphia Fury? [/INST] SELECT position FROM table_237757_9 WHERE nasl_club_s_ = "Philadelphia Fury" </s>
|
How many years did Peter Lorimer play?
|
CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR)
|
SELECT COUNT(nasl_years) FROM table_237757_9 WHERE player = "Peter Lorimer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR) Question: How many years did Peter Lorimer play? [/INST] SELECT COUNT(nasl_years) FROM table_237757_9 WHERE player = "Peter Lorimer" </s>
|
What was the entry for highest when average is 10295?
|
CREATE TABLE table_237757_10 (highest VARCHAR, average VARCHAR)
|
SELECT highest FROM table_237757_10 WHERE average = 10295
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_10 (highest VARCHAR, average VARCHAR) Question: What was the entry for highest when average is 10295? [/INST] SELECT highest FROM table_237757_10 WHERE average = 10295 </s>
|
How many entries for highest when the low team was baltimore rays?
|
CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR)
|
SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR) Question: How many entries for highest when the low team was baltimore rays? [/INST] SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays" </s>
|
What was the season when the low team is chicago sting?
|
CREATE TABLE table_237757_10 (season VARCHAR, low_team VARCHAR)
|
SELECT season FROM table_237757_10 WHERE low_team = "Chicago Sting"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_237757_10 (season VARCHAR, low_team VARCHAR) Question: What was the season when the low team is chicago sting? [/INST] SELECT season FROM table_237757_10 WHERE low_team = "Chicago Sting" </s>
|
How tall is the building with 36 floors?
|
CREATE TABLE table_23759976_1 (height__m_ VARCHAR, floors VARCHAR)
|
SELECT height__m_ FROM table_23759976_1 WHERE floors = 36
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23759976_1 (height__m_ VARCHAR, floors VARCHAR) Question: How tall is the building with 36 floors? [/INST] SELECT height__m_ FROM table_23759976_1 WHERE floors = 36 </s>
|
What is the production code directed by Matt Shakman?
|
CREATE TABLE table_23799417_1 (production_code VARCHAR, directed_by VARCHAR)
|
SELECT production_code FROM table_23799417_1 WHERE directed_by = "Matt Shakman"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23799417_1 (production_code VARCHAR, directed_by VARCHAR) Question: What is the production code directed by Matt Shakman? [/INST] SELECT production_code FROM table_23799417_1 WHERE directed_by = "Matt Shakman" </s>
|
How many series had a production code of 202?
|
CREATE TABLE table_23799417_1 (no_in_series VARCHAR, production_code VARCHAR)
|
SELECT COUNT(no_in_series) FROM table_23799417_1 WHERE production_code = 202
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23799417_1 (no_in_series VARCHAR, production_code VARCHAR) Question: How many series had a production code of 202? [/INST] SELECT COUNT(no_in_series) FROM table_23799417_1 WHERE production_code = 202 </s>
|
What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected?
|
CREATE TABLE table_238124_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR)
|
SELECT bleeding_time FROM table_238124_1 WHERE partial_thromboplastin_time = "Prolonged" AND prothrombin_time = "Unaffected"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_238124_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR) Question: What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected? [/INST] SELECT bleeding_time FROM table_238124_1 WHERE partial_thromboplastin_time = "Prolonged" AND prothrombin_time = "Unaffected" </s>
|
What is the bleeding time for glanzmann's thrombasthenia?
|
CREATE TABLE table_238124_1 (bleeding_time VARCHAR, condition VARCHAR)
|
SELECT bleeding_time FROM table_238124_1 WHERE condition = "Glanzmann's thrombasthenia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_238124_1 (bleeding_time VARCHAR, condition VARCHAR) Question: What is the bleeding time for glanzmann's thrombasthenia? [/INST] SELECT bleeding_time FROM table_238124_1 WHERE condition = "Glanzmann's thrombasthenia" </s>
|
What is the platelet count for congenital afibrinogenemia?
|
CREATE TABLE table_238124_1 (platelet_count VARCHAR, condition VARCHAR)
|
SELECT platelet_count FROM table_238124_1 WHERE condition = "Congenital afibrinogenemia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_238124_1 (platelet_count VARCHAR, condition VARCHAR) Question: What is the platelet count for congenital afibrinogenemia? [/INST] SELECT platelet_count FROM table_238124_1 WHERE condition = "Congenital afibrinogenemia" </s>
|
What is the prothrombin time of von willebrand disease?
|
CREATE TABLE table_238124_1 (prothrombin_time VARCHAR, condition VARCHAR)
|
SELECT COUNT(prothrombin_time) FROM table_238124_1 WHERE condition = "Von Willebrand disease"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_238124_1 (prothrombin_time VARCHAR, condition VARCHAR) Question: What is the prothrombin time of von willebrand disease? [/INST] SELECT COUNT(prothrombin_time) FROM table_238124_1 WHERE condition = "Von Willebrand disease" </s>
|
When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts?
|
CREATE TABLE table_238124_1 (platelet_count VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
|
SELECT platelet_count FROM table_238124_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Prolonged"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_238124_1 (platelet_count VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) Question: When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts? [/INST] SELECT platelet_count FROM table_238124_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Prolonged" </s>
|
Name the last match for argentina - estadio josé maría minella
|
CREATE TABLE table_23819979_3 (last_match VARCHAR, final_place VARCHAR)
|
SELECT last_match FROM table_23819979_3 WHERE final_place = "Argentina - Estadio José María Minella"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23819979_3 (last_match VARCHAR, final_place VARCHAR) Question: Name the last match for argentina - estadio josé maría minella [/INST] SELECT last_match FROM table_23819979_3 WHERE final_place = "Argentina - Estadio José María Minella" </s>
|
Name the final position for copa libertadores
|
CREATE TABLE table_23819979_3 (final_position VARCHAR, competition VARCHAR)
|
SELECT final_position FROM table_23819979_3 WHERE competition = "Copa Libertadores"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23819979_3 (final_position VARCHAR, competition VARCHAR) Question: Name the final position for copa libertadores [/INST] SELECT final_position FROM table_23819979_3 WHERE competition = "Copa Libertadores" </s>
|
Name the final place for july 25, 2009
|
CREATE TABLE table_23819979_3 (final_place VARCHAR, last_match VARCHAR)
|
SELECT final_place FROM table_23819979_3 WHERE last_match = "July 25, 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23819979_3 (final_place VARCHAR, last_match VARCHAR) Question: Name the final place for july 25, 2009 [/INST] SELECT final_place FROM table_23819979_3 WHERE last_match = "July 25, 2009" </s>
|
What is the epa rated combined fuel economy for the Nissan Leaf?
|
CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR)
|
SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR) Question: What is the epa rated combined fuel economy for the Nissan Leaf? [/INST] SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = "Nissan Leaf" </s>
|
What is the operating mode of the Coda?
|
CREATE TABLE table_23840623_4 (operating_mode VARCHAR, vehicle VARCHAR)
|
SELECT operating_mode FROM table_23840623_4 WHERE vehicle = "Coda"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (operating_mode VARCHAR, vehicle VARCHAR) Question: What is the operating mode of the Coda? [/INST] SELECT operating_mode FROM table_23840623_4 WHERE vehicle = "Coda" </s>
|
What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)?
|
CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)
|
SELECT dirty_electric_grid_rocky_mountains__denver_ FROM table_23840623_4 WHERE clean_electric_grid_california__san_francisco_ = "160 g/mi (99 g/km)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR) Question: What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)? [/INST] SELECT dirty_electric_grid_rocky_mountains__denver_ FROM table_23840623_4 WHERE clean_electric_grid_california__san_francisco_ = "160 g/mi (99 g/km)" </s>
|
How many dirty electric grid rocky mountains (denver) vehicles have an epa rated combined fuel economy of 102 mpg-e (33kw-hrs/100mi)?
|
CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, epa_rated_combined_fuel_economy VARCHAR)
|
SELECT COUNT(dirty_electric_grid_rocky_mountains__denver_) FROM table_23840623_4 WHERE epa_rated_combined_fuel_economy = "102 mpg-e (33kW-hrs/100mi)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, epa_rated_combined_fuel_economy VARCHAR) Question: How many dirty electric grid rocky mountains (denver) vehicles have an epa rated combined fuel economy of 102 mpg-e (33kw-hrs/100mi)? [/INST] SELECT COUNT(dirty_electric_grid_rocky_mountains__denver_) FROM table_23840623_4 WHERE epa_rated_combined_fuel_economy = "102 mpg-e (33kW-hrs/100mi)" </s>
|
What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)?
|
CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, operating_mode VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR)
|
SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE operating_mode = "All-electric" AND dirty_electric_grid_rocky_mountains__denver_ = "330 g/mi (205 g/km)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, operating_mode VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR) Question: What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)? [/INST] SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE operating_mode = "All-electric" AND dirty_electric_grid_rocky_mountains__denver_ = "330 g/mi (205 g/km)" </s>
|
How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?
|
CREATE TABLE table_23840623_4 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR)
|
SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23840623_4 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR) Question: How many clean electric grid california (san francisco) figures are given for the Nissan Leaf? [/INST] SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_23840623_4 WHERE vehicle = "Nissan Leaf" </s>
|
Which aperture were built or used between 1987-2001?
|
CREATE TABLE table_23851574_2 (aper_in VARCHAR, built_used VARCHAR)
|
SELECT aper_in FROM table_23851574_2 WHERE built_used = "1987-2001"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23851574_2 (aper_in VARCHAR, built_used VARCHAR) Question: Which aperture were built or used between 1987-2001? [/INST] SELECT aper_in FROM table_23851574_2 WHERE built_used = "1987-2001" </s>
|
How many nationalities/sponsors for mirror/type schmidt uv?
|
CREATE TABLE table_23851574_2 (nationality_sponsors VARCHAR, mirror_type VARCHAR)
|
SELECT COUNT(nationality_sponsors) FROM table_23851574_2 WHERE mirror_type = "Schmidt UV"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23851574_2 (nationality_sponsors VARCHAR, mirror_type VARCHAR) Question: How many nationalities/sponsors for mirror/type schmidt uv? [/INST] SELECT COUNT(nationality_sponsors) FROM table_23851574_2 WHERE mirror_type = "Schmidt UV" </s>
|
Which telescopes were sponsored by or originated in Belgium?
|
CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR)
|
SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR) Question: Which telescopes were sponsored by or originated in Belgium? [/INST] SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium" </s>
|
What team finished in 4th place in 2007?
|
CREATE TABLE table_2388763_1 (year VARCHAR)
|
SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2388763_1 (year VARCHAR) Question: What team finished in 4th place in 2007? [/INST] SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007 </s>
|
If the opponent is the Stampeders, what is the record?
|
CREATE TABLE table_23916539_3 (record VARCHAR, opponent VARCHAR)
|
SELECT record FROM table_23916539_3 WHERE opponent = "Stampeders"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23916539_3 (record VARCHAR, opponent VARCHAR) Question: If the opponent is the Stampeders, what is the record? [/INST] SELECT record FROM table_23916539_3 WHERE opponent = "Stampeders" </s>
|
What is the record if the location is Clarke Stadium?
|
CREATE TABLE table_23916539_3 (record VARCHAR, location VARCHAR)
|
SELECT record FROM table_23916539_3 WHERE location = "Clarke Stadium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23916539_3 (record VARCHAR, location VARCHAR) Question: What is the record if the location is Clarke Stadium? [/INST] SELECT record FROM table_23916539_3 WHERE location = "Clarke Stadium" </s>
|
How many companies had an april 2013 cumulative ranking of 3?
|
CREATE TABLE table_23950611_2 (market_cap_march_15__mil_usd__ VARCHAR, april_2013_cum_rank VARCHAR)
|
SELECT COUNT(market_cap_march_15__mil_usd__) FROM table_23950611_2 WHERE april_2013_cum_rank = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23950611_2 (market_cap_march_15__mil_usd__ VARCHAR, april_2013_cum_rank VARCHAR) Question: How many companies had an april 2013 cumulative ranking of 3? [/INST] SELECT COUNT(market_cap_march_15__mil_usd__) FROM table_23950611_2 WHERE april_2013_cum_rank = 3 </s>
|
What was the Forbers rank (all companies) in 2012 for cenovus energy?
|
CREATE TABLE table_23950611_2 (rank__all__2012 VARCHAR, name VARCHAR)
|
SELECT rank__all__2012 FROM table_23950611_2 WHERE name = "Cenovus Energy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23950611_2 (rank__all__2012 VARCHAR, name VARCHAR) Question: What was the Forbers rank (all companies) in 2012 for cenovus energy? [/INST] SELECT rank__all__2012 FROM table_23950611_2 WHERE name = "Cenovus Energy" </s>
|
How many assets in billions US$, for the company that ranked 1532 overall in 2013?
|
CREATE TABLE table_23950611_2 (assets__bil_usd__ VARCHAR, rank__all__2013 VARCHAR)
|
SELECT assets__bil_usd__ FROM table_23950611_2 WHERE rank__all__2013 = 1532
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23950611_2 (assets__bil_usd__ VARCHAR, rank__all__2013 VARCHAR) Question: How many assets in billions US$, for the company that ranked 1532 overall in 2013? [/INST] SELECT assets__bil_usd__ FROM table_23950611_2 WHERE rank__all__2013 = 1532 </s>
|
How many companies named cenovus energy?
|
CREATE TABLE table_23950611_2 (rank__all__2013 VARCHAR, name VARCHAR)
|
SELECT COUNT(rank__all__2013) FROM table_23950611_2 WHERE name = "Cenovus Energy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23950611_2 (rank__all__2013 VARCHAR, name VARCHAR) Question: How many companies named cenovus energy? [/INST] SELECT COUNT(rank__all__2013) FROM table_23950611_2 WHERE name = "Cenovus Energy" </s>
|
What was the French title of the story published in 1968?
|
CREATE TABLE table_23963073_1 (french_title VARCHAR, date_of_publication VARCHAR)
|
SELECT french_title FROM table_23963073_1 WHERE date_of_publication = 1968
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23963073_1 (french_title VARCHAR, date_of_publication VARCHAR) Question: What was the French title of the story published in 1968? [/INST] SELECT french_title FROM table_23963073_1 WHERE date_of_publication = 1968 </s>
|
Who was the artist who worked on the stories published in 1966?
|
CREATE TABLE table_23963073_1 (artist VARCHAR, date_of_publication VARCHAR)
|
SELECT artist FROM table_23963073_1 WHERE date_of_publication = 1966
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23963073_1 (artist VARCHAR, date_of_publication VARCHAR) Question: Who was the artist who worked on the stories published in 1966? [/INST] SELECT artist FROM table_23963073_1 WHERE date_of_publication = 1966 </s>
|
When did series 6 start?
|
CREATE TABLE table_24057191_2 (start_date VARCHAR, series VARCHAR)
|
SELECT start_date FROM table_24057191_2 WHERE series = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24057191_2 (start_date VARCHAR, series VARCHAR) Question: When did series 6 start? [/INST] SELECT start_date FROM table_24057191_2 WHERE series = 6 </s>
|
What series had an average of 3.72 million people watching it?
|
CREATE TABLE table_24057191_2 (series INTEGER, average_viewers__millions_ VARCHAR)
|
SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24057191_2 (series INTEGER, average_viewers__millions_ VARCHAR) Question: What series had an average of 3.72 million people watching it? [/INST] SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72" </s>
|
How many different end dates are there for the series seen by 4.2 million people?
|
CREATE TABLE table_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR)
|
SELECT COUNT(end_date) FROM table_24057191_2 WHERE average_viewers__millions_ = "4.2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR) Question: How many different end dates are there for the series seen by 4.2 million people? [/INST] SELECT COUNT(end_date) FROM table_24057191_2 WHERE average_viewers__millions_ = "4.2" </s>
|
What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer?
|
CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR)
|
SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR) Question: What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer? [/INST] SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8" </s>
|
What is the area of Austria's territory in square kilometers?
|
CREATE TABLE table_24066938_1 (area_km_2 VARCHAR, member_state VARCHAR)
|
SELECT area_km_2 FROM table_24066938_1 WHERE member_state = "Austria"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24066938_1 (area_km_2 VARCHAR, member_state VARCHAR) Question: What is the area of Austria's territory in square kilometers? [/INST] SELECT area_km_2 FROM table_24066938_1 WHERE member_state = "Austria" </s>
|
How many inhabitants does Sweden have per square kilometer?
|
CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR)
|
SELECT pop_density_people_km_2 FROM table_24066938_1 WHERE member_state = "Sweden"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) Question: How many inhabitants does Sweden have per square kilometer? [/INST] SELECT pop_density_people_km_2 FROM table_24066938_1 WHERE member_state = "Sweden" </s>
|
How many measurements of the Czech Republic's population density are recorded in this table?
|
CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR)
|
SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) Question: How many measurements of the Czech Republic's population density are recorded in this table? [/INST] SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic" </s>
|
Name the number of number in the season for 11
|
CREATE TABLE table_2409041_4 (no_in_series VARCHAR, no_in_season VARCHAR)
|
SELECT COUNT(no_in_series) FROM table_2409041_4 WHERE no_in_season = 11
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2409041_4 (no_in_series VARCHAR, no_in_season VARCHAR) Question: Name the number of number in the season for 11 [/INST] SELECT COUNT(no_in_series) FROM table_2409041_4 WHERE no_in_season = 11 </s>
|
Name the number of airdates for 14
|
CREATE TABLE table_2409041_4 (original_air_date VARCHAR, no_in_season VARCHAR)
|
SELECT COUNT(original_air_date) FROM table_2409041_4 WHERE no_in_season = 14
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2409041_4 (original_air_date VARCHAR, no_in_season VARCHAR) Question: Name the number of airdates for 14 [/INST] SELECT COUNT(original_air_date) FROM table_2409041_4 WHERE no_in_season = 14 </s>
|
Name the title for 446913
|
CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR)
|
SELECT title FROM table_2409041_4 WHERE production_code = 446913
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR) Question: Name the title for 446913 [/INST] SELECT title FROM table_2409041_4 WHERE production_code = 446913 </s>
|
What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?
|
CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)
|
SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR) Question: What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance? [/INST] SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949" </s>
|
What was the attendance at the Travers Stakes in 1977?
|
CREATE TABLE table_24089503_1 (travers_stakes VARCHAR, year VARCHAR)
|
SELECT travers_stakes FROM table_24089503_1 WHERE year = 1977
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24089503_1 (travers_stakes VARCHAR, year VARCHAR) Question: What was the attendance at the Travers Stakes in 1977? [/INST] SELECT travers_stakes FROM table_24089503_1 WHERE year = 1977 </s>
|
What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987?
|
CREATE TABLE table_24089503_1 (breeders_cup_friday VARCHAR, breeders_cup_saturday VARCHAR)
|
SELECT breeders_cup_friday FROM table_24089503_1 WHERE breeders_cup_saturday = "52,987"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24089503_1 (breeders_cup_friday VARCHAR, breeders_cup_saturday VARCHAR) Question: What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987? [/INST] SELECT breeders_cup_friday FROM table_24089503_1 WHERE breeders_cup_saturday = "52,987" </s>
|
In what edition is Ungur's opponent David Nalbandian?
|
CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR)
|
SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR) Question: In what edition is Ungur's opponent David Nalbandian? [/INST] SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian" </s>
|
When was the win/lose lose and the round a play-off?
|
CREATE TABLE table_24099476_8 (date VARCHAR, win_lose VARCHAR, round VARCHAR)
|
SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" AND round = "Play-off"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24099476_8 (date VARCHAR, win_lose VARCHAR, round VARCHAR) Question: When was the win/lose lose and the round a play-off? [/INST] SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" AND round = "Play-off" </s>
|
In what round did he play against Sergiy Stakhovsky?
|
CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR)
|
SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR) Question: In what round did he play against Sergiy Stakhovsky? [/INST] SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky" </s>
|
What municipality had 754 votes for coakley?
|
CREATE TABLE table_24115349_6 (municipality VARCHAR, coakley_votes VARCHAR)
|
SELECT municipality FROM table_24115349_6 WHERE coakley_votes = 754
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24115349_6 (municipality VARCHAR, coakley_votes VARCHAR) Question: What municipality had 754 votes for coakley? [/INST] SELECT municipality FROM table_24115349_6 WHERE coakley_votes = 754 </s>
|
How many votes for brown in the place that had 84.1% for coakley?
|
CREATE TABLE table_24115349_6 (brown_votes INTEGER, coakley__percentage VARCHAR)
|
SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24115349_6 (brown_votes INTEGER, coakley__percentage VARCHAR) Question: How many votes for brown in the place that had 84.1% for coakley? [/INST] SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%" </s>
|
What was the turnout percentage in the place that had 44.6% vote for brown?
|
CREATE TABLE table_24115349_6 (turnout__percentage VARCHAR, brown__percentage VARCHAR)
|
SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.6%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24115349_6 (turnout__percentage VARCHAR, brown__percentage VARCHAR) Question: What was the turnout percentage in the place that had 44.6% vote for brown? [/INST] SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.6%" </s>
|
Name the finish top 10 being 8
|
CREATE TABLE table_24119784_1 (finish INTEGER, top_10 VARCHAR)
|
SELECT MAX(finish) FROM table_24119784_1 WHERE top_10 = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24119784_1 (finish INTEGER, top_10 VARCHAR) Question: Name the finish top 10 being 8 [/INST] SELECT MAX(finish) FROM table_24119784_1 WHERE top_10 = 8 </s>
|
What is the finish associated with a 3-2 vote?
|
CREATE TABLE table_24122653_2 (finish VARCHAR, vote VARCHAR)
|
SELECT finish FROM table_24122653_2 WHERE vote = "3-2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24122653_2 (finish VARCHAR, vote VARCHAR) Question: What is the finish associated with a 3-2 vote? [/INST] SELECT finish FROM table_24122653_2 WHERE vote = "3-2" </s>
|
What is the reward for the elimination of Peterson?
|
CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR)
|
SELECT reward FROM table_24122653_2 WHERE eliminated = "Peterson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR) Question: What is the reward for the elimination of Peterson? [/INST] SELECT reward FROM table_24122653_2 WHERE eliminated = "Peterson" </s>
|
What is the number of finishes associated with an elimination of Adriana?
|
CREATE TABLE table_24122653_2 (finish VARCHAR, eliminated VARCHAR)
|
SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24122653_2 (finish VARCHAR, eliminated VARCHAR) Question: What is the number of finishes associated with an elimination of Adriana? [/INST] SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana" </s>
|
What was the total number of episodes that had a 3-1 vote?
|
CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR)
|
SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR) Question: What was the total number of episodes that had a 3-1 vote? [/INST] SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.