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 directors directed episode 3 of the season?
### Context:
CREATE TABLE table_23097214_1 (directed_by VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT COUNT(directed_by) FROM table_23097214_1 WHERE season__number = 3 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who wrote the episode directed by Ken Whittingham?
### Context:
CREATE TABLE table_23097214_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whittingham" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 153 in the series?
### Context:
CREATE TABLE table_23097214_1 (production_code INTEGER, series__number VARCHAR) [/INST]
### Response:
SELECT MIN(production_code) FROM table_23097214_1 WHERE series__number = 153 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where the season number is 13?
### Context:
CREATE TABLE table_23114705_3 (title VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT title FROM table_23114705_3 WHERE no_in_season = 13 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the episode was written by Tim Balme, what was the original air date?
### Context:
CREATE TABLE table_23114705_3 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23114705_3 WHERE written_by = "Tim Balme" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show air when Rhod Gilbert was the headliner?
### Context:
CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR) [/INST]
### Response:
SELECT airdate FROM table_23122988_1 WHERE headliner = "Rhod Gilbert" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 show air when Sean Lock was the headliner?
### Context:
CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR) [/INST]
### Response:
SELECT airdate FROM table_23122988_1 WHERE headliner = "Sean Lock" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 comedians on episode 1x03?
### Context:
CREATE TABLE table_23122988_1 (comedians VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT comedians FROM table_23122988_1 WHERE episode = "1x03" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 took place in Belfast Waterfront Hall?
### Context:
CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront 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:
Who were the comedians during the episode located in Birmingham Hippodrome?
### Context:
CREATE TABLE table_23122988_1 (comedians VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT comedians FROM table_23122988_1 WHERE location = "Birmingham Hippodrome" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director for vesničko má středisková
### Context:
CREATE TABLE table_23141790_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT COUNT(director) FROM table_23141790_1 WHERE original_title = "Vesničko má středisková" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 growth rate for density of 1087
### Context:
CREATE TABLE table_231623_3 (growth_rate VARCHAR, density_per_kilometer VARCHAR) [/INST]
### Response:
SELECT COUNT(growth_rate) FROM table_231623_3 WHERE density_per_kilometer = 1087 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sex ratio lowest for population 4773138
### Context:
CREATE TABLE table_231623_3 (sex_ratio INTEGER, population VARCHAR) [/INST]
### Response:
SELECT MAX(sex_ratio) FROM table_231623_3 WHERE population = 4773138 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that had a week ranking of 21?
### Context:
CREATE TABLE table_23177573_1 (original_air_date VARCHAR, rank__week_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23177573_1 WHERE rank__week_ = 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:
What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
### Context:
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
### Context:
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for chivu
### Context:
CREATE TABLE table (position VARCHAR, player VARCHAR, Chivu VARCHAR) [/INST]
### Response:
SELECT position FROM table WHERE player = Chivu </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 r for coppa italia larger than 1.0
### Context:
CREATE TABLE table (r VARCHAR, coppa_italia INTEGER) [/INST]
### Response:
SELECT COUNT(r) FROM table WHERE coppa_italia > 1.0 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which charts had debut sales of of more than 339333.011497678?
### Context:
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ INTEGER) [/INST]
### Response:
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ > 339333.011497678 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 peak positions were there on the weekly charts?
### Context:
CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR) [/INST]
### Response:
SELECT COUNT(peak_position) FROM table_23180638_1 WHERE oricon_albums_chart = "Weekly Charts" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 peak positions were there on the daily charts?
### Context:
CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR) [/INST]
### Response:
SELECT peak_position FROM table_23180638_1 WHERE oricon_albums_chart = "Daily Charts" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 charts had debut sales of 101976?
### Context:
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR) [/INST]
### Response:
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score when playing Milwaukee?
### Context:
CREATE TABLE table_23186738_10 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_23186738_10 WHERE team = "Milwaukee" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest rebounds in the game where the record was 27-54?
### Context:
CREATE TABLE table_23186738_10 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23186738_10 WHERE record = "27-54" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the team play against Niagara?
### Context:
CREATE TABLE table_23184448_3 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_23184448_3 WHERE opponent = "Niagara" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the opposing team get in the game with 6-2 record?
### Context:
CREATE TABLE table_23184448_3 (opp_points INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(opp_points) FROM table_23184448_3 WHERE record = "6-2" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did the Cyclones get 46 points?
### Context:
CREATE TABLE table_23184448_3 (date VARCHAR, cyclones_points VARCHAR) [/INST]
### Response:
SELECT date FROM table_23184448_3 WHERE cyclones_points = 46 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On how many different dates did the team play a game in Cedar Falls, Iowa?
### Context:
CREATE TABLE table_23184448_3 (date VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(date) FROM table_23184448_3 WHERE location = "Cedar Falls, Iowa" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for air canada centre 18,736
### Context:
CREATE TABLE table_23186738_9 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_23186738_9 WHERE location_attendance = "Air Canada Centre 18,736" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score for chicago
### Context:
CREATE TABLE table_23186738_9 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_23186738_9 WHERE team = "Chicago" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game for march 20
### Context:
CREATE TABLE table_23186738_9 (game INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_23186738_9 WHERE date = "March 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:
Name the least game for score of l 93–109 (ot)
### Context:
CREATE TABLE table_23186738_9 (game INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_23186738_9 WHERE score = "L 93–109 (OT)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location attendance is the Verizon Center 20,173, what is the date?
### Context:
CREATE TABLE table_23211041_7 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_23211041_7 WHERE location_attendance = "Verizon Center 20,173" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's captain of the team whose stadium has a capacity of 17800 people?
### Context:
CREATE TABLE table_23214833_1 (team_captain VARCHAR, capacity VARCHAR) [/INST]
### Response:
SELECT team_captain FROM table_23214833_1 WHERE capacity = 17800 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team captains does the club Sliven 2000 have?
### Context:
CREATE TABLE table_23214833_1 (team_captain VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT COUNT(team_captain) FROM table_23214833_1 WHERE club = "Sliven 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:
Who's the captain of the team whose stadium is Gradski Stadion?
### Context:
CREATE TABLE table_23214833_1 (team_captain VARCHAR, stadium VARCHAR) [/INST]
### Response:
SELECT team_captain FROM table_23214833_1 WHERE stadium = "Gradski Stadion" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium has capacity for 13800?
### Context:
CREATE TABLE table_23214833_1 (stadium VARCHAR, capacity VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_23214833_1 WHERE capacity = 13800 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 can attend games in the stadium of the team whose captain is Vasil Vasilev?
### Context:
CREATE TABLE table_23214833_1 (capacity VARCHAR, team_captain VARCHAR) [/INST]
### Response:
SELECT capacity FROM table_23214833_1 WHERE team_captain = "Vasil Vasilev" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 asv nürnberg-süd is the mittelfranken süd what is the season?
### Context:
CREATE TABLE table_23224961_2 (season VARCHAR, mittelfranken_süd VARCHAR) [/INST]
### Response:
SELECT season FROM table_23224961_2 WHERE mittelfranken_süd = "ASV Nürnberg-Süd" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sv neuses is the oberfranken west what is the season?
### Context:
CREATE TABLE table_23224961_2 (season VARCHAR, oberfranken_west VARCHAR) [/INST]
### Response:
SELECT season FROM table_23224961_2 WHERE oberfranken_west = "SV Neuses" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wacker marktredwitz is the oberfranken ost how many unterfranken wests are there?
### Context:
CREATE TABLE table_23224961_2 (unterfranken_west VARCHAR, oberfranken_ost VARCHAR) [/INST]
### Response:
SELECT COUNT(unterfranken_west) FROM table_23224961_2 WHERE oberfranken_ost = "Wacker Marktredwitz" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 atsv erlangen is the mittelfranken nord and alemannia haibach is the unterfranken west what is the mittelfranken süd?
### Context:
CREATE TABLE table_23224961_2 (mittelfranken_süd VARCHAR, unterfranken_west VARCHAR, mittelfranken_nord VARCHAR) [/INST]
### Response:
SELECT mittelfranken_süd FROM table_23224961_2 WHERE unterfranken_west = "Alemannia Haibach" AND mittelfranken_nord = "ATSV Erlangen" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tied for the highest rebounds during the game against Orlando?
### Context:
CREATE TABLE table_23248940_8 (high_rebounds VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23248940_8 WHERE team = "Orlando" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who are all high points in game 14?
### Context:
CREATE TABLE table_23248940_6 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23248940_6 WHERE game = 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:
What is every value for location attendance on date of November 18?
### Context:
CREATE TABLE table_23248940_6 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23248940_6 WHERE date = "November 18" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every score when date is November 10?
### Context:
CREATE TABLE table_23248940_6 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248940_6 WHERE date = "November 10" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every record for game 11?
### Context:
CREATE TABLE table_23248940_6 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_23248940_6 WHERE game = 11 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many locations was game 3 played at?
### Context:
CREATE TABLE table_23248967_5 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_23248967_5 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 score against New Orleans?
### Context:
CREATE TABLE table_23248967_5 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT score FROM table_23248967_5 WHERE team = "New Orleans" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game locations occurred on March 6?
### Context:
CREATE TABLE table_23248967_9 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_23248967_9 WHERE date = "March 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 was the surface during wimbledon in 1974?
### Context:
CREATE TABLE table_23258574_2 (surface VARCHAR, championship VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT surface FROM table_23258574_2 WHERE championship = "Wimbledon" AND year = 1974 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall for mark steenhuis
### Context:
CREATE TABLE table_23265433_2 (overall VARCHAR, offensive VARCHAR) [/INST]
### Response:
SELECT overall FROM table_23265433_2 WHERE offensive = "Mark Steenhuis" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 offensive for colin doyle
### Context:
CREATE TABLE table_23265433_2 (offensive VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT COUNT(offensive) FROM table_23265433_2 WHERE overall = "Colin Doyle" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week for steve toll
### Context:
CREATE TABLE table_23265433_2 (week VARCHAR, transition VARCHAR) [/INST]
### Response:
SELECT week FROM table_23265433_2 WHERE transition = "Steve Toll" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rookie for ryan powell
### Context:
CREATE TABLE table_23265433_2 (rookie VARCHAR, offensive VARCHAR) [/INST]
### Response:
SELECT rookie FROM table_23265433_2 WHERE offensive = "Ryan Powell" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 defensive for week 9
### Context:
CREATE TABLE table_23265433_2 (defensive VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT defensive FROM table_23265433_2 WHERE week = 9 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the high rebounds for record 10-19
### Context:
CREATE TABLE table_23274514_5 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23274514_5 WHERE record = "10-19" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for l 109–112 (ot)
### Context:
CREATE TABLE table_23274514_5 (high_points VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23274514_5 WHERE score = "L 109–112 (OT)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 4-3
### Context:
CREATE TABLE table_23281862_5 (high_assists VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23281862_5 WHERE record = "4-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 location attendance for memphis
### Context:
CREATE TABLE table_23281862_5 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23281862_5 WHERE team = "Memphis" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score for sacramento
### Context:
CREATE TABLE table_23281862_5 (score VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_23281862_5 WHERE team = "Sacramento" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who has the high points when 53-27 is the record?
### Context:
CREATE TABLE table_23284271_10 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23284271_10 WHERE record = "53-27" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has dirk nowitski (13) as high rebounds?
### Context:
CREATE TABLE table_23284271_10 (team VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT team FROM table_23284271_10 WHERE high_rebounds = "Dirk Nowitski (13)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score for game 78?
### Context:
CREATE TABLE table_23284271_10 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_23284271_10 WHERE game = 78 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has the high assists when 50-26 is the record?
### Context:
CREATE TABLE table_23284271_10 (high_assists VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23284271_10 WHERE record = "50-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:
Who has high points when 50-26 is the record?
### Context:
CREATE TABLE table_23284271_10 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23284271_10 WHERE record = "50-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:
Which date is the team @ la clippers?
### Context:
CREATE TABLE table_23284271_10 (date VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT date FROM table_23284271_10 WHERE team = "@ LA Clippers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high rebounds for game 64?
### Context:
CREATE TABLE table_23281862_9 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23281862_9 WHERE game = 64 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the record where aaron brooks (6) is high assists?
### Context:
CREATE TABLE table_23281862_9 (record VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT record FROM table_23281862_9 WHERE high_assists = "Aaron Brooks (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 score when 36-33 is the record?
### Context:
CREATE TABLE table_23281862_9 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23281862_9 WHERE record = "36-33" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams played against the Mavericks in a game where the score was w 99–91 (ot)?
### Context:
CREATE TABLE table_23284271_7 (team VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_23284271_7 WHERE score = "W 99–91 (OT)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams have channing frye, jason richardson (8) as high rebounds?
### Context:
CREATE TABLE table_23285761_11 (team VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_23285761_11 WHERE high_rebounds = "Channing Frye, Jason Richardson (8)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who has the high assists when April 26 is the date?
### Context:
CREATE TABLE table_23285761_11 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23285761_11 WHERE date = "April 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:
Which team has 5 as a game?
### Context:
CREATE TABLE table_23285761_11 (team VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT team FROM table_23285761_11 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:
Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?
### Context:
CREATE TABLE table_23285761_7 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23285761_7 WHERE high_rebounds = "Amar'e Stoudemire (10)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the game on January 26 played against?
### Context:
CREATE TABLE table_23285761_7 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_23285761_7 WHERE date = "January 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 was the record of the game played on January 5?
### Context:
CREATE TABLE table_23285761_7 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_23285761_7 WHERE date = "January 5" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the record of the game with number 40?
### Context:
CREATE TABLE table_23285761_7 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_23285761_7 WHERE game = 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:
What was the score with the team record was 15-25?
### Context:
CREATE TABLE table_23285805_6 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23285805_6 WHERE record = "15-25" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has the most rebounds for game 42?
### Context:
CREATE TABLE table_23285805_6 (high_rebounds VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23285805_6 WHERE game = 42 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the most rebounds when the team record was 15-27?
### Context:
CREATE TABLE table_23285805_6 (high_rebounds VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_23285805_6 WHERE record = "15-27" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has the high assists when the team is Oklahoma City?
### Context:
CREATE TABLE table_23285805_8 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma City" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On which datebis arco arena 17361 the location attendance?
### Context:
CREATE TABLE table_23285805_8 (date VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has the location attendance of American Airlines Center 19954?
### Context:
CREATE TABLE table_23285805_8 (team VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT team FROM table_23285805_8 WHERE location_attendance = "American Airlines Center 19954" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record where arco arena 17361 is location attendance?
### Context:
CREATE TABLE table_23285805_8 (record VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has the high points for the 69 game?
### Context:
CREATE TABLE table_23285805_8 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23285805_8 WHERE game = 69 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for rose garden 20,565 attendance
### Context:
CREATE TABLE table_23286158_8 (record VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game for andre miller , rudy fernandez (7)
### Context:
CREATE TABLE table_23286158_8 (game VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT game FROM table_23286158_8 WHERE high_rebounds = "Andre Miller , Rudy Fernandez (7)" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the high points for 30-23
### Context:
CREATE TABLE table_23286158_8 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23286158_8 WHERE record = "30-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 team at the rose garden 20,565
### Context:
CREATE TABLE table_23286158_8 (team VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT team FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for the game when the record was 37-27?
### Context:
CREATE TABLE table_23286158_9 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_23286158_9 WHERE record = "37-27" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 led with the highest points during the game against Indiana?
### Context:
CREATE TABLE table_23286158_9 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23286158_9 WHERE team = "Indiana" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most number in series for production code of 3abc11
### Context:
CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC11" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most number in season for production code 3abc12
### Context:
CREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = "3ABC12" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title for number 16
### Context:
CREATE TABLE table_23289934_1 (title VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT title FROM table_23289934_1 WHERE no_in_season = 16 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number for production code for 3abc21
### Context:
CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC21" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date that the episode with Jeff Davis as the second performer originally aired?
### Context:
CREATE TABLE table_23294081_10 (original_airdate VARCHAR, performer_2 VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_23294081_10 WHERE performer_2 = "Jeff Davis" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes were series episode 214?
### Context:
CREATE TABLE table_23294081_10 (_number VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT COUNT(_number) FROM table_23294081_10 WHERE no = 214 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capitols play the toronto maple leafs?
### Context:
CREATE TABLE table_23308178_6 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_23308178_6 WHERE opponent = "Toronto Maple Leafs" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the game played when the record was 20-6-6?
### Context:
CREATE TABLE table_23308178_6 (location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_23308178_6 WHERE record = "20-6-6" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.