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:
Who got the decision in the game, when the final score was 1-7?
### Context:
CREATE TABLE table_27537518_7 (decision VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27537518_7 WHERE score = "1-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 date was M. Grabovski the first start of the game?
### Context:
CREATE TABLE table_27537518_7 (date VARCHAR, first_star VARCHAR) [/INST]
### Response:
SELECT date FROM table_27537518_7 WHERE first_star = "M. Grabovski" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the game where the opponent was the Carolina Hurricanes?
### Context:
CREATE TABLE table_27537518_9 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was the record of 27-28-11 set?
### Context:
CREATE TABLE table_27537518_9 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_27537518_9 WHERE record = "27-28-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:
Who made the decision on the game where the record was 29-28-12?
### Context:
CREATE TABLE table_27537518_9 (decision VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27537518_9 WHERE record = "29-28-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who made the decision on the game where the record was 27-28-11?
### Context:
CREATE TABLE table_27537518_9 (decision VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT decision FROM table_27537518_9 WHERE record = "27-28-11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the score for game 5
### Context:
CREATE TABLE table_27539272_4 (score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT score FROM table_27539272_4 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:
Name the most points for 1-3-1 record
### Context:
CREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_27539272_4 WHERE record = "1-3-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the record for prudential center - 12,880
### Context:
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_27539272_4 WHERE location_attendance = "Prudential Center - 12,880" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for hp pavilion - 17,562
### Context:
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 days in October was the score 6-1?
### Context:
CREATE TABLE table_27537870_3 (october VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(october) FROM table_27537870_3 WHERE score = "6-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location and what was the attendance on those days when the score was 3-5-1?
### Context:
CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27537870_3 WHERE record = "3-5-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 times was the sabres record 2-5-1?
### Context:
CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(location_attendance) FROM table_27537870_3 WHERE record = "2-5-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 was the location and attendance for game 41?
### Context:
CREATE TABLE table_27539272_7 (location_attendance VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27539272_7 WHERE game = 41 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 what day of January was the record 10-29-2?
### Context:
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(january) FROM table_27539272_7 WHERE record = "10-29-2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the most points scored in a game where the score was 1-2?
### Context:
CREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-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:
On what day in January was the record 15-29-3?
### Context:
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-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:
Against what team did the Islanders have a 5-18-5 record?
### Context:
CREATE TABLE table_27539535_5 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_27539535_5 WHERE record = "5-18-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:
Against what opponent did the game end 5-4?
### Context:
CREATE TABLE table_27539535_5 (opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_27539535_5 WHERE score = "5-4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games were played against a team with a 9-19-6 record against the Islanders?
### Context:
CREATE TABLE table_27539535_5 (december VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(december) FROM table_27539535_5 WHERE record = "9-19-6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games did they play on october 9?
### Context:
CREATE TABLE table_27539808_3 (opponent VARCHAR, october VARCHAR) [/INST]
### Response:
SELECT COUNT(opponent) FROM table_27539808_3 WHERE october = 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of points for game 32?
### Context:
CREATE TABLE table_27539808_5 (points INTEGER, game VARCHAR) [/INST]
### Response:
SELECT MIN(points) FROM table_27539808_5 WHERE game = 32 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location and attendance total from the game on December 1?
### Context:
CREATE TABLE table_27539808_5 (location_attendance VARCHAR, december VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_27539808_5 WHERE december = 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:
Who directed the episode with 899000 viewers?
### Context:
CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest numbered episode in the series listed?
### Context:
CREATE TABLE table_27547668_3 (_number INTEGER) [/INST]
### Response:
SELECT MIN(_number) FROM table_27547668_3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many people watched episode number 13?
### Context:
CREATE TABLE table_27547668_3 (viewers VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT viewers FROM table_27547668_3 WHERE _number = 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 episode number in the season was written by Greg nelson and directed by Keith samples?
### Context:
CREATE TABLE table_27547668_3 (no VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT no FROM table_27547668_3 WHERE written_by = "Greg Nelson" AND directed_by = "Keith Samples" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code 102?
### Context:
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT title FROM table_27547668_2 WHERE prod_code = 102 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # 6?
### Context:
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_27547668_2 WHERE _number = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the original air date of the episode with 908000 viewers?
### Context:
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR) [/INST]
### Response:
SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season premieres had 15.27 million viewers?
### Context:
CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT COUNT(season) AS premiere FROM table_27553627_2 WHERE viewers__in_millions_ = "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:
When was the season finale that ranked 20th?
### Context:
CREATE TABLE table_27553627_2 (season VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT season AS finale FROM table_27553627_2 WHERE rank = "20th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tv season year had 14.54 million viewers?
### Context:
CREATE TABLE table_27553627_2 (tv_season VARCHAR, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT tv_season FROM table_27553627_2 WHERE viewers__in_millions_ = "14.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:
What episode number had 14.41 million viewers?
### Context:
CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_millions_ = "14.41" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minimum rnd at Laguna Seca?
### Context:
CREATE TABLE table_27561505_2 (rnd INTEGER, circuit VARCHAR) [/INST]
### Response:
SELECT MIN(rnd) FROM table_27561505_2 WHERE circuit = "Laguna Seca" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
### Context:
CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#16 Trans Ocean Motors" AND circuit = "Castle Rock" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results for #23 lotus
### Context:
CREATE TABLE table_27561503_2 (results VARCHAR, sports_20_winning_team VARCHAR) [/INST]
### Response:
SELECT COUNT(results) FROM table_27561503_2 WHERE sports_20_winning_team = "#23 Lotus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results for herb wetanson
### Context:
CREATE TABLE table_27561503_2 (results VARCHAR, gt_20_winning_team VARCHAR) [/INST]
### Response:
SELECT results FROM table_27561503_2 WHERE gt_20_winning_team = "Herb Wetanson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province if the electorate was Collingwood?
### Context:
CREATE TABLE table_27592654_2 (province VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT province FROM table_27592654_2 WHERE electorate = "Collingwood" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
### Context:
CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR) [/INST]
### Response:
SELECT province FROM table_27592654_2 WHERE election_date = "5 Cannot handle non-empty timestamp argument! 1861" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races for final placing being 5th
### Context:
CREATE TABLE table_27582888_1 (races VARCHAR, final_placing VARCHAR) [/INST]
### Response:
SELECT races FROM table_27582888_1 WHERE final_placing = "5th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 post poles for 4 podiums
### Context:
CREATE TABLE table_27582888_1 (poles INTEGER, podiums VARCHAR) [/INST]
### Response:
SELECT MAX(poles) FROM table_27582888_1 WHERE podiums = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was Barreto's song choice when the theme was samba?
### Context:
CREATE TABLE table_27614571_1 (song_choice VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_27614571_1 WHERE theme = "Samba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Barreto's song choice where the original artist was Patricia Marx?
### Context:
CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_27614571_1 WHERE original_artist = "Patricia Marx" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In which week # was the original artist of Barreto's song choice was Leila Pinheiro?
### Context:
CREATE TABLE table_27614571_1 (week__number VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT week__number FROM table_27614571_1 WHERE original_artist = "Leila Pinheiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earliest tournament happened?
### Context:
CREATE TABLE table_27611593_5 (year INTEGER) [/INST]
### Response:
SELECT MIN(year) FROM table_27611593_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 was Petrova's partner where she scored 6–2, 3–6, 6–7 (7-9)?
### Context:
CREATE TABLE table_27611593_5 (partner VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT partner FROM table_27611593_5 WHERE score = "6–2, 3–6, 6–7 (7-9)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were Petrova's opponents with Vania King?
### Context:
CREATE TABLE table_27611593_5 (opponents VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_27611593_5 WHERE partner = "Vania King" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with the production code 211?
### Context:
CREATE TABLE table_27610775_1 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_27610775_1 WHERE prod_code = 211 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum production code of the episode directed by Sean McNamara?
### Context:
CREATE TABLE table_27610775_1 (prod_code INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MAX(prod_code) FROM table_27610775_1 WHERE directed_by = "Sean McNamara" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 audition city's are there with an episode air date of June 24, 2010?
### Context:
CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(audition_city) FROM table_27615445_1 WHERE episode_air_date = "June 24, 2010" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
List all episode air dates that auditioned at Nego Quirido Sambadrome?
### Context:
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_venue VARCHAR) [/INST]
### Response:
SELECT episode_air_date FROM table_27615445_1 WHERE audition_venue = "Nego Quirido Sambadrome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode air dates where Luiza Possi was the guest fourth judge?
### Context:
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR) [/INST]
### Response:
SELECT episode_air_date FROM table_27615445_1 WHERE guest_fourth_judge = "Luiza Possi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode air dates are there for auditioning city Rio De Janeiro?
### Context:
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR) [/INST]
### Response:
SELECT COUNT(episode_air_date) FROM table_27615445_1 WHERE audition_city = "Rio de Janeiro" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 audition venue where Peninha was the guest fourth judge?
### Context:
CREATE TABLE table_27615445_1 (audition_venue VARCHAR, guest_fourth_judge VARCHAR) [/INST]
### Response:
SELECT audition_venue FROM table_27615445_1 WHERE guest_fourth_judge = "Peninha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song was picked that was originally performed by Marisa Monte?
### Context:
CREATE TABLE table_27616663_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_27616663_1 WHERE original_artist = "Marisa 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:
What was the result of the performance of the song by Caetano Veloso?
### Context:
CREATE TABLE table_27616663_1 (result VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT result FROM table_27616663_1 WHERE original_artist = "Caetano Veloso" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 order # of the theme Male Singers?
### Context:
CREATE TABLE table_27616663_1 (order__number VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT order__number FROM table_27616663_1 WHERE theme = "Male Singers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 theme when original artist Rosana's song was performed?
### Context:
CREATE TABLE table_27616663_1 (theme VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT theme FROM table_27616663_1 WHERE original_artist = "Rosana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 weeks are there in order number 4 that were judge's choice?
### Context:
CREATE TABLE table_27614707_1 (week__number VARCHAR, theme VARCHAR, order__number VARCHAR) [/INST]
### Response:
SELECT COUNT(week__number) FROM table_27614707_1 WHERE theme = "Judge's Choice" AND order__number = "4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Marisa Monte song choice was song during top 5?
### Context:
CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa 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:
Who was the original artist of the Top 12 Men theme?
### Context:
CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT original_artist FROM table_27614707_1 WHERE theme = "Top 12 Men" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the Top 12 Men theme?
### Context:
CREATE TABLE table_27614707_1 (result VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT result FROM table_27614707_1 WHERE theme = "Top 12 Men" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week number was the result bottom 3?
### Context:
CREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT week__number FROM table_27614707_1 WHERE result = "Bottom 3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many points per game did he have when he had 1.5 assists per game?
### Context:
CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR) [/INST]
### Response:
SELECT points_per_game FROM table_2761641_1 WHERE assists_per_game = "1.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 rebounds per game did he have at the 2006 fiba world championship?
### Context:
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2006 FIBA World Championship" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebounds per game did he have at the 2003 eurobasket?
### Context:
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2003 EuroBasket" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 assists per game did he have when he had 6.8 points per game?
### Context:
CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR) [/INST]
### Response:
SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
which is the production code when the number of the episode in series is 87?
### Context:
CREATE TABLE table_27622417_1 (prod_code VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT prod_code FROM table_27622417_1 WHERE no_in_series = 87 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of the episode in the series whose production code is 405?
### Context:
CREATE TABLE table_27622417_1 (no_in_series VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_27622417_1 WHERE prod_code = "405" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
when was the premiere of the episode whose production code is 415?
### Context:
CREATE TABLE table_27622417_1 (original_us_air_date VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT original_us_air_date FROM table_27622417_1 WHERE prod_code = "415" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writers in the episode whose production code was 411?
### Context:
CREATE TABLE table_27622417_1 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_27622417_1 WHERE prod_code = "411" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the episode whose number in the season is 17?
### Context:
CREATE TABLE table_27622417_1 (directed_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_27622417_1 WHERE no_in_season = 17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the currency for negotiable debt being 1300
### Context:
CREATE TABLE table_2764267_2 (currency VARCHAR, negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ VARCHAR) [/INST]
### Response:
SELECT currency FROM table_2764267_2 WHERE negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ = 1300 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country that has the yen
### Context:
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR) [/INST]
### Response:
SELECT country FROM table_2764267_2 WHERE currency = "Yen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries that have the us dollar
### Context:
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR) [/INST]
### Response:
SELECT COUNT(country) FROM table_2764267_2 WHERE currency = "US dollar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country for the us dollar
### Context:
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR) [/INST]
### Response:
SELECT country FROM table_2764267_2 WHERE currency = "US dollar" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a head coach named mahdi ali?
### Context:
CREATE TABLE table_27631756_2 (team VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_27631756_2 WHERE head_coach = "Mahdi Ali" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captains have the kitmaker as n/a?
### Context:
CREATE TABLE table_27631756_2 (captain VARCHAR, kitmaker VARCHAR) [/INST]
### Response:
SELECT COUNT(captain) FROM table_27631756_2 WHERE kitmaker = "N/A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kitmaker correspond to team ittihad kalba?
### Context:
CREATE TABLE table_27631756_2 (kitmaker VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(kitmaker) FROM table_27631756_2 WHERE team = "Ittihad Kalba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captain when teh shirt sponsor is n/a?
### Context:
CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR) [/INST]
### Response:
SELECT captain FROM table_27631756_2 WHERE shirt_sponsor = "N/A" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captains when the shirt sponsor is toshiba?
### Context:
CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR) [/INST]
### Response:
SELECT COUNT(captain) FROM table_27631756_2 WHERE shirt_sponsor = "Toshiba" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chairman when teh captain is fawzi bashir?
### Context:
CREATE TABLE table_27631756_2 (chairman VARCHAR, captain VARCHAR) [/INST]
### Response:
SELECT chairman FROM table_27631756_2 WHERE captain = "Fawzi Bashir" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season had f/laps is 0 and races is 2?
### Context:
CREATE TABLE table_27631002_1 (season VARCHAR, f_laps VARCHAR, races VARCHAR) [/INST]
### Response:
SELECT season FROM table_27631002_1 WHERE f_laps = 0 AND races = 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:
How many entries are there for points for the 6th position?
### Context:
CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_27631002_1 WHERE position = "6th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season are shown for the 2nd position?
### Context:
CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins for the 7th position?
### Context:
CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT wins FROM table_27631002_1 WHERE position = "7th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for the austria formel 3 cup series?
### Context:
CREATE TABLE table_27631002_1 (position VARCHAR, series VARCHAR) [/INST]
### Response:
SELECT position FROM table_27631002_1 WHERE series = "Austria Formel 3 Cup" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PPI does the model with ppcm of 87 have?
### Context:
CREATE TABLE table_27653752_1 (ppi__pixels_per_inch__ VARCHAR, ppcm__pixels_per_cm__ VARCHAR) [/INST]
### Response:
SELECT COUNT(ppi__pixels_per_inch__) FROM table_27653752_1 WHERE ppcm__pixels_per_cm__ = 87 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 resolution of the model with a PPD of 69?
### Context:
CREATE TABLE table_27653752_1 (resolution VARCHAR, pixels_per_degree__ppd_ VARCHAR) [/INST]
### Response:
SELECT resolution FROM table_27653752_1 WHERE pixels_per_degree__ppd_ = 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:
What is the IHSA music class for the mascot that is the lancers?
### Context:
CREATE TABLE table_27653955_1 (ihsa_music_class VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT ihsa_music_class FROM table_27653955_1 WHERE mascot = "Lancers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IHSA cheerleading class for the enrollment of 2600?
### Context:
CREATE TABLE table_27653955_1 (ihsa_cheerleading_class VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT ihsa_cheerleading_class FROM table_27653955_1 WHERE enrollment = 2600 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colors for the enrollment of 2020?
### Context:
CREATE TABLE table_27653955_1 (colors VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT colors FROM table_27653955_1 WHERE enrollment = 2020 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the smallest number for old membership total?
### Context:
CREATE TABLE table_27671835_3 (old_membership_total INTEGER) [/INST]
### Response:
SELECT MIN(old_membership_total) FROM table_27671835_3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest number of members lost when the net change is −1?
### Context:
CREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR) [/INST]
### Response:
SELECT MIN(members_lost) FROM table_27671835_3 WHERE net_change = "−1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the new membership total if the members lost is bigger than 1.0?
### Context:
CREATE TABLE table_27671835_3 (new_membership_total INTEGER, members_lost INTEGER) [/INST]
### Response:
SELECT MAX(new_membership_total) FROM table_27671835_3 WHERE members_lost > 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:
How many members were added at the nchc (men only) conference?
### Context:
CREATE TABLE table_27671835_3 (members_added VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT members_added FROM table_27671835_3 WHERE conference = "NCHC (men only)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new membership total at the nchc (men only) conference?
### Context:
CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT new_membership_total FROM table_27671835_3 WHERE conference = "NCHC (men only)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing manager when the incoming manager is štefan tarkovič?
### Context:
CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR) [/INST]
### Response:
SELECT outgoing_manager FROM table_27683516_3 WHERE incoming_manager = "Štefan Tarkovič" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates of vacancy were on 30 october 2010?
### Context:
CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR) [/INST]
### Response:
SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = "30 October 2010" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.