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:
When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?
### Context:
CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, quarterfinals VARCHAR) [/INST]
### Response:
SELECT final__bronze_medal_match FROM table_18602462_21 WHERE quarterfinals = "Houdet ( FRA ) W 6-2, 6-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When in round of 16 it was did not advance what was it in round of 32?
### Context:
CREATE TABLE table_18602462_21 (round_of_32 VARCHAR, round_of_16 VARCHAR) [/INST]
### Response:
SELECT round_of_32 FROM table_18602462_21 WHERE round_of_16 = "Did not advance" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event?
### Context:
CREATE TABLE table_18602462_21 (event VARCHAR, final__bronze_medal_match VARCHAR) [/INST]
### Response:
SELECT event FROM table_18602462_21 WHERE final__bronze_medal_match = "Scheffers ( NED ) L 3-6, 1-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:
When mixed quad singles is the event what is the final/bronze medal match?
### Context:
CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT final__bronze_medal_match FROM table_18602462_21 WHERE event = "Mixed Quad Singles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bas van erp was the athlete what was the quarterfinals?
### Context:
CREATE TABLE table_18602462_21 (quarterfinals VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT quarterfinals FROM table_18602462_21 WHERE athlete = "Bas van Erp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semifinal result for Dorrie Timmermans-Van Hall?
### Context:
CREATE TABLE table_18602462_22 (semifinals VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT semifinals FROM table_18602462_22 WHERE athlete = "Dorrie Timmermans-Van Hall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round of 16 result for Jiske Griffioen Esther Vergeer?
### Context:
CREATE TABLE table_18602462_22 (round_of_16 VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT round_of_16 FROM table_18602462_22 WHERE athlete = "Jiske Griffioen Esther Vergeer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semifinal score of vergeer ( ned ) l 0-6, 1-6 follows a round of 16 result of what?
### Context:
CREATE TABLE table_18602462_22 (round_of_16 VARCHAR, semifinals VARCHAR) [/INST]
### Response:
SELECT round_of_16 FROM table_18602462_22 WHERE semifinals = "Vergeer ( NED ) L 0-6, 1-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:
How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?
### Context:
CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR) [/INST]
### Response:
SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-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 maximum points for libertad
### Context:
CREATE TABLE table_18607260_6 (points INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_18607260_6 WHERE team = "Libertad" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for 5 losses
### Context:
CREATE TABLE table_18607260_6 (wins INTEGER, losses VARCHAR) [/INST]
### Response:
SELECT MIN(wins) FROM table_18607260_6 WHERE losses = 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:
Name the most draws
### Context:
CREATE TABLE table_18607260_6 (draws INTEGER) [/INST]
### Response:
SELECT MAX(draws) FROM table_18607260_6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least played
### Context:
CREATE TABLE table_18607260_6 (played INTEGER) [/INST]
### Response:
SELECT MIN(played) FROM table_18607260_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:
When cristina peña garzon is the contestant what is the geographical region?
### Context:
CREATE TABLE table_18618707_1 (geographical_regions VARCHAR, contestant VARCHAR) [/INST]
### Response:
SELECT geographical_regions FROM table_18618707_1 WHERE contestant = "Cristina Peña Garzon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1.79 is the height what is the geographical region?
### Context:
CREATE TABLE table_18618707_1 (geographical_regions VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT geographical_regions FROM table_18618707_1 WHERE height = "1.79" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When 1.67 is the height how many contestants are there?
### Context:
CREATE TABLE table_18618707_1 (contestant VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT COUNT(contestant) FROM table_18618707_1 WHERE height = "1.67" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 el cibao is the geographical region and the height is 1.80 who is the contestant?
### Context:
CREATE TABLE table_18618707_1 (contestant VARCHAR, height VARCHAR, geographical_regions VARCHAR) [/INST]
### Response:
SELECT contestant FROM table_18618707_1 WHERE height = "1.80" AND geographical_regions = "El Cibao" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 toronto is the hometown how many height measurements are there?
### Context:
CREATE TABLE table_18618707_1 (height VARCHAR, hometown VARCHAR) [/INST]
### Response:
SELECT COUNT(height) FROM table_18618707_1 WHERE hometown = "Toronto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd place team for the year of 1955?
### Context:
CREATE TABLE table_18618672_2 (year VARCHAR) [/INST]
### Response:
SELECT 3 AS rd_place_team FROM table_18618672_2 WHERE year = 1955 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sagittarius is the wester name what is the sanskrit gloss?
### Context:
CREATE TABLE table_186462_1 (sanskrit VARCHAR, western_name VARCHAR) [/INST]
### Response:
SELECT sanskrit AS gloss FROM table_186462_1 WHERE western_name = "Sagittarius" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 धनुष is the sankrit how many western names are there?
### Context:
CREATE TABLE table_186462_1 (western_name VARCHAR, sanskrit VARCHAR) [/INST]
### Response:
SELECT COUNT(western_name) FROM table_186462_1 WHERE sanskrit = "धनुष" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the film Mrs. Miniver, what is the actresses name?
### Context:
CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Mrs. Miniver" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Teresa Wright nominated best supporting actress?
### Context:
CREATE TABLE table_18638067_1 (year__ceremony_ VARCHAR, actor_actress VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = "Teresa Wright" AND category = "Best Supporting Actress" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 category was the movie Working Girl nominated?
### Context:
CREATE TABLE table_18638067_1 (category VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT category FROM table_18638067_1 WHERE film_title_used_in_nomination = "Working Girl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominated for best supporting actor in the movie Going My Way?
### Context:
CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Going My Way" AND category = "Best Supporting Actor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number that aired on november 11, 1996
### Context:
CREATE TABLE table_18646432_1 (series__number VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT series__number FROM table_18646432_1 WHERE original_air_date = "November 11, 1996" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the episode originally aired on September 29, 1999?
### Context:
CREATE TABLE table_18646432_4 (written_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_18646432_4 WHERE original_air_date = "September 29, 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:
What is the name of the episode originally aired on September 29, 1999?
### Context:
CREATE TABLE table_18646432_4 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_18646432_4 WHERE original_air_date = "September 29, 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:
If the rings is 58.975, what is the number for the horizontal bar?
### Context:
CREATE TABLE table_18662026_1 (horizontal_bar VARCHAR, rings VARCHAR) [/INST]
### Response:
SELECT horizontal_bar FROM table_18662026_1 WHERE rings = "58.975" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions was the United States in?
### Context:
CREATE TABLE table_18662026_1 (position VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_18662026_1 WHERE country = "United States" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rings are 60.500, what is the parallel bars number?
### Context:
CREATE TABLE table_18662026_1 (parallel_bars VARCHAR, rings VARCHAR) [/INST]
### Response:
SELECT parallel_bars FROM table_18662026_1 WHERE rings = "60.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:
If the rings number is 60.000, what is the number for the vault?
### Context:
CREATE TABLE table_18662026_1 (vault VARCHAR, rings VARCHAR) [/INST]
### Response:
SELECT COUNT(vault) FROM table_18662026_1 WHERE rings = "60.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:
If the parallel bars numbers is 61.500, what is the total number for the flood?
### Context:
CREATE TABLE table_18662026_1 (floor VARCHAR, parallel_bars VARCHAR) [/INST]
### Response:
SELECT COUNT(floor) FROM table_18662026_1 WHERE parallel_bars = "61.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:
When united kingdom is the country what is the most recent date?
### Context:
CREATE TABLE table_18676973_3 (most_recent_date VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT most_recent_date FROM table_18676973_3 WHERE country = "United Kingdom" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3 is the rank what is the highest combo?
### Context:
CREATE TABLE table_18676973_3 (combo INTEGER, rank VARCHAR) [/INST]
### Response:
SELECT MAX(combo) FROM table_18676973_3 WHERE rank = "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 12 is the rank who is the most recent cyclist?
### Context:
CREATE TABLE table_18676973_3 (most_recent_cyclist VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT most_recent_cyclist FROM table_18676973_3 WHERE rank = "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:
When 155 is the jersey what is the highest amount of different holders?
### Context:
CREATE TABLE table_18676973_3 (different_holders INTEGER, jerseys VARCHAR) [/INST]
### Response:
SELECT MAX(different_holders) FROM table_18676973_3 WHERE jerseys = 155 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 upper index kcal/nm3 for 62.47
### Context:
CREATE TABLE table_1868929_1 (upper_index_kcal__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR) [/INST]
### Response:
SELECT upper_index_kcal__nm_3 FROM table_1868929_1 WHERE lower_index_mj__nm_3 = "62.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:
Name the fuel gas for upper index mj/nm3 for 92.32
### Context:
CREATE TABLE table_1868929_1 (fuel_gas VARCHAR, upper_index_mj__nm_3 VARCHAR) [/INST]
### Response:
SELECT fuel_gas FROM table_1868929_1 WHERE upper_index_mj__nm_3 = "92.32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the lower index kcal/ nm3 for 61.32
### Context:
CREATE TABLE table_1868929_1 (lower_index_kcal__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR) [/INST]
### Response:
SELECT lower_index_kcal__nm_3 FROM table_1868929_1 WHERE upper_index_mj__nm_3 = "61.32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Quarterback rating of the player who got a comp percentage of 62.0?
### Context:
CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR) [/INST]
### Response:
SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank of the player who got 58179 in yardage?
### Context:
CREATE TABLE table_18686317_1 (rank VARCHAR, yardage VARCHAR) [/INST]
### Response:
SELECT rank FROM table_18686317_1 WHERE yardage = 58179 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which league would you find the player with a comp percentage of 54.0?
### Context:
CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) [/INST]
### Response:
SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.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:
Which nation is where rider phillip dutton from?
### Context:
CREATE TABLE table_18666752_3 (nation VARCHAR, rider VARCHAR) [/INST]
### Response:
SELECT nation FROM table_18666752_3 WHERE rider = "Phillip Dutton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation is where the horse parkmore ed is?
### Context:
CREATE TABLE table_18666752_3 (nation VARCHAR, horse VARCHAR) [/INST]
### Response:
SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total team penalties are there when cross country penalties is 30.40?
### Context:
CREATE TABLE table_18666752_3 (total_team_penalties VARCHAR, cross_country_penalties VARCHAR) [/INST]
### Response:
SELECT total_team_penalties FROM table_18666752_3 WHERE cross_country_penalties = "30.40" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rider where the horse is galan de sauvagere?
### Context:
CREATE TABLE table_18666752_3 (rider VARCHAR, horse VARCHAR) [/INST]
### Response:
SELECT rider FROM table_18666752_3 WHERE horse = "Galan De Sauvagere" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 penalties are there when Eric Vigeanel is the rider?
### Context:
CREATE TABLE table_18666752_3 (total_penalties VARCHAR, rider VARCHAR) [/INST]
### Response:
SELECT COUNT(total_penalties) FROM table_18666752_3 WHERE rider = "Eric Vigeanel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record label corresponds to the single "I can't stay"?
### Context:
CREATE TABLE table_18710512_3 (record_label VARCHAR, single VARCHAR) [/INST]
### Response:
SELECT record_label FROM table_18710512_3 WHERE single = "I Can't Stay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 format for the release that had 2000 copies?
### Context:
CREATE TABLE table_18710512_3 (format VARCHAR, other_details VARCHAR) [/INST]
### Response:
SELECT format FROM table_18710512_3 WHERE other_details = "2000 copies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 single(s) released in 2008 and had 4000 copies?
### Context:
CREATE TABLE table_18710512_3 (single VARCHAR, date VARCHAR, other_details VARCHAR) [/INST]
### Response:
SELECT single FROM table_18710512_3 WHERE date = 2008 AND other_details = "4000 copies" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 "other details" (number released) for "is my love will follow me"?
### Context:
CREATE TABLE table_18710512_3 (other_details VARCHAR, single VARCHAR) [/INST]
### Response:
SELECT other_details FROM table_18710512_3 WHERE single = "My Love Will Follow Me" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 "moped girls" released?
### Context:
CREATE TABLE table_18710512_3 (date VARCHAR, single VARCHAR) [/INST]
### Response:
SELECT date FROM table_18710512_3 WHERE single = "Moped Girls" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of losses for 23 points
### Context:
CREATE TABLE table_18703133_1 (losses INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MIN(losses) FROM table_18703133_1 WHERE points = 23 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins for sport colombia
### Context:
CREATE TABLE table_18703133_1 (wins INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(wins) FROM table_18703133_1 WHERE team = "Sport Colombia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Namr the total number of played for 5 losses
### Context:
CREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR) [/INST]
### Response:
SELECT COUNT(played) FROM table_18703133_1 WHERE losses = 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 scored with the position of 6?
### Context:
CREATE TABLE table_18703133_6 (scored INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(scored) FROM table_18703133_6 WHERE position = 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:
How many losses are there for team tembetary?
### Context:
CREATE TABLE table_18703133_6 (losses VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT losses FROM table_18703133_6 WHERE team = "Tembetary" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins have 24 points?
### Context:
CREATE TABLE table_18703133_6 (wins VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT wins FROM table_18703133_6 WHERE points = 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:
How many wins?
### Context:
CREATE TABLE table_18703133_6 (wins INTEGER) [/INST]
### Response:
SELECT MAX(wins) FROM table_18703133_6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the original air date of the episode directed by Ian Barry and written by Philip Dalkin?
### Context:
CREATE TABLE table_18712423_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_18712423_3 WHERE directed_by = "Ian Barry" AND written_by = "Philip Dalkin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show episode number of the episode that reached 1.215 millions views?
### Context:
CREATE TABLE table_18712423_3 (series_episode INTEGER, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(series_episode) FROM table_18712423_3 WHERE viewers__millions_ = "1.215" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode written by Matt Ford?
### Context:
CREATE TABLE table_18712423_3 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_18712423_3 WHERE written_by = "Matt Ford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times was team 1 the wykeham wonderers?
### Context:
CREATE TABLE table_18733480_1 (players_left_after_round_1 VARCHAR, team_1 VARCHAR) [/INST]
### Response:
SELECT COUNT(players_left_after_round_1) FROM table_18733480_1 WHERE team_1 = "Wykeham Wonderers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the original air date that had the wykeham wonderers as team 1?
### Context:
CREATE TABLE table_18733480_1 (air_date VARCHAR, team_1 VARCHAR) [/INST]
### Response:
SELECT air_date FROM table_18733480_1 WHERE team_1 = "Wykeham Wonderers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team 1 when the chalkheads were team 2?
### Context:
CREATE TABLE table_18733480_1 (team_1 VARCHAR, team_2 VARCHAR) [/INST]
### Response:
SELECT team_1 FROM table_18733480_1 WHERE team_2 = "Chalkheads" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the title of the production code 1acx09?
### Context:
CREATE TABLE table_18734298_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_18734298_1 WHERE production_code = "1ACX09" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series were directed by Rob Renzetti?
### Context:
CREATE TABLE table_18734298_1 (no_in_series VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_18734298_1 WHERE directed_by = "Rob Renzetti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the series number 14?
### Context:
CREATE TABLE table_18734298_1 (written_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_18734298_1 WHERE no_in_series = 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:
Did this driver have any winnings the season he had 32 starts
### Context:
CREATE TABLE table_1875157_1 (winnings VARCHAR, starts VARCHAR) [/INST]
### Response:
SELECT COUNT(winnings) FROM table_1875157_1 WHERE starts = 32 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many wins in the season he finished 33rd
### Context:
CREATE TABLE table_1875157_1 (winnings VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT winnings FROM table_1875157_1 WHERE position = "33rd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of top 10 finishes
### Context:
CREATE TABLE table_1875157_1 (top_10 INTEGER) [/INST]
### Response:
SELECT MIN(top_10) FROM table_1875157_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many poles in the year 2000
### Context:
CREATE TABLE table_1875157_1 (poles INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MAX(poles) FROM table_1875157_1 WHERE year = 2000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average finish for winnings of $1,400?
### Context:
CREATE TABLE table_1875157_2 (avg_finish VARCHAR, winnings VARCHAR) [/INST]
### Response:
SELECT avg_finish FROM table_1875157_2 WHERE winnings = "$1,400" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 starts that result in an average finish of 16.5?
### Context:
CREATE TABLE table_1875157_2 (starts INTEGER, avg_finish VARCHAR) [/INST]
### Response:
SELECT MAX(starts) FROM table_1875157_2 WHERE avg_finish = "16.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 starts were there when the winnings are $690,321?
### Context:
CREATE TABLE table_1875157_2 (starts INTEGER, winnings VARCHAR) [/INST]
### Response:
SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = "$690,321" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Safari is 3.76%, what is the other Mozilla amount?
### Context:
CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, safari VARCHAR) [/INST]
### Response:
SELECT other_mozilla FROM table_1876262_10 WHERE safari = "3.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:
If Firefox is 30.45%, what is the other Mozilla amount?
### Context:
CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, firefox VARCHAR) [/INST]
### Response:
SELECT other_mozilla FROM table_1876262_10 WHERE firefox = "30.45%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Internet Explorer is 47.22%, what is the Safari total?
### Context:
CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR) [/INST]
### Response:
SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.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:
For period September 2009, what is the other Mozilla total number?
### Context:
CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, period VARCHAR) [/INST]
### Response:
SELECT COUNT(other_mozilla) FROM table_1876262_10 WHERE period = "September 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:
Name the total number of production code by david richardson and todd holland
### Context:
CREATE TABLE table_1876825_2 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(production_code) FROM table_1876825_2 WHERE written_by = "David Richardson" AND directed_by = "Todd Holland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series for march 19, 2000
### Context:
CREATE TABLE table_1876825_2 (no_in_series VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_1876825_2 WHERE original_air_date = "March 19, 2000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode number in the series originally aired on February 25, 2001?
### Context:
CREATE TABLE table_1876825_3 (no_in_series VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_1876825_3 WHERE original_air_date = "February 25, 2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the production code of 06-00-218?
### Context:
CREATE TABLE table_1876825_3 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_1876825_3 WHERE production_code = "06-00-218" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code for episode 26 in the series?
### Context:
CREATE TABLE table_1876825_3 (production_code VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_1876825_3 WHERE no_in_series = 26 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code for episode 6 in the season?
### Context:
CREATE TABLE table_1876825_3 (production_code VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_1876825_3 WHERE no_in_season = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the title no in season 2?
### Context:
CREATE TABLE table_1876825_8 (title VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT title FROM table_1876825_8 WHERE no_in_season = 2 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did Micky Adams vacate his position?
### Context:
CREATE TABLE table_18788823_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT date_of_vacancy FROM table_18788823_5 WHERE outgoing_manager = "Micky Adams" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which vacancy happened on 4 November 2008?
### Context:
CREATE TABLE table_18788823_5 (position_in_table VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT position_in_table FROM table_18788823_5 WHERE date_of_vacancy = "4 November 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Keith Downing depart a position?
### Context:
CREATE TABLE table_18788823_5 (position_in_table VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT COUNT(position_in_table) FROM table_18788823_5 WHERE outgoing_manager = "Keith Downing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 appointed a person on 23 December 2008?
### Context:
CREATE TABLE table_18788823_5 (team VARCHAR, date_of_appointment VARCHAR) [/INST]
### Response:
SELECT team FROM table_18788823_5 WHERE date_of_appointment = "23 December 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date did the Milton Keynes Dons appoint?
### Context:
CREATE TABLE table_18788823_5 (date_of_appointment VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date_of_appointment FROM table_18788823_5 WHERE team = "Milton Keynes Dons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacancy occurred on 16 February 2009?
### Context:
CREATE TABLE table_18788823_5 (position_in_table VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT position_in_table FROM table_18788823_5 WHERE date_of_vacancy = "16 February 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:
What is title of episode 06-02-407?
### Context:
CREATE TABLE table_1876825_5 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_1876825_5 WHERE production_code = "06-02-407" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of episode 06-02-406?
### Context:
CREATE TABLE table_1876825_5 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_1876825_5 WHERE production_code = "06-02-406" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of episode aired on March 2, 2003?
### Context:
CREATE TABLE table_1876825_5 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_1876825_5 WHERE original_air_date = "March 2, 2003" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote episode 74?
### Context:
CREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_1876825_5 WHERE no_in_series = 74 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position in the table is the team watford?
### Context:
CREATE TABLE table_18784280_3 (position_in_table VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT position_in_table FROM table_18784280_3 WHERE team = "Watford" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of number in series for production code of 06-04-621
### Context:
CREATE TABLE table_1876825_7 (no_in_series VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_1876825_7 WHERE production_code = "06-04-621" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 written by for original air date for may 8, 2005
### Context:
CREATE TABLE table_1876825_7 (written_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 2005" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.