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 is the Italian word for "orange" in English?
### Context:
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR) [/INST]
### Response:
SELECT italian FROM table_2077192_2 WHERE english = "orange" </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 Phonetic Greek words translate to grenouille in French?
### Context:
CREATE TABLE table_2077192_2 (phonetic_greek VARCHAR, french VARCHAR) [/INST]
### Response:
SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE french = "grenouille" </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 does the word "frog"in English translate to in Italian?
### Context:
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR) [/INST]
### Response:
SELECT italian FROM table_2077192_2 WHERE english = "frog" </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 Alexandria enrollment locations?
### Context:
CREATE TABLE table_2076608_3 (enrollment VARCHAR, location_s_ VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_2076608_3 WHERE location_s_ = "Alexandria" </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 control type which was founded in 1991?
### Context:
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT control FROM table_2076608_3 WHERE founded = "1991" </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 control type which was founded in 1818?
### Context:
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT control FROM table_2076608_3 WHERE founded = "1818" </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 year was Hartland College founded?
### Context:
CREATE TABLE table_2076608_3 (founded VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT founded FROM table_2076608_3 WHERE school = "Hartland College" </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 type of school is Cordoba University?
### Context:
CREATE TABLE table_2076608_3 (type VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT type FROM table_2076608_3 WHERE school = "Cordoba 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 school is in Richmond?
### Context:
CREATE TABLE table_2076608_3 (school VARCHAR, location_s_ VARCHAR) [/INST]
### Response:
SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond" </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 accreditation does Hollins University have?
### Context:
CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins 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 was the largest founded year for schools having enrollment of exactly 696?
### Context:
CREATE TABLE table_2076608_1 (founded INTEGER, enrollment VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696" </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 control for Christopher Newport University?
### Context:
CREATE TABLE table_2076608_1 (control VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT control FROM table_2076608_1 WHERE school = "Christopher Newport 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 total number of schools founded that have an enrollment of 5634?
### Context:
CREATE TABLE table_2076608_1 (founded VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_2076608_1 WHERE enrollment = "5634" </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 type of school is Stratford University?
### Context:
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT type FROM table_2076608_1 WHERE school = "Stratford 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 type of school is Jefferson College of Health Sciences?
### Context:
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT type FROM table_2076608_1 WHERE school = "Jefferson College of Health Sciences" </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 nec record for 11th standing
### Context:
CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR) [/INST]
### Response:
SELECT nec_record FROM table_20774360_2 WHERE standing = "11th" </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 year for standing 9th
### Context:
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR) [/INST]
### Response:
SELECT year FROM table_20774360_2 WHERE standing = "9th" </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 year for t-10th
### Context:
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR) [/INST]
### Response:
SELECT year FROM table_20774360_2 WHERE standing = "T-10th" </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 regular season record for standing 11th
### Context:
CREATE TABLE table_20774360_2 (regular_season_record__w_l_ VARCHAR, standing VARCHAR) [/INST]
### Response:
SELECT regular_season_record__w_l_ FROM table_20774360_2 WHERE standing = "11th" </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 most previous br number
### Context:
CREATE TABLE table_2079664_3 (previous_br_no INTEGER) [/INST]
### Response:
SELECT MAX(previous_br_no) FROM table_2079664_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:
Name the total number of previous br number for number 21
### Context:
CREATE TABLE table_2079664_3 (previous_br_no VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT COUNT(previous_br_no) FROM table_2079664_3 WHERE number = "21" </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 uses the title Marele Câștigător The Big Winner?
### Context:
CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT country_region FROM table_20780285_1 WHERE title = "Marele câștigător The Big Winner" </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:
Silvio Santos is the presenter in what country?
### Context:
CREATE TABLE table_20780285_1 (country_region VARCHAR, presenters VARCHAR) [/INST]
### Response:
SELECT country_region FROM table_20780285_1 WHERE presenters = "Silvio Santos" </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 home town of David Noel?
### Context:
CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT home_town FROM table_20785990_2 WHERE name = "David Noel" </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 high school for the player who's hometown is Blue Island, Il?
### Context:
CREATE TABLE table_20785990_2 (high_school VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT high_school FROM table_20785990_2 WHERE home_town = "Blue Island, IL" </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 position of the player who's hometown is North Babylon, NY?
### Context:
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT position FROM table_20785990_2 WHERE home_town = "North Babylon, NY" </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 position is the player from Chapel Hill, NC?
### Context:
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT position FROM table_20785990_2 WHERE home_town = "Chapel Hill, NC" </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 height of the player from Gulfport, MS?
### Context:
CREATE TABLE table_20785990_2 (height VARCHAR, home_town VARCHAR) [/INST]
### Response:
SELECT height FROM table_20785990_2 WHERE home_town = "Gulfport, MS" </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 what county did McCain get 57.8%?
### Context:
CREATE TABLE table_20799905_1 (county VARCHAR, mccain_percentage VARCHAR) [/INST]
### Response:
SELECT county FROM table_20799905_1 WHERE mccain_percentage = "57.8%" </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 McCain's % in Davidson county?
### Context:
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(mccain_percentage) FROM table_20799905_1 WHERE county = "DAVIDSON" </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 percentage did Obama get in Rutherford county?
### Context:
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT obama_percentage FROM table_20799905_1 WHERE county = "RUTHERFORD" </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 percentage did McCain get in Hamilton county?
### Context:
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON" </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 percentage did Obama get when McCain got 52.8%?
### Context:
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR) [/INST]
### Response:
SELECT obama_percentage FROM table_20799905_1 WHERE mccain_percentage = "52.8%" </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 votes did Obama get in Lake County?
### Context:
CREATE TABLE table_20799905_1 (obama_number INTEGER, county VARCHAR) [/INST]
### Response:
SELECT MIN(obama_number) FROM table_20799905_1 WHERE county = "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:
In how many counties did McCain get 65.72% of the votes?
### Context:
CREATE TABLE table_20799587_1 (county VARCHAR, mccain_percentage VARCHAR) [/INST]
### Response:
SELECT COUNT(county) FROM table_20799587_1 WHERE mccain_percentage = "65.72%" </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 people voted for Obama in the county where McCain got 72.75% of the votes?
### Context:
CREATE TABLE table_20799587_1 (obama_number INTEGER, mccain_percentage VARCHAR) [/INST]
### Response:
SELECT MIN(obama_number) FROM table_20799587_1 WHERE mccain_percentage = "72.75%" </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 percentage of the votes did McCain get in Hinds?
### Context:
CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Hinds" </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 votes did McCain get in Scott?
### Context:
CREATE TABLE table_20799587_1 (mccain_number INTEGER, county VARCHAR) [/INST]
### Response:
SELECT MIN(mccain_number) FROM table_20799587_1 WHERE county = "Scott" </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 percentage of the votes in Tippah did Obama get?
### Context:
CREATE TABLE table_20799587_1 (obama_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT obama_percentage FROM table_20799587_1 WHERE county = "Tippah" </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 percentage of the votes in Copiah did McCain get?
### Context:
CREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Copiah" </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 n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?
### Context:
CREATE TABLE table_20803241_1 (type_of_fare VARCHAR, cash_fare VARCHAR, day_pass VARCHAR) [/INST]
### Response:
SELECT COUNT(type_of_fare) FROM table_20803241_1 WHERE 31 - day_pass = "N/A" AND cash_fare = "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:
When fixed route is the type of fare how much is the 31-day pass?
### Context:
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) [/INST]
### Response:
SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route" </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 mega pass* (senior/disabled) is the type of fare what is the cash fare?
### Context:
CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR) [/INST]
### Response:
SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Mega Pass* (Senior/Disabled)" </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 mega pass* (senior/disabled) is the type of fare what is the day pass?
### Context:
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) [/INST]
### Response:
SELECT day_pass FROM table_20803241_1 WHERE type_of_fare = "Mega Pass* (Senior/Disabled)" </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 fort irwin-barstow/victorville is the type of fare what is the cash fare?
### Context:
CREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR) [/INST]
### Response:
SELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = "Fort Irwin-Barstow/Victorville" </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 total goals is 1 and total apps is 33, what is the smallest no.?
### Context:
CREATE TABLE table_20848569_9 (no INTEGER, total_goals VARCHAR, total_apps VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_20848569_9 WHERE total_goals = 1 AND total_apps = 33 </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 position is the boat with 20.12 LOA (metres)?
### Context:
CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.12" </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 are the LOA (metres) of boat with sail number M10?
### Context:
CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, sail_number VARCHAR) [/INST]
### Response:
SELECT loa__metres_ FROM table_20854943_2 WHERE sail_number = "M10" </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 LOA (metres) reported for Black Jack?
### Context:
CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, yacht VARCHAR) [/INST]
### Response:
SELECT COUNT(loa__metres_) FROM table_20854943_2 WHERE yacht = "Black Jack" </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 race number had sail number AUS 98888?
### Context:
CREATE TABLE table_20854943_2 (race_number VARCHAR, sail_number VARCHAR) [/INST]
### Response:
SELECT race_number FROM table_20854943_2 WHERE sail_number = "AUS 98888" </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 sail numbers for boat skippered by Geoff Ross?
### Context:
CREATE TABLE table_20854943_2 (sail_number VARCHAR, skipper VARCHAR) [/INST]
### Response:
SELECT COUNT(sail_number) FROM table_20854943_2 WHERE skipper = "Geoff Ross" </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 did they play against West Virginia?
### Context:
CREATE TABLE table_20850339_1 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_20850339_1 WHERE opponent = "West Virginia" </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 l (ot/so) is 22 (3/4), what is the season?
### Context:
CREATE TABLE table_20833768_4 (season VARCHAR, l__ot_so_ VARCHAR) [/INST]
### Response:
SELECT season FROM table_20833768_4 WHERE l__ot_so_ = "22 (3/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:
In season is 2008–09, how many wins did they have?
### Context:
CREATE TABLE table_20833768_4 (w__ot_so_ VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT w__ot_so_ FROM table_20833768_4 WHERE season = "2008–09" </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 weight of Eben Britton?
### Context:
CREATE TABLE table_20860739_1 (weight INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(weight) FROM table_20860739_1 WHERE player = "Eben Britton" </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 rounds did Virginia have?
### Context:
CREATE TABLE table_20860739_1 (round VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT round FROM table_20860739_1 WHERE college = "Virginia" </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 rounds were there a height of 6'5?
### Context:
CREATE TABLE table_20860739_1 (round VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT round FROM table_20860739_1 WHERE height = "6'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:
What college has a player that is 6'1?
### Context:
CREATE TABLE table_20860739_1 (college VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT college FROM table_20860739_1 WHERE height = "6'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:
What is the number of Mike Thomas?
### Context:
CREATE TABLE table_20860739_1 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_20860739_1 WHERE player = "Mike Thomas" </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 college did Terrance Taylor play for?
### Context:
CREATE TABLE table_20861261_4 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_20861261_4 WHERE player = "Terrance Taylor" </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's Curtis Painter's position?
### Context:
CREATE TABLE table_20861261_4 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_20861261_4 WHERE player = "Curtis Painter" </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 does the player from Southern California weight?
### Context:
CREATE TABLE table_20861261_4 (weight VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT weight FROM table_20861261_4 WHERE college = "Southern California" </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 what round did the player who weights 192lb (87kg) play?
### Context:
CREATE TABLE table_20861261_4 (round INTEGER, weight VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_20861261_4 WHERE weight = "192lb (87kg)" </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's the choice score of the player who weights 303lb (137kg)?
### Context:
CREATE TABLE table_20861261_4 (choice INTEGER, weight VARCHAR) [/INST]
### Response:
SELECT MIN(choice) FROM table_20861261_4 WHERE weight = "303lb (137kg)" </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 different engines are there for the model with model designation 97G00?
### Context:
CREATE TABLE table_20866024_2 (engine VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00" </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's the engine for the model model designation 97G00 and GVW of 2500/2.46 kg/ton?
### Context:
CREATE TABLE table_20866024_2 (engine VARCHAR, gvw__kg_ton_ VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT engine FROM table_20866024_2 WHERE gvw__kg_ton_ = "2500/2.46" AND model_designation = "97G00" </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 model type has model designation 97500?
### Context:
CREATE TABLE table_20866024_2 (model_type VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97500" </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's the axle ratio of the model with model designation 97G00?
### Context:
CREATE TABLE table_20866024_2 (axle_ratio VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT axle_ratio FROM table_20866024_2 WHERE model_designation = "97G00" </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 model type has 97100 model designation?
### Context:
CREATE TABLE table_20866024_2 (model_type VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97100" </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 type of engine does the model with model designation 97100 have?
### Context:
CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT engine FROM table_20866024_3 WHERE model_designation = "97100" </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's the wheelbase (in mm/inch) of the model with model designation 97G00?
### Context:
CREATE TABLE table_20866024_3 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT wheelbase__mm_inch_ FROM table_20866024_3 WHERE model_designation = "97G00" </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 type of engine does the model with model designation 97F00 have?
### Context:
CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT engine FROM table_20866024_3 WHERE model_designation = "97F00" </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's the model designation of the model with GVW of 2828/2.78 kg/ton and axle ratio of 9/47?
### Context:
CREATE TABLE table_20866024_3 (model_designation VARCHAR, gvw__kg_ton_ VARCHAR, axle_ratio VARCHAR) [/INST]
### Response:
SELECT model_designation FROM table_20866024_3 WHERE gvw__kg_ton_ = "2828/2.78" AND axle_ratio = "9/47" </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 player name when eastern michigan is the college?
### Context:
CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_20871703_1 WHERE college = "Eastern Michigan" </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 height if ot is the position?
### Context:
CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT height FROM table_20871703_1 WHERE position = "OT" </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 player for south carolina college?
### Context:
CREATE TABLE table_20871703_1 (player_name VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_20871703_1 WHERE college = "South Carolina" </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 height if de is the position?
### Context:
CREATE TABLE table_20871703_1 (height VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(height) FROM table_20871703_1 WHERE position = "DE" </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:
Which college has fb as the position?
### Context:
CREATE TABLE table_20871703_1 (college VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college FROM table_20871703_1 WHERE position = "FB" </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 GVW for model 97H00?
### Context:
CREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = "97H00" </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 engines are there for model 97H00?
### Context:
CREATE TABLE table_20866024_4 (engine VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT COUNT(engine) FROM table_20866024_4 WHERE model_designation = "97H00" </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 Wheelbase for Model 97300?
### Context:
CREATE TABLE table_20866024_4 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR) [/INST]
### Response:
SELECT wheelbase__mm_inch_ FROM table_20866024_4 WHERE model_designation = "97300" </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 Engine for model CF350.
### Context:
CREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR) [/INST]
### Response:
SELECT engine FROM table_20866024_4 WHERE model_type = "CF350" </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:
Was the result of the supercheap auto bathurst 1000 reported?
### Context:
CREATE TABLE table_20884160_1 (report VARCHAR, race_title VARCHAR) [/INST]
### Response:
SELECT report FROM table_20884160_1 WHERE race_title = "Supercheap Auto Bathurst 1000" </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 was the winner of the race at barbagallo raceway?
### Context:
CREATE TABLE table_20884160_1 (winner VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winner FROM table_20884160_1 WHERE circuit = "Barbagallo Raceway" </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 players played running back where status is made 53-man roster at start of 2009 season
### Context:
CREATE TABLE table_20898602_1 (player VARCHAR, status VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_20898602_1 WHERE status = "Made 53-man roster at start of 2009 season" AND position = "Running back" </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:
howe many positions did wallace, mike mike wallace play for
### Context:
CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace" </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:
state the status of pick # 32
### Context:
CREATE TABLE table_20898602_1 (status VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT status FROM table_20898602_1 WHERE pick__number = 32 </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:
which college had a running back player
### Context:
CREATE TABLE table_20898602_1 (college VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college FROM table_20898602_1 WHERE position = "Running back" </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 position of the player of height ft0in (m)
### Context:
CREATE TABLE table_20898602_1 (position VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT position FROM table_20898602_1 WHERE height = "ft0in (m)" </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's the position of pick # 79
### Context:
CREATE TABLE table_20898602_1 (position VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT position FROM table_20898602_1 WHERE pick__number = 79 </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 touchdowns were scored when QB rating was 82.7?
### Context:
CREATE TABLE table_20906175_3 (touchdowns INTEGER, qb_rating VARCHAR) [/INST]
### Response:
SELECT MAX(touchdowns) FROM table_20906175_3 WHERE qb_rating = "82.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:
What was the QB rating for Neil lomax?
### Context:
CREATE TABLE table_20906175_3 (qb_rating VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT qb_rating FROM table_20906175_3 WHERE name = "Neil Lomax" </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 attempts did Charley Johnson have?
### Context:
CREATE TABLE table_20906175_3 (attempts VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT COUNT(attempts) FROM table_20906175_3 WHERE name = "Charley Johnson" </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 touchdowns were there with QB rating of 66.6?
### Context:
CREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR) [/INST]
### Response:
SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.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:
Name the number opponent for loss result
### Context:
CREATE TABLE table_20928661_1 (opponent VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_20928661_1 WHERE result = "Loss" </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 game for record being 3-0
### Context:
CREATE TABLE table_20928661_1 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT game FROM table_20928661_1 WHERE record = "3-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 was the date of game 6?
### Context:
CREATE TABLE table_20928649_1 (date VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT date FROM table_20928649_1 WHERE game = 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 was the record for the game where the cardinals scored 7 points?
### Context:
CREATE TABLE table_20928649_1 (record VARCHAR, cardinals_points VARCHAR) [/INST]
### Response:
SELECT record FROM table_20928649_1 WHERE cardinals_points = 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:
What game date had the record of 1-2?
### Context:
CREATE TABLE table_20928649_1 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_20928649_1 WHERE record = "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:
How many opponents were in North Carolina state game?
### Context:
CREATE TABLE table_20928649_1 (opponents VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(opponents) FROM table_20928649_1 WHERE opponent = "North Carolina State" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.