instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Name the most wins where position is 16th
|
CREATE TABLE table_1708050_3 (wins INTEGER, position VARCHAR)
|
SELECT MAX(wins) FROM table_1708050_3 WHERE position = "16th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1708050_3 (wins INTEGER, position VARCHAR) Question: Name the most wins where position is 16th [/INST] SELECT MAX(wins) FROM table_1708050_3 WHERE position = "16th" </s>
|
Name the total number when avg start is 2000
|
CREATE TABLE table_1708050_3 (avg_start VARCHAR, year VARCHAR)
|
SELECT COUNT(avg_start) FROM table_1708050_3 WHERE year = 2000
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1708050_3 (avg_start VARCHAR, year VARCHAR) Question: Name the total number when avg start is 2000 [/INST] SELECT COUNT(avg_start) FROM table_1708050_3 WHERE year = 2000 </s>
|
Name the most poles
|
CREATE TABLE table_1708050_3 (poles INTEGER)
|
SELECT MIN(poles) FROM table_1708050_3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1708050_3 (poles INTEGER) Question: Name the most poles [/INST] SELECT MIN(poles) FROM table_1708050_3 </s>
|
Name the indanapolis concerts for dr. alexandre manette
|
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, character VARCHAR)
|
SELECT indianapolis_concerts FROM table_17085724_1 WHERE character = "Dr. Alexandre Manette"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, character VARCHAR) Question: Name the indanapolis concerts for dr. alexandre manette [/INST] SELECT indianapolis_concerts FROM table_17085724_1 WHERE character = "Dr. Alexandre Manette" </s>
|
Name the brighton cast for jerry cruncher
|
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, character VARCHAR)
|
SELECT brighton_cast FROM table_17085724_1 WHERE character = "Jerry Cruncher"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, character VARCHAR) Question: Name the brighton cast for jerry cruncher [/INST] SELECT brighton_cast FROM table_17085724_1 WHERE character = "Jerry Cruncher" </s>
|
Name the sarasota samantha sharpe
|
CREATE TABLE table_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)
|
SELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = "Samantha Sharpe"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR) Question: Name the sarasota samantha sharpe [/INST] SELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = "Samantha Sharpe" </s>
|
Name the indianapolis concerts for les minski
|
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, sarasota VARCHAR)
|
SELECT indianapolis_concerts FROM table_17085724_1 WHERE sarasota = "Les Minski"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, sarasota VARCHAR) Question: Name the indianapolis concerts for les minski [/INST] SELECT indianapolis_concerts FROM table_17085724_1 WHERE sarasota = "Les Minski" </s>
|
Name the brighton cast for andrew verala
|
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)
|
SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR) Question: Name the brighton cast for andrew verala [/INST] SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala" </s>
|
Name the indianapolis concerts for paul baker
|
CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, brighton_cast VARCHAR)
|
SELECT indianapolis_concerts FROM table_17085724_1 WHERE brighton_cast = "Paul Baker"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17085724_1 (indianapolis_concerts VARCHAR, brighton_cast VARCHAR) Question: Name the indianapolis concerts for paul baker [/INST] SELECT indianapolis_concerts FROM table_17085724_1 WHERE brighton_cast = "Paul Baker" </s>
|
when the population was 1599, what was the census ranking?
|
CREATE TABLE table_170961_2 (census_ranking VARCHAR, population VARCHAR)
|
SELECT census_ranking FROM table_170961_2 WHERE population = 1599
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170961_2 (census_ranking VARCHAR, population VARCHAR) Question: when the population was 1599, what was the census ranking? [/INST] SELECT census_ranking FROM table_170961_2 WHERE population = 1599 </s>
|
What is the name of the parish where the area is 508.30?
|
CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR)
|
SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = "508.30"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR) Question: What is the name of the parish where the area is 508.30? [/INST] SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = "508.30" </s>
|
at area 191.43 what is the total number of census ranking?
|
CREATE TABLE table_170961_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
|
SELECT COUNT(census_ranking) FROM table_170961_2 WHERE area_km_2 = "191.43"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170961_2 (census_ranking VARCHAR, area_km_2 VARCHAR) Question: at area 191.43 what is the total number of census ranking? [/INST] SELECT COUNT(census_ranking) FROM table_170961_2 WHERE area_km_2 = "191.43" </s>
|
At census ranking 1,184 of 5,008, what was the minimum population?
|
CREATE TABLE table_170961_2 (population INTEGER, census_ranking VARCHAR)
|
SELECT MIN(population) FROM table_170961_2 WHERE census_ranking = "1,184 of 5,008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170961_2 (population INTEGER, census_ranking VARCHAR) Question: At census ranking 1,184 of 5,008, what was the minimum population? [/INST] SELECT MIN(population) FROM table_170961_2 WHERE census_ranking = "1,184 of 5,008" </s>
|
at the area of 113.12, what was the population?
|
CREATE TABLE table_170961_2 (population VARCHAR, area_km_2 VARCHAR)
|
SELECT population FROM table_170961_2 WHERE area_km_2 = "113.12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170961_2 (population VARCHAR, area_km_2 VARCHAR) Question: at the area of 113.12, what was the population? [/INST] SELECT population FROM table_170961_2 WHERE area_km_2 = "113.12" </s>
|
What is the status for Saint George?
|
CREATE TABLE table_170969_2 (status VARCHAR, official_name VARCHAR)
|
SELECT status FROM table_170969_2 WHERE official_name = "Saint George"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170969_2 (status VARCHAR, official_name VARCHAR) Question: What is the status for Saint George? [/INST] SELECT status FROM table_170969_2 WHERE official_name = "Saint George" </s>
|
What is the area in km2 for Dufferin?
|
CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR)
|
SELECT area_km_2 FROM table_170969_2 WHERE official_name = "Dufferin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR) Question: What is the area in km2 for Dufferin? [/INST] SELECT area_km_2 FROM table_170969_2 WHERE official_name = "Dufferin" </s>
|
How many areas are named West Isles?
|
CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR)
|
SELECT COUNT(area_km_2) FROM table_170969_2 WHERE official_name = "West Isles"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR) Question: How many areas are named West Isles? [/INST] SELECT COUNT(area_km_2) FROM table_170969_2 WHERE official_name = "West Isles" </s>
|
How many areas of 375.06 km 2 have a census ranking?
|
CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
|
SELECT COUNT(census_ranking) FROM table_170969_2 WHERE area_km_2 = "375.06"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR) Question: How many areas of 375.06 km 2 have a census ranking? [/INST] SELECT COUNT(census_ranking) FROM table_170969_2 WHERE area_km_2 = "375.06" </s>
|
What is the census ranking when the area is 78.67 ?
|
CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
|
SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = "78.67"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR) Question: What is the census ranking when the area is 78.67 ? [/INST] SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = "78.67" </s>
|
Who had high assists on March 15?
|
CREATE TABLE table_17102076_9 (high_assists VARCHAR, date VARCHAR)
|
SELECT high_assists FROM table_17102076_9 WHERE date = "March 15"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17102076_9 (high_assists VARCHAR, date VARCHAR) Question: Who had high assists on March 15? [/INST] SELECT high_assists FROM table_17102076_9 WHERE date = "March 15" </s>
|
What team played on March 20?
|
CREATE TABLE table_17102076_9 (team VARCHAR, date VARCHAR)
|
SELECT team FROM table_17102076_9 WHERE date = "March 20"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17102076_9 (team VARCHAR, date VARCHAR) Question: What team played on March 20? [/INST] SELECT team FROM table_17102076_9 WHERE date = "March 20" </s>
|
How many times did Viorel Moldovan replaced a manager?
|
CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
|
SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR) Question: How many times did Viorel Moldovan replaced a manager? [/INST] SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan" </s>
|
What was the date of vacancy when Viorel Moldovan replaced a manager?
|
CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
|
SELECT date_of_vacancy FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR) Question: What was the date of vacancy when Viorel Moldovan replaced a manager? [/INST] SELECT date_of_vacancy FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan" </s>
|
Who replaced the manager on Team Cfr Cluj?
|
CREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR)
|
SELECT replaced_by FROM table_17115950_2 WHERE team = "CFR Cluj"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR) Question: Who replaced the manager on Team Cfr Cluj? [/INST] SELECT replaced_by FROM table_17115950_2 WHERE team = "CFR Cluj" </s>
|
Who was the outgoing manager replaced by Marian Bucurescu?
|
CREATE TABLE table_17115950_2 (outgoing_manager VARCHAR, replaced_by VARCHAR)
|
SELECT outgoing_manager FROM table_17115950_2 WHERE replaced_by = "Marian Bucurescu"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (outgoing_manager VARCHAR, replaced_by VARCHAR) Question: Who was the outgoing manager replaced by Marian Bucurescu? [/INST] SELECT outgoing_manager FROM table_17115950_2 WHERE replaced_by = "Marian Bucurescu" </s>
|
What was the manner of departure of Nicolae Manea?
|
CREATE TABLE table_17115950_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
|
SELECT manner_of_departure FROM table_17115950_2 WHERE outgoing_manager = "Nicolae Manea"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17115950_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) Question: What was the manner of departure of Nicolae Manea? [/INST] SELECT manner_of_departure FROM table_17115950_2 WHERE outgoing_manager = "Nicolae Manea" </s>
|
What was the score on game number 12?
|
CREATE TABLE table_17118657_7 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_17118657_7 WHERE game = 12
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (score VARCHAR, game VARCHAR) Question: What was the score on game number 12? [/INST] SELECT score FROM table_17118657_7 WHERE game = 12 </s>
|
What was the record when Canty (5) was the high assists?
|
CREATE TABLE table_17118657_7 (record VARCHAR, high_assists VARCHAR)
|
SELECT record FROM table_17118657_7 WHERE high_assists = "Canty (5)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (record VARCHAR, high_assists VARCHAR) Question: What was the record when Canty (5) was the high assists? [/INST] SELECT record FROM table_17118657_7 WHERE high_assists = "Canty (5)" </s>
|
How many players received high points where location/attendance was UIC Pavilion 6,304 respectively?
|
CREATE TABLE table_17118657_7 (high_points VARCHAR, location_attendance VARCHAR)
|
SELECT COUNT(high_points) FROM table_17118657_7 WHERE location_attendance = "UIC Pavilion 6,304"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (high_points VARCHAR, location_attendance VARCHAR) Question: How many players received high points where location/attendance was UIC Pavilion 6,304 respectively? [/INST] SELECT COUNT(high_points) FROM table_17118657_7 WHERE location_attendance = "UIC Pavilion 6,304" </s>
|
On what date did Canty (6) receive high assists?
|
CREATE TABLE table_17118657_7 (date VARCHAR, high_assists VARCHAR)
|
SELECT date FROM table_17118657_7 WHERE high_assists = "Canty (6)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (date VARCHAR, high_assists VARCHAR) Question: On what date did Canty (6) receive high assists? [/INST] SELECT date FROM table_17118657_7 WHERE high_assists = "Canty (6)" </s>
|
Which game number had a location/attendance of US Airways Center 7,311 respectively?
|
CREATE TABLE table_17118657_7 (game INTEGER, location_attendance VARCHAR)
|
SELECT MAX(game) FROM table_17118657_7 WHERE location_attendance = "US Airways Center 7,311"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (game INTEGER, location_attendance VARCHAR) Question: Which game number had a location/attendance of US Airways Center 7,311 respectively? [/INST] SELECT MAX(game) FROM table_17118657_7 WHERE location_attendance = "US Airways Center 7,311" </s>
|
On which date was the record 1-4?
|
CREATE TABLE table_17118657_7 (date VARCHAR, record VARCHAR)
|
SELECT date FROM table_17118657_7 WHERE record = "1-4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17118657_7 (date VARCHAR, record VARCHAR) Question: On which date was the record 1-4? [/INST] SELECT date FROM table_17118657_7 WHERE record = "1-4" </s>
|
What is the population in Westfield?
|
CREATE TABLE table_171236_2 (population VARCHAR, official_name VARCHAR)
|
SELECT COUNT(population) FROM table_171236_2 WHERE official_name = "Westfield"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171236_2 (population VARCHAR, official_name VARCHAR) Question: What is the population in Westfield? [/INST] SELECT COUNT(population) FROM table_171236_2 WHERE official_name = "Westfield" </s>
|
What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008?
|
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR)
|
SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,016 of 5,008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR) Question: What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008? [/INST] SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,016 of 5,008" </s>
|
What is the Area KM 2 of the place that has a Census ranking of 1,608 of 5,008?
|
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR)
|
SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,608 of 5,008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR) Question: What is the Area KM 2 of the place that has a Census ranking of 1,608 of 5,008? [/INST] SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,608 of 5,008" </s>
|
What is the Area KM 2 of Rothesay?
|
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, official_name VARCHAR)
|
SELECT COUNT(area_km_2) FROM table_171236_2 WHERE official_name = "Rothesay"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171236_2 (area_km_2 VARCHAR, official_name VARCHAR) Question: What is the Area KM 2 of Rothesay? [/INST] SELECT COUNT(area_km_2) FROM table_171236_2 WHERE official_name = "Rothesay" </s>
|
What's the official name of the place with an Area KM 2 of 295.07
|
CREATE TABLE table_171236_2 (official_name VARCHAR, area_km_2 VARCHAR)
|
SELECT official_name FROM table_171236_2 WHERE area_km_2 = "295.07"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171236_2 (official_name VARCHAR, area_km_2 VARCHAR) Question: What's the official name of the place with an Area KM 2 of 295.07 [/INST] SELECT official_name FROM table_171236_2 WHERE area_km_2 = "295.07" </s>
|
What is the population of Cardwell?
|
CREATE TABLE table_171236_2 (population INTEGER, official_name VARCHAR)
|
SELECT MIN(population) FROM table_171236_2 WHERE official_name = "Cardwell"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171236_2 (population INTEGER, official_name VARCHAR) Question: What is the population of Cardwell? [/INST] SELECT MIN(population) FROM table_171236_2 WHERE official_name = "Cardwell" </s>
|
Name the total number of status for eldon
|
CREATE TABLE table_171361_2 (status VARCHAR, official_name VARCHAR)
|
SELECT COUNT(status) FROM table_171361_2 WHERE official_name = "Eldon"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171361_2 (status VARCHAR, official_name VARCHAR) Question: Name the total number of status for eldon [/INST] SELECT COUNT(status) FROM table_171361_2 WHERE official_name = "Eldon" </s>
|
Name the area km 2 for balmoral
|
CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR)
|
SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR) Question: Name the area km 2 for balmoral [/INST] SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral" </s>
|
What team(s) did they play on april 23?
|
CREATE TABLE table_17140608_11 (team VARCHAR, date VARCHAR)
|
SELECT team FROM table_17140608_11 WHERE date = "April 23"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17140608_11 (team VARCHAR, date VARCHAR) Question: What team(s) did they play on april 23? [/INST] SELECT team FROM table_17140608_11 WHERE date = "April 23" </s>
|
What score(s) were recorded on april 28?
|
CREATE TABLE table_17140608_11 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_17140608_11 WHERE date = "April 28"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17140608_11 (score VARCHAR, date VARCHAR) Question: What score(s) were recorded on april 28? [/INST] SELECT score FROM table_17140608_11 WHERE date = "April 28" </s>
|
When galaxy angel aa is the title what was the series?
|
CREATE TABLE table_1714685_1 (series VARCHAR, title VARCHAR)
|
SELECT series FROM table_1714685_1 WHERE title = "Galaxy Angel AA"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1714685_1 (series VARCHAR, title VARCHAR) Question: When galaxy angel aa is the title what was the series? [/INST] SELECT series FROM table_1714685_1 WHERE title = "Galaxy Angel AA" </s>
|
When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there?
|
CREATE TABLE table_1714685_1 (title VARCHAR, aired_in_japan_3 VARCHAR)
|
SELECT COUNT(title) FROM table_1714685_1 WHERE aired_in_japan_3 = "7 April 2001 to 29 September 2001"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1714685_1 (title VARCHAR, aired_in_japan_3 VARCHAR) Question: When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there? [/INST] SELECT COUNT(title) FROM table_1714685_1 WHERE aired_in_japan_3 = "7 April 2001 to 29 September 2001" </s>
|
When galaxy angel aa was the title was the us release date?
|
CREATE TABLE table_1714685_1 (us_release_date VARCHAR, title VARCHAR)
|
SELECT us_release_date FROM table_1714685_1 WHERE title = "Galaxy Angel AA"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1714685_1 (us_release_date VARCHAR, title VARCHAR) Question: When galaxy angel aa was the title was the us release date? [/INST] SELECT us_release_date FROM table_1714685_1 WHERE title = "Galaxy Angel AA" </s>
|
What comparable country has a national share of 1.08?
|
CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)
|
SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = "1.08"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR) Question: What comparable country has a national share of 1.08? [/INST] SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = "1.08" </s>
|
What is the national share of the country whose area is 148064 km^2?
|
CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, area__km²_ VARCHAR)
|
SELECT national_share___percentage_ FROM table_171666_1 WHERE area__km²_ = 148064
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, area__km²_ VARCHAR) Question: What is the national share of the country whose area is 148064 km^2? [/INST] SELECT national_share___percentage_ FROM table_171666_1 WHERE area__km²_ = 148064 </s>
|
What is the administrative division that has an area of 30 km^2?
|
CREATE TABLE table_171666_1 (administrative_division VARCHAR, area__km²_ VARCHAR)
|
SELECT administrative_division FROM table_171666_1 WHERE area__km²_ = 30
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171666_1 (administrative_division VARCHAR, area__km²_ VARCHAR) Question: What is the administrative division that has an area of 30 km^2? [/INST] SELECT administrative_division FROM table_171666_1 WHERE area__km²_ = 30 </s>
|
What is the national share of Guizhou's administrative division?
|
CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, administrative_division VARCHAR)
|
SELECT national_share___percentage_ FROM table_171666_1 WHERE administrative_division = "Guizhou"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, administrative_division VARCHAR) Question: What is the national share of Guizhou's administrative division? [/INST] SELECT national_share___percentage_ FROM table_171666_1 WHERE administrative_division = "Guizhou" </s>
|
What is the rank of the division with an area of 456800 sq mi?
|
CREATE TABLE table_171666_1 (rank VARCHAR, area__sq_mi_ VARCHAR)
|
SELECT rank FROM table_171666_1 WHERE area__sq_mi_ = 456800
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171666_1 (rank VARCHAR, area__sq_mi_ VARCHAR) Question: What is the rank of the division with an area of 456800 sq mi? [/INST] SELECT rank FROM table_171666_1 WHERE area__sq_mi_ = 456800 </s>
|
What's the change over previous year as a whole in the period in which the change over same quarter the previous year was up 2.8%?
|
CREATE TABLE table_171748_3 (change_over_previous_year_as_a_whole VARCHAR, change_over_same_quarter_the_previous_year VARCHAR)
|
SELECT change_over_previous_year_as_a_whole FROM table_171748_3 WHERE change_over_same_quarter_the_previous_year = "Up 2.8%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171748_3 (change_over_previous_year_as_a_whole VARCHAR, change_over_same_quarter_the_previous_year VARCHAR) Question: What's the change over previous year as a whole in the period in which the change over same quarter the previous year was up 2.8%? [/INST] SELECT change_over_previous_year_as_a_whole FROM table_171748_3 WHERE change_over_same_quarter_the_previous_year = "Up 2.8%" </s>
|
When was the percentage of trains arriving within 5 minutes of scheduled time 89.6%?
|
CREATE TABLE table_171748_3 (period VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ VARCHAR)
|
SELECT period FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ = "89.6%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171748_3 (period VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ VARCHAR) Question: When was the percentage of trains arriving within 5 minutes of scheduled time 89.6%? [/INST] SELECT period FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ = "89.6%" </s>
|
What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?
|
CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR)
|
SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR) Question: What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)? [/INST] SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%" </s>
|
how many shire in the land of area in km 2 is 27.17
|
CREATE TABLE table_17251764_1 (shire VARCHAR, area_in_km_2 VARCHAR)
|
SELECT COUNT(shire) FROM table_17251764_1 WHERE area_in_km_2 = "27.17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17251764_1 (shire VARCHAR, area_in_km_2 VARCHAR) Question: how many shire in the land of area in km 2 is 27.17 [/INST] SELECT COUNT(shire) FROM table_17251764_1 WHERE area_in_km_2 = "27.17" </s>
|
How many open era titles does the team with their first title in 1925 have?
|
CREATE TABLE table_1725413_5 (open_era VARCHAR, first_title VARCHAR)
|
SELECT open_era FROM table_1725413_5 WHERE first_title = 1925
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1725413_5 (open_era VARCHAR, first_title VARCHAR) Question: How many open era titles does the team with their first title in 1925 have? [/INST] SELECT open_era FROM table_1725413_5 WHERE first_title = 1925 </s>
|
Name the replacced by with ascoli
|
CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR)
|
SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR) Question: Name the replacced by with ascoli [/INST] SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli" </s>
|
Name the team for mario somma
|
CREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR)
|
SELECT team FROM table_17275810_7 WHERE replaced_by = "Mario Somma"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR) Question: Name the team for mario somma [/INST] SELECT team FROM table_17275810_7 WHERE replaced_by = "Mario Somma" </s>
|
Name the date of appointment for ascoli
|
CREATE TABLE table_17275810_7 (date_of_appointment VARCHAR, team VARCHAR)
|
SELECT date_of_appointment FROM table_17275810_7 WHERE team = "Ascoli"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17275810_7 (date_of_appointment VARCHAR, team VARCHAR) Question: Name the date of appointment for ascoli [/INST] SELECT date_of_appointment FROM table_17275810_7 WHERE team = "Ascoli" </s>
|
Name the manner of departure for elvio selighini
|
CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR)
|
SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR) Question: Name the manner of departure for elvio selighini [/INST] SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini" </s>
|
Name the date of vacancy for fabio brini
|
CREATE TABLE table_17275810_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
|
SELECT date_of_vacancy FROM table_17275810_7 WHERE replaced_by = "Fabio Brini"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17275810_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR) Question: Name the date of vacancy for fabio brini [/INST] SELECT date_of_vacancy FROM table_17275810_7 WHERE replaced_by = "Fabio Brini" </s>
|
Name the outgoing manager for mantova
|
CREATE TABLE table_17275810_7 (outgoing_manager VARCHAR, team VARCHAR)
|
SELECT outgoing_manager FROM table_17275810_7 WHERE team = "Mantova"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17275810_7 (outgoing_manager VARCHAR, team VARCHAR) Question: Name the outgoing manager for mantova [/INST] SELECT outgoing_manager FROM table_17275810_7 WHERE team = "Mantova" </s>
|
What is the San Antonio's team score?
|
CREATE TABLE table_17288825_5 (score VARCHAR, team VARCHAR)
|
SELECT score FROM table_17288825_5 WHERE team = "San Antonio"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17288825_5 (score VARCHAR, team VARCHAR) Question: What is the San Antonio's team score? [/INST] SELECT score FROM table_17288825_5 WHERE team = "San Antonio" </s>
|
Name the score for game 66
|
CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_17288845_9 WHERE game = 66
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR) Question: Name the score for game 66 [/INST] SELECT score FROM table_17288845_9 WHERE game = 66 </s>
|
Name the record for score of l 77–80 (ot)
|
CREATE TABLE table_17288845_9 (record VARCHAR, score VARCHAR)
|
SELECT record FROM table_17288845_9 WHERE score = "L 77–80 (OT)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17288845_9 (record VARCHAR, score VARCHAR) Question: Name the record for score of l 77–80 (ot) [/INST] SELECT record FROM table_17288845_9 WHERE score = "L 77–80 (OT)" </s>
|
Name the high assists for houston
|
CREATE TABLE table_17288845_9 (high_assists VARCHAR, team VARCHAR)
|
SELECT high_assists FROM table_17288845_9 WHERE team = "Houston"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17288845_9 (high_assists VARCHAR, team VARCHAR) Question: Name the high assists for houston [/INST] SELECT high_assists FROM table_17288845_9 WHERE team = "Houston" </s>
|
Name the score for game 63
|
CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR)
|
SELECT score FROM table_17288845_9 WHERE game = 63
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR) Question: Name the score for game 63 [/INST] SELECT score FROM table_17288845_9 WHERE game = 63 </s>
|
How many poles did David Price Racing win?
|
CREATE TABLE table_17289224_1 (poles INTEGER, team_name VARCHAR)
|
SELECT MAX(poles) FROM table_17289224_1 WHERE team_name = "David Price Racing"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17289224_1 (poles INTEGER, team_name VARCHAR) Question: How many poles did David Price Racing win? [/INST] SELECT MAX(poles) FROM table_17289224_1 WHERE team_name = "David Price Racing" </s>
|
Who started in 2008 with 0 points?
|
CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR, points VARCHAR)
|
SELECT team_name FROM table_17289224_1 WHERE season = "2008" AND points = 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR, points VARCHAR) Question: Who started in 2008 with 0 points? [/INST] SELECT team_name FROM table_17289224_1 WHERE season = "2008" AND points = 0 </s>
|
Which team started 2010?
|
CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR)
|
SELECT team_name FROM table_17289224_1 WHERE season = "2010"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR) Question: Which team started 2010? [/INST] SELECT team_name FROM table_17289224_1 WHERE season = "2010" </s>
|
What was the max points you when when you place 9th?
|
CREATE TABLE table_17289224_1 (points INTEGER, final_placing VARCHAR)
|
SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17289224_1 (points INTEGER, final_placing VARCHAR) Question: What was the max points you when when you place 9th? [/INST] SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th" </s>
|
When the wins is 3, what is the maximum races?
|
CREATE TABLE table_17289224_1 (races INTEGER, wins VARCHAR)
|
SELECT MAX(races) FROM table_17289224_1 WHERE wins = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17289224_1 (races INTEGER, wins VARCHAR) Question: When the wins is 3, what is the maximum races? [/INST] SELECT MAX(races) FROM table_17289224_1 WHERE wins = 3 </s>
|
Name the number of former wnba team for 2
|
CREATE TABLE table_17308269_2 (former_wnba_team VARCHAR, pick VARCHAR)
|
SELECT COUNT(former_wnba_team) FROM table_17308269_2 WHERE pick = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17308269_2 (former_wnba_team VARCHAR, pick VARCHAR) Question: Name the number of former wnba team for 2 [/INST] SELECT COUNT(former_wnba_team) FROM table_17308269_2 WHERE pick = 2 </s>
|
Name the player for mercer
|
CREATE TABLE table_17308269_2 (player VARCHAR, college_country_team VARCHAR)
|
SELECT player FROM table_17308269_2 WHERE college_country_team = "Mercer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17308269_2 (player VARCHAR, college_country_team VARCHAR) Question: Name the player for mercer [/INST] SELECT player FROM table_17308269_2 WHERE college_country_team = "Mercer" </s>
|
What is the record of wins and losses for Denver's ball club?
|
CREATE TABLE table_17311759_5 (record VARCHAR, team VARCHAR)
|
SELECT record FROM table_17311759_5 WHERE team = "Denver"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17311759_5 (record VARCHAR, team VARCHAR) Question: What is the record of wins and losses for Denver's ball club? [/INST] SELECT record FROM table_17311759_5 WHERE team = "Denver" </s>
|
What was the location and the crowd attendance on December 9?
|
CREATE TABLE table_17311759_5 (location_attendance VARCHAR, date VARCHAR)
|
SELECT location_attendance FROM table_17311759_5 WHERE date = "December 9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17311759_5 (location_attendance VARCHAR, date VARCHAR) Question: What was the location and the crowd attendance on December 9? [/INST] SELECT location_attendance FROM table_17311759_5 WHERE date = "December 9" </s>
|
Who scored the most rebounds in game 64?
|
CREATE TABLE table_17311759_8 (high_rebounds VARCHAR, game VARCHAR)
|
SELECT high_rebounds FROM table_17311759_8 WHERE game = 64
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17311759_8 (high_rebounds VARCHAR, game VARCHAR) Question: Who scored the most rebounds in game 64? [/INST] SELECT high_rebounds FROM table_17311759_8 WHERE game = 64 </s>
|
How many numbers were recorded for high points when the team played against Oklahoma City?
|
CREATE TABLE table_17311783_6 (high_points VARCHAR, team VARCHAR)
|
SELECT COUNT(high_points) FROM table_17311783_6 WHERE team = "Oklahoma City"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17311783_6 (high_points VARCHAR, team VARCHAR) Question: How many numbers were recorded for high points when the team played against Oklahoma City? [/INST] SELECT COUNT(high_points) FROM table_17311783_6 WHERE team = "Oklahoma City" </s>
|
Name the high assists for yi jianlian , brook lopez (7)
|
CREATE TABLE table_17322817_6 (high_assists VARCHAR, high_rebounds VARCHAR)
|
SELECT high_assists FROM table_17322817_6 WHERE high_rebounds = "Yi Jianlian , Brook Lopez (7)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17322817_6 (high_assists VARCHAR, high_rebounds VARCHAR) Question: Name the high assists for yi jianlian , brook lopez (7) [/INST] SELECT high_assists FROM table_17322817_6 WHERE high_rebounds = "Yi Jianlian , Brook Lopez (7)" </s>
|
Name the location attendance for 20
|
CREATE TABLE table_17322817_6 (location_attendance VARCHAR, game VARCHAR)
|
SELECT location_attendance FROM table_17322817_6 WHERE game = 20
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17322817_6 (location_attendance VARCHAR, game VARCHAR) Question: Name the location attendance for 20 [/INST] SELECT location_attendance FROM table_17322817_6 WHERE game = 20 </s>
|
Name the date for l 92–103 (ot)
|
CREATE TABLE table_17322817_6 (date VARCHAR, score VARCHAR)
|
SELECT date FROM table_17322817_6 WHERE score = "L 92–103 (OT)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17322817_6 (date VARCHAR, score VARCHAR) Question: Name the date for l 92–103 (ot) [/INST] SELECT date FROM table_17322817_6 WHERE score = "L 92–103 (OT)" </s>
|
What was the record when the team played Boston?
|
CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)
|
SELECT record FROM table_17325580_10 WHERE team = "Boston"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR) Question: What was the record when the team played Boston? [/INST] SELECT record FROM table_17325580_10 WHERE team = "Boston" </s>
|
What number game had a high assist of lebron james (7) and high point of lebron james (21)?
|
CREATE TABLE table_17325580_10 (game INTEGER, high_assists VARCHAR, high_points VARCHAR)
|
SELECT MAX(game) FROM table_17325580_10 WHERE high_assists = "LeBron James (7)" AND high_points = "LeBron James (21)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17325580_10 (game INTEGER, high_assists VARCHAR, high_points VARCHAR) Question: What number game had a high assist of lebron james (7) and high point of lebron james (21)? [/INST] SELECT MAX(game) FROM table_17325580_10 WHERE high_assists = "LeBron James (7)" AND high_points = "LeBron James (21)" </s>
|
What is the lowest game number when the team is Houston?
|
CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)
|
SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR) Question: What is the lowest game number when the team is Houston? [/INST] SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston" </s>
|
What was the date when Troy Murphy (15), got high rebounds?
|
CREATE TABLE table_17326036_7 (date VARCHAR, high_rebounds VARCHAR)
|
SELECT date FROM table_17326036_7 WHERE high_rebounds = "Troy Murphy (15)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17326036_7 (date VARCHAR, high_rebounds VARCHAR) Question: What was the date when Troy Murphy (15), got high rebounds? [/INST] SELECT date FROM table_17326036_7 WHERE high_rebounds = "Troy Murphy (15)" </s>
|
Who did the High Assists when Kevin Durant (28) took the High Points?
|
CREATE TABLE table_17355628_7 (high_assists VARCHAR, high_points VARCHAR)
|
SELECT high_assists FROM table_17355628_7 WHERE high_points = "Kevin Durant (28)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355628_7 (high_assists VARCHAR, high_points VARCHAR) Question: Who did the High Assists when Kevin Durant (28) took the High Points? [/INST] SELECT high_assists FROM table_17355628_7 WHERE high_points = "Kevin Durant (28)" </s>
|
What is the score when the game took place on January 18?
|
CREATE TABLE table_17355628_7 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_17355628_7 WHERE date = "January 18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355628_7 (score VARCHAR, date VARCHAR) Question: What is the score when the game took place on January 18? [/INST] SELECT score FROM table_17355628_7 WHERE date = "January 18" </s>
|
How many games were played by team @ New Jersey?
|
CREATE TABLE table_17355628_7 (score VARCHAR, team VARCHAR)
|
SELECT COUNT(score) FROM table_17355628_7 WHERE team = "@ New Jersey"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355628_7 (score VARCHAR, team VARCHAR) Question: How many games were played by team @ New Jersey? [/INST] SELECT COUNT(score) FROM table_17355628_7 WHERE team = "@ New Jersey" </s>
|
how many times were high rebounds mehmet okur , paul millsap (6)
|
CREATE TABLE table_17355716_10 (score VARCHAR, high_rebounds VARCHAR)
|
SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = "Mehmet Okur , Paul Millsap (6)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355716_10 (score VARCHAR, high_rebounds VARCHAR) Question: how many times were high rebounds mehmet okur , paul millsap (6) [/INST] SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = "Mehmet Okur , Paul Millsap (6)" </s>
|
what is the score of the match with high points carlos boozer (20)
|
CREATE TABLE table_17355716_10 (score VARCHAR, high_points VARCHAR)
|
SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (20)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355716_10 (score VARCHAR, high_points VARCHAR) Question: what is the score of the match with high points carlos boozer (20) [/INST] SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (20)" </s>
|
what is the high rebounds stat on april 11
|
CREATE TABLE table_17355716_10 (high_rebounds VARCHAR, date VARCHAR)
|
SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 11"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355716_10 (high_rebounds VARCHAR, date VARCHAR) Question: what is the high rebounds stat on april 11 [/INST] SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 11" </s>
|
Who wrote season 10
|
CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR)
|
SELECT written_by FROM table_17355743_1 WHERE season__number = 10
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR) Question: Who wrote season 10 [/INST] SELECT written_by FROM table_17355743_1 WHERE season__number = 10 </s>
|
Name who directed the episode by joe sachs and david zabel
|
CREATE TABLE table_17355743_1 (directed_by VARCHAR, written_by VARCHAR)
|
SELECT directed_by FROM table_17355743_1 WHERE written_by = "Joe Sachs and David Zabel"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17355743_1 (directed_by VARCHAR, written_by VARCHAR) Question: Name who directed the episode by joe sachs and david zabel [/INST] SELECT directed_by FROM table_17355743_1 WHERE written_by = "Joe Sachs and David Zabel" </s>
|
What is every value for Points 2 when the value of won is 30?
|
CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR)
|
SELECT points_2 FROM table_17359181_1 WHERE won = 30
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17359181_1 (points_2 VARCHAR, won VARCHAR) Question: What is every value for Points 2 when the value of won is 30? [/INST] SELECT points_2 FROM table_17359181_1 WHERE won = 30 </s>
|
What is the lowest value of Points 2 when the goal average is 1.50?
|
CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR)
|
SELECT MIN(points_2) FROM table_17359181_1 WHERE goal_average_1 = "1.50"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR) Question: What is the lowest value of Points 2 when the goal average is 1.50? [/INST] SELECT MIN(points_2) FROM table_17359181_1 WHERE goal_average_1 = "1.50" </s>
|
How many values of goal average 1 occur when the value of goals against is 92?
|
CREATE TABLE table_17359181_1 (goal_average_1 VARCHAR, goals_against VARCHAR)
|
SELECT COUNT(goal_average_1) FROM table_17359181_1 WHERE goals_against = 92
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17359181_1 (goal_average_1 VARCHAR, goals_against VARCHAR) Question: How many values of goal average 1 occur when the value of goals against is 92? [/INST] SELECT COUNT(goal_average_1) FROM table_17359181_1 WHERE goals_against = 92 </s>
|
What is the highest value for Points 2 when the goal average 1 is 0.65?
|
CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR)
|
SELECT MAX(points_2) FROM table_17359181_1 WHERE goal_average_1 = "0.65"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR) Question: What is the highest value for Points 2 when the goal average 1 is 0.65? [/INST] SELECT MAX(points_2) FROM table_17359181_1 WHERE goal_average_1 = "0.65" </s>
|
How many dates had a final score of w 118-112?
|
CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR)
|
SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17382360_9 (date VARCHAR, score VARCHAR) Question: How many dates had a final score of w 118-112? [/INST] SELECT COUNT(date) FROM table_17382360_9 WHERE score = "W 118-112" </s>
|
What was the location and attendance at the game where the final score is w 118-112?
|
CREATE TABLE table_17382360_9 (location_attendance VARCHAR, score VARCHAR)
|
SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17382360_9 (location_attendance VARCHAR, score VARCHAR) Question: What was the location and attendance at the game where the final score is w 118-112? [/INST] SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112" </s>
|
Who had the high rebounds in the game with a final score of w 140-108?
|
CREATE TABLE table_17382360_9 (high_rebounds VARCHAR, score VARCHAR)
|
SELECT high_rebounds FROM table_17382360_9 WHERE score = "W 140-108"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17382360_9 (high_rebounds VARCHAR, score VARCHAR) Question: Who had the high rebounds in the game with a final score of w 140-108? [/INST] SELECT high_rebounds FROM table_17382360_9 WHERE score = "W 140-108" </s>
|
in what date was aired the first broacast of the episode 1x02
|
CREATE TABLE table_17413485_1 (first_broadcast VARCHAR, episode VARCHAR)
|
SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17413485_1 (first_broadcast VARCHAR, episode VARCHAR) Question: in what date was aired the first broacast of the episode 1x02 [/INST] SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.