text
stringlengths 380
1.33k
|
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the elimination number of the fighter who fought within 26:15?
### Context:
CREATE TABLE table_18598175_2 (elimination_number INTEGER, time VARCHAR) [/INST]
### Response:
SELECT MAX(elimination_number) FROM table_18598175_2 WHERE time = "26:15" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the longitude in 35.992 sqmi
### Context:
CREATE TABLE table_18600760_2 (longitude VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_18600760_2 WHERE land___sqmi__ = "35.992" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many townships where pop (2010) and ater is 0.818
### Context:
CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the name of the townships with 32.222 land
### Context:
CREATE TABLE table_18600760_19 (township VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_19 WHERE land___sqmi__ = "32.222" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many lands with longitude of -100.895783 are?
### Context:
CREATE TABLE table_18600760_19 (land___sqmi__ VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many geo id with 48.578664 are
### Context:
CREATE TABLE table_18600760_19 (geo_id VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT COUNT(geo_id) FROM table_18600760_19 WHERE latitude = "48.578664" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the latitude in the township where wate is 0.288
### Context:
CREATE TABLE table_18600760_19 (latitude VARCHAR, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_18600760_19 WHERE water__sqmi_ = "0.288" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how is called the township where the latitude is 47.377790
### Context:
CREATE TABLE table_18600760_19 (township VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_19 WHERE latitude = "47.377790" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
where the land is 35.990 what is the number of the geo id
### Context:
CREATE TABLE table_18600760_19 (geo_id VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT geo_id FROM table_18600760_19 WHERE land___sqmi__ = "35.990" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the land where geo id is 3807717980
### Context:
CREATE TABLE table_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_4 WHERE geo_id = 3807717980 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the latitude for deer lake
### Context:
CREATE TABLE table_18600760_4 (latitude VARCHAR, township VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_18600760_4 WHERE township = "Deer Lake" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the water square milage is 1.701, what is the land square milage?
### Context:
CREATE TABLE table_18600760_7 (land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) [/INST]
### Response:
SELECT land___sqmi__ FROM table_18600760_7 WHERE water__sqmi_ = "1.701" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In Cavalier County and the geo id is larger than 3801931620.0, what is the population?
### Context:
CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR) [/INST]
### Response:
SELECT pop__2010_ FROM table_18600760_7 WHERE county = "Cavalier" AND geo_id > 3801931620.0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the population is 1858, what is the maximum ansi code?
### Context:
CREATE TABLE table_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR) [/INST]
### Response:
SELECT MAX(ansi_code) FROM table_18600760_7 WHERE pop__2010_ = 1858 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the longitude is -97.473110, what is the minimum geo id?
### Context:
CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR) [/INST]
### Response:
SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the ansi code is 1036632, what is the name of the township?
### Context:
CREATE TABLE table_18600760_7 (township VARCHAR, ansi_code VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_7 WHERE ansi_code = 1036632 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the land square milage is 10.950, what is the longitude?
### Context:
CREATE TABLE table_18600760_7 (longitude VARCHAR, land___sqmi__ VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_18600760_7 WHERE land___sqmi__ = "10.950" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What township is located at longitude -99.287270?
### Context:
CREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT township FROM table_18600760_9 WHERE longitude = "-99.287270" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the longitude of the township at ANSI code 1759682?
### Context:
CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many square miles of water does the township at latitude 48.064751 have?
### Context:
CREATE TABLE table_18600760_9 (water__sqmi_ VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT water__sqmi_ FROM table_18600760_9 WHERE latitude = "48.064751" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the geo code of the township with ANSI code 1759243?
### Context:
CREATE TABLE table_18600760_9 (geo_id VARCHAR, ansi_code VARCHAR) [/INST]
### Response:
SELECT geo_id FROM table_18600760_9 WHERE ansi_code = 1759243 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When santiago del estero is the hometown who is the contestant?
### Context:
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When belarus is the country what is the hometown?
### Context:
CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_18626383_2 WHERE country = "Belarus" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When bahamas is the country what is the height in centimeters?
### Context:
CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT height__cm_ FROM table_18626383_2 WHERE country = "Bahamas" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When finland is the country how many hometowns are there?
### Context:
CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(hometown) FROM table_18626383_2 WHERE country = "Finland" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When johannesburg is the hometown who is the contestant?
### Context:
CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT contestant FROM table_18626383_2 WHERE hometown = "Johannesburg" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When valora roucek is the contestant how many heights in centimeters are there?
### Context:
CREATE TABLE table_18626383_2 (height__cm_ VARCHAR, contestant VARCHAR) [/INST]
### Response:
SELECT COUNT(height__cm_) FROM table_18626383_2 WHERE contestant = "Valora Roucek" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the round 1 for team event
### Context:
CREATE TABLE table_18646111_13 (round_1 VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT round_1 FROM table_18646111_13 WHERE event = "Team" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of semifinals for tt2
### Context:
CREATE TABLE table_18646111_13 (semifinals VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT COUNT(semifinals) FROM table_18646111_13 WHERE class = "TT2" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the 1/8 finals for round 1 n/a
### Context:
CREATE TABLE table_18646111_13 (round_1 VARCHAR) [/INST]
### Response:
SELECT 1 AS _8_finals FROM table_18646111_13 WHERE round_1 = "N/A" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of round 3 for class tt1
### Context:
CREATE TABLE table_18646111_13 (round_3 VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT COUNT(round_3) FROM table_18646111_13 WHERE class = "TT1" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the event for hans ruep
### Context:
CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 4 is the v-band what is the overall amount of ka-bands?
### Context:
CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR) [/INST]
### Response:
SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 8.3 is the q-band what is the property?
### Context:
CREATE TABLE table_186468_1 (property VARCHAR, q_band VARCHAR) [/INST]
### Response:
SELECT property FROM table_186468_1 WHERE q_band = "8.3" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 5.5 is the l-band what is the v-band?
### Context:
CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR) [/INST]
### Response:
SELECT v_band FROM table_186468_1 WHERE k_band = "5.5" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 2 is the k-band what is the v-band?
### Context:
CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR) [/INST]
### Response:
SELECT v_band FROM table_186468_1 WHERE k_band = "2" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 2 is the ka-band how many properties are there?
### Context:
CREATE TABLE table_186468_1 (property VARCHAR, ka_band VARCHAR) [/INST]
### Response:
SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When olympikus is the main sponsor who is the secondary sponsor?
### Context:
CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR) [/INST]
### Response:
SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Olympikus" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When ale is the main sponsor who is the secondary sponsor?
### Context:
CREATE TABLE table_187239_1 (secondary_sponsor VARCHAR, main_sponsor VARCHAR) [/INST]
### Response:
SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Ale" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When tim brasil brokers are the minor sponsors who is the kit manufacturer?
### Context:
CREATE TABLE table_187239_1 (kit_manufacturer VARCHAR, minor_sponsors VARCHAR) [/INST]
### Response:
SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = "Tim Brasil Brokers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors?
### Context:
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, main_sponsor VARCHAR) [/INST]
### Response:
SELECT minor_sponsors FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND main_sponsor = "Batavo" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?
### Context:
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What season episode is written by neil thompson?
### Context:
CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original air for the 06-03-521 production code?
### Context:
CREATE TABLE table_1876825_6 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_1876825_6 WHERE production_code = "06-03-521" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode number in the series aired on February 8, 2004?
### Context:
CREATE TABLE table_1876825_6 (no_in_series INTEGER, original_air_date VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_1876825_6 WHERE original_air_date = "February 8, 2004" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In season 5 what episode number was production 06-03-519?
### Context:
CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the minimum score for r2?
### Context:
CREATE TABLE table_18812411_3 (r2 INTEGER) [/INST]
### Response:
SELECT MIN(r2) FROM table_18812411_3 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What country had a r3 at 72, by Larry Mize?
### Context:
CREATE TABLE table_18812411_3 (country VARCHAR, r3 VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT country FROM table_18812411_3 WHERE r3 = 72 AND player = "Larry Mize" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did Fiji win r1?
### Context:
CREATE TABLE table_18812411_3 (r1 VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(r1) FROM table_18812411_3 WHERE country = "Fiji" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?
### Context:
CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR) [/INST]
### Response:
SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did the Green-Communists receive 5.7%?
### Context:
CREATE TABLE table_1881642_1 (date_released VARCHAR, green_communist VARCHAR) [/INST]
### Response:
SELECT date_released FROM table_1881642_1 WHERE green_communist = "5.7%" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the PCT is 0.514, what was the minimum OTL?
### Context:
CREATE TABLE table_1888165_1 (Otl INTEGER, PCt VARCHAR) [/INST]
### Response:
SELECT MIN(Otl) FROM table_1888165_1 WHERE PCt = 0.514 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the minimum OTL amount?
### Context:
CREATE TABLE table_1888165_1 (Otl INTEGER) [/INST]
### Response:
SELECT MIN(Otl) FROM table_1888165_1 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least events for japan
### Context:
CREATE TABLE table_18888159_1 (events INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MIN(events) FROM table_18888159_1 WHERE country = "Japan" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the country for 22 events
### Context:
CREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR) [/INST]
### Response:
SELECT country FROM table_18888159_1 WHERE events = 22 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number for fiji
### Context:
CREATE TABLE table_18888159_1 (_number VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT _number FROM table_18888159_1 WHERE country = "Fiji" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of points for number 6
### Context:
CREATE TABLE table_18888159_1 (points VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location that had a driver named Pierre de Caters?
### Context:
CREATE TABLE table_18893428_1 (location VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT location FROM table_18893428_1 WHERE driver = "Pierre de Caters" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the constructor for the car driven by George Heath?
### Context:
CREATE TABLE table_18893428_1 (constructor VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_18893428_1 WHERE driver = "George Heath" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of drivers who have cars constructed by Mercedes-Benz?
### Context:
CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT COUNT(driver) FROM table_18893428_1 WHERE constructor = "Mercedes-Benz" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location of the car that has a constructor of Lorraine-Dietrich?
### Context:
CREATE TABLE table_18893428_1 (location VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT location FROM table_18893428_1 WHERE constructor = "Lorraine-Dietrich" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did Charles Jarrott report?
### Context:
CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the driver of the entry constructed by Mercedes-Benz?
### Context:
CREATE TABLE table_18893428_1 (driver VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT driver FROM table_18893428_1 WHERE constructor = "Mercedes-Benz" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the used (kb) when the graphics mode is 4?
### Context:
CREATE TABLE table_18950885_3 (used__kb_ INTEGER, graphics_mode VARCHAR) [/INST]
### Response:
SELECT MIN(used__kb_) FROM table_18950885_3 WHERE graphics_mode = 4 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If graphics mode is less than 1.0, what are the char cells?
### Context:
CREATE TABLE table_18950885_3 (char_cells VARCHAR, graphics_mode INTEGER) [/INST]
### Response:
SELECT char_cells FROM table_18950885_3 WHERE graphics_mode < 1.0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest converted value at number 19?
### Context:
CREATE TABLE table_1895522_2 (converted INTEGER, number VARCHAR) [/INST]
### Response:
SELECT MIN(converted) FROM table_1895522_2 WHERE number = "19" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the original title for the last metro
### Context:
CREATE TABLE table_18987377_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the film title for andré téchiné category:articles with hcards
### Context:
CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "André Téchiné Category:Articles with hCards" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the director for coup de torchon
### Context:
CREATE TABLE table_18987377_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT director FROM table_18987377_1 WHERE film_title_used_in_nomination = "Coup de Torchon" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the film titled for marcel camus category:articles with hcards
### Context:
CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "Marcel Camus Category:Articles with hCards" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When cindy miranda is the name what is the home or representative town or province?
### Context:
CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When nel rapiz is the name what is the status?
### Context:
CREATE TABLE table_19061741_1 (status VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT status FROM table_19061741_1 WHERE name = "Nel Rapiz" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When day 8-36 is the duration what is the season?
### Context:
CREATE TABLE table_19061741_1 (season VARCHAR, duration VARCHAR) [/INST]
### Response:
SELECT season FROM table_19061741_1 WHERE duration = "Day 8-36" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When luz mcclinton is the name what is the season?
### Context:
CREATE TABLE table_19061741_1 (season VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When yen galagnara is the name what is the highest total days in the pbb house?
### Context:
CREATE TABLE table_19061741_1 (total_days_in_pbb_house INTEGER, name VARCHAR) [/INST]
### Response:
SELECT MAX(total_days_in_pbb_house) FROM table_19061741_1 WHERE name = "Yen Galagnara" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many match numbers have team europe listed as osku palermaa?
### Context:
CREATE TABLE table_19072602_2 (match_no VARCHAR, team_europe VARCHAR) [/INST]
### Response:
SELECT COUNT(match_no) FROM table_19072602_2 WHERE team_europe = "Osku Palermaa" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When osku palermaa is on the europe team how many match numbers are there?
### Context:
CREATE TABLE table_19072602_5 (match_no VARCHAR, team_europe VARCHAR) [/INST]
### Response:
SELECT COUNT(match_no) FROM table_19072602_5 WHERE team_europe = "Osku Palermaa" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When paul moor is on the europe team who is on the usa team?
### Context:
CREATE TABLE table_19072602_5 (team_usa VARCHAR, team_europe VARCHAR) [/INST]
### Response:
SELECT team_usa FROM table_19072602_5 WHERE team_europe = "Paul Moor" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the mountains classification for team columbia
### Context:
CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, team_classification VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_19115414_4 WHERE team_classification = "Team Columbia" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of stage winners for team columbia
### Context:
CREATE TABLE table_19115414_4 (stage__winner_ VARCHAR, team_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the mountains classification for alexander kristoff
### Context:
CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_19115414_4 WHERE points_classification = "Alexander Kristoff" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much is the other black population when the black African population is 37811?
### Context:
CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR) [/INST]
### Response:
SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where are the london borough with the black caribbean population of 17974?
### Context:
CREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR) [/INST]
### Response:
SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank of london borough in southwark?
### Context:
CREATE TABLE table_19149550_7 (rank VARCHAR, london_borough VARCHAR) [/INST]
### Response:
SELECT rank FROM table_19149550_7 WHERE london_borough = "Southwark" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the black caribbean population when the other black population is 2243?
### Context:
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR) [/INST]
### Response:
SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the black caribbean population when the black African population is less than 10552.0?
### Context:
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, black_african_population INTEGER) [/INST]
### Response:
SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What time slot had an adult rating of 0.6?
### Context:
CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR) [/INST]
### Response:
SELECT timeslot FROM table_19188562_2 WHERE rating__adults_18_49_ = "0.6" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What season finale date has 2.02 million u.s. Viewers?
### Context:
CREATE TABLE table_19188562_2 (season VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT season AS finale FROM table_19188562_2 WHERE us_viewers__in_millions_ = "2.02" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many million u.s. Viewers watched season 1?
### Context:
CREATE TABLE table_19188562_2 (us_viewers__in_millions_ VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT us_viewers__in_millions_ FROM table_19188562_2 WHERE season = 1 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many tv series had an adult rating of 1.2?
### Context:
CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR) [/INST]
### Response:
SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.2" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the University that is also called Hawks?
### Context:
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_19210115_1 WHERE nickname = "Hawks" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the University that is also called Owls?
### Context:
CREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_19210115_1 WHERE nickname = "Owls" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many University founded in 1863?
### Context:
CREATE TABLE table_19210115_1 (enrollment VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_19210115_1 WHERE founded = 1863 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where is the University that plays in the American Athletic Conference?
### Context:
CREATE TABLE table_19210115_1 (location VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT location FROM table_19210115_1 WHERE conference = "American Athletic conference" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the affiliation of the University called Explorers?
### Context:
CREATE TABLE table_19210115_1 (affiliation VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT affiliation FROM table_19210115_1 WHERE nickname = "Explorers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the nickname of Drexel University?
### Context:
CREATE TABLE table_19210115_1 (nickname VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT nickname FROM table_19210115_1 WHERE institution = "Drexel University" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the brand in Metro Manila?
### Context:
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the brand in Cabanatuan?
### Context:
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT branding FROM table_19215259_1 WHERE location = "Cabanatuan" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the power at the cebu station?
### Context:
CREATE TABLE table_19215259_1 (power__kw_ VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_19215259_1 WHERE location = "Cebu" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the frequency of 101.5 News FM?
### Context:
CREATE TABLE table_19215259_1 (frequency VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_19215259_1 WHERE branding = "101.5 News FM" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.