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:
How many bonus points did the club who had 18 losses have?
### Context:
CREATE TABLE table_27293285_2 (bonus_points VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT bonus_points FROM table_27293285_2 WHERE lost = "18" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points for did Munster have?
### Context:
CREATE TABLE table_27293285_2 (points_for VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT points_for FROM table_27293285_2 WHERE club = "Munster" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points against did the club who had 353 points for have?
### Context:
CREATE TABLE table_27293285_2 (points_against VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT points_against FROM table_27293285_2 WHERE points_for = "353" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team the Suns played against in game number 4?
### Context:
CREATE TABLE table_27312918_5 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT team FROM table_27312918_5 WHERE game = 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:
Who got the most points in game number 5?
### Context:
CREATE TABLE table_27312918_5 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27312918_5 WHERE game = 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 default desktop environment when the code base is ubuntu 8.04 and edition is fluxbox ce?
### Context:
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, code_base VARCHAR, edition VARCHAR) [/INST]
### Response:
SELECT default_desktop_environment FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?
### Context:
CREATE TABLE table_27329061_2 (compatible_repository VARCHAR, version VARCHAR, default_desktop_environment VARCHAR) [/INST]
### Response:
SELECT compatible_repository FROM table_27329061_2 WHERE version = "Old version, no longer supported: 9" AND default_desktop_environment = "LXDE" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce?
### Context:
CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR) [/INST]
### Response:
SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?
### Context:
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR) [/INST]
### Response:
SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.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 is the version when the codename is ada?
### Context:
CREATE TABLE table_27329061_2 (version VARCHAR, codename VARCHAR) [/INST]
### Response:
SELECT version FROM table_27329061_2 WHERE codename = "Ada" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 version when the compatible reposityory is xubuntu 10.04
### Context:
CREATE TABLE table_27329061_2 (version VARCHAR, compatible_repository VARCHAR) [/INST]
### Response:
SELECT version FROM table_27329061_2 WHERE compatible_repository = "Xubuntu 10.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 is the highest population in 2001?
### Context:
CREATE TABLE table_27366772_3 (population__2001_ INTEGER) [/INST]
### Response:
SELECT MAX(population__2001_) FROM table_27366772_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 district is known in Armenian as քանաքեր-զեյթուն?
### Context:
CREATE TABLE table_27366772_3 (district VARCHAR, armenian VARCHAR) [/INST]
### Response:
SELECT district FROM table_27366772_3 WHERE armenian = "Քանաքեր-Զեյթուն" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Armenian name of the district that is 8.37 km² large?
### Context:
CREATE TABLE table_27366772_3 (armenian VARCHAR, area__km²_ VARCHAR) [/INST]
### Response:
SELECT armenian FROM table_27366772_3 WHERE area__km²_ = "8.37" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 soccer stadium in NL providence?
### Context:
CREATE TABLE table_27369069_1 (soccer_stadium VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT soccer_stadium FROM table_27369069_1 WHERE province = "NL" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 providence's soccer stadium was founded in 2005?
### Context:
CREATE TABLE table_27369069_1 (province VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT province FROM table_27369069_1 WHERE founded = 2005 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mascot for the soccer team in Charlottetown?
### Context:
CREATE TABLE table_27369069_1 (varsity_name VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT varsity_name FROM table_27369069_1 WHERE city = "Charlottetown" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province has the soccer stadium that holds 4,000 people?
### Context:
CREATE TABLE table_27369069_1 (province VARCHAR, stadium_capacity VARCHAR) [/INST]
### Response:
SELECT province FROM table_27369069_1 WHERE stadium_capacity = "4,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:
Which University's soccer stadium in named Moncton Stadium?
### Context:
CREATE TABLE table_27369069_1 (university VARCHAR, soccer_stadium VARCHAR) [/INST]
### Response:
SELECT university FROM table_27369069_1 WHERE soccer_stadium = "Moncton Stadium" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current womens lacrosse conference for 6000 enrollment
### Context:
CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE enrollment = 6000 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city for enrollment being 19900
### Context:
CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT city FROM table_27378582_1 WHERE enrollment = 19900 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current womens lacrosse conference for bison
### Context:
CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE nickname = "Bison" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 founded for bison
### Context:
CREATE TABLE table_27378582_1 (founded INTEGER, nickname VARCHAR) [/INST]
### Response:
SELECT MAX(founded) FROM table_27378582_1 WHERE nickname = "Bison" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks was K.Maro at #1?
### Context:
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR) [/INST]
### Response:
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks was France at #1?
### Context:
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = "France" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 one singles for week 1 being 5
### Context:
CREATE TABLE table_27441210_20 (number_one_single_s_ VARCHAR, weeks_at__number1 VARCHAR) [/INST]
### Response:
SELECT number_one_single_s_ FROM table_27441210_20 WHERE weeks_at__number1 = 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 number one singles for desvarieux, jacob
### Context:
CREATE TABLE table_27441210_5 (number_one_single_s_ VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks at number 1 for 1988
### Context:
CREATE TABLE table_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR) [/INST]
### Response:
SELECT MIN(weeks_at__number1) FROM table_27441210_5 WHERE year = 1988 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the episode that was written by Scott M. Gimple?
### Context:
CREATE TABLE table_27450976_1 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_27450976_1 WHERE written_by = "Scott M. Gimple" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode with a production code of 2j5504?
### Context:
CREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_27450976_1 WHERE production_code = "2J5504" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people wrote the episode with a production code of 2j5507?
### Context:
CREATE TABLE table_27450976_1 (written_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(written_by) FROM table_27450976_1 WHERE production_code = "2J5507" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest number in series that was directed by Skip Sudduth?
### Context:
CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in season had 10.18 million US viewers?
### Context:
CREATE TABLE table_27491610_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT no_in_season FROM table_27491610_2 WHERE us_viewers__millions_ = "10.18" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the original air date of the episode that was directed by Alex Zakrzewski?
### Context:
CREATE TABLE table_27491610_2 (original_air_date VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_27491610_2 WHERE directed_by = "Alex Zakrzewski" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in season is number 141 in series?
### Context:
CREATE TABLE table_27491610_2 (no_in_season INTEGER, no_in_series VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_27491610_2 WHERE no_in_series = 141 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province was New Plymouth formed from?
### Context:
CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Why was Otago formed?
### Context:
CREATE TABLE table_275023_1 (reason VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT reason FROM table_275023_1 WHERE province = "Otago" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 provinces were formed from New Munster?
### Context:
CREATE TABLE table_275023_1 (province VARCHAR, formed_from VARCHAR) [/INST]
### Response:
SELECT province FROM table_275023_1 WHERE formed_from = "New Munster" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 provinces are named Wellington?
### Context:
CREATE TABLE table_275023_1 (formed_date VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT COUNT(formed_date) FROM table_275023_1 WHERE province = "Wellington" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 decision was by Lalime, when in January was it made?
### Context:
CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR) [/INST]
### Response:
SELECT january FROM table_27537870_6 WHERE decision = "Lalime" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game was on January 21, which game was it?
### Context:
CREATE TABLE table_27537870_6 (game INTEGER, january VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_27537870_6 WHERE january = 21 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the score is 5-3, who made the decision?
### Context:
CREATE TABLE table_27537870_6 (decision VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27537870_6 WHERE score = "5-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 opponent was the Philadelphia flyers, what was the record?
### Context:
CREATE TABLE table_27537870_6 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_27537870_6 WHERE opponent = "Philadelphia Flyers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record was 22-21-5, who was the opponent?
### Context:
CREATE TABLE table_27537870_6 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_27537870_6 WHERE record = "22-21-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:
If the opponent was @ Boston Bruins, what was the Location/Attendance?
### Context:
CREATE TABLE table_27537870_6 (location_attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day in February was the team 17-29-7?
### Context:
CREATE TABLE table_27539535_7 (february INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(february) FROM table_27539535_7 WHERE record = "17-29-7" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the teams record when they played the ottawa senators?
### Context:
CREATE TABLE table_27539535_7 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_27539535_7 WHERE opponent = "Ottawa Senators" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team's rcord on february 1?
### Context:
CREATE TABLE table_27539535_7 (record VARCHAR, february VARCHAR) [/INST]
### Response:
SELECT record FROM table_27539535_7 WHERE february = 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 day in February did the team play the boston bruins?
### Context:
CREATE TABLE table_27539535_7 (february VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT february FROM table_27539535_7 WHERE opponent = "Boston Bruins" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season did Pons Racing compete?
### Context:
CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR) [/INST]
### Response:
SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the f/laps count for the team with 8 podiums?
### Context:
CREATE TABLE table_27571406_1 (f_laps VARCHAR, podiums VARCHAR) [/INST]
### Response:
SELECT f_laps FROM table_27571406_1 WHERE podiums = 8 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest stage when the yellow jersey is Ronan Pensec?
### Context:
CREATE TABLE table_275506_1 (stage INTEGER, yellow_jersey VARCHAR) [/INST]
### Response:
SELECT MIN(stage) FROM table_275506_1 WHERE yellow_jersey = "Ronan Pensec" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 yellow jersey entry for the distance 125?
### Context:
CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR) [/INST]
### Response:
SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every stage winner at the distance of 162.5?
### Context:
CREATE TABLE table_275506_1 (stage VARCHAR, distance__km_ VARCHAR) [/INST]
### Response:
SELECT stage AS winner FROM table_275506_1 WHERE distance__km_ = "162.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 entries for start of stage occur in the year 2006?
### Context:
CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much power does dwzf have?
### Context:
CREATE TABLE table_27588823_2 (power__kw_ VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT power__kw_ FROM table_27588823_2 WHERE callsign = "DWZF" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding for callsign dypv?
### Context:
CREATE TABLE table_27588823_2 (branding VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT branding FROM table_27588823_2 WHERE callsign = "DYPV" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding for the station located in san jose del monte?
### Context:
CREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT branding FROM table_27588823_2 WHERE location = "San Jose Del Monte" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call signs does the location masinloc, zambales have?
### Context:
CREATE TABLE table_27588823_2 (callsign VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(callsign) FROM table_27588823_2 WHERE location = "Masinloc, Zambales" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency of the station located in polangui, albay?
### Context:
CREATE TABLE table_27588823_2 (frequency VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_27588823_2 WHERE location = "Polangui, Albay" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?
### Context:
CREATE TABLE table_27573848_18 (points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR) [/INST]
### Response:
SELECT points_classification FROM table_27573848_18 WHERE general_classification = "Fabian Cancellara" AND mountains_classification = "Mathias Frank" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage is smaller than 5.0, and the points classification is by Marco Marcato, who is the General classification by?
### Context:
CREATE TABLE table_27573848_18 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_27573848_18 WHERE points_classification = "Marco Marcato" AND stage < 5.0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many different people had a General Classification on Stage 5?
### Context:
CREATE TABLE table_27573848_18 (general_classification VARCHAR, stage VARCHAR) [/INST]
### Response:
SELECT COUNT(general_classification) FROM table_27573848_18 WHERE stage = 5 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times was Robert Gesink a winner?
### Context:
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(mountains_classification) FROM table_27573848_18 WHERE winner = "Robert Gesink" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner is Rui Costa, who made the mountains classification?
### Context:
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_27573848_18 WHERE winner = "Rui Costa" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Team 1 Junior's points?
### Context:
CREATE TABLE table_27603010_14 (points VARCHAR, team__number1 VARCHAR) [/INST]
### Response:
SELECT points FROM table_27603010_14 WHERE team__number1 = "Junior" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg score if the team 1 is Deportivo Pasto?
### Context:
CREATE TABLE table_27603010_14 (team__number1 VARCHAR) [/INST]
### Response:
SELECT 2 AS nd_leg FROM table_27603010_14 WHERE team__number1 = "Deportivo Pasto" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the team 2 that played against team 1 Atlético la Sabana?
### Context:
CREATE TABLE table_27603010_14 (team__number2 VARCHAR, team__number1 VARCHAR) [/INST]
### Response:
SELECT team__number2 FROM table_27603010_14 WHERE team__number1 = "Atlético La Sabana" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new points were earned by rk 26?
### Context:
CREATE TABLE table_27615896_18 (new_points VARCHAR, rk VARCHAR) [/INST]
### Response:
SELECT new_points FROM table_27615896_18 WHERE rk = 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:
How many points were won where new points was 1680?
### Context:
CREATE TABLE table_27615896_18 (points INTEGER, new_points VARCHAR) [/INST]
### Response:
SELECT MIN(points) AS won FROM table_27615896_18 WHERE new_points = 1680 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total points for sd 15?
### Context:
CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_27615896_18 WHERE sd = 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 total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?
### Context:
CREATE TABLE table_27615896_18 (sd VARCHAR, status VARCHAR) [/INST]
### Response:
SELECT COUNT(sd) FROM table_27615896_18 WHERE status = "Quarterfinals lost to Novak Djokovic [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 different counts for won points does Flavia Pennetta have?
### Context:
CREATE TABLE table_27615896_20 (points VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(points) AS won FROM table_27615896_20 WHERE player = "Flavia Pennetta" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kaia Kanepi's Sd?
### Context:
CREATE TABLE table_27615896_20 (sd INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(sd) FROM table_27615896_20 WHERE player = "Kaia Kanepi" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 status of the player with 3041 points?
### Context:
CREATE TABLE table_27615896_20 (status VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT status FROM table_27615896_20 WHERE points = 3041 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 62 is the number in series who is the writer?
### Context:
CREATE TABLE table_27657925_1 (written_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_27657925_1 WHERE no_in_series = "62" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When steve holland is the writer what is the air date?
### Context:
CREATE TABLE table_27657925_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve 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:
When 231 is the production code what is the title?
### Context:
CREATE TABLE table_27657925_1 (title VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_27657925_1 WHERE production_code = "231" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there are 5.2 million u.s. viewers how many numbers in series are there?
### Context:
CREATE TABLE table_27657925_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_series) FROM table_27657925_1 WHERE us_viewers__millions_ = "5.2" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of outgoing manager for villarreal b
### Context:
CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE team = "Villarreal B" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of appointment for 26 may 2011
### Context:
CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing manager for esteban vigo
### Context:
CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) [/INST]
### Response:
SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE replaced_by = "Esteban Vigo" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for 19th position
### Context:
CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the manner of departure for luis enrique
### Context:
CREATE TABLE table_27666856_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT manner_of_departure FROM table_27666856_3 WHERE outgoing_manager = "Luis Enrique" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer?
### Context:
CREATE TABLE table_27654988_1 (opponent VARCHAR, competition VARCHAR, scorers VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_27654988_1 WHERE competition = "Women's Cup 0 0" AND scorers = "Brancão Couto 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 result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara?
### Context:
CREATE TABLE table_27654988_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_27654988_1 WHERE opponent = "Innsbrucker Kilmarnock CSK VVS Samara" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach?
### Context:
CREATE TABLE table_27654988_1 (season VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_27654988_1 WHERE opponent = "Vamos Idaliou Krka Novo Mesto SV Neulengbach" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the scorers in the game with final score 0–4 7–1 0–3?
### Context:
CREATE TABLE table_27654988_1 (scorers VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–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 kickoff for rheinstadion
### Context:
CREATE TABLE table_27690037_2 (kickoff VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT kickoff FROM table_27690037_2 WHERE game_site = "Rheinstadion" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had the high point total on october 20?
### Context:
CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27700530_5 WHERE date = "October 20" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series record at after game 3?
### Context:
CREATE TABLE table_27700530_15 (series VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT series FROM table_27700530_15 WHERE game = 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 was the location and attendance for game 2?
### Context:
CREATE TABLE table_27700530_15 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27700530_15 WHERE game = 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:
Who had the most points and how many did they have on April 22?
### Context:
CREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_27700530_15 WHERE date = "April 22" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the most assists and how many did they have on October 5?
### Context:
CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27704187_2 WHERE date = "October 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:
List all artists with choreographer Marcos Aguirre and a simple rating.
### Context:
CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the overall attendance 17807?
### Context:
CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = 17807 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall attendance in the places where the average attendance was 17148?
### Context:
CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR) [/INST]
### Response:
SELECT overall_attendance FROM table_2771237_1 WHERE average_attendance = 17148 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season was the average attendance is 16043?
### Context:
CREATE TABLE table_2771237_1 (season VARCHAR, average_attendance VARCHAR) [/INST]
### Response:
SELECT season FROM table_2771237_1 WHERE average_attendance = 16043 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall record in the season where average attendance was 16720?
### Context:
CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR) [/INST]
### Response:
SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high assists for march 14
### Context:
CREATE TABLE table_27712451_9 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_27712451_9 WHERE date = "March 14" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.