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 result with opponent being cleveland browns
### Context:
CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = "Cleveland Browns" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result with opponent being at new england patriots
### Context:
CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_14951643_1 WHERE opponent = "at New England Patriots" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with result being w 21–7
### Context:
CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT record FROM table_14951643_1 WHERE result = "W 21–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's the date with attendance being 40657
### Context:
CREATE TABLE table_14951643_1 (date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_14951643_1 WHERE attendance = 40657 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for september 19, 1976
### Context:
CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when attendance is 44023
### Context:
CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week for september 19, 1976
### Context:
CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when attendance 42827
### Context:
CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT record FROM table_14945881_1 WHERE attendance = 42827 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when week is 9
### Context:
CREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_14945881_1 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:
What year was taxidermia nominated?
### Context:
CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the director for diary for my loves?
### Context:
CREATE TABLE table_14975415_1 (director VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_14975415_1 WHERE english_title = "Diary for My Loves" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Was diary for my loves nominated?
### Context:
CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the director for the witman boys?
### Context:
CREATE TABLE table_14975415_1 (director VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_14975415_1 WHERE english_title = "The Witman Boys" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 site for december 12, 1965
### Context:
CREATE TABLE table_14977592_1 (game_site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_14977592_1 WHERE date = "December 12, 1965" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game sites for chicago bears
### Context:
CREATE TABLE table_14977592_1 (game_site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(game_site) FROM table_14977592_1 WHERE opponent = "Chicago Bears" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for november 14, 1965
### Context:
CREATE TABLE table_14977592_1 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_14977592_1 WHERE date = "November 14, 1965" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 against Atlanta Falcons held?
### Context:
CREATE TABLE table_14971788_1 (game_site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT game_site FROM table_14971788_1 WHERE opponent = "Atlanta Falcons" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 2?
### Context:
CREATE TABLE table_14971788_1 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_14971788_1 WHERE week = 2 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the place of the jury of 5
### Context:
CREATE TABLE table_14977252_2 (place VARCHAR, professional_jury VARCHAR) [/INST]
### Response:
SELECT place FROM table_14977252_2 WHERE professional_jury = 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 jury of 10 points
### Context:
CREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT professional_jury FROM table_14977252_2 WHERE points = 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:
Name the artist of 2 draw
### Context:
CREATE TABLE table_14977252_2 (artist VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT artist FROM table_14977252_2 WHERE draw = 2 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least draw for elena dermidjean
### Context:
CREATE TABLE table_14977252_2 (draw INTEGER, artist VARCHAR) [/INST]
### Response:
SELECT MIN(draw) FROM table_14977252_2 WHERE artist = "Elena Dermidjean" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 competition when there was no competition for mens doubles?
### Context:
CREATE TABLE table_15001572_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) [/INST]
### Response:
SELECT womens_doubles FROM table_15001572_1 WHERE mens_doubles = "No competition" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won the mixed doubles in 1998?
### Context:
CREATE TABLE table_15001572_1 (mixed_doubles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT mixed_doubles FROM table_15001572_1 WHERE year = 1998 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colleges did the player picked 57 attend?
### Context:
CREATE TABLE table_15017024_2 (college VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 heights does chad henne have?
### Context:
CREATE TABLE table_15017024_2 (height VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT COUNT(height) FROM table_15017024_2 WHERE player_name = "Chad Henne" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 recopa sudamericana 1992 for did not qualify for libertadores 1992 and round of 16 for bragantino
### Context:
CREATE TABLE table_15013825_8 (recopa_sudamericana_1992 VARCHAR, team VARCHAR, copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR) [/INST]
### Response:
SELECT recopa_sudamericana_1992 FROM table_15013825_8 WHERE copa_libertadores_1992 = "Did not qualify" AND copa_conmebol_1992 = "Round of 16" AND team = "Bragantino" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 copa libertadores 1992 for round of 16 and team of fluminense
### Context:
CREATE TABLE table_15013825_8 (copa_libertadores_1992 VARCHAR, copa_conmebol_1992 VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT copa_libertadores_1992 FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 16" AND team = "Fluminense" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for copa conmebol 1992 is round of 16
### Context:
CREATE TABLE table_15013825_8 (team VARCHAR, copa_conmebol_1992 VARCHAR) [/INST]
### Response:
SELECT team FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 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:
What league were they in in 2009?
### Context:
CREATE TABLE table_15056103_1 (league VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT league FROM table_15056103_1 WHERE year = 2009 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the playoff result when they finished 5th, north in the regular sesason?
### Context:
CREATE TABLE table_15056103_1 (playoffs VARCHAR, regular_season VARCHAR) [/INST]
### Response:
SELECT playoffs FROM table_15056103_1 WHERE regular_season = "5th, North" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open?
### Context:
CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR) [/INST]
### Response:
SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result at the Masters for the player who finished R16 at the PGA Ch.?
### Context:
CREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR) [/INST]
### Response:
SELECT masters FROM table_1506950_9 WHERE pga_ch = "R16" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player's result at the U.S. Open of the player who finished 6th at the Open Ch?
### Context:
CREATE TABLE table_1506950_9 (us_open VARCHAR, open_ch VARCHAR) [/INST]
### Response:
SELECT us_open FROM table_1506950_9 WHERE open_ch = "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:
The Rainbow District School Board is associated with what type?
### Context:
CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR) [/INST]
### Response:
SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are all school boards associated with a number of elementary schools of 96?
### Context:
CREATE TABLE table_1506619_1 (school_board VARCHAR, number_of_elementary_schools VARCHAR) [/INST]
### Response:
SELECT school_board FROM table_1506619_1 WHERE number_of_elementary_schools = 96 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 headquarters are associated with the school board Renfrew County Catholic District School Board?
### Context:
CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR) [/INST]
### Response:
SELECT headquarters FROM table_1506619_1 WHERE school_board = "Renfrew County Catholic District school_board" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 swimsuit score for the item that has 7.61 as evening gown
### Context:
CREATE TABLE table_15081939_4 (swimsuit VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which province got a swimsuit score of 8.43
### Context:
CREATE TABLE table_15081939_4 (province VARCHAR, swimsuit VARCHAR) [/INST]
### Response:
SELECT province FROM table_15081939_4 WHERE swimsuit = "8.43" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which province has evening gown score of 7.61
### Context:
CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT province FROM table_15081939_4 WHERE evening_gown = "7.61" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 averages for the province with evening gown score of 8.00
### Context:
CREATE TABLE table_15081939_4 (average VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT COUNT(average) FROM table_15081939_4 WHERE evening_gown = "8.00" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many provinces have evening gown score of 8.49
### Context:
CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) [/INST]
### Response:
SELECT COUNT(province) FROM table_15081939_4 WHERE evening_gown = "8.49" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 electorate is 54787 of the constituency
### Context:
CREATE TABLE table_15082102_3 (constituency VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT constituency FROM table_15082102_3 WHERE electorate = 54787 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 electorate of 83850 what is the minimum s split vote
### Context:
CREATE TABLE table_15082102_3 (s_spoilt_vote INTEGER, electorate VARCHAR) [/INST]
### Response:
SELECT MIN(s_spoilt_vote) FROM table_15082102_3 WHERE electorate = 83850 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lead percentage when the socialist is at 35.5%?
### Context:
CREATE TABLE table_15125201_1 (lead VARCHAR, socialist VARCHAR) [/INST]
### Response:
SELECT lead FROM table_15125201_1 WHERE socialist = "35.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 was the margin of victory at the Hawaiian Open tournament?
### Context:
CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Hawaiian Open" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 margin of victory at the Mercedes Championships?
### Context:
CREATE TABLE table_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_1514634_2 WHERE tournament = "Mercedes Championships" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the tfl-yds for no-yds 1-0
### Context:
CREATE TABLE table_15128839_22 (tfl_yds VARCHAR, no_yds VARCHAR) [/INST]
### Response:
SELECT tfl_yds FROM table_15128839_22 WHERE no_yds = "1-0" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the solo when name is briggs, diyral
### Context:
CREATE TABLE table_15128839_22 (solo VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT solo FROM table_15128839_22 WHERE name = "Briggs, Diyral" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gp for ff being 0 and qbh being 1
### Context:
CREATE TABLE table_15128839_22 (gp VARCHAR, ff VARCHAR, qbh VARCHAR) [/INST]
### Response:
SELECT gp FROM table_15128839_22 WHERE ff = 0 AND qbh = 1 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the division is Division 2 men what is the champion score?
### Context:
CREATE TABLE table_15161170_1 (champion_score VARCHAR, division VARCHAR) [/INST]
### Response:
SELECT champion_score FROM table_15161170_1 WHERE division = "division 2 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:
Name the least spirou
### Context:
CREATE TABLE table_15163938_1 (spirou INTEGER) [/INST]
### Response:
SELECT MIN(spirou) FROM table_15163938_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 home team when away team is kilmarnock
### Context:
CREATE TABLE table_15173650_2 (home_team VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT home_team FROM table_15173650_2 WHERE away_team = "Kilmarnock" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance
### Context:
CREATE TABLE table_15173650_2 (attendance INTEGER) [/INST]
### Response:
SELECT MIN(attendance) FROM table_15173650_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:
Kitchen knives is segment a of what episode?
### Context:
CREATE TABLE table_15187735_5 (episode VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b is dining room tables what is segment d?
### Context:
CREATE TABLE table_15187735_5 (segment_d VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_15187735_5 WHERE segment_b = "Dining Room Tables" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 marshmallow cookies is segment b what episode is it on netflix?
### Context:
CREATE TABLE table_15187735_5 (netflix VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT netflix FROM table_15187735_5 WHERE segment_b = "Marshmallow Cookies" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cardboard boxes is segment c what is segment a?
### Context:
CREATE TABLE table_15187735_5 (segment_a VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes for s hacksaw
### Context:
CREATE TABLE table_15187735_8 (episode VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_15187735_8 WHERE segment_b = "s Hacksaw" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series episode for s piston
### Context:
CREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR) [/INST]
### Response:
SELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = "s Piston" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment c for paint rollers
### Context:
CREATE TABLE table_15187735_8 (segment_c VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_15187735_8 WHERE segment_b = "Paint Rollers" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment a for 8-08
### Context:
CREATE TABLE table_15187735_8 (segment_a VARCHAR, series_ep VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_15187735_8 WHERE series_ep = "8-08" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 segment b for graphite s fly rod
### Context:
CREATE TABLE table_15187735_8 (segment_b VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_8 WHERE segment_c = "Graphite s Fly Rod" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won the race at Magny-Cours
### Context:
CREATE TABLE table_15187794_1 (race_winner VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT race_winner FROM table_15187794_1 WHERE circuit = "Magny-Cours" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round was the circuit Assen
### Context:
CREATE TABLE table_15187794_1 (round VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT round FROM table_15187794_1 WHERE circuit = "Assen" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won in No. 12
### Context:
CREATE TABLE table_15187794_1 (race_winner VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 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:
Which countries won by 9 strokes?
### Context:
CREATE TABLE table_1520559_1 (country VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT country FROM table_1520559_1 WHERE margin_of_victory = "9 strokes" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 purses had a winners share equal to $428650?
### Context:
CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR) [/INST]
### Response:
SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what venues did Lorena Ochoa win the championship?
### Context:
CREATE TABLE table_1520559_1 (venue VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT venue FROM table_1520559_1 WHERE champion = "Lorena Ochoa" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is presented by Ben Okri ?
### Context:
CREATE TABLE table_15211468_3 (episode_no VARCHAR, presenter VARCHAR) [/INST]
### Response:
SELECT episode_no FROM table_15211468_3 WHERE presenter = "Ben Okri" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 UK broadcast date for the episode presented by Buck Henry?
### Context:
CREATE TABLE table_15211468_3 (uk_broadcast_date VARCHAR, presenter VARCHAR) [/INST]
### Response:
SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 input clock (mhz) for s-spec number sk096?
### Context:
CREATE TABLE table_15261_1 (input_clock__mhz_ VARCHAR, s_spec_number VARCHAR) [/INST]
### Response:
SELECT input_clock__mhz_ FROM table_15261_1 WHERE s_spec_number = "SK096" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100?
### Context:
CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR) [/INST]
### Response:
SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = "3X or 2X mode" AND part_number = "A80486DX4WB-100" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part number for s-spec number sk096?
### Context:
CREATE TABLE table_15261_1 (part_number VARCHAR, s_spec_number VARCHAR) [/INST]
### Response:
SELECT part_number FROM table_15261_1 WHERE s_spec_number = "SK096" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100?
### Context:
CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR) [/INST]
### Response:
SELECT clock_multiplier FROM table_15261_1 WHERE voltage_range__v_ = "3.3 - 3.6" AND input_clock__mhz_ = "33 X 3 / 50 X 2" AND part_number = "A80486DX4-100" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 processor speed (mhz) for part number a80486dx4-75?
### Context:
CREATE TABLE table_15261_1 (processor_speed__mhz_ VARCHAR, part_number VARCHAR) [/INST]
### Response:
SELECT COUNT(processor_speed__mhz_) FROM table_15261_1 WHERE part_number = "A80486DX4-75" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Tell me the least amount of democratic colation
### Context:
CREATE TABLE table_15306124_1 (democratic_coalition INTEGER) [/INST]
### Response:
SELECT MIN(democratic_coalition) FROM table_15306124_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 least amount of league of communists where municipality is mojkovac
### Context:
CREATE TABLE table_15306124_1 (league_of_communists INTEGER, municipality VARCHAR) [/INST]
### Response:
SELECT MIN(league_of_communists) FROM table_15306124_1 WHERE municipality = "Mojkovac" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 league of communists have the municipality of bar?
### Context:
CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, municipality VARCHAR) [/INST]
### Response:
SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE municipality = "Bar" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 league of communists have the people's party at 7?
### Context:
CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR) [/INST]
### Response:
SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE peoples_party = 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 poles for 2011
### Context:
CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT poles FROM table_15327489_1 WHERE year = 2011 </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the rdiers for jir team scot motogp
### Context:
CREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR) [/INST]
### Response:
SELECT riders FROM table_15327489_1 WHERE team_name = "JiR Team Scot MotoGP" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class for makoto tamada and races is 17
### Context:
CREATE TABLE table_15327489_1 (class VARCHAR, riders VARCHAR, races VARCHAR) [/INST]
### Response:
SELECT class FROM table_15327489_1 WHERE riders = "Makoto Tamada" AND races = "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 most wins
### Context:
CREATE TABLE table_15327489_1 (wins INTEGER) [/INST]
### Response:
SELECT MIN(wins) FROM table_15327489_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:
Which college did Dean Kirkland go to
### Context:
CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player went to Pittsburg State
### Context:
CREATE TABLE table_15353123_1 (player VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player FROM table_15353123_1 WHERE college = "Pittsburg State" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest pick
### Context:
CREATE TABLE table_15353123_1 (pick__number INTEGER) [/INST]
### Response:
SELECT MIN(pick__number) FROM table_15353123_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 was the highest picked defensive end
### Context:
CREATE TABLE table_15353123_1 (pick__number INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_15353123_1 WHERE position = "Defensive end" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players named Dean Kirkland were picked
### Context:
CREATE TABLE table_15353123_1 (pick__number VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player = "Dean Kirkland" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 metropolitan boroughs have dorridge as a station?
### Context:
CREATE TABLE table_15366849_1 (c_ VARCHAR, metropolitan_borough_ VARCHAR, station VARCHAR) [/INST]
### Response:
SELECT COUNT(metropolitan_borough_)[c_] FROM table_15366849_1 WHERE station = "Dorridge" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 biggest zone?
### Context:
CREATE TABLE table_15366849_1 (zone INTEGER) [/INST]
### Response:
SELECT MAX(zone) FROM table_15366849_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 mass of the element with a nuclide that is 169 tm?
### Context:
CREATE TABLE table_15366768_1 (isotopic_mass___u__ VARCHAR, nuclide VARCHAR) [/INST]
### Response:
SELECT isotopic_mass___u__ FROM table_15366768_1 WHERE nuclide = "169 Tm" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of N for the element with nuclide of 141 pr?
### Context:
CREATE TABLE table_15366768_1 (n___n__ VARCHAR, nuclide VARCHAR) [/INST]
### Response:
SELECT COUNT(n___n__) FROM table_15366768_1 WHERE nuclide = "141 Pr" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 element with isotopic mass of 158.925 34(2)?
### Context:
CREATE TABLE table_15366768_1 (element VARCHAR, isotopic_mass___u__ VARCHAR) [/INST]
### Response:
SELECT element FROM table_15366768_1 WHERE isotopic_mass___u__ = "158.925 34(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:
The theme year they were born belongs to what artist?
### Context:
CREATE TABLE table_15383430_1 (original_artist VARCHAR, theme VARCHAR) [/INST]
### Response:
SELECT original_artist FROM table_15383430_1 WHERE theme = "Year They Were Born" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 songs were sung by queen?
### Context:
CREATE TABLE table_15383430_1 (result VARCHAR, original_artist VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_15383430_1 WHERE original_artist = "Queen" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 glass bulb color for ordinary
### Context:
CREATE TABLE table_1538516_1 (glass_bulb_color VARCHAR, temperature_classification VARCHAR) [/INST]
### Response:
SELECT glass_bulb_color FROM table_1538516_1 WHERE temperature_classification = "Ordinary" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ceiling temperature for intermediate
### Context:
CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) [/INST]
### Response:
SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Intermediate" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ceiling temperature for very extra high
### Context:
CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) [/INST]
### Response:
SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Very Extra High" </s>
|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playoffs reached Conference Finals?
### Context:
CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) [/INST]
### Response:
SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.