instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What township is located at longitude -99.287270?
|
CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR)
|
SELECT township FROM table_18600760_9 WHERE longitude = "-99.287270"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR) Question: What township is located at longitude -99.287270? [/INST] SELECT township FROM table_18600760_9 WHERE longitude = "-99.287270" </s>
|
What is the longitude of the township at ANSI code 1759682?
|
CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR)
|
SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR) Question: What is the longitude of the township at ANSI code 1759682? [/INST] SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682 </s>
|
How many square miles of water does the township at latitude 48.064751 have?
|
CREATE TABLE table_18600760_9 (water__sqmi_ VARCHAR, latitude VARCHAR)
|
SELECT water__sqmi_ FROM table_18600760_9 WHERE latitude = "48.064751"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_9 (water__sqmi_ VARCHAR, latitude VARCHAR) Question: How many square miles of water does the township at latitude 48.064751 have? [/INST] SELECT water__sqmi_ FROM table_18600760_9 WHERE latitude = "48.064751" </s>
|
What is the geo code of the township with ANSI code 1759243?
|
CREATE TABLE table_18600760_9 (geo_id VARCHAR, ansi_code VARCHAR)
|
SELECT geo_id FROM table_18600760_9 WHERE ansi_code = 1759243
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18600760_9 (geo_id VARCHAR, ansi_code VARCHAR) Question: What is the geo code of the township with ANSI code 1759243? [/INST] SELECT geo_id FROM table_18600760_9 WHERE ansi_code = 1759243 </s>
|
When santiago del estero is the hometown who is the contestant?
|
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)
|
SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) Question: When santiago del estero is the hometown who is the contestant? [/INST] SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero" </s>
|
When belarus is the country what is the hometown?
|
CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR)
|
SELECT hometown FROM table_18626383_2 WHERE country = "Belarus"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) Question: When belarus is the country what is the hometown? [/INST] SELECT hometown FROM table_18626383_2 WHERE country = "Belarus" </s>
|
When bahamas is the country what is the height in centimeters?
|
CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, country VARCHAR)
|
SELECT height__cm_ FROM table_18626383_2 WHERE country = "Bahamas"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, country VARCHAR) Question: When bahamas is the country what is the height in centimeters? [/INST] SELECT height__cm_ FROM table_18626383_2 WHERE country = "Bahamas" </s>
|
When finland is the country how many hometowns are there?
|
CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR)
|
SELECT COUNT(hometown) FROM table_18626383_2 WHERE country = "Finland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) Question: When finland is the country how many hometowns are there? [/INST] SELECT COUNT(hometown) FROM table_18626383_2 WHERE country = "Finland" </s>
|
When johannesburg is the hometown who is the contestant?
|
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)
|
SELECT contestant FROM table_18626383_2 WHERE hometown = "Johannesburg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) Question: When johannesburg is the hometown who is the contestant? [/INST] SELECT contestant FROM table_18626383_2 WHERE hometown = "Johannesburg" </s>
|
When valora roucek is the contestant how many heights in centimeters are there?
|
CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, contestant VARCHAR)
|
SELECT COUNT(height__cm_) FROM table_18626383_2 WHERE contestant = "Valora Roucek"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, contestant VARCHAR) Question: When valora roucek is the contestant how many heights in centimeters are there? [/INST] SELECT COUNT(height__cm_) FROM table_18626383_2 WHERE contestant = "Valora Roucek" </s>
|
Name the round 1 for team event
|
CREATE TABLE table_18646111_13 (round_1 VARCHAR, event VARCHAR)
|
SELECT round_1 FROM table_18646111_13 WHERE event = "Team"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18646111_13 (round_1 VARCHAR, event VARCHAR) Question: Name the round 1 for team event [/INST] SELECT round_1 FROM table_18646111_13 WHERE event = "Team" </s>
|
Name the number of semifinals for tt2
|
CREATE TABLE table_18646111_13 (semifinals VARCHAR, class VARCHAR)
|
SELECT COUNT(semifinals) FROM table_18646111_13 WHERE class = "TT2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18646111_13 (semifinals VARCHAR, class VARCHAR) Question: Name the number of semifinals for tt2 [/INST] SELECT COUNT(semifinals) FROM table_18646111_13 WHERE class = "TT2" </s>
|
Name the 1/8 finals for round 1 n/a
|
CREATE TABLE table_18646111_13 (round_1 VARCHAR)
|
SELECT 1 AS _8_finals FROM table_18646111_13 WHERE round_1 = "N/A"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18646111_13 (round_1 VARCHAR) Question: Name the 1/8 finals for round 1 n/a [/INST] SELECT 1 AS _8_finals FROM table_18646111_13 WHERE round_1 = "N/A" </s>
|
Name the total number of round 3 for class tt1
|
CREATE TABLE table_18646111_13 (round_3 VARCHAR, class VARCHAR)
|
SELECT COUNT(round_3) FROM table_18646111_13 WHERE class = "TT1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18646111_13 (round_3 VARCHAR, class VARCHAR) Question: Name the total number of round 3 for class tt1 [/INST] SELECT COUNT(round_3) FROM table_18646111_13 WHERE class = "TT1" </s>
|
Name the event for hans ruep
|
CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR)
|
SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR) Question: Name the event for hans ruep [/INST] SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep" </s>
|
When 4 is the v-band what is the overall amount of ka-bands?
|
CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR)
|
SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR) Question: When 4 is the v-band what is the overall amount of ka-bands? [/INST] SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4" </s>
|
When 8.3 is the q-band what is the property?
|
CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR)
|
SELECT property FROM table_186468_1 WHERE q_band = "8.3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR) Question: When 8.3 is the q-band what is the property? [/INST] SELECT property FROM table_186468_1 WHERE q_band = "8.3" </s>
|
When 5.5 is the l-band what is the v-band?
|
CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR)
|
SELECT v_band FROM table_186468_1 WHERE k_band = "5.5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR) Question: When 5.5 is the l-band what is the v-band? [/INST] SELECT v_band FROM table_186468_1 WHERE k_band = "5.5" </s>
|
When 2 is the k-band what is the v-band?
|
CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR)
|
SELECT v_band FROM table_186468_1 WHERE k_band = "2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR) Question: When 2 is the k-band what is the v-band? [/INST] SELECT v_band FROM table_186468_1 WHERE k_band = "2" </s>
|
When 2 is the ka-band how many properties are there?
|
CREATE TABLE table_186468_1 (property VARCHAR, ka_band VARCHAR)
|
SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_186468_1 (property VARCHAR, ka_band VARCHAR) Question: When 2 is the ka-band how many properties are there? [/INST] SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2" </s>
|
When olympikus is the main sponsor who is the secondary sponsor?
|
CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR)
|
SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Olympikus"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR) Question: When olympikus is the main sponsor who is the secondary sponsor? [/INST] SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Olympikus" </s>
|
When ale is the main sponsor who is the secondary sponsor?
|
CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR)
|
SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Ale"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR) Question: When ale is the main sponsor who is the secondary sponsor? [/INST] SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Ale" </s>
|
When tim brasil brokers are the minor sponsors who is the kit manufacturer?
|
CREATE TABLE table_187239_1 (kit_manufacturer VARCHAR, minor_sponsors VARCHAR)
|
SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = "Tim Brasil Brokers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_187239_1 (kit_manufacturer VARCHAR, minor_sponsors VARCHAR) Question: When tim brasil brokers are the minor sponsors who is the kit manufacturer? [/INST] SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = "Tim Brasil Brokers" </s>
|
When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors?
|
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, main_sponsor VARCHAR)
|
SELECT minor_sponsors FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND main_sponsor = "Batavo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, main_sponsor VARCHAR) Question: When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors? [/INST] SELECT minor_sponsors FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND main_sponsor = "Batavo" </s>
|
When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?
|
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR)
|
SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR) Question: When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there? [/INST] SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011" </s>
|
What season episode is written by neil thompson?
|
CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR)
|
SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR) Question: What season episode is written by neil thompson? [/INST] SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson" </s>
|
What was the original air for the 06-03-521 production code?
|
CREATE TABLE table_1876825_6 (original_air_date VARCHAR, production_code VARCHAR)
|
SELECT original_air_date FROM table_1876825_6 WHERE production_code = "06-03-521"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1876825_6 (original_air_date VARCHAR, production_code VARCHAR) Question: What was the original air for the 06-03-521 production code? [/INST] SELECT original_air_date FROM table_1876825_6 WHERE production_code = "06-03-521" </s>
|
What episode number in the series aired on February 8, 2004?
|
CREATE TABLE table_1876825_6 (no_in_series INTEGER, original_air_date VARCHAR)
|
SELECT MAX(no_in_series) FROM table_1876825_6 WHERE original_air_date = "February 8, 2004"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1876825_6 (no_in_series INTEGER, original_air_date VARCHAR) Question: What episode number in the series aired on February 8, 2004? [/INST] SELECT MAX(no_in_series) FROM table_1876825_6 WHERE original_air_date = "February 8, 2004" </s>
|
In season 5 what episode number was production 06-03-519?
|
CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR)
|
SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR) Question: In season 5 what episode number was production 06-03-519? [/INST] SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519" </s>
|
What was the minimum score for r2?
|
CREATE TABLE table_18812411_3 (r2 INTEGER)
|
SELECT MIN(r2) FROM table_18812411_3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18812411_3 (r2 INTEGER) Question: What was the minimum score for r2? [/INST] SELECT MIN(r2) FROM table_18812411_3 </s>
|
What country had a r3 at 72, by Larry Mize?
|
CREATE TABLE table_18812411_3 (country VARCHAR, r3 VARCHAR, player VARCHAR)
|
SELECT country FROM table_18812411_3 WHERE r3 = 72 AND player = "Larry Mize"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18812411_3 (country VARCHAR, r3 VARCHAR, player VARCHAR) Question: What country had a r3 at 72, by Larry Mize? [/INST] SELECT country FROM table_18812411_3 WHERE r3 = 72 AND player = "Larry Mize" </s>
|
How many times did Fiji win r1?
|
CREATE TABLE table_18812411_3 (r1 VARCHAR, country VARCHAR)
|
SELECT COUNT(r1) FROM table_18812411_3 WHERE country = "Fiji"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18812411_3 (r1 VARCHAR, country VARCHAR) Question: How many times did Fiji win r1? [/INST] SELECT COUNT(r1) FROM table_18812411_3 WHERE country = "Fiji" </s>
|
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?
|
CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR)
|
SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR) Question: How many figures are given for the Socialists in the case where the Social Democrats received 42.2%? [/INST] SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%" </s>
|
What date did the Green-Communists receive 5.7%?
|
CREATE TABLE table_1881642_1 (date_released VARCHAR, green_communist VARCHAR)
|
SELECT date_released FROM table_1881642_1 WHERE green_communist = "5.7%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1881642_1 (date_released VARCHAR, green_communist VARCHAR) Question: What date did the Green-Communists receive 5.7%? [/INST] SELECT date_released FROM table_1881642_1 WHERE green_communist = "5.7%" </s>
|
If the PCT is 0.514, what was the minimum OTL?
|
CREATE TABLE table_1888165_1 (Otl INTEGER, PCt VARCHAR)
|
SELECT MIN(Otl) FROM table_1888165_1 WHERE PCt = 0.514
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1888165_1 (Otl INTEGER, PCt VARCHAR) Question: If the PCT is 0.514, what was the minimum OTL? [/INST] SELECT MIN(Otl) FROM table_1888165_1 WHERE PCt = 0.514 </s>
|
What was the minimum OTL amount?
|
CREATE TABLE table_1888165_1 (Otl INTEGER)
|
SELECT MIN(Otl) FROM table_1888165_1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1888165_1 (Otl INTEGER) Question: What was the minimum OTL amount? [/INST] SELECT MIN(Otl) FROM table_1888165_1 </s>
|
Name the least events for japan
|
CREATE TABLE table_18888159_1 (events INTEGER, country VARCHAR)
|
SELECT MIN(events) FROM table_18888159_1 WHERE country = "Japan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18888159_1 (events INTEGER, country VARCHAR) Question: Name the least events for japan [/INST] SELECT MIN(events) FROM table_18888159_1 WHERE country = "Japan" </s>
|
Name the country for 22 events
|
CREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR)
|
SELECT country FROM table_18888159_1 WHERE events = 22
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR) Question: Name the country for 22 events [/INST] SELECT country FROM table_18888159_1 WHERE events = 22 </s>
|
Name the number for fiji
|
CREATE TABLE table_18888159_1 (_number VARCHAR, country VARCHAR)
|
SELECT _number FROM table_18888159_1 WHERE country = "Fiji"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18888159_1 (_number VARCHAR, country VARCHAR) Question: Name the number for fiji [/INST] SELECT _number FROM table_18888159_1 WHERE country = "Fiji" </s>
|
Name the total number of points for number 6
|
CREATE TABLE table_18888159_1 (points VARCHAR, _number VARCHAR)
|
SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18888159_1 (points VARCHAR, _number VARCHAR) Question: Name the total number of points for number 6 [/INST] SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6 </s>
|
What is the location that had a driver named Pierre de Caters?
|
CREATE TABLE table_18893428_1 (location VARCHAR, driver VARCHAR)
|
SELECT location FROM table_18893428_1 WHERE driver = "Pierre de Caters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (location VARCHAR, driver VARCHAR) Question: What is the location that had a driver named Pierre de Caters? [/INST] SELECT location FROM table_18893428_1 WHERE driver = "Pierre de Caters" </s>
|
Who is the constructor for the car driven by George Heath?
|
CREATE TABLE table_18893428_1 (constructor VARCHAR, driver VARCHAR)
|
SELECT constructor FROM table_18893428_1 WHERE driver = "George Heath"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (constructor VARCHAR, driver VARCHAR) Question: Who is the constructor for the car driven by George Heath? [/INST] SELECT constructor FROM table_18893428_1 WHERE driver = "George Heath" </s>
|
What is the total number of drivers who have cars constructed by Mercedes-Benz?
|
CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR)
|
SELECT COUNT(driver) FROM table_18893428_1 WHERE constructor = "Mercedes-Benz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR) Question: What is the total number of drivers who have cars constructed by Mercedes-Benz? [/INST] SELECT COUNT(driver) FROM table_18893428_1 WHERE constructor = "Mercedes-Benz" </s>
|
What is the location of the car that has a constructor of Lorraine-Dietrich?
|
CREATE TABLE table_18893428_1 (location VARCHAR, constructor VARCHAR)
|
SELECT location FROM table_18893428_1 WHERE constructor = "Lorraine-Dietrich"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (location VARCHAR, constructor VARCHAR) Question: What is the location of the car that has a constructor of Lorraine-Dietrich? [/INST] SELECT location FROM table_18893428_1 WHERE constructor = "Lorraine-Dietrich" </s>
|
How many times did Charles Jarrott report?
|
CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR)
|
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR) Question: How many times did Charles Jarrott report? [/INST] SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott" </s>
|
Who is the driver of the entry constructed by Mercedes-Benz?
|
CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR)
|
SELECT driver FROM table_18893428_1 WHERE constructor = "Mercedes-Benz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR) Question: Who is the driver of the entry constructed by Mercedes-Benz? [/INST] SELECT driver FROM table_18893428_1 WHERE constructor = "Mercedes-Benz" </s>
|
What is the used (kb) when the graphics mode is 4?
|
CREATE TABLE table_18950885_3 (used__kb_ INTEGER, graphics_mode VARCHAR)
|
SELECT MIN(used__kb_) FROM table_18950885_3 WHERE graphics_mode = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18950885_3 (used__kb_ INTEGER, graphics_mode VARCHAR) Question: What is the used (kb) when the graphics mode is 4? [/INST] SELECT MIN(used__kb_) FROM table_18950885_3 WHERE graphics_mode = 4 </s>
|
If graphics mode is less than 1.0, what are the char cells?
|
CREATE TABLE table_18950885_3 (char_cells VARCHAR, graphics_mode INTEGER)
|
SELECT char_cells FROM table_18950885_3 WHERE graphics_mode < 1.0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18950885_3 (char_cells VARCHAR, graphics_mode INTEGER) Question: If graphics mode is less than 1.0, what are the char cells? [/INST] SELECT char_cells FROM table_18950885_3 WHERE graphics_mode < 1.0 </s>
|
What is the smallest converted value at number 19?
|
CREATE TABLE table_1895522_2 (converted INTEGER, number VARCHAR)
|
SELECT MIN(converted) FROM table_1895522_2 WHERE number = "19"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1895522_2 (converted INTEGER, number VARCHAR) Question: What is the smallest converted value at number 19? [/INST] SELECT MIN(converted) FROM table_1895522_2 WHERE number = "19" </s>
|
Name the original title for the last metro
|
CREATE TABLE table_18987377_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
|
SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18987377_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: Name the original title for the last metro [/INST] SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro" </s>
|
Name the film title for andré téchiné category:articles with hcards
|
CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)
|
SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "André Téchiné Category:Articles with hCards"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) Question: Name the film title for andré téchiné category:articles with hcards [/INST] SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "André Téchiné Category:Articles with hCards" </s>
|
Name the director for coup de torchon
|
CREATE TABLE table_18987377_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)
|
SELECT director FROM table_18987377_1 WHERE film_title_used_in_nomination = "Coup de Torchon"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18987377_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) Question: Name the director for coup de torchon [/INST] SELECT director FROM table_18987377_1 WHERE film_title_used_in_nomination = "Coup de Torchon" </s>
|
Name the film titled for marcel camus category:articles with hcards
|
CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)
|
SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "Marcel Camus Category:Articles with hCards"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) Question: Name the film titled for marcel camus category:articles with hcards [/INST] SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "Marcel Camus Category:Articles with hCards" </s>
|
When cindy miranda is the name what is the home or representative town or province?
|
CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR)
|
SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR) Question: When cindy miranda is the name what is the home or representative town or province? [/INST] SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda" </s>
|
When nel rapiz is the name what is the status?
|
CREATE TABLE table_19061741_1 (status VARCHAR, name VARCHAR)
|
SELECT status FROM table_19061741_1 WHERE name = "Nel Rapiz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19061741_1 (status VARCHAR, name VARCHAR) Question: When nel rapiz is the name what is the status? [/INST] SELECT status FROM table_19061741_1 WHERE name = "Nel Rapiz" </s>
|
When day 8-36 is the duration what is the season?
|
CREATE TABLE table_19061741_1 (season VARCHAR, duration VARCHAR)
|
SELECT season FROM table_19061741_1 WHERE duration = "Day 8-36"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19061741_1 (season VARCHAR, duration VARCHAR) Question: When day 8-36 is the duration what is the season? [/INST] SELECT season FROM table_19061741_1 WHERE duration = "Day 8-36" </s>
|
When luz mcclinton is the name what is the season?
|
CREATE TABLE table_19061741_1 (season VARCHAR, name VARCHAR)
|
SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19061741_1 (season VARCHAR, name VARCHAR) Question: When luz mcclinton is the name what is the season? [/INST] SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton" </s>
|
When yen galagnara is the name what is the highest total days in the pbb house?
|
CREATE TABLE table_19061741_1 (total_days_in_pbb_house INTEGER, name VARCHAR)
|
SELECT MAX(total_days_in_pbb_house) FROM table_19061741_1 WHERE name = "Yen Galagnara"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19061741_1 (total_days_in_pbb_house INTEGER, name VARCHAR) Question: When yen galagnara is the name what is the highest total days in the pbb house? [/INST] SELECT MAX(total_days_in_pbb_house) FROM table_19061741_1 WHERE name = "Yen Galagnara" </s>
|
How many match numbers have team europe listed as osku palermaa?
|
CREATE TABLE table_19072602_2 (match_no VARCHAR, team_europe VARCHAR)
|
SELECT COUNT(match_no) FROM table_19072602_2 WHERE team_europe = "Osku Palermaa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19072602_2 (match_no VARCHAR, team_europe VARCHAR) Question: How many match numbers have team europe listed as osku palermaa? [/INST] SELECT COUNT(match_no) FROM table_19072602_2 WHERE team_europe = "Osku Palermaa" </s>
|
When osku palermaa is on the europe team how many match numbers are there?
|
CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR)
|
SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR) Question: When osku palermaa is on the europe team how many match numbers are there? [/INST] SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa" </s>
|
When paul moor is on the europe team who is on the usa team?
|
CREATE TABLE table_19072602_5 (team_usa VARCHAR, team_europe VARCHAR)
|
SELECT team_usa FROM table_19072602_5 WHERE team_europe = "Paul Moor"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19072602_5 (team_usa VARCHAR, team_europe VARCHAR) Question: When paul moor is on the europe team who is on the usa team? [/INST] SELECT team_usa FROM table_19072602_5 WHERE team_europe = "Paul Moor" </s>
|
Name the mountains classification for team columbia
|
CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, team_classification VARCHAR)
|
SELECT mountains_classification FROM table_19115414_4 WHERE team_classification = "Team Columbia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, team_classification VARCHAR) Question: Name the mountains classification for team columbia [/INST] SELECT mountains_classification FROM table_19115414_4 WHERE team_classification = "Team Columbia" </s>
|
Name the number of stage winners for team columbia
|
CREATE TABLE table_19115414_4 (stage__winner_ VARCHAR, team_classification VARCHAR)
|
SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19115414_4 (stage__winner_ VARCHAR, team_classification VARCHAR) Question: Name the number of stage winners for team columbia [/INST] SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia" </s>
|
Name the mountains classification for alexander kristoff
|
CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, points_classification VARCHAR)
|
SELECT mountains_classification FROM table_19115414_4 WHERE points_classification = "Alexander Kristoff"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, points_classification VARCHAR) Question: Name the mountains classification for alexander kristoff [/INST] SELECT mountains_classification FROM table_19115414_4 WHERE points_classification = "Alexander Kristoff" </s>
|
How much is the other black population when the black African population is 37811?
|
CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR)
|
SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR) Question: How much is the other black population when the black African population is 37811? [/INST] SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811 </s>
|
Where are the london borough with the black caribbean population of 17974?
|
CREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR)
|
SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR) Question: Where are the london borough with the black caribbean population of 17974? [/INST] SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974 </s>
|
What is the rank of london borough in southwark?
|
CREATE TABLE table_19149550_7 (rank VARCHAR, london_borough VARCHAR)
|
SELECT rank FROM table_19149550_7 WHERE london_borough = "Southwark"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_7 (rank VARCHAR, london_borough VARCHAR) Question: What is the rank of london borough in southwark? [/INST] SELECT rank FROM table_19149550_7 WHERE london_borough = "Southwark" </s>
|
What is the black caribbean population when the other black population is 2243?
|
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR)
|
SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR) Question: What is the black caribbean population when the other black population is 2243? [/INST] SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243 </s>
|
What is the black caribbean population when the black African population is less than 10552.0?
|
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, black_african_population INTEGER)
|
SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, black_african_population INTEGER) Question: What is the black caribbean population when the black African population is less than 10552.0? [/INST] SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.0 </s>
|
What time slot had an adult rating of 0.6?
|
CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR)
|
SELECT timeslot FROM table_19188562_2 WHERE rating__adults_18_49_ = "0.6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR) Question: What time slot had an adult rating of 0.6? [/INST] SELECT timeslot FROM table_19188562_2 WHERE rating__adults_18_49_ = "0.6" </s>
|
What season finale date has 2.02 million u.s. Viewers?
|
CREATE TABLE table_19188562_2 (season VARCHAR, us_viewers__in_millions_ VARCHAR)
|
SELECT season AS finale FROM table_19188562_2 WHERE us_viewers__in_millions_ = "2.02"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19188562_2 (season VARCHAR, us_viewers__in_millions_ VARCHAR) Question: What season finale date has 2.02 million u.s. Viewers? [/INST] SELECT season AS finale FROM table_19188562_2 WHERE us_viewers__in_millions_ = "2.02" </s>
|
How many million u.s. Viewers watched season 1?
|
CREATE TABLE table_19188562_2 (us_viewers__in_millions_ VARCHAR, season VARCHAR)
|
SELECT us_viewers__in_millions_ FROM table_19188562_2 WHERE season = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19188562_2 (us_viewers__in_millions_ VARCHAR, season VARCHAR) Question: How many million u.s. Viewers watched season 1? [/INST] SELECT us_viewers__in_millions_ FROM table_19188562_2 WHERE season = 1 </s>
|
How many tv series had an adult rating of 1.2?
|
CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR)
|
SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR) Question: How many tv series had an adult rating of 1.2? [/INST] SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2" </s>
|
Where is the University that is also called Hawks?
|
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)
|
SELECT location FROM table_19210115_1 WHERE nickname = "Hawks"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) Question: Where is the University that is also called Hawks? [/INST] SELECT location FROM table_19210115_1 WHERE nickname = "Hawks" </s>
|
Where is the University that is also called Owls?
|
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)
|
SELECT location FROM table_19210115_1 WHERE nickname = "Owls"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) Question: Where is the University that is also called Owls? [/INST] SELECT location FROM table_19210115_1 WHERE nickname = "Owls" </s>
|
How many University founded in 1863?
|
CREATE TABLE table_19210115_1 (enrollment VARCHAR, founded VARCHAR)
|
SELECT COUNT(enrollment) FROM table_19210115_1 WHERE founded = 1863
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (enrollment VARCHAR, founded VARCHAR) Question: How many University founded in 1863? [/INST] SELECT COUNT(enrollment) FROM table_19210115_1 WHERE founded = 1863 </s>
|
Where is the University that plays in the American Athletic Conference?
|
CREATE TABLE table_19210115_1 (location VARCHAR, conference VARCHAR)
|
SELECT location FROM table_19210115_1 WHERE conference = "American Athletic conference"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (location VARCHAR, conference VARCHAR) Question: Where is the University that plays in the American Athletic Conference? [/INST] SELECT location FROM table_19210115_1 WHERE conference = "American Athletic conference" </s>
|
What is the affiliation of the University called Explorers?
|
CREATE TABLE table_19210115_1 (affiliation VARCHAR, nickname VARCHAR)
|
SELECT affiliation FROM table_19210115_1 WHERE nickname = "Explorers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (affiliation VARCHAR, nickname VARCHAR) Question: What is the affiliation of the University called Explorers? [/INST] SELECT affiliation FROM table_19210115_1 WHERE nickname = "Explorers" </s>
|
What is the nickname of Drexel University?
|
CREATE TABLE table_19210115_1 (nickname VARCHAR, institution VARCHAR)
|
SELECT nickname FROM table_19210115_1 WHERE institution = "Drexel University"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19210115_1 (nickname VARCHAR, institution VARCHAR) Question: What is the nickname of Drexel University? [/INST] SELECT nickname FROM table_19210115_1 WHERE institution = "Drexel University" </s>
|
What is the brand in Metro Manila?
|
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)
|
SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR) Question: What is the brand in Metro Manila? [/INST] SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila" </s>
|
What is the brand in Cabanatuan?
|
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)
|
SELECT branding FROM table_19215259_1 WHERE location = "Cabanatuan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR) Question: What is the brand in Cabanatuan? [/INST] SELECT branding FROM table_19215259_1 WHERE location = "Cabanatuan" </s>
|
What is the power at the cebu station?
|
CREATE TABLE table_19215259_1 (power__kw_ VARCHAR, location VARCHAR)
|
SELECT power__kw_ FROM table_19215259_1 WHERE location = "Cebu"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (power__kw_ VARCHAR, location VARCHAR) Question: What is the power at the cebu station? [/INST] SELECT power__kw_ FROM table_19215259_1 WHERE location = "Cebu" </s>
|
What is the frequency of 101.5 News FM?
|
CREATE TABLE table_19215259_1 (frequency VARCHAR, branding VARCHAR)
|
SELECT frequency FROM table_19215259_1 WHERE branding = "101.5 News FM"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (frequency VARCHAR, branding VARCHAR) Question: What is the frequency of 101.5 News FM? [/INST] SELECT frequency FROM table_19215259_1 WHERE branding = "101.5 News FM" </s>
|
Where is the frequency 102.3mhz and 5kw power?
|
CREATE TABLE table_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR)
|
SELECT location FROM table_19215259_1 WHERE power__kw_ = "5kW" AND frequency = "102.3MHz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR) Question: Where is the frequency 102.3mhz and 5kw power? [/INST] SELECT location FROM table_19215259_1 WHERE power__kw_ = "5kW" AND frequency = "102.3MHz" </s>
|
Where is the frequency 92.3mhz?
|
CREATE TABLE table_19215259_1 (location VARCHAR, frequency VARCHAR)
|
SELECT location FROM table_19215259_1 WHERE frequency = "92.3MHz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19215259_1 (location VARCHAR, frequency VARCHAR) Question: Where is the frequency 92.3mhz? [/INST] SELECT location FROM table_19215259_1 WHERE frequency = "92.3MHz" </s>
|
What is the highest no.?
|
CREATE TABLE table_1924975_1 (no INTEGER)
|
SELECT MAX(no) FROM table_1924975_1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1924975_1 (no INTEGER) Question: What is the highest no.? [/INST] SELECT MAX(no) FROM table_1924975_1 </s>
|
What is the q1+q2 time in which q1 is 1:18.574?
|
CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)
|
SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR) Question: What is the q1+q2 time in which q1 is 1:18.574? [/INST] SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574" </s>
|
when q1 pos is 8 what is the q1+q2 time?
|
CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_pos VARCHAR)
|
SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_pos = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_pos VARCHAR) Question: when q1 pos is 8 what is the q1+q2 time? [/INST] SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_pos = 8 </s>
|
when the q1+q2 time was 2.34.736, what was the total pos number?
|
CREATE TABLE table_1924975_1 (pos VARCHAR, q1 VARCHAR, q2_time VARCHAR)
|
SELECT COUNT(pos) FROM table_1924975_1 WHERE q1 + q2_time = "2.34.736"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1924975_1 (pos VARCHAR, q1 VARCHAR, q2_time VARCHAR) Question: when the q1+q2 time was 2.34.736, what was the total pos number? [/INST] SELECT COUNT(pos) FROM table_1924975_1 WHERE q1 + q2_time = "2.34.736" </s>
|
When the q1 time is 1:16.218 what is the highest q1 pos?
|
CREATE TABLE table_1924975_1 (q1_pos INTEGER, q1_time VARCHAR)
|
SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1924975_1 (q1_pos INTEGER, q1_time VARCHAR) Question: When the q1 time is 1:16.218 what is the highest q1 pos? [/INST] SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218" </s>
|
What is the lowest fiscal year if total vehicles is 490?
|
CREATE TABLE table_19255192_1 (fiscal_year INTEGER, total_vehicles VARCHAR)
|
SELECT MIN(fiscal_year) FROM table_19255192_1 WHERE total_vehicles = 490
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19255192_1 (fiscal_year INTEGER, total_vehicles VARCHAR) Question: What is the lowest fiscal year if total vehicles is 490? [/INST] SELECT MIN(fiscal_year) FROM table_19255192_1 WHERE total_vehicles = 490 </s>
|
Name the degree for otorhinolaryngology
|
CREATE TABLE table_19304764_2 (degree_diploma VARCHAR, discipline VARCHAR)
|
SELECT degree_diploma FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19304764_2 (degree_diploma VARCHAR, discipline VARCHAR) Question: Name the degree for otorhinolaryngology [/INST] SELECT degree_diploma FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology" </s>
|
Name the total seats for otorhinolaryngology
|
CREATE TABLE table_19304764_2 (total_seats VARCHAR, discipline VARCHAR)
|
SELECT total_seats FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19304764_2 (total_seats VARCHAR, discipline VARCHAR) Question: Name the total seats for otorhinolaryngology [/INST] SELECT total_seats FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology" </s>
|
Name the recognised seats for pharmacology
|
CREATE TABLE table_19304764_2 (recognised_seats VARCHAR, discipline VARCHAR)
|
SELECT recognised_seats FROM table_19304764_2 WHERE discipline = "Pharmacology"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19304764_2 (recognised_seats VARCHAR, discipline VARCHAR) Question: Name the recognised seats for pharmacology [/INST] SELECT recognised_seats FROM table_19304764_2 WHERE discipline = "Pharmacology" </s>
|
Name the total number of seats for general surgery
|
CREATE TABLE table_19304764_2 (permitted_seats VARCHAR, discipline VARCHAR)
|
SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19304764_2 (permitted_seats VARCHAR, discipline VARCHAR) Question: Name the total number of seats for general surgery [/INST] SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery" </s>
|
Name the least recognised seats
|
CREATE TABLE table_19304764_2 (recognised_seats INTEGER)
|
SELECT MIN(recognised_seats) FROM table_19304764_2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19304764_2 (recognised_seats INTEGER) Question: Name the least recognised seats [/INST] SELECT MIN(recognised_seats) FROM table_19304764_2 </s>
|
How many nations do the FMS international team represent?
|
CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR)
|
SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR) Question: How many nations do the FMS international team represent? [/INST] SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International" </s>
|
What is the smallest number of fastest laps listed?
|
CREATE TABLE table_19312274_3 (fastest_laps INTEGER)
|
SELECT MIN(fastest_laps) FROM table_19312274_3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19312274_3 (fastest_laps INTEGER) Question: What is the smallest number of fastest laps listed? [/INST] SELECT MIN(fastest_laps) FROM table_19312274_3 </s>
|
How many championship titles for LRS Formula / Laurent Rédon Motorsport?
|
CREATE TABLE table_19312274_3 (championship_titles VARCHAR, name VARCHAR)
|
SELECT championship_titles FROM table_19312274_3 WHERE name = "LRS Formula / Laurent Rédon Motorsport"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19312274_3 (championship_titles VARCHAR, name VARCHAR) Question: How many championship titles for LRS Formula / Laurent Rédon Motorsport? [/INST] SELECT championship_titles FROM table_19312274_3 WHERE name = "LRS Formula / Laurent Rédon Motorsport" </s>
|
What's the version of AutoCAD Architectural Desktop 3?
|
CREATE TABLE table_19329117_1 (version VARCHAR, official_name VARCHAR)
|
SELECT version FROM table_19329117_1 WHERE official_name = "AutoCAD Architectural Desktop 3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_19329117_1 (version VARCHAR, official_name VARCHAR) Question: What's the version of AutoCAD Architectural Desktop 3? [/INST] SELECT version FROM table_19329117_1 WHERE official_name = "AutoCAD Architectural Desktop 3" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.