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's Fitchburg State University's LEC sport?
### Context:
CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State 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:
Where is the school whose students are nicknamed falcons located?
### Context:
CREATE TABLE table_1974545_2 (location VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT location FROM table_1974545_2 WHERE nickname = "Falcons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Salem State University's primary conference?
### Context:
CREATE TABLE table_1974545_2 (primary_conference VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT primary_conference FROM table_1974545_2 WHERE institution = "Salem State 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:
Name the incumbent for north carolina 9
### Context:
CREATE TABLE table_19753079_36 (incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_19753079_36 WHERE district = "North Carolina 9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party for north carolina 7
### Context:
CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 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:
Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0%
### Context:
CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_19753079_36 WHERE candidates = "Sue Myrick (R) 69.0% Jeff Doctor (D) 31.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:
Name the result for north carolina 7
### Context:
CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT result FROM table_19753079_36 WHERE district = "North Carolina 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 Babson College's enrollment?
### Context:
CREATE TABLE table_1974782_1 (enrollment INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(enrollment) FROM table_1974782_1 WHERE institution = "Babson 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:
When has Clark University joined the Conference?
### Context:
CREATE TABLE table_1974782_1 (joined INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(joined) FROM table_1974782_1 WHERE institution = "Clark 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's the type of the school in New London, Connecticut?
### Context:
CREATE TABLE table_1974782_1 (type VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT type FROM table_1974782_1 WHERE location = "New London, Connecticut" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the school in Springfield, Massachusetts founded?
### Context:
CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_1974782_1 WHERE location = "Springfield, Massachusetts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 located in Worcester, Massachusetts?
### Context:
CREATE TABLE table_1974782_1 (institution VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT institution FROM table_1974782_1 WHERE location = "Worcester, Massachusetts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the candidates in Florida 13 district?
### Context:
CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pairs of candidates were there for the district first elected in 1988?
### Context:
CREATE TABLE table_19753079_12 (candidates VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT COUNT(candidates) FROM table_19753079_12 WHERE first_elected = 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:
Who were candidates in Florida 10 district?
### Context:
CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 got elected in Florida 9 district?
### Context:
CREATE TABLE table_19753079_12 (party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_19753079_12 WHERE district = "Florida 9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first round that had #67 the racer's group with the fastest lap?
### Context:
CREATE TABLE table_19751479_4 (rnd INTEGER, fastest_lap VARCHAR) [/INST]
### Response:
SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = "#67 The Racer's Group" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races had #99 gainsco/bob stallings racing in round 10?
### Context:
CREATE TABLE table_19751479_4 (fastest_lap VARCHAR, rnd VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT COUNT(fastest_lap) FROM table_19751479_4 WHERE rnd = 10 AND pole_position = "#99 GAINSCO/Bob Stallings Racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent was first elected in 2009?
### Context:
CREATE TABLE table_19753079_8 (incumbent VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_19753079_8 WHERE first_elected = 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were first elected in California 7?
### Context:
CREATE TABLE table_19753079_8 (first_elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT first_elected FROM table_19753079_8 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 district did George Miller belong to?
### Context:
CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_19753079_8 WHERE incumbent = "George 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:
When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party?
### Context:
CREATE TABLE table_19753079_41 (party VARCHAR, candidates VARCHAR) [/INST]
### Response:
SELECT party FROM table_19753079_41 WHERE candidates = "Mark Critz (D) 50.8% Tim Burns (R) 49.2%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When chris carney is the incumbent what are the results?
### Context:
CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1994 is the first elected what is the district?
### Context:
CREATE TABLE table_19753079_41 (district VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT district FROM table_19753079_41 WHERE first_elected = 1994 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pennsylvania 3 is the district who is the incumbent?
### Context:
CREATE TABLE table_19753079_41 (incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_19753079_41 WHERE district = "Pennsylvania 3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 1984 is the first elected who are the candidates?
### Context:
CREATE TABLE table_19753079_41 (candidates VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT candidates FROM table_19753079_41 WHERE first_elected = 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:
What is Salva Ortega's result?
### Context:
CREATE TABLE table_19763199_4 (result VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT result FROM table_19763199_4 WHERE artist = "Salva Ortega" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 televotes are there where there is 4 jury votes?
### Context:
CREATE TABLE table_19763199_4 (televotes VARCHAR, jury_votes VARCHAR) [/INST]
### Response:
SELECT televotes FROM table_19763199_4 WHERE jury_votes = 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:
How many jury votes for the televote of 7?
### Context:
CREATE TABLE table_19763199_4 (jury_votes VARCHAR, televotes VARCHAR) [/INST]
### Response:
SELECT jury_votes FROM table_19763199_4 WHERE televotes = 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 result for Normativa Vigente?
### Context:
CREATE TABLE table_19763199_3 (result VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT result FROM table_19763199_3 WHERE artist = "Normativa Vigente" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song has 24 votes?
### Context:
CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR) [/INST]
### Response:
SELECT song FROM table_19763199_3 WHERE total_votes = 24 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least total votes?
### Context:
CREATE TABLE table_19763199_3 (total_votes INTEGER) [/INST]
### Response:
SELECT MIN(total_votes) FROM table_19763199_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:
How many votes does Carlos Ferrer Eai have?
### Context:
CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT total_votes FROM table_19763199_3 WHERE artist = "Carlos Ferrer EAI" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are on this list?
### Context:
CREATE TABLE table_197638_6 (_number INTEGER) [/INST]
### Response:
SELECT MAX(_number) FROM table_197638_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:
Who won the French Open in 1999?
### Context:
CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR) [/INST]
### Response:
SELECT player FROM table_197638_6 WHERE french_open = 1999 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the US Open in 1937?
### Context:
CREATE TABLE table_197638_6 (player VARCHAR, us_open VARCHAR) [/INST]
### Response:
SELECT player FROM table_197638_6 WHERE us_open = 1937 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times did Roy Emerson win the Australian Open?
### Context:
CREATE TABLE table_197638_6 (australian_open VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what age did Roy Emerson complete the Grand Slam?
### Context:
CREATE TABLE table_197638_6 (age INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(age) FROM table_197638_6 WHERE player = "Roy Emerson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least rank for 2
### Context:
CREATE TABLE table_19764939_1 (rank INTEGER, total VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_19764939_1 WHERE total = 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:
Name the total for jamie carragher
### Context:
CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club worl cup for djibril cisse
### Context:
CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = "Djibril Cisse" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 post code of the county with the Chinese name 潜山县 / 潛山縣?
### Context:
CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR) [/INST]
### Response:
SELECT MIN(post_code) FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "潜山县 / 潛山縣" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English name of the county called 太湖县 / 太湖縣 in Chinese?
### Context:
CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR) [/INST]
### Response:
SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县 / 太湖縣" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English name of the county with a postcode 246400?
### Context:
CREATE TABLE table_1976898_1 (english_name VARCHAR, post_code VARCHAR) [/INST]
### Response:
SELECT english_name FROM table_1976898_1 WHERE post_code = 246400 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chinese (simplified/traditional) name of Susong County?
### Context:
CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR) [/INST]
### Response:
SELECT chinese_name__simplified___traditional_ FROM table_1976898_1 WHERE english_name = "Susong County" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pinyin name of the county with a postcode 246500?
### Context:
CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR) [/INST]
### Response:
SELECT pinyin FROM table_1976898_1 WHERE post_code = 246500 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On how many different dates was a game against Houston played?
### Context:
CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_19778010_5 WHERE opponent = "Houston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players did the high assists in games where the high rebounds were done by Sales (10)?
### Context:
CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(high_assists) FROM table_19778010_5 WHERE high_rebounds = "Sales (10)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of the game played on June 22?
### Context:
CREATE TABLE table_19778010_5 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_19778010_5 WHERE date = "June 22" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was game number 8 played against?
### Context:
CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_19778010_5 WHERE game = 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:
Who did the high rebounds in the game in which five players (3) did the high assists?
### Context:
CREATE TABLE table_19778010_5 (high_rebounds VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_19778010_5 WHERE high_assists = "Five Players (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 are all the conjugated forms of the verb where the el/ ella/usted verb is piense?
### Context:
CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR) [/INST]
### Response:
SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = "piense" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the conjugated forms of the verb moler where the vosotros / vosotras is moláis for the yo tense?
### Context:
CREATE TABLE table_1977630_2 (yo VARCHAR, vosotros___vosotras VARCHAR) [/INST]
### Response:
SELECT yo FROM table_1977630_2 WHERE vosotros___vosotras = "moláis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 verbs have the yo form as sienta?
### Context:
CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR) [/INST]
### Response:
SELECT COUNT(verbs) FROM table_1977630_2 WHERE yo = "sienta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás?
### Context:
CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR) [/INST]
### Response:
SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molás" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 forms of the conjucated vos(*) where él / ella / usted is muela
### Context:
CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR) [/INST]
### Response:
SELECT vos__ * _ FROM table_1977630_2 WHERE él___ella___usted = "muela" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have the Till Agra of 500?
### Context:
CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR) [/INST]
### Response:
SELECT COUNT(till_mathura) FROM table_19787093_1 WHERE till_agra = 500 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vehicle is the agra 1050?
### Context:
CREATE TABLE table_19787093_1 (vehicle_category VARCHAR, till_agra VARCHAR) [/INST]
### Response:
SELECT vehicle_category FROM table_19787093_1 WHERE till_agra = 1050 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the till aligarh is 150, what the mac till mathura?
### Context:
CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR) [/INST]
### Response:
SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = 150 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the till agra is 1050, what is the max round trip?
### Context:
CREATE TABLE table_19787093_1 (for_round_trip INTEGER, till_agra VARCHAR) [/INST]
### Response:
SELECT MAX(for_round_trip) FROM table_19787093_1 WHERE till_agra = 1050 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the vehicle category is multi-axle vehicle, what is the till aligarh?
### Context:
CREATE TABLE table_19787093_1 (till_aligarh INTEGER, vehicle_category VARCHAR) [/INST]
### Response:
SELECT MIN(till_aligarh) FROM table_19787093_1 WHERE vehicle_category = "Multi-axle Vehicle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest number of a game where S. Johnson (3) did the most high assists?
### Context:
CREATE TABLE table_19789597_6 (game INTEGER, high_assists VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_19789597_6 WHERE high_assists = "S. Johnson (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 game on July 12 played against?
### Context:
CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_19789597_6 WHERE date = "July 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 was the record in the game where McWilliams (8) did the most high rebounds?
### Context:
CREATE TABLE table_19789597_6 (record VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT record FROM table_19789597_6 WHERE high_rebounds = "McWilliams (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:
Who was the game on July 7 played against?
### Context:
CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_19789597_6 WHERE date = "July 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 owner of the callsign wliw
### Context:
CREATE TABLE table_1979203_1 (owner VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT owner FROM table_1979203_1 WHERE callsign = "WLIW" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 callsigns are for the branding telemundo 47
### Context:
CREATE TABLE table_1979203_1 (callsign VARCHAR, branding VARCHAR) [/INST]
### Response:
SELECT COUNT(callsign) FROM table_1979203_1 WHERE branding = "Telemundo 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:
what is the virtual callsign if is wnet
### Context:
CREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT _virtual_ FROM table_1979203_1 WHERE callsign = "WNET" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the name of the branding where the virtual is 13.1
### Context:
CREATE TABLE table_1979203_1 (branding VARCHAR, _virtual_ VARCHAR) [/INST]
### Response:
SELECT branding FROM table_1979203_1 WHERE _virtual_ = "13.1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the district for newtown square
### Context:
CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR) [/INST]
### Response:
SELECT MIN(district) FROM table_1979619_3 WHERE residence = "Newtown Square" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party for bensalem
### Context:
CREATE TABLE table_1979619_3 (party VARCHAR, residence VARCHAR) [/INST]
### Response:
SELECT party FROM table_1979619_3 WHERE residence = "Bensalem" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 term ends for bethlehem
### Context:
CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR) [/INST]
### Response:
SELECT COUNT(term_ends) FROM table_1979619_3 WHERE residence = "Bethlehem" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 districts for rob teplitz
### Context:
CREATE TABLE table_1979619_3 (district VARCHAR, representative VARCHAR) [/INST]
### Response:
SELECT COUNT(district) FROM table_1979619_3 WHERE representative = "Rob Teplitz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 contestant whose background was as a business major?
### Context:
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR) [/INST]
### Response:
SELECT result FROM table_19810459_1 WHERE background = "Business major" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 background of the contestant whose result was 11th place?
### Context:
CREATE TABLE table_19810459_1 (background VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT background FROM table_19810459_1 WHERE result = "11th place" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For how many contestants was the background internet dreamer?
### Context:
CREATE TABLE table_19810459_1 (contestant VARCHAR, background VARCHAR) [/INST]
### Response:
SELECT COUNT(contestant) FROM table_19810459_1 WHERE background = "Internet dreamer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 contestant who was a small business owner?
### Context:
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR) [/INST]
### Response:
SELECT result FROM table_19810459_1 WHERE background = "Small business owner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team was the contestant who finished in 10th place originally on?
### Context:
CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT original_team FROM table_19810459_1 WHERE result = "10th place" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown of the contestant whose background is as a financial consultant?
### Context:
CREATE TABLE table_19810459_1 (hometown VARCHAR, background VARCHAR) [/INST]
### Response:
SELECT hometown FROM table_19810459_1 WHERE background = "Financial consultant" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the rating/share is 3.8/10, what is the total number of rating?
### Context:
CREATE TABLE table_19805130_3 (rating VARCHAR) [/INST]
### Response:
SELECT COUNT(rating) FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 3.8 / 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the night rank is 9, what is the total share number?
### Context:
CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR) [/INST]
### Response:
SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the episode with a night rank of 9?
### Context:
CREATE TABLE table_19805130_3 (episode VARCHAR, rank__night_ VARCHAR) [/INST]
### Response:
SELECT episode FROM table_19805130_3 WHERE rank__night_ = "9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking?
### Context:
CREATE TABLE table_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT rating FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 2.0 / 6 AND viewers__millions_ = "5.14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writers for swedish sailor
### Context:
CREATE TABLE table_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR) [/INST]
### Response:
SELECT writer_s_ FROM table_19852975_3 WHERE arties_disguises = "Swedish sailor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season number for herr ostropolyer, pastry chef
### Context:
CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR) [/INST]
### Response:
SELECT MIN(season__number) FROM table_19852975_3 WHERE arties_disguises = "Herr Ostropolyer, pastry chef" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 principal of Northfield Junior-Senior High School.
### Context:
CREATE TABLE table_1984697_85 (principal VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT principal FROM table_1984697_85 WHERE school = "Northfield Junior-Senior High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the school/s in North Manchester?
### Context:
CREATE TABLE table_1984697_85 (school VARCHAR, city___town VARCHAR) [/INST]
### Response:
SELECT school FROM table_1984697_85 WHERE city___town = "North Manchester" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school/s with is size of 604.
### Context:
CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR) [/INST]
### Response:
SELECT school FROM table_1984697_85 WHERE size = 604 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IDOE Profile in North Manchester?
### Context:
CREATE TABLE table_1984697_85 (idoe_profile VARCHAR, city___town VARCHAR) [/INST]
### Response:
SELECT idoe_profile FROM table_1984697_85 WHERE city___town = "North Manchester" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grades served at Manchester Junior-Senior High School?
### Context:
CREATE TABLE table_1984697_85 (grades VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT grades FROM table_1984697_85 WHERE school = "Manchester Junior-Senior High school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Writer Max Ehrlich, what is the minimum series number?
### Context:
CREATE TABLE table_19852975_4 (series__number INTEGER, writer_s_ VARCHAR) [/INST]
### Response:
SELECT MIN(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
From writer Denne Bart Petitclerc, what is the maximum season number?
### Context:
CREATE TABLE table_19852975_4 (season__number INTEGER, writer_s_ VARCHAR) [/INST]
### Response:
SELECT MAX(season__number) FROM table_19852975_4 WHERE writer_s_ = "Denne Bart Petitclerc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
From writer Max Ehrlich, what is the total amount of series numbers?
### Context:
CREATE TABLE table_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver when rd. is 3?
### Context:
CREATE TABLE table_19850806_3 (winning_driver VARCHAR, rd VARCHAR) [/INST]
### Response:
SELECT winning_driver FROM table_19850806_3 WHERE rd = "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:
How many winning drivers are there when the winning team is Bryan herta autosport?
### Context:
CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR) [/INST]
### Response:
SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report is where rd. is 9?
### Context:
CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR) [/INST]
### Response:
SELECT report FROM table_19850806_3 WHERE rd = "9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 held the fastest lap in the race in texas and dario franchitti is the winning driver?
### Context:
CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_19850806_3 WHERE race = "Texas" AND winning_driver = "Dario Franchitti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Huckleberry Hound episodes were aired on 1960.09.18?
### Context:
CREATE TABLE table_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(huckleberry_hound) FROM table_19860361_4 WHERE air_date = "1960.09.18" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pixie and Dixie skit in episode 7?
### Context:
CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR) [/INST]
### Response:
SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 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 Yogi Bear that aired on 1959.12.21?
### Context:
CREATE TABLE table_19860361_3 (yogi_bear VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT yogi_bear FROM table_19860361_3 WHERE air_date = "1959.12.21" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.