text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was their record in week 11?
### Context:
CREATE TABLE table_21839208_4 (record VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT record FROM table_21839208_4 WHERE week = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins
### Context:
CREATE TABLE table_2187333_1 (wins INTEGER) [/INST]
### Response:
SELECT MIN(wins) FROM table_2187333_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 avg start for avg finish of 18.3
### Context:
CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR) [/INST]
### Response:
SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the year for #16 roush racing for poles less than smaller 1.0
### Context:
CREATE TABLE table_2187333_1 (year VARCHAR, team_s_ VARCHAR, poles VARCHAR) [/INST]
### Response:
SELECT year FROM table_2187333_1 WHERE team_s_ = "#16 Roush Racing" AND poles < 1.0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the listen owners for repairone
### Context:
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, primary_sponsor_s_ VARCHAR) [/INST]
### Response:
SELECT listed_owner_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "RepairOne" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 trucks for scott neal
### Context:
CREATE TABLE table_2187178_1 (truck_s_ VARCHAR, crew_chief VARCHAR) [/INST]
### Response:
SELECT truck_s_ FROM table_2187178_1 WHERE crew_chief = "Scott Neal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listed owners for brevak racing
### Context:
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT listed_owner_s_ FROM table_2187178_1 WHERE team = "Brevak 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:
Name the crew chief for ricky craven
### Context:
CREATE TABLE table_2187178_1 (crew_chief VARCHAR, driver_s_ VARCHAR) [/INST]
### Response:
SELECT crew_chief FROM table_2187178_1 WHERE driver_s_ = "Ricky Craven" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drivers for superchips
### Context:
CREATE TABLE table_2187178_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR) [/INST]
### Response:
SELECT driver_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "Superchips" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Viva Cuba submitted?
### Context:
CREATE TABLE table_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_21904740_1 WHERE spanish_title = "Viva Cuba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name for 15 yield
### Context:
CREATE TABLE table_2189647_1 (name_or_number VARCHAR, yield__megatons_ VARCHAR) [/INST]
### Response:
SELECT name_or_number FROM table_2189647_1 WHERE yield__megatons_ = "15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank of the company known for retailing?
### Context:
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, known_for VARCHAR) [/INST]
### Response:
SELECT COUNT(state_rank_by_revenue) FROM table_21926985_2 WHERE known_for = "Retailing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank for Murphy Oil?
### Context:
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, company_name VARCHAR) [/INST]
### Response:
SELECT state_rank_by_revenue FROM table_21926985_2 WHERE company_name = "Murphy Oil" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 company with estimated revenue of 33.3 billion headquartered?
### Context:
CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR) [/INST]
### Response:
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.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 national rank of Windstream?
### Context:
CREATE TABLE table_21926985_2 (national_rank INTEGER, company_name VARCHAR) [/INST]
### Response:
SELECT MIN(national_rank) FROM table_21926985_2 WHERE company_name = "Windstream" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state rank of the company with 6.8 billion in revenue?
### Context:
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, revenue__$billions__2012_estimate VARCHAR) [/INST]
### Response:
SELECT state_rank_by_revenue FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "6.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:
Name the entrant for benedicto campos
### Context:
CREATE TABLE table_21977704_1 (entrant VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT entrant FROM table_21977704_1 WHERE driver = "Benedicto Campos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number for automóvil club argentino for juan manuel fangio
### Context:
CREATE TABLE table_21977704_1 (no VARCHAR, entrant VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT no FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Juan Manuel Fangio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most number for automóvil club argentino for benedicto campos
### Context:
CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Benedicto Campos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver for talbot l6
### Context:
CREATE TABLE table_21977704_1 (driver VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT driver FROM table_21977704_1 WHERE engine = "Talbot L6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructor for alberto ascari
### Context:
CREATE TABLE table_21977704_1 (constructor VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT constructor FROM table_21977704_1 WHERE driver = "Alberto Ascari" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chassis for alta
### Context:
CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_21977704_1 WHERE constructor = "Alta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The Maserati 4cl's minimum no was?
### Context:
CREATE TABLE table_21977627_1 (no INTEGER, chassis VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_21977627_1 WHERE chassis = "Maserati 4CL" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entrants was yves giraud-cabantous?
### Context:
CREATE TABLE table_21977627_1 (entrant VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(entrant) FROM table_21977627_1 WHERE driver = "Yves Giraud-Cabantous" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chasis did the maserati l6s have?
### Context:
CREATE TABLE table_21977627_1 (chassis VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT chassis FROM table_21977627_1 WHERE engine = "Maserati L6s" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drivers did Bob Gerard Racing have?
### Context:
CREATE TABLE table_21977627_1 (driver VARCHAR, entrant VARCHAR) [/INST]
### Response:
SELECT COUNT(driver) FROM table_21977627_1 WHERE entrant = "Bob Gerard 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:
For the team with 7 points, how many points were scored against this season?
### Context:
CREATE TABLE table_21991074_1 (pts_agst VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(pts_agst) FROM table_21991074_1 WHERE points = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum number of points scored against?
### Context:
CREATE TABLE table_21991074_1 (pts_agst INTEGER) [/INST]
### Response:
SELECT MAX(pts_agst) FROM table_21991074_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 Chesterfield Spires average?
### Context:
CREATE TABLE table_21991074_1 (average VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT average FROM table_21991074_1 WHERE club = "Chesterfield Spires" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 January (°C) temperatures when the July (°C) temperatures were 22/13?
### Context:
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR) [/INST]
### Response:
SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "22/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:
What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15?
### Context:
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR) [/INST]
### Response:
SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "23/15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what location were the January (°F) temperatures 30/17?
### Context:
CREATE TABLE table_21980_1 (location VARCHAR, january__°f_ VARCHAR) [/INST]
### Response:
SELECT location FROM table_21980_1 WHERE january__°f_ = "30/17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the July (°C) temperatures when the July (°F) temperatures were 71/55?
### Context:
CREATE TABLE table_21980_1 (july__°c_ VARCHAR, july__°f_ VARCHAR) [/INST]
### Response:
SELECT july__°c_ FROM table_21980_1 WHERE july__°f_ = "71/55" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the January (°F) temperatures in the Corner Brook location?
### Context:
CREATE TABLE table_21980_1 (january__°f_ VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT january__°f_ FROM table_21980_1 WHERE location = "Corner Brook" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most points agst
### Context:
CREATE TABLE table_21991074_3 (pts_agst INTEGER) [/INST]
### Response:
SELECT MAX(pts_agst) FROM table_21991074_3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least lost
### Context:
CREATE TABLE table_21991074_3 (lost INTEGER) [/INST]
### Response:
SELECT MIN(lost) FROM table_21991074_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 are the writers of the episode that had 3.07 millions of North American spectators?
### Context:
CREATE TABLE table_21979779_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_21979779_1 WHERE us_viewers__million_ = "3.07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 biggest series episode number whose production code is 2t7211?
### Context:
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_21979779_1 WHERE production_code = "2T7211" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the smallest series episode number whose production code is 2t7211?
### Context:
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MIN(no) FROM table_21979779_1 WHERE production_code = "2T7211" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 premiere of the episode where the amount of North American spectators was 1.76 millions?
### Context:
CREATE TABLE table_21979779_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_21979779_1 WHERE us_viewers__million_ = "1.76" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum series number have 2apx05 prod. code.
### Context:
CREATE TABLE table_21994729_3 (series__number INTEGER, prod_code VARCHAR) [/INST]
### Response:
SELECT MAX(series__number) FROM table_21994729_3 WHERE prod_code = "2APX05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title directed by reginald hudlin
### Context:
CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
reginald hudlin directed how many written by.
### Context:
CREATE TABLE table_21994729_3 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wore the episode with the production code of 1apx11?
### Context:
CREATE TABLE table_21994729_2 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_21994729_2 WHERE prod_code = "1APX11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank is 11, what is the total amount?
### Context:
CREATE TABLE table_21995420_9 (total VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT total FROM table_21995420_9 WHERE rank = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?
### Context:
CREATE TABLE table_21995420_9 (stunts VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 POS is 3, what is the 08 points?
### Context:
CREATE TABLE table_22011138_7 (pos VARCHAR) [/INST]
### Response:
SELECT 08 AS _pts FROM table_22011138_7 WHERE pos = 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:
If the team is Rubio ñú, what is the 08 points?
### Context:
CREATE TABLE table_22011138_7 (team VARCHAR) [/INST]
### Response:
SELECT 08 AS _pts FROM table_22011138_7 WHERE team = "Rubio Ñú" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average is 1.2803, what is the total points maximum?
### Context:
CREATE TABLE table_22011138_7 (total_pts INTEGER, avg VARCHAR) [/INST]
### Response:
SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 POS is 4, what is the total PLD?
### Context:
CREATE TABLE table_22011138_7 (total_pld VARCHAR, pos VARCHAR) [/INST]
### Response:
SELECT total_pld FROM table_22011138_7 WHERE pos = 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 is the team name when 243 is the total?
### Context:
CREATE TABLE table_22014431_3 (team_name VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT team_name FROM table_22014431_3 WHERE total = "243" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team names have 44.5 for tumbling?
### Context:
CREATE TABLE table_22014431_3 (team_name VARCHAR, tumbling VARCHAR) [/INST]
### Response:
SELECT team_name FROM table_22014431_3 WHERE tumbling = "44.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 total if 44 is tosses/pyramids?
### Context:
CREATE TABLE table_22014431_3 (total VARCHAR, tosses_pyramids VARCHAR) [/INST]
### Response:
SELECT total FROM table_22014431_3 WHERE tosses_pyramids = "44" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deductions have 56.5 as tosses/pyramids?
### Context:
CREATE TABLE table_22014431_3 (deductions VARCHAR, tosses_pyramids VARCHAR) [/INST]
### Response:
SELECT deductions FROM table_22014431_3 WHERE tosses_pyramids = "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 is the rank when 36.5 is tumbling?
### Context:
CREATE TABLE table_22014431_3 (rank VARCHAR, tumbling VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_22014431_3 WHERE tumbling = "36.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 rank when 64.5 is tosses/pyramids?
### Context:
CREATE TABLE table_22014431_3 (rank INTEGER, tosses_pyramids VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_22014431_3 WHERE tosses_pyramids = "64.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 different outcomes of the French Championships were there?
### Context:
CREATE TABLE table_2201724_2 (outcome VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT COUNT(outcome) FROM table_2201724_2 WHERE championship = "French championships" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final scores were there in 1963?
### Context:
CREATE TABLE table_2201724_2 (score_in_the_final VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the film titled 'Steam of Life'?
### Context:
CREATE TABLE table_22020724_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT director FROM table_22020724_1 WHERE film_title_used_in_nomination = "Steam of Life" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the ceremony where the film 'Tummien Perhosten Koti' was submitted?
### Context:
CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results for the film titled 'Joki'?
### Context:
CREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = "Joki" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 domestic box office for the film that had a foreign box office of $26,600,000?
### Context:
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, foreign_box_office VARCHAR) [/INST]
### Response:
SELECT domestic_box_office FROM table_2203760_4 WHERE foreign_box_office = "$26,600,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 domestic box office for "House on Haunted Hill"?
### Context:
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, film VARCHAR) [/INST]
### Response:
SELECT domestic_box_office FROM table_2203760_4 WHERE film = "House on Haunted Hill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 budget for "Thirteen Ghosts"?
### Context:
CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR) [/INST]
### Response:
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every school for the Adelaide location?
### Context:
CREATE TABLE table_22043925_1 (school VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT school FROM table_22043925_1 WHERE location = "Adelaide" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for founded when enrollment is 850?
### Context:
CREATE TABLE table_22043925_1 (founded VARCHAR, enrolment VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_22043925_1 WHERE enrolment = 850 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every denomination for the school Seymour college?
### Context:
CREATE TABLE table_22043925_1 (denomination VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT denomination FROM table_22043925_1 WHERE school = "Seymour 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:
Event number 38m was held on which date?
### Context:
CREATE TABLE table_22050544_3 (date VARCHAR, event__number VARCHAR) [/INST]
### Response:
SELECT date FROM table_22050544_3 WHERE event__number = "38M" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 $109 no limit hold'em w/rebuys [turbo]?
### Context:
CREATE TABLE table_22050544_3 (winner VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT winner FROM table_22050544_3 WHERE event = "$109 No Limit Hold'em w/rebuys [Turbo]" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event had 25,883 entries?
### Context:
CREATE TABLE table_22050544_3 (event VARCHAR, entries VARCHAR) [/INST]
### Response:
SELECT event FROM table_22050544_3 WHERE entries = "25,883" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 categories for elapsed time exist for the $16.50 fixed-limit badugi game?
### Context:
CREATE TABLE table_22050544_3 (elapsed_time VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT COUNT(elapsed_time) FROM table_22050544_3 WHERE event = "$16.50 Fixed-Limit Badugi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did jaroslav vojtek category:articles with hcards Direct?
### Context:
CREATE TABLE table_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_22032599_1 WHERE director = "Jaroslav Vojtek Category:Articles with hCards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result for Gypsy?
### Context:
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "Gypsy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 films did martin repka category:articles with hcards direct?
### Context:
CREATE TABLE table_22032599_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT COUNT(film_title_used_in_nomination) FROM table_22032599_1 WHERE director = "Martin Repka Category:Articles with hCards" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result for City of the Sun?
### Context:
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "City of the Sun" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 language for the movie "Late Bloomers"?
### Context:
CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Late Bloomers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original titles were listed as "If the Sun Never Returns"?
### Context:
CREATE TABLE table_22034853_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT COUNT(original_title) FROM table_22034853_1 WHERE film_title_used_in_nomination = "If the Sun Never Returns" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 language of "Mein Name Ist Bach"?
### Context:
CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Mein Name Ist Bach" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for the film "Vitus"?
### Context:
CREATE TABLE table_22034853_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_22034853_1 WHERE original_title = "Vitus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 films are titled "Dans la Ville Blanche"?
### Context:
CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the writers had 5.35 viewers?
### Context:
CREATE TABLE table_22053239_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_22053239_1 WHERE us_viewers__millions_ = "5.35" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elapsed time for the championship that had $9,377.42 in prize money?
### Context:
CREATE TABLE table_22050544_4 (elapsed_time VARCHAR, prize VARCHAR) [/INST]
### Response:
SELECT elapsed_time FROM table_22050544_4 WHERE prize = "$9,377.42" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 prize pool for the event number 27H?
### Context:
CREATE TABLE table_22050544_4 (prize VARCHAR, event__number VARCHAR) [/INST]
### Response:
SELECT prize AS Pool FROM table_22050544_4 WHERE event__number = "27H" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event name with the number 8M?
### Context:
CREATE TABLE table_22050544_4 (event VARCHAR, event__number VARCHAR) [/INST]
### Response:
SELECT event FROM table_22050544_4 WHERE event__number = "8M" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1980 mil for soviet union
### Context:
CREATE TABLE table_22071705_6 (country VARCHAR) [/INST]
### Response:
SELECT COUNT(1980 AS __mil_) FROM table_22071705_6 WHERE country = "Soviet Union" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 languages have elles as the film title used in nomination?
### Context:
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Elles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 languages is refractaire as the film title used in nomination?
### Context:
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Refractaire" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 languages have le roman de renart as the original title?
### Context:
CREATE TABLE table_22073745_1 (languages VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT COUNT(languages) FROM table_22073745_1 WHERE original_title = "Le Roman de Renart" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the original title perl oder pica?
### Context:
CREATE TABLE table_22073745_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_22073745_1 WHERE original_title = "Perl oder Pica" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the 2005 (78th) year ceremony?
### Context:
CREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR) [/INST]
### Response:
SELECT result FROM table_22073745_1 WHERE year__ceremony_ = "2005 (78th)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that has 14.59 u.s. viewers (millions)?
### Context:
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that had 13.59 u.s. viewers (millions)?
### Context:
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "13.59" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earning amount is $309,886, what is the money list ranking?
### Context:
CREATE TABLE table_22081847_1 (money_list_rank VARCHAR, earnings__$_ VARCHAR) [/INST]
### Response:
SELECT money_list_rank FROM table_22081847_1 WHERE earnings__$_ = "309,886" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum number of wins?
### Context:
CREATE TABLE table_22081847_1 (wins INTEGER) [/INST]
### Response:
SELECT MAX(wins) FROM table_22081847_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:
If the year is 2010, what was the average score?
### Context:
CREATE TABLE table_22081847_1 (scoring_average VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT scoring_average FROM table_22081847_1 WHERE year = 2010 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?
### Context:
CREATE TABLE table_22083044_2 (event VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) [/INST]
### Response:
SELECT COUNT(event) FROM table_22083044_2 WHERE fastest_lap = "Tim Macrow" AND pole_position = "Joey Foster" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?
### Context:
CREATE TABLE table_22083044_2 (winning_team VARCHAR, circuit VARCHAR, fastest_lap VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_22083044_2 WHERE circuit = "Queensland Raceway" AND fastest_lap = "Tim Macrow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number of the episode whose writer is David North?
### Context:
CREATE TABLE table_22078972_2 (no_in_series INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE written_by = "David North" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number of the episode seen by 17.04 million people in the US?
### Context:
CREATE TABLE table_22078972_2 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode first seen by 18.15 million people in the US?
### Context:
CREATE TABLE table_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = "18.15" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.