context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_11 (viewers__millions_ INTEGER, rating VARCHAR, weekly_rank VARCHAR, share VARCHAR)
SELECT MIN(viewers__millions_) FROM table_name_11 WHERE weekly_rank = "#3" AND share = 9 AND rating > 5
Which rating larger than 5 have the lowest amount of views in #3 rank with a share of 9?
<s>[INST]Which rating larger than 5 have the lowest amount of views in #3 rank with a share of 9? Context: CREATE TABLE table_name_11 (viewers__millions_ INTEGER, rating VARCHAR, weekly_rank VARCHAR, share VARCHAR)[/INST]SELECT MIN(viewers__millions_) FROM table_name_11 WHERE weekly_rank = "#3" AND share = 9 AND rating...
CREATE TABLE table_26996293_7 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_26996293_7 WHERE pick__number = 54
What position was pick # 54?
<s>[INST]What position was pick # 54? Context: CREATE TABLE table_26996293_7 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_26996293_7 WHERE pick__number = 54</s>
CREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ VARCHAR)
SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784
What is the license plate code for the country with an area of 784?
<s>[INST]What is the license plate code for the country with an area of 784? Context: CREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ VARCHAR)[/INST]SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784</s>
CREATE TABLE table_27713030_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT COUNT(high_rebounds) FROM table_27713030_11 WHERE location_attendance = "Philips Arena 20,024"
How many entries are shown for high rebounds for the philips arena 20,024 game?
<s>[INST]How many entries are shown for high rebounds for the philips arena 20,024 game? Context: CREATE TABLE table_27713030_11 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_27713030_11 WHERE location_attendance = "Philips Arena 20,024"</s>
CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, rebounds VARCHAR)
SELECT AVG(games) FROM table_name_75 WHERE team = "olympiacos" AND rebounds < 17
What's the mean game number for the olympiacos team when there's less than 17 rebounds?
<s>[INST]What's the mean game number for the olympiacos team when there's less than 17 rebounds? Context: CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, rebounds VARCHAR)[/INST]SELECT AVG(games) FROM table_name_75 WHERE team = "olympiacos" AND rebounds < 17</s>
CREATE TABLE table_name_52 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_52 WHERE game = 30
What was the score of game 30?
<s>[INST]What was the score of game 30? Context: CREATE TABLE table_name_52 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_52 WHERE game = 30</s>
CREATE TABLE table_name_38 (frequency_mhz INTEGER, city_of_license VARCHAR)
SELECT MAX(frequency_mhz) FROM table_name_38 WHERE city_of_license = "byron, ga"
Which Frequency MHz is the highest one that has a City of license of byron, ga?
<s>[INST]Which Frequency MHz is the highest one that has a City of license of byron, ga? Context: CREATE TABLE table_name_38 (frequency_mhz INTEGER, city_of_license VARCHAR)[/INST]SELECT MAX(frequency_mhz) FROM table_name_38 WHERE city_of_license = "byron, ga"</s>
CREATE TABLE table_21584646_10 (champion VARCHAR, runner_up VARCHAR)
SELECT COUNT(champion) FROM table_21584646_10 WHERE runner_up = "Stefan Edberg"
How many champions are shown for the runner-up of stefan edberg?
<s>[INST]How many champions are shown for the runner-up of stefan edberg? Context: CREATE TABLE table_21584646_10 (champion VARCHAR, runner_up VARCHAR)[/INST]SELECT COUNT(champion) FROM table_21584646_10 WHERE runner_up = "Stefan Edberg"</s>
CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR)
SELECT year__ceremony_ FROM table_22128871_1 WHERE result = "Nominee"
What is every ceremony year for the result of nominee?
<s>[INST]What is every ceremony year for the result of nominee? Context: CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR)[/INST]SELECT year__ceremony_ FROM table_22128871_1 WHERE result = "Nominee"</s>
CREATE TABLE table_name_69 (total INTEGER, routine_score VARCHAR)
SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6
What is the sum of the total for a routine score of 26.6?
<s>[INST]What is the sum of the total for a routine score of 26.6? Context: CREATE TABLE table_name_69 (total INTEGER, routine_score VARCHAR)[/INST]SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6</s>
CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR)
SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900"
What is the authority who set the budget limit (£m) at 900?
<s>[INST]What is the authority who set the budget limit (£m) at 900? Context: CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR)[/INST]SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900"</s>
CREATE TABLE table_name_97 (against INTEGER, played INTEGER)
SELECT SUM(against) FROM table_name_97 WHERE played > 22
How many games were played against when the team played more than 22 total?
<s>[INST]How many games were played against when the team played more than 22 total? Context: CREATE TABLE table_name_97 (against INTEGER, played INTEGER)[/INST]SELECT SUM(against) FROM table_name_97 WHERE played > 22</s>
CREATE TABLE table_1733457_1 (bush_percentage VARCHAR, others_number VARCHAR)
SELECT bush_percentage FROM table_1733457_1 WHERE others_number = 90
Name the bush% for where others # is 90
<s>[INST]Name the bush% for where others # is 90 Context: CREATE TABLE table_1733457_1 (bush_percentage VARCHAR, others_number VARCHAR)[/INST]SELECT bush_percentage FROM table_1733457_1 WHERE others_number = 90</s>
CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_57 WHERE date = "8 february 2009"
Which Partner has a Date of 8 february 2009?
<s>[INST]Which Partner has a Date of 8 february 2009? Context: CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_57 WHERE date = "8 february 2009"</s>
CREATE TABLE table_12294557_3 (us_airdate VARCHAR, canadian_airdate VARCHAR)
SELECT us_airdate FROM table_12294557_3 WHERE canadian_airdate = "May 4, 2009"
what are the u.s. air dates with a Canadian air date of may 4, 2009
<s>[INST]what are the u.s. air dates with a Canadian air date of may 4, 2009 Context: CREATE TABLE table_12294557_3 (us_airdate VARCHAR, canadian_airdate VARCHAR)[/INST]SELECT us_airdate FROM table_12294557_3 WHERE canadian_airdate = "May 4, 2009"</s>
CREATE TABLE table_23958944_2 (title VARCHAR, production_number VARCHAR)
SELECT title FROM table_23958944_2 WHERE production_number = 103
What's the title of the episode with production number 103?
<s>[INST]What's the title of the episode with production number 103? Context: CREATE TABLE table_23958944_2 (title VARCHAR, production_number VARCHAR)[/INST]SELECT title FROM table_23958944_2 WHERE production_number = 103</s>
CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)
SELECT year FROM table_name_2 WHERE round = "17"
Which year has a Round of 17?
<s>[INST]Which year has a Round of 17? Context: CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)[/INST]SELECT year FROM table_name_2 WHERE round = "17"</s>
CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR)
SELECT event FROM table_name_44 WHERE venue = "beijing"
Which event was held in Beijing?
<s>[INST]Which event was held in Beijing? Context: CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR)[/INST]SELECT event FROM table_name_44 WHERE venue = "beijing"</s>
CREATE TABLE table_238124_1 (platelet_count VARCHAR, condition VARCHAR)
SELECT platelet_count FROM table_238124_1 WHERE condition = "Congenital afibrinogenemia"
What is the platelet count for congenital afibrinogenemia?
<s>[INST]What is the platelet count for congenital afibrinogenemia? Context: CREATE TABLE table_238124_1 (platelet_count VARCHAR, condition VARCHAR)[/INST]SELECT platelet_count FROM table_238124_1 WHERE condition = "Congenital afibrinogenemia"</s>
CREATE TABLE table_name_12 (region VARCHAR)
SELECT AVG(1970) FROM table_name_12 WHERE region = "east europe (7 economies)" AND 2000 > 2
What is the average value for 1970, when the Region is East Europe (7 Economies), and when 2000 has a value greater than 2?
<s>[INST]What is the average value for 1970, when the Region is East Europe (7 Economies), and when 2000 has a value greater than 2? Context: CREATE TABLE table_name_12 (region VARCHAR)[/INST]SELECT AVG(1970) FROM table_name_12 WHERE region = "east europe (7 economies)" AND 2000 > 2</s>
CREATE TABLE table_name_35 (overall INTEGER, name VARCHAR, pick VARCHAR)
SELECT MAX(overall) FROM table_name_35 WHERE name = "george nicula" AND pick < 9
What is the highest overall pick number for george nicula who had a pick smaller than 9?
<s>[INST]What is the highest overall pick number for george nicula who had a pick smaller than 9? Context: CREATE TABLE table_name_35 (overall INTEGER, name VARCHAR, pick VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_35 WHERE name = "george nicula" AND pick < 9</s>
CREATE TABLE table_name_20 (episode INTEGER, segment_d VARCHAR)
SELECT SUM(episode) FROM table_name_20 WHERE segment_d = "manual motorcycle transmissions"
What episode has a manual motorcycle transmissions section D?
<s>[INST]What episode has a manual motorcycle transmissions section D? Context: CREATE TABLE table_name_20 (episode INTEGER, segment_d VARCHAR)[/INST]SELECT SUM(episode) FROM table_name_20 WHERE segment_d = "manual motorcycle transmissions"</s>
CREATE TABLE table_12226390_4 (no_in_season INTEGER, written_by VARCHAR)
SELECT MAX(no_in_season) FROM table_12226390_4 WHERE written_by = "Bobby Bell and Bill Lee"
What episode was written by Bobby Bell and Bill Lee?
<s>[INST]What episode was written by Bobby Bell and Bill Lee? Context: CREATE TABLE table_12226390_4 (no_in_season INTEGER, written_by VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_12226390_4 WHERE written_by = "Bobby Bell and Bill Lee"</s>
CREATE TABLE table_name_20 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_20 WHERE score = "6–2, 6–2"
Which Outcome has a Score of 6–2, 6–2?
<s>[INST]Which Outcome has a Score of 6–2, 6–2? Context: CREATE TABLE table_name_20 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_20 WHERE score = "6–2, 6–2"</s>
CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_90 WHERE venue = "mcg"
Which away team had a venue of mcg?
<s>[INST]Which away team had a venue of mcg? Context: CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_90 WHERE venue = "mcg"</s>
CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER)
SELECT SUM(heat) FROM table_name_46 WHERE rank > 7
What is the total heat ranked higher than 7?
<s>[INST]What is the total heat ranked higher than 7? Context: CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER)[/INST]SELECT SUM(heat) FROM table_name_46 WHERE rank > 7</s>
CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 1"
What was the incumbent for missouri 1?
<s>[INST]What was the incumbent for missouri 1? Context: CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 1"</s>
CREATE TABLE table_name_29 (college VARCHAR, cfl_team VARCHAR)
SELECT college FROM table_name_29 WHERE cfl_team = "calgary stampeders"
Which college did the Calgary Stampeders recruit from?
<s>[INST]Which college did the Calgary Stampeders recruit from? Context: CREATE TABLE table_name_29 (college VARCHAR, cfl_team VARCHAR)[/INST]SELECT college FROM table_name_29 WHERE cfl_team = "calgary stampeders"</s>
CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)
SELECT site_stadium FROM table_name_21 WHERE date = "march 23"
On March 23, what is the site/stadium?
<s>[INST]On March 23, what is the site/stadium? Context: CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)[/INST]SELECT site_stadium FROM table_name_21 WHERE date = "march 23"</s>
CREATE TABLE table_28898948_3 (reason VARCHAR, winner VARCHAR)
SELECT reason FROM table_28898948_3 WHERE winner = "Arthur Collins"
When arthur collins is the winner what is the reason?
<s>[INST]When arthur collins is the winner what is the reason? Context: CREATE TABLE table_28898948_3 (reason VARCHAR, winner VARCHAR)[/INST]SELECT reason FROM table_28898948_3 WHERE winner = "Arthur Collins"</s>
CREATE TABLE table_name_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR)
SELECT total_produced FROM table_name_49 WHERE service = "freight" AND builder’s_model = "u28c"
What is the total amount of freight produced of u28c?
<s>[INST]What is the total amount of freight produced of u28c? Context: CREATE TABLE table_name_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR)[/INST]SELECT total_produced FROM table_name_49 WHERE service = "freight" AND builder’s_model = "u28c"</s>
CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers"
What was the result of the game against San Francisco 49ers before week 16?
<s>[INST]What was the result of the game against San Francisco 49ers before week 16? Context: CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers"</s>
CREATE TABLE table_name_68 (opponent VARCHAR, edition VARCHAR)
SELECT opponent FROM table_name_68 WHERE edition = "1985 world group i"
Who is the opponent for the 1985 World Group i edition?
<s>[INST]Who is the opponent for the 1985 World Group i edition? Context: CREATE TABLE table_name_68 (opponent VARCHAR, edition VARCHAR)[/INST]SELECT opponent FROM table_name_68 WHERE edition = "1985 world group i"</s>
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%"
What 2009 has 18.5% as the 2007?
<s>[INST]What 2009 has 18.5% as the 2007? Context: CREATE TABLE table_name_49 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%"</s>
CREATE TABLE table_name_40 (round VARCHAR, method VARCHAR)
SELECT round FROM table_name_40 WHERE method = "submission (reverse armbar)"
What is Round, when Method is "submission (reverse armbar)"?
<s>[INST]What is Round, when Method is "submission (reverse armbar)"? Context: CREATE TABLE table_name_40 (round VARCHAR, method VARCHAR)[/INST]SELECT round FROM table_name_40 WHERE method = "submission (reverse armbar)"</s>
CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)
SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry"
Name the k. r. narayanan values for pondicherry
<s>[INST]Name the k. r. narayanan values for pondicherry Context: CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)[/INST]SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry"</s>
CREATE TABLE table_29619494_2 (apocalypstix VARCHAR, denim_demons VARCHAR)
SELECT apocalypstix FROM table_29619494_2 WHERE denim_demons = "2nd"
List all the places that the Apocalypstix occupied when the Denim Demons were 2nd.
<s>[INST]List all the places that the Apocalypstix occupied when the Denim Demons were 2nd. Context: CREATE TABLE table_29619494_2 (apocalypstix VARCHAR, denim_demons VARCHAR)[/INST]SELECT apocalypstix FROM table_29619494_2 WHERE denim_demons = "2nd"</s>
CREATE TABLE table_name_16 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_name_16 WHERE team = "orlando"
What is Location Attendance, when Team is "Orlando"?
<s>[INST]What is Location Attendance, when Team is "Orlando"? Context: CREATE TABLE table_name_16 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_name_16 WHERE team = "orlando"</s>
CREATE TABLE table_15887683_8 (n° VARCHAR, television_service VARCHAR)
SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel"
Name the number for fox news channel
<s>[INST]Name the number for fox news channel Context: CREATE TABLE table_15887683_8 (n° VARCHAR, television_service VARCHAR)[/INST]SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel"</s>
CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR)
SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"
Which Total has an olympic bronze medalist?
<s>[INST]Which Total has an olympic bronze medalist? Context: CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR)[/INST]SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"</s>
CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR)
SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t6"
Which player from United States is in place of t6?
<s>[INST]Which player from United States is in place of t6? Context: CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t6"</s>
CREATE TABLE table_1342218_17 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342218_17 WHERE incumbent = "Brent Spence"
What was the result of the election incumbent Brent Spence took place in?
<s>[INST]What was the result of the election incumbent Brent Spence took place in? Context: CREATE TABLE table_1342218_17 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342218_17 WHERE incumbent = "Brent Spence"</s>
CREATE TABLE table_name_57 (name VARCHAR, marriage VARCHAR)
SELECT name FROM table_name_57 WHERE marriage = "disputed"
Who had a disputed marriage?
<s>[INST]Who had a disputed marriage? Context: CREATE TABLE table_name_57 (name VARCHAR, marriage VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE marriage = "disputed"</s>
CREATE TABLE table_12444503_1 (lost_to_eventual_winner VARCHAR, lost_to_eventual_runner_up VARCHAR)
SELECT COUNT(lost_to_eventual_winner) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "ASC Jeanne d'Arc"
How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?
<s>[INST]How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up? Context: CREATE TABLE table_12444503_1 (lost_to_eventual_winner VARCHAR, lost_to_eventual_runner_up VARCHAR)[/INST]SELECT COUNT(lost_to_eventual_winner) FROM table_12444503_1 WHERE lost_to_eventual_runner_u...
CREATE TABLE table_26842217_4 (site VARCHAR, visiting_team VARCHAR)
SELECT site FROM table_26842217_4 WHERE visiting_team = "Louisiana-Lafayette"
Where's the louisiana-lafayette as a visiting team?
<s>[INST]Where's the louisiana-lafayette as a visiting team? Context: CREATE TABLE table_26842217_4 (site VARCHAR, visiting_team VARCHAR)[/INST]SELECT site FROM table_26842217_4 WHERE visiting_team = "Louisiana-Lafayette"</s>
CREATE TABLE table_name_84 (opponent_team VARCHAR, scorers VARCHAR)
SELECT opponent_team FROM table_name_84 WHERE scorers = "jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'"
Who was the opposing team when the scorers were jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'?
<s>[INST]Who was the opposing team when the scorers were jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'? Context: CREATE TABLE table_name_84 (opponent_team VARCHAR, scorers VARCHAR)[/INST]SELECT opponent_team FROM table_name_84 WHERE scorers = "jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'"</s>
CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR, constructor VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_20 WHERE constructor = "talbot-lago - talbot" AND laps < 83 AND driver = "johnny claes"
How many grids have a Constructor of talbot-lago - talbot, a Laps under 83, and a driver of johnny claes?
<s>[INST]How many grids have a Constructor of talbot-lago - talbot, a Laps under 83, and a driver of johnny claes? Context: CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR, constructor VARCHAR, laps VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_20 WHERE constructor = "talbot-lago - talbot" AND laps < 83 AN...
CREATE TABLE table_name_54 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_54 WHERE date = "april 22"
What is the Record for April 22?
<s>[INST]What is the Record for April 22? Context: CREATE TABLE table_name_54 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_54 WHERE date = "april 22"</s>
CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR)
SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th"
Name the number of team for 19th position
<s>[INST]Name the number of team for 19th position Context: CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR)[/INST]SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th"</s>
CREATE TABLE table_225098_4 (date_successor_seated VARCHAR, district VARCHAR)
SELECT date_successor_seated FROM table_225098_4 WHERE district = "Massachusetts 20th"
The successor for the Massachusetts 20th district was seated on what date?
<s>[INST]The successor for the Massachusetts 20th district was seated on what date? Context: CREATE TABLE table_225098_4 (date_successor_seated VARCHAR, district VARCHAR)[/INST]SELECT date_successor_seated FROM table_225098_4 WHERE district = "Massachusetts 20th"</s>
CREATE TABLE table_24961421_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)
SELECT season__number FROM table_24961421_1 WHERE us_viewers__millions_ = "12.23"
What number in the season was the episode with 12.23 million viewers?
<s>[INST]What number in the season was the episode with 12.23 million viewers? Context: CREATE TABLE table_24961421_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT season__number FROM table_24961421_1 WHERE us_viewers__millions_ = "12.23"</s>
CREATE TABLE table_name_6 (dates VARCHAR, rally_hq VARCHAR)
SELECT dates FROM table_name_6 WHERE rally_hq = "kingscliff"
Which dates have a Rally HQ of kingscliff?
<s>[INST]Which dates have a Rally HQ of kingscliff? Context: CREATE TABLE table_name_6 (dates VARCHAR, rally_hq VARCHAR)[/INST]SELECT dates FROM table_name_6 WHERE rally_hq = "kingscliff"</s>
CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR)
SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008"
Name the first match for 11 may 2008
<s>[INST]Name the first match for 11 may 2008 Context: CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR)[/INST]SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008"</s>
CREATE TABLE table_name_53 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_53 WHERE result = "w 30-3" AND attendance < 62 OFFSET 795
What week ended in a result of w 30-3, and had an attendance less than 62,795?
<s>[INST]What week ended in a result of w 30-3, and had an attendance less than 62,795? Context: CREATE TABLE table_name_53 (week INTEGER, result VARCHAR, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_53 WHERE result = "w 30-3" AND attendance < 62 OFFSET 795</s>
CREATE TABLE table_2850912_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT COUNT(nhl_team) FROM table_2850912_7 WHERE college_junior_club_team = "Newton North High School (USHS-MA)"
How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)?
<s>[INST]How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)? Context: CREATE TABLE table_2850912_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT COUNT(nhl_team) FROM table_2850912_7 WHERE college_junior_club_team = "Newton North High School (U...
CREATE TABLE table_name_60 (tries INTEGER, player VARCHAR)
SELECT AVG(tries) FROM table_name_60 WHERE player = "nathan mcavoy"
What is the average number of Tries for Nathan McAvoy?
<s>[INST]What is the average number of Tries for Nathan McAvoy? Context: CREATE TABLE table_name_60 (tries INTEGER, player VARCHAR)[/INST]SELECT AVG(tries) FROM table_name_60 WHERE player = "nathan mcavoy"</s>
CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)
SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE CLASS = 'Third-rate ship of the line'
Find the captain rank that has no captain in Third-rate ship of the line class.
<s>[INST]Find the captain rank that has no captain in Third-rate ship of the line class. Context: CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)[/INST]SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE CLASS = 'Third-rate ship of the line'</s>
CREATE TABLE table_name_39 (event VARCHAR, location VARCHAR, days_held VARCHAR)
SELECT event FROM table_name_39 WHERE location = "philadelphia, pa" AND days_held = 41
Which event has Philadelphia, PA as the location and 41 days held?
<s>[INST]Which event has Philadelphia, PA as the location and 41 days held? Context: CREATE TABLE table_name_39 (event VARCHAR, location VARCHAR, days_held VARCHAR)[/INST]SELECT event FROM table_name_39 WHERE location = "philadelphia, pa" AND days_held = 41</s>
CREATE TABLE table_name_10 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_10 WHERE laps = "35"
Who was the driver when there were 35 laps?
<s>[INST]Who was the driver when there were 35 laps? Context: CREATE TABLE table_name_10 (driver VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_10 WHERE laps = "35"</s>
CREATE TABLE table_name_11 (result VARCHAR, year__ceremony_ VARCHAR)
SELECT result FROM table_name_11 WHERE year__ceremony_ = "2010 (83rd)"
What is the Result of the 2010 (83rd) Ceremony?
<s>[INST]What is the Result of the 2010 (83rd) Ceremony? Context: CREATE TABLE table_name_11 (result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT result FROM table_name_11 WHERE year__ceremony_ = "2010 (83rd)"</s>
CREATE TABLE table_name_37 (general_classification VARCHAR, young_rider_classification VARCHAR)
SELECT general_classification FROM table_name_37 WHERE young_rider_classification = "riccardo riccò"
What is the general classification with riccardo riccò as the young rider classification?
<s>[INST]What is the general classification with riccardo riccò as the young rider classification? Context: CREATE TABLE table_name_37 (general_classification VARCHAR, young_rider_classification VARCHAR)[/INST]SELECT general_classification FROM table_name_37 WHERE young_rider_classification = "riccardo riccò"</s>
CREATE TABLE table_name_11 (team VARCHAR, runner_up VARCHAR)
SELECT team FROM table_name_11 WHERE runner_up = "capital city giants"
What team defeated the Capital City Giants?
<s>[INST]What team defeated the Capital City Giants? Context: CREATE TABLE table_name_11 (team VARCHAR, runner_up VARCHAR)[/INST]SELECT team FROM table_name_11 WHERE runner_up = "capital city giants"</s>
CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_40 WHERE event = "ufc 122"
Which Res has an Event of UFC 122?
<s>[INST]Which Res has an Event of UFC 122? Context: CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR)[/INST]SELECT res FROM table_name_40 WHERE event = "ufc 122"</s>
CREATE TABLE table_name_68 (overall INTEGER, college VARCHAR, position VARCHAR, round VARCHAR)
SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fresno state"
What is the overall draft number for the running back drafted after round 1 from fresno state?
<s>[INST]What is the overall draft number for the running back drafted after round 1 from fresno state? Context: CREATE TABLE table_name_68 (overall INTEGER, college VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fresno...
CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR)
SELECT driver_s_ FROM table_name_16 WHERE crew_chief = "derrick finley"
Who is the driver of the team with the crew chief Derrick Finley?
<s>[INST]Who is the driver of the team with the crew chief Derrick Finley? Context: CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR)[/INST]SELECT driver_s_ FROM table_name_16 WHERE crew_chief = "derrick finley"</s>
CREATE TABLE table_name_58 (venue VARCHAR, against VARCHAR, date VARCHAR)
SELECT venue FROM table_name_58 WHERE against > 9 AND date = "03/02/1996"
What is Venue, when Against is greater than 9, and when Date is "03/02/1996"?
<s>[INST]What is Venue, when Against is greater than 9, and when Date is "03/02/1996"? Context: CREATE TABLE table_name_58 (venue VARCHAR, against VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_58 WHERE against > 9 AND date = "03/02/1996"</s>
CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)
SELECT region FROM table_name_36 WHERE city = "austin"
In what region is the city of Austin?
<s>[INST]In what region is the city of Austin? Context: CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR)[/INST]SELECT region FROM table_name_36 WHERE city = "austin"</s>
CREATE TABLE table_name_16 (avg INTEGER, yards VARCHAR, rec VARCHAR)
SELECT AVG(avg) FROM table_name_16 WHERE yards = 124 AND rec < 13
What is the average of the player with 124 yards and less than 13 rec.?
<s>[INST]What is the average of the player with 124 yards and less than 13 rec.? Context: CREATE TABLE table_name_16 (avg INTEGER, yards VARCHAR, rec VARCHAR)[/INST]SELECT AVG(avg) FROM table_name_16 WHERE yards = 124 AND rec < 13</s>
CREATE TABLE table_name_53 (total INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = "2"
What is the total when silver is more than 3, and rank is 2?
<s>[INST]What is the total when silver is more than 3, and rank is 2? Context: CREATE TABLE table_name_53 (total INTEGER, silver VARCHAR, rank VARCHAR)[/INST]SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = "2"</s>
CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_46 WHERE player = "bob rosburg"
What is the score of player bob rosburg?
<s>[INST]What is the score of player bob rosburg? Context: CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE player = "bob rosburg"</s>
CREATE TABLE TOURIST_ATTRACTIONS (How_to_Get_There VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE ROYAL_FAMILY (Royal_Family_Details VARCHAR, Royal_Family_ID VARCHAR)
SELECT T1.Royal_Family_Details, T2.How_to_Get_There FROM ROYAL_FAMILY AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Royal_Family_ID = T2.Tourist_Attraction_ID
What are the details and ways to get to tourist attractions related to royal family?
<s>[INST]What are the details and ways to get to tourist attractions related to royal family? Context: CREATE TABLE TOURIST_ATTRACTIONS (How_to_Get_There VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE ROYAL_FAMILY (Royal_Family_Details VARCHAR, Royal_Family_ID VARCHAR)[/INST]SELECT T1.Royal_Family_Details, T2.Ho...
CREATE TABLE table_name_76 (played INTEGER, position INTEGER)
SELECT MIN(played) FROM table_name_76 WHERE position > 9
what is the lowest played when the position is more than 9?
<s>[INST]what is the lowest played when the position is more than 9? Context: CREATE TABLE table_name_76 (played INTEGER, position INTEGER)[/INST]SELECT MIN(played) FROM table_name_76 WHERE position > 9</s>
CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, club_name VARCHAR)
SELECT COUNT(basis_for_team_song) FROM table_28243323_1 WHERE club_name = "Fremantle"
How many team songs does fremantle have?
<s>[INST]How many team songs does fremantle have? Context: CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, club_name VARCHAR)[/INST]SELECT COUNT(basis_for_team_song) FROM table_28243323_1 WHERE club_name = "Fremantle"</s>
CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)
SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463
What away team played when the crowd was over 27,463 people?
<s>[INST]What away team played when the crowd was over 27,463 people? Context: CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463</s>
CREATE TABLE table_27756314_8 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_27756314_8 WHERE team = "Charlotte"
Who had the high points when the team was charlotte?
<s>[INST]Who had the high points when the team was charlotte? Context: CREATE TABLE table_27756314_8 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_27756314_8 WHERE team = "Charlotte"</s>
CREATE TABLE table_name_72 (coach VARCHAR, big_ten VARCHAR)
SELECT coach FROM table_name_72 WHERE big_ten = "2nd (79)"
What is the Coach with a Big Ten that is 2nd (79)?
<s>[INST]What is the Coach with a Big Ten that is 2nd (79)? Context: CREATE TABLE table_name_72 (coach VARCHAR, big_ten VARCHAR)[/INST]SELECT coach FROM table_name_72 WHERE big_ten = "2nd (79)"</s>
CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR)
SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee"
Mideast region host University of Tennessee is in what state?
<s>[INST]Mideast region host University of Tennessee is in what state? Context: CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR)[/INST]SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee"</s>
CREATE TABLE table_name_34 (location VARCHAR, method VARCHAR)
SELECT location FROM table_name_34 WHERE method = "tko"
Where was the method of tko?
<s>[INST]Where was the method of tko? Context: CREATE TABLE table_name_34 (location VARCHAR, method VARCHAR)[/INST]SELECT location FROM table_name_34 WHERE method = "tko"</s>
CREATE TABLE match_season (POSITION VARCHAR)
SELECT POSITION, COUNT(*) FROM match_season GROUP BY POSITION
Show the position of players and the corresponding number of players.
<s>[INST]Show the position of players and the corresponding number of players. Context: CREATE TABLE match_season (POSITION VARCHAR)[/INST]SELECT POSITION, COUNT(*) FROM match_season GROUP BY POSITION</s>
CREATE TABLE table_name_82 (region VARCHAR, label VARCHAR, catalogue VARCHAR)
SELECT region FROM table_name_82 WHERE label = "bronze" AND catalogue = "202 876-270"
What region has a bronze label and a catalogue of 202 876-270?
<s>[INST]What region has a bronze label and a catalogue of 202 876-270? Context: CREATE TABLE table_name_82 (region VARCHAR, label VARCHAR, catalogue VARCHAR)[/INST]SELECT region FROM table_name_82 WHERE label = "bronze" AND catalogue = "202 876-270"</s>
CREATE TABLE table_name_36 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR)
SELECT ncbi_accession_number__mrna_protein_ FROM table_name_36 WHERE species = "mus musculus"
What is the NCBI Accession Number (mRNA/Protein) for the mus musculus Species?
<s>[INST]What is the NCBI Accession Number (mRNA/Protein) for the mus musculus Species? Context: CREATE TABLE table_name_36 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR)[/INST]SELECT ncbi_accession_number__mrna_protein_ FROM table_name_36 WHERE species = "mus musculus"</s>
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_80 WHERE date = "december 8"
What game was played on December 8?
<s>[INST]What game was played on December 8? Context: CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)[/INST]SELECT AVG(game) FROM table_name_80 WHERE date = "december 8"</s>
CREATE TABLE table_name_48 (lap_by_lap VARCHAR, ratings VARCHAR, year VARCHAR, pre_race_host VARCHAR)
SELECT lap_by_lap FROM table_name_48 WHERE year > 2008 AND pre_race_host = "chris myers" AND ratings = "9.9/22"
What Lap-by-lap has Chris Myers as the Pre-Race Host, a Year larger than 2008, and 9.9/22 as its Ratings?
<s>[INST]What Lap-by-lap has Chris Myers as the Pre-Race Host, a Year larger than 2008, and 9.9/22 as its Ratings? Context: CREATE TABLE table_name_48 (lap_by_lap VARCHAR, ratings VARCHAR, year VARCHAR, pre_race_host VARCHAR)[/INST]SELECT lap_by_lap FROM table_name_48 WHERE year > 2008 AND pre_race_host = "chris myers"...
CREATE TABLE table_2147588_4 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_2147588_4 WHERE district = "New York 8th"
When new york 8th is teh district who is the successor?
<s>[INST]When new york 8th is teh district who is the successor? Context: CREATE TABLE table_2147588_4 (successor VARCHAR, district VARCHAR)[/INST]SELECT successor FROM table_2147588_4 WHERE district = "New York 8th"</s>
CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR)
SELECT MAX(year_signed) FROM table_name_79 WHERE reason_for_separation = "†" AND year_separated = "1997"
What is the most current year signed for separation of † and a separation year of 1997?
<s>[INST]What is the most current year signed for separation of † and a separation year of 1997? Context: CREATE TABLE table_name_79 (year_signed INTEGER, reason_for_separation VARCHAR, year_separated VARCHAR)[/INST]SELECT MAX(year_signed) FROM table_name_79 WHERE reason_for_separation = "†" AND year_separated = "1997"...
CREATE TABLE table_20466963_4 (guest_1 VARCHAR, guest_4 VARCHAR)
SELECT guest_1 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"
Who is the guest 1 in the episode where guest 4 is Jill Douglas?
<s>[INST]Who is the guest 1 in the episode where guest 4 is Jill Douglas? Context: CREATE TABLE table_20466963_4 (guest_1 VARCHAR, guest_4 VARCHAR)[/INST]SELECT guest_1 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"</s>
CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER)
SELECT MAX(games) FROM table_name_26 WHERE drawn < 0
Which Games is the highest one that has a Drawn smaller than 0?
<s>[INST]Which Games is the highest one that has a Drawn smaller than 0? Context: CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER)[/INST]SELECT MAX(games) FROM table_name_26 WHERE drawn < 0</s>
CREATE TABLE table_10360823_1 (overall INTEGER, college VARCHAR)
SELECT MIN(overall) FROM table_10360823_1 WHERE college = "Youngstown State"
Which overall pick number went to college at Youngstown State?
<s>[INST]Which overall pick number went to college at Youngstown State? Context: CREATE TABLE table_10360823_1 (overall INTEGER, college VARCHAR)[/INST]SELECT MIN(overall) FROM table_10360823_1 WHERE college = "Youngstown State"</s>
CREATE TABLE table_name_5 (lost INTEGER, played INTEGER)
SELECT AVG(lost) FROM table_name_5 WHERE played < 14
What was the average amount of losses for teams with played less than 14?
<s>[INST]What was the average amount of losses for teams with played less than 14? Context: CREATE TABLE table_name_5 (lost INTEGER, played INTEGER)[/INST]SELECT AVG(lost) FROM table_name_5 WHERE played < 14</s>
CREATE TABLE table_2015453_1 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_2015453_1 WHERE attendance = 22000
What date was the attendance 22000?
<s>[INST]What date was the attendance 22000? Context: CREATE TABLE table_2015453_1 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_2015453_1 WHERE attendance = 22000</s>
CREATE TABLE table_name_50 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_50 WHERE iata = "kul"
Which city's IATA is KUL?
<s>[INST]Which city's IATA is KUL? Context: CREATE TABLE table_name_50 (city VARCHAR, iata VARCHAR)[/INST]SELECT city FROM table_name_50 WHERE iata = "kul"</s>
CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)
SELECT name FROM table_name_62 WHERE perfection = "73.24%"
Who had a perfection percentage of 73.24%?
<s>[INST]Who had a perfection percentage of 73.24%? Context: CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR)[/INST]SELECT name FROM table_name_62 WHERE perfection = "73.24%"</s>
CREATE TABLE table_name_8 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_8 WHERE city = "bandar abbas"
What country is Bandar Abbas in?
<s>[INST]What country is Bandar Abbas in? Context: CREATE TABLE table_name_8 (country VARCHAR, city VARCHAR)[/INST]SELECT country FROM table_name_8 WHERE city = "bandar abbas"</s>
CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013"
What tournament took place on October 11, 2013?
<s>[INST]What tournament took place on October 11, 2013? Context: CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013"</s>
CREATE TABLE table_name_71 (competition VARCHAR, venue VARCHAR, score VARCHAR)
SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3"
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
<s>[INST]Venue of klfa stadium, cheras, and a Score of 3-3 had what competition? Context: CREATE TABLE table_name_71 (competition VARCHAR, venue VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3"</s>
CREATE TABLE table_14389782_2 (losses VARCHAR, jersey_no VARCHAR, games_started VARCHAR)
SELECT losses FROM table_14389782_2 WHERE jersey_no = "2" AND games_started < 7.0
How many lost games for jersey number 2 and games started is less than 7.0?
<s>[INST]How many lost games for jersey number 2 and games started is less than 7.0? Context: CREATE TABLE table_14389782_2 (losses VARCHAR, jersey_no VARCHAR, games_started VARCHAR)[/INST]SELECT losses FROM table_14389782_2 WHERE jersey_no = "2" AND games_started < 7.0</s>
CREATE TABLE Person (city VARCHAR)
SELECT COUNT(DISTINCT city) FROM Person
How many different cities are they from?
<s>[INST]How many different cities are they from? Context: CREATE TABLE Person (city VARCHAR)[/INST]SELECT COUNT(DISTINCT city) FROM Person</s>
CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_21 WHERE week < 10 AND opponent = "chicago bears"
What was the result in a week lower than 10 with an opponent of Chicago Bears?
<s>[INST]What was the result in a week lower than 10 with an opponent of Chicago Bears? Context: CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_21 WHERE week < 10 AND opponent = "chicago bears"</s>
CREATE TABLE table_name_12 (losses VARCHAR, team VARCHAR, goals_for VARCHAR)
SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 18
How many times has the Cornwall HC team, that has scored more than 18 goals, lost ?
<s>[INST]How many times has the Cornwall HC team, that has scored more than 18 goals, lost ? Context: CREATE TABLE table_name_12 (losses VARCHAR, team VARCHAR, goals_for VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 18</s>
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR)
SELECT mens_singles FROM table_12193259_1 WHERE season = "1944/1945"
Name the mens singles for 1944/1945
<s>[INST]Name the mens singles for 1944/1945 Context: CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR)[/INST]SELECT mens_singles FROM table_12193259_1 WHERE season = "1944/1945"</s>