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:
Which party has a first elected number bigger than 1939.0?
### Context:
CREATE TABLE table_1342233_5 (party VARCHAR, first_elected INTEGER) [/INST]
### Response:
SELECT party FROM table_1342233_5 WHERE first_elected > 1939.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:
How many incumbents had a district of Arkansas 3?
### Context:
CREATE TABLE table_1342233_5 (incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(incumbent) FROM table_1342233_5 WHERE district = "Arkansas 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 party did the incumbent from the Arkansas 5 district belong to?
### Context:
CREATE TABLE table_1342249_5 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342249_5 WHERE district = "Arkansas 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 party did the incumbent of the Arkansas 6 district belong to?
### Context:
CREATE TABLE table_1342249_5 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342249_5 WHERE district = "Arkansas 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 earliest years any of the incumbents were first elected?
### Context:
CREATE TABLE table_1342249_5 (first_elected INTEGER) [/INST]
### Response:
SELECT MIN(first_elected) FROM table_1342249_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 party did incumbent Brooks Hays belong to?
### Context:
CREATE TABLE table_1342249_5 (party VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342249_5 WHERE incumbent = "Brooks Hays" </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 kind of party is the district in Alabama 1?
### Context:
CREATE TABLE table_1342338_3 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342338_3 WHERE district = "Alabama 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 in lost renomination results were elected first?
### Context:
CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT first_elected FROM table_1342338_3 WHERE result = "Lost renomination" </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 in total were elected first in lost renomination?
### Context:
CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT COUNT(first_elected) FROM table_1342338_3 WHERE result = "Lost renomination" </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 district was John E. Miller the incumbent?
### Context:
CREATE TABLE table_1342338_5 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_1342338_5 WHERE incumbent = "John E. Miller" </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 districts was the incumbent David Delano Glover?
### Context:
CREATE TABLE table_1342338_5 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(district) FROM table_1342338_5 WHERE incumbent = "David Delano Glover" </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 incumbent Claude Fuller first elected?
### Context:
CREATE TABLE table_1342338_5 (first_elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT first_elected FROM table_1342338_5 WHERE incumbent = "Claude Fuller" </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 ran in the election where Claude Fuller was the incumbent?
### Context:
CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_1342338_5 WHERE incumbent = "Claude Fuller" </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 result for thomas s. mcmillan?
### Context:
CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan" </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 candidate for south carolina 1?
### Context:
CREATE TABLE table_1342359_39 (candidates VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_1342359_39 WHERE district = "South Carolina 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 party for south carolina 3?
### Context:
CREATE TABLE table_1342359_39 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342359_39 WHERE district = "South Carolina 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 is the result for south carolina 4?
### Context:
CREATE TABLE table_1342359_39 (result VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT result FROM table_1342359_39 WHERE district = "South Carolina 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:
what's the district with incumbent being richard j. welch
### Context:
CREATE TABLE table_1342359_5 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_1342359_5 WHERE incumbent = "Richard J. Welch" </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 districtwith party being democratic
### Context:
CREATE TABLE table_1342359_5 (district VARCHAR, party VARCHAR) [/INST]
### Response:
SELECT district FROM table_1342359_5 WHERE party = "Democratic" </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 district with candidates being harry lane englebright (r) unopposed
### Context:
CREATE TABLE table_1342359_5 (district VARCHAR, candidates VARCHAR) [/INST]
### Response:
SELECT district FROM table_1342359_5 WHERE candidates = "Harry Lane Englebright (R) Unopposed" </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 candidates with district being california 7
### Context:
CREATE TABLE table_1342359_5 (candidates VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(candidates) FROM table_1342359_5 WHERE district = "California 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's the party with incumbent being william e. evans
### Context:
CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans" </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 result of the election featuring william madison whittington?
### Context:
CREATE TABLE table_1342370_23 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_1342370_23 WHERE incumbent = "William Madison Whittington" </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 results where the district is south carolina 5?
### Context:
CREATE TABLE table_1342370_39 (result VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_1342370_39 WHERE district = "South Carolina 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:
who is the candidate in district south carolina 2?
### Context:
CREATE TABLE table_1342370_39 (candidates VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_1342370_39 WHERE district = "South Carolina 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 year was william francis stevenson first elected?
### Context:
CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson" </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 political party for burton e. sweet?
### Context:
CREATE TABLE table_1342451_13 (party VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet" </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 locations have a record of 14-38?
### Context:
CREATE TABLE table_13464416_7 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_13464416_7 WHERE record = "14-38" </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 wrote the episode that received 1.83 million U.S. viewers?
### Context:
CREATE TABLE table_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83" </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 original air date of the episode directed by Jeff Melman?
### Context:
CREATE TABLE table_13477468_3 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_13477468_3 WHERE directed_by = "Jeff Melman" </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 launch date involved the Driade?
### Context:
CREATE TABLE table_13537940_1 (launched VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT launched FROM table_13537940_1 WHERE name = "Driade" </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 median household income of sacramento?
### Context:
CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT median_household_income FROM table_1356555_2 WHERE county = "Sacramento" </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 per capita income of shasta?
### Context:
CREATE TABLE table_1356555_2 (per_capita_income VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT per_capita_income FROM table_1356555_2 WHERE county = "Shasta" </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 median family income for riverside
### Context:
CREATE TABLE table_1356555_2 (median_family_income VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT median_family_income FROM table_1356555_2 WHERE county = "Riverside" </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 median household income of butte?
### Context:
CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT median_household_income FROM table_1356555_2 WHERE county = "Butte" </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 club got 239 points against?
### Context:
CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT club FROM table_13564702_4 WHERE points_against = "239" </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 value of the points column when the value of the column lost is "lost"
### Context:
CREATE TABLE table_13564702_4 (points VARCHAR) [/INST]
### Response:
SELECT points FROM table_13564702_4 WHERE "lost" = "lost" </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 tries against got the club with 62 tries for?
### Context:
CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62" </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 group info is available for the 56.5 kg weight?
### Context:
CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR) [/INST]
### Response:
SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.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 was the result for the railway stakes race?
### Context:
CREATE TABLE table_1358608_2 (result VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT result FROM table_1358608_2 WHERE race = "Railway Stakes" </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 district is incument terry kilgore from?
### Context:
CREATE TABLE table_13618584_2 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_13618584_2 WHERE incumbent = "Terry Kilgore" </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 was incumbent onzlee ware elected?
### Context:
CREATE TABLE table_13618584_2 (elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(elected) FROM table_13618584_2 WHERE incumbent = "Onzlee Ware" </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 election results are there from the 19th district?
### Context:
CREATE TABLE table_13618584_2 (district VARCHAR) [/INST]
### Response:
SELECT COUNT(2007 AS _result) FROM table_13618584_2 WHERE district = "19th" </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 last year someone was elected to the 14th district?
### Context:
CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR) [/INST]
### Response:
SELECT MAX(elected) FROM table_13618584_2 WHERE district = "14th" </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 score against san antonio?
### Context:
CREATE TABLE table_13619053_4 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_13619053_4 WHERE team = "San Antonio" </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 games did the team play when they were 1-3?
### Context:
CREATE TABLE table_13619053_4 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_13619053_4 WHERE record = "1-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:
Who was the opposing team for game 53?
### Context:
CREATE TABLE table_13619135_6 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT team FROM table_13619135_6 WHERE game = 53 </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 games were played when the record was 26-21?
### Context:
CREATE TABLE table_13619135_6 (game VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_13619135_6 WHERE record = "26-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:
How many people had the high assists @ minnesota?
### Context:
CREATE TABLE table_13619135_7 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota" </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 high rebounder against charlotte?
### Context:
CREATE TABLE table_13619135_7 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_13619135_7 WHERE team = "Charlotte" </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 did the team play and what was the attendance against new jersey?
### Context:
CREATE TABLE table_13619135_7 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_13619135_7 WHERE team = "New Jersey" </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 day was the attendance at the staples center 18,176?
### Context:
CREATE TABLE table_13619135_7 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_13619135_7 WHERE location_attendance = "Staples Center 18,176" </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 turing complete with numeral system being decimal
### Context:
CREATE TABLE table_13636_1 (turing_complete VARCHAR, numeral_system VARCHAR) [/INST]
### Response:
SELECT turing_complete FROM table_13636_1 WHERE numeral_system = "Decimal" </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 computing mechanbeingm with name being atanasoff–berry computer (us)
### Context:
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT computing_mechanism FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)" </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 name with first operational being march 1945
### Context:
CREATE TABLE table_13636_1 (name VARCHAR, first_operational VARCHAR) [/INST]
### Response:
SELECT name FROM table_13636_1 WHERE first_operational = "March 1945" </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 computing mechanbeingm with first operational being february 1944
### Context:
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, first_operational VARCHAR) [/INST]
### Response:
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944" </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 turing complete with name being atanasoff–berry computer (us)
### Context:
CREATE TABLE table_13636_1 (turing_complete VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT turing_complete FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)" </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 first operational with programming being not programmable—single purpose
### Context:
CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR) [/INST]
### Response:
SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose" </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 has a 5.5 mark for security?
### Context:
CREATE TABLE table_13677808_1 (rank VARCHAR, security VARCHAR) [/INST]
### Response:
SELECT rank FROM table_13677808_1 WHERE security = "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:
How many times is denmark ranked in technology?
### Context:
CREATE TABLE table_13677808_1 (technology VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT COUNT(technology) FROM table_13677808_1 WHERE rank = "Denmark" </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 environment rating of the country with an overall average rating of 4.7?
### Context:
CREATE TABLE table_13677808_1 (environment VARCHAR, overall__average_ VARCHAR) [/INST]
### Response:
SELECT environment FROM table_13677808_1 WHERE overall__average_ = "4.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 is the migration rating when trade is 5.7?
### Context:
CREATE TABLE table_13677808_1 (migration VARCHAR, trade VARCHAR) [/INST]
### Response:
SELECT migration FROM table_13677808_1 WHERE trade = "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:
What is the lowest PF?
### Context:
CREATE TABLE table_1370559_1 (pf INTEGER) [/INST]
### Response:
SELECT MIN(pf) FROM table_1370559_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 PA when the PF is 77?
### Context:
CREATE TABLE table_1370559_1 (pa VARCHAR, pf VARCHAR) [/INST]
### Response:
SELECT pa FROM table_1370559_1 WHERE pf = 77 </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 won with try bonus being 8
### Context:
CREATE TABLE table_13758945_3 (won VARCHAR, try_bonus VARCHAR) [/INST]
### Response:
SELECT won FROM table_13758945_3 WHERE try_bonus = "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:
what's the club with losing bonus being 1
### Context:
CREATE TABLE table_13758945_3 (club VARCHAR, losing_bonus VARCHAR) [/INST]
### Response:
SELECT club FROM table_13758945_3 WHERE losing_bonus = "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 losing bonus with won being 10 and points against being 283
### Context:
CREATE TABLE table_13758945_3 (losing_bonus VARCHAR, won VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT COUNT(losing_bonus) FROM table_13758945_3 WHERE won = "10" AND points_against = "283" </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 points against with tries for being 43
### Context:
CREATE TABLE table_13758945_3 (points_against VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT COUNT(points_against) FROM table_13758945_3 WHERE tries_for = "43" </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 points with tries for being 64
### Context:
CREATE TABLE table_13758945_3 (points VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT points FROM table_13758945_3 WHERE tries_for = "64" </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 won with points against being 597
### Context:
CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT won FROM table_13758945_3 WHERE points_against = "597" </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 type of the player whose transfer fee was €20m?
### Context:
CREATE TABLE table_13770460_3 (type VARCHAR, transfer_fee VARCHAR) [/INST]
### Response:
SELECT type FROM table_13770460_3 WHERE transfer_fee = "€20M" </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 EU status of ESP?
### Context:
CREATE TABLE table_13770460_3 (eu VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT eu FROM table_13770460_3 WHERE country = "ESp" </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 numbers are ending in 1 year?
### Context:
CREATE TABLE table_13770460_3 (COUnT VARCHAR, ends VARCHAR) [/INST]
### Response:
SELECT COUnT AS n FROM table_13770460_3 WHERE ends = "1 year" </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 nme of the song performed by billy vaughn?
### Context:
CREATE TABLE table_13804825_2 (song_title VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT song_title FROM table_13804825_2 WHERE artist = "Billy Vaughn" </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 highest place reached by artist Ray Adams?
### Context:
CREATE TABLE table_13805773_2 (position INTEGER, artist VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams" </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 title of the song that received 259 points?
### Context:
CREATE TABLE table_13805773_2 (song_title VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT song_title FROM table_13805773_2 WHERE points = 259 </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 heavy is the maximum
### Context:
CREATE TABLE table_13950065_1 (per_lift INTEGER) [/INST]
### Response:
SELECT MAX(per_lift) FROM table_13950065_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 channels were gained in 1997
### Context:
CREATE TABLE table_1397655_1 (other_programming_sources VARCHAR, year_acquired VARCHAR) [/INST]
### Response:
SELECT COUNT(other_programming_sources) FROM table_1397655_1 WHERE year_acquired = 1997 </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 any were gained as the chan
### Context:
CREATE TABLE table_1397655_1 (year_acquired VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT COUNT(year_acquired) FROM table_1397655_1 WHERE station = "CHAN" </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 is the minimum for citv
### Context:
CREATE TABLE table_1397655_1 (year_acquired INTEGER, station VARCHAR) [/INST]
### Response:
SELECT MIN(year_acquired) FROM table_1397655_1 WHERE station = "CITV" </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 citv located
### Context:
CREATE TABLE table_1397655_1 (city VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT city FROM table_1397655_1 WHERE station = "CITV" </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 station is located in edmonton
### Context:
CREATE TABLE table_1397655_1 (station VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT station FROM table_1397655_1 WHERE city = "Edmonton" </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 outcome for the match in 1989?
### Context:
CREATE TABLE table_1399994_5 (outcome VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_1399994_5 WHERE year = "1989" </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 locations hosted Claudia Kohde-Kilsch Eva Pfaff?
### Context:
CREATE TABLE table_1399994_5 (location VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_1399994_5 WHERE opponents = "Claudia Kohde-Kilsch Eva Pfaff" </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 were all of the opponents in 1984?
### Context:
CREATE TABLE table_1399994_5 (opponents VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_1399994_5 WHERE year = "1984" </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 partners were there in 1988?
### Context:
CREATE TABLE table_1399994_5 (partner VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(partner) FROM table_1399994_5 WHERE year = "1988" </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 tall is Maksim Botin?
### Context:
CREATE TABLE table_14038363_1 (height VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT height FROM table_14038363_1 WHERE player = "Maksim Botin" </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 Maksim Botin's position?
### Context:
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_14038363_1 WHERE player = "Maksim Botin" </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 Roman Bragin's position?
### Context:
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_14038363_1 WHERE player = "Roman Bragin" </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 position does Teodor Salparov play on?
### Context:
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_14038363_1 WHERE player = "Teodor Salparov" </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 minimum points with goals for/against being 8-5
### Context:
CREATE TABLE table_14181578_1 (points INTEGER, goals_for_against VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_14181578_1 WHERE goals_for_against = "8-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's the w-l-d with position being 1
### Context:
CREATE TABLE table_14181578_1 (w_l_d VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT w_l_d FROM table_14181578_1 WHERE position = 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:
who is the the club (city/town) with goals for/against being 14-2
### Context:
CREATE TABLE table_14181578_1 (club__city_town_ VARCHAR, goals_for_against VARCHAR) [/INST]
### Response:
SELECT club__city_town_ FROM table_14181578_1 WHERE goals_for_against = "14-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's the goals for/against with w-l-d being 3-1-1
### Context:
CREATE TABLE table_14181578_1 (goals_for_against VARCHAR, w_l_d VARCHAR) [/INST]
### Response:
SELECT goals_for_against FROM table_14181578_1 WHERE w_l_d = "3-1-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 minimum games played with goals for/against being 7-5
### Context:
CREATE TABLE table_14181578_1 (games_played INTEGER, goals_for_against VARCHAR) [/INST]
### Response:
SELECT MIN(games_played) FROM table_14181578_1 WHERE goals_for_against = "7-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 is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)?
### Context:
CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle Thunderbirds (WHL)" </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 college/junior/club team (league) of the player who was pick number 130?
### Context:
CREATE TABLE table_14209245_9 (college_junior_club_team__league_ VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team__league_ FROM table_14209245_9 WHERE pick__number = "130" </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 pick number for round 2?
### Context:
CREATE TABLE table_14209245_9 (pick__number VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_14209245_9 WHERE round = 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 time is mon may 26 and fri may 30 is 18' 28.27 122.599mph?
### Context:
CREATE TABLE table_14209455_1 (mon_26_may VARCHAR, fri_30_may VARCHAR) [/INST]
### Response:
SELECT mon_26_may FROM table_14209455_1 WHERE fri_30_may = "18' 28.27 122.599mph" </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 tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?
### Context:
CREATE TABLE table_14209455_1 (wed_28_may VARCHAR, mon_26_may VARCHAR) [/INST]
### Response:
SELECT wed_28_may FROM table_14209455_1 WHERE mon_26_may = "17' 58.34 125.960mph" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.