context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_6 (rank INTEGER)
SELECT AVG(rank) FROM table_name_6 WHERE 2012 = 219 OFFSET 721
What is the average rank of a nation that had 219,721 in 2012?
<s>[INST]What is the average rank of a nation that had 219,721 in 2012? Context: CREATE TABLE table_name_6 (rank INTEGER)[/INST]SELECT AVG(rank) FROM table_name_6 WHERE 2012 = 219 OFFSET 721</s>
CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR)
SELECT MIN(minutes) FROM table_25016555_5 WHERE player = "Sandy Brondello"
When sandy brondello is the player what is the lowest amount of minutes?
<s>[INST]When sandy brondello is the player what is the lowest amount of minutes? Context: CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR)[/INST]SELECT MIN(minutes) FROM table_25016555_5 WHERE player = "Sandy Brondello"</s>
CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_4 WHERE record = "46-34"
On what date did the result leave the team with a record of 46-34?
<s>[INST]On what date did the result leave the team with a record of 46-34? Context: CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE record = "46-34"</s>
CREATE TABLE table_12962773_1 (player VARCHAR, position VARCHAR, current_club VARCHAR)
SELECT player FROM table_12962773_1 WHERE position = "Forward" AND current_club = "Real Madrid"
what's player with position being forward and current club being real madrid
<s>[INST]what's player with position being forward and current club being real madrid Context: CREATE TABLE table_12962773_1 (player VARCHAR, position VARCHAR, current_club VARCHAR)[/INST]SELECT player FROM table_12962773_1 WHERE position = "Forward" AND current_club = "Real Madrid"</s>
CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
On December 4, Tampa Bay has a record of 12-13-2.
<s>[INST]On December 4, Tampa Bay has a record of 12-13-2. Context: CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"</s>
CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR)
SELECT winner FROM table_22577693_1 WHERE final_venue = "Kowloon Cricket Club"
Who was the winner if the final venue is Kowloon Cricket Club?
<s>[INST]Who was the winner if the final venue is Kowloon Cricket Club? Context: CREATE TABLE table_22577693_1 (winner VARCHAR, final_venue VARCHAR)[/INST]SELECT winner FROM table_22577693_1 WHERE final_venue = "Kowloon Cricket Club"</s>
CREATE TABLE table_name_43 (winning_driver VARCHAR, winning_constructor VARCHAR)
SELECT winning_driver FROM table_name_43 WHERE winning_constructor = "sunbeam"
What Winning driver has a Winning constructor of sunbeam?
<s>[INST]What Winning driver has a Winning constructor of sunbeam? Context: CREATE TABLE table_name_43 (winning_driver VARCHAR, winning_constructor VARCHAR)[/INST]SELECT winning_driver FROM table_name_43 WHERE winning_constructor = "sunbeam"</s>
CREATE TABLE table_name_85 (race_1 VARCHAR, race_4 VARCHAR)
SELECT race_1 FROM table_name_85 WHERE race_4 = "1"
What is Race 1, when Race 4 is 1?
<s>[INST]What is Race 1, when Race 4 is 1? Context: CREATE TABLE table_name_85 (race_1 VARCHAR, race_4 VARCHAR)[/INST]SELECT race_1 FROM table_name_85 WHERE race_4 = "1"</s>
CREATE TABLE table_name_21 (first_branch_opened VARCHAR, branch VARCHAR)
SELECT first_branch_opened FROM table_name_21 WHERE branch = "belmont library"
What is the First Branch Opened, when Branch is Belmont Library?
<s>[INST]What is the First Branch Opened, when Branch is Belmont Library? Context: CREATE TABLE table_name_21 (first_branch_opened VARCHAR, branch VARCHAR)[/INST]SELECT first_branch_opened FROM table_name_21 WHERE branch = "belmont library"</s>
CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round > 6
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
<s>[INST]WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6? Context: CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)[/INST]SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round > 6</s>
CREATE TABLE table_21676617_1 (winning_time__km_rate_ VARCHAR, odds_of_winner VARCHAR)
SELECT winning_time__km_rate_ FROM table_21676617_1 WHERE odds_of_winner = "2.94"
What was the winning time in the year when the odds of the winner were 2.94?
<s>[INST]What was the winning time in the year when the odds of the winner were 2.94? Context: CREATE TABLE table_21676617_1 (winning_time__km_rate_ VARCHAR, odds_of_winner VARCHAR)[/INST]SELECT winning_time__km_rate_ FROM table_21676617_1 WHERE odds_of_winner = "2.94"</s>
CREATE TABLE table_name_99 (end_date VARCHAR, to_club VARCHAR)
SELECT end_date FROM table_name_99 WHERE to_club = "celtic"
A player was moved to celtic had an end of what date?
<s>[INST]A player was moved to celtic had an end of what date? Context: CREATE TABLE table_name_99 (end_date VARCHAR, to_club VARCHAR)[/INST]SELECT end_date FROM table_name_99 WHERE to_club = "celtic"</s>
CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR)
SELECT republican_ticket FROM table_name_63 WHERE workers_ticket = "edward lindgren"
What is the name on the Republican ticket when the Workers ticket is edward lindgren?
<s>[INST]What is the name on the Republican ticket when the Workers ticket is edward lindgren? Context: CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_63 WHERE workers_ticket = "edward lindgren"</s>
CREATE TABLE table_name_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR)
SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440"
What is the L3 cache of the processor with a release price of $440?
<s>[INST]What is the L3 cache of the processor with a release price of $440? Context: CREATE TABLE table_name_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR)[/INST]SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440"</s>
CREATE TABLE table_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR)
SELECT MIN(weeks_at__number1) FROM table_27441210_5 WHERE year = 1988
Name the least weeks at number 1 for 1988
<s>[INST]Name the least weeks at number 1 for 1988 Context: CREATE TABLE table_27441210_5 (weeks_at__number1 INTEGER, year VARCHAR)[/INST]SELECT MIN(weeks_at__number1) FROM table_27441210_5 WHERE year = 1988</s>
CREATE TABLE table_name_27 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_27 WHERE date = "23 february 1929"
What is the competition on 23 February 1929?
<s>[INST]What is the competition on 23 February 1929? Context: CREATE TABLE table_name_27 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_27 WHERE date = "23 february 1929"</s>
CREATE TABLE list (grade VARCHAR, classroom VARCHAR)
SELECT grade, COUNT(DISTINCT classroom), COUNT(*) FROM list GROUP BY grade
For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.
<s>[INST]For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade. Context: CREATE TABLE list (grade VARCHAR, classroom VARCHAR)[/INST]SELECT grade, COUNT(DISTINCT classroom), COUNT(*) FROM list GROUP BY grade</s>
CREATE TABLE table_name_6 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_6 WHERE home_team = "everton"
What is Date, when Home Team is "Everton"?
<s>[INST]What is Date, when Home Team is "Everton"? Context: CREATE TABLE table_name_6 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE home_team = "everton"</s>
CREATE TABLE table_27069503_2 (conf_record VARCHAR, standings VARCHAR, season VARCHAR)
SELECT conf_record FROM table_27069503_2 WHERE standings = "First" AND season = "2003-04"
What was the conference record for the Pandas when they were first in the standings in the 2003-04 season?
<s>[INST]What was the conference record for the Pandas when they were first in the standings in the 2003-04 season? Context: CREATE TABLE table_27069503_2 (conf_record VARCHAR, standings VARCHAR, season VARCHAR)[/INST]SELECT conf_record FROM table_27069503_2 WHERE standings = "First" AND season = "2003-04"</s>
CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)
SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Rudar"
What stadium does FK Rudar play in?
<s>[INST]What stadium does FK Rudar play in? Context: CREATE TABLE table_28668784_1 (stadium VARCHAR, home_team VARCHAR)[/INST]SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Rudar"</s>
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3"
What is the lowest game for a record of 32-12-3?
<s>[INST]What is the lowest game for a record of 32-12-3? Context: CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3"</s>
CREATE TABLE table_11019212_1 (monday VARCHAR, tuesday VARCHAR)
SELECT monday FROM table_11019212_1 WHERE tuesday = "9:00-6:00"
what's the monday time with tuesday being 9:00-6:00
<s>[INST]what's the monday time with tuesday being 9:00-6:00 Context: CREATE TABLE table_11019212_1 (monday VARCHAR, tuesday VARCHAR)[/INST]SELECT monday FROM table_11019212_1 WHERE tuesday = "9:00-6:00"</s>
CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "River Plate"
Who played River Plate?
<s>[INST]Who played River Plate? Context: CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)[/INST]SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "River Plate"</s>
CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR)
SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3"
Which Time has a Set 3 of 24–26, and a Score of 0–3?
<s>[INST]Which Time has a Set 3 of 24–26, and a Score of 0–3? Context: CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR)[/INST]SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–3"</s>
CREATE TABLE table_25794138_1 (capacity INTEGER, stadium VARCHAR)
SELECT MAX(capacity) FROM table_25794138_1 WHERE stadium = "Larry Gomes stadium"
What was the maximum capacity of larry gomes stadium?
<s>[INST]What was the maximum capacity of larry gomes stadium? Context: CREATE TABLE table_25794138_1 (capacity INTEGER, stadium VARCHAR)[/INST]SELECT MAX(capacity) FROM table_25794138_1 WHERE stadium = "Larry Gomes stadium"</s>
CREATE TABLE table_26853172_1 (player_1 VARCHAR, player_3 VARCHAR, prevailing_wind VARCHAR)
SELECT player_1 FROM table_26853172_1 WHERE player_3 = "South" AND prevailing_wind = "South"
What is player 1 when player 3 is South and the prevailing wind is South?
<s>[INST]What is player 1 when player 3 is South and the prevailing wind is South? Context: CREATE TABLE table_26853172_1 (player_1 VARCHAR, player_3 VARCHAR, prevailing_wind VARCHAR)[/INST]SELECT player_1 FROM table_26853172_1 WHERE player_3 = "South" AND prevailing_wind = "South"</s>
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_8 WHERE away_team = "north melbourne"
What was the home team score when North Melbourne was the away team?
<s>[INST]What was the home team score when North Melbourne was the away team? Context: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_8 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR)
SELECT writer FROM table_25737761_3 WHERE director = "Colin Teague"
Who directed the episode directed by colin teague?
<s>[INST]Who directed the episode directed by colin teague? Context: CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR)[/INST]SELECT writer FROM table_25737761_3 WHERE director = "Colin Teague"</s>
CREATE TABLE table_2610582_3 (power_kw__erp_ VARCHAR, ch__number VARCHAR, callsign VARCHAR)
SELECT power_kw__erp_ FROM table_2610582_3 WHERE ch__number = "TV-23" AND callsign = "DYCG-TV"
What is the power, in kW, of channel TV-23, callsign DYCG-TV?
<s>[INST]What is the power, in kW, of channel TV-23, callsign DYCG-TV? Context: CREATE TABLE table_2610582_3 (power_kw__erp_ VARCHAR, ch__number VARCHAR, callsign VARCHAR)[/INST]SELECT power_kw__erp_ FROM table_2610582_3 WHERE ch__number = "TV-23" AND callsign = "DYCG-TV"</s>
CREATE TABLE table_name_34 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "stade d'abidjan"
What was the score in the 1st leg when Stade d'Abidjan was Team 2?
<s>[INST]What was the score in the 1st leg when Stade d'Abidjan was Team 2? Context: CREATE TABLE table_name_34 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_34 WHERE team_2 = "stade d'abidjan"</s>
CREATE TABLE table_name_12 (name VARCHAR, result VARCHAR)
SELECT name FROM table_name_12 WHERE result = 54.67
Who has a Result of 54.67?
<s>[INST]Who has a Result of 54.67? Context: CREATE TABLE table_name_12 (name VARCHAR, result VARCHAR)[/INST]SELECT name FROM table_name_12 WHERE result = 54.67</s>
CREATE TABLE table_1984697_85 (school VARCHAR, city___town VARCHAR)
SELECT school FROM table_1984697_85 WHERE city___town = "North Manchester"
What is the name of the school/s in North Manchester?
<s>[INST]What is the name of the school/s in North Manchester? Context: CREATE TABLE table_1984697_85 (school VARCHAR, city___town VARCHAR)[/INST]SELECT school FROM table_1984697_85 WHERE city___town = "North Manchester"</s>
CREATE TABLE table_name_26 (position VARCHAR, season VARCHAR, number VARCHAR)
SELECT position FROM table_name_26 WHERE season = "2009-2010" AND number = "1"
Who is the position for the 2009-2010 season, number 1?
<s>[INST]Who is the position for the 2009-2010 season, number 1? Context: CREATE TABLE table_name_26 (position VARCHAR, season VARCHAR, number VARCHAR)[/INST]SELECT position FROM table_name_26 WHERE season = "2009-2010" AND number = "1"</s>
CREATE TABLE table_name_56 (score VARCHAR, game INTEGER)
SELECT score FROM table_name_56 WHERE game < 66
What was the score at the game earlier than 66?
<s>[INST]What was the score at the game earlier than 66? Context: CREATE TABLE table_name_56 (score VARCHAR, game INTEGER)[/INST]SELECT score FROM table_name_56 WHERE game < 66</s>
CREATE TABLE table_name_80 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR)
SELECT AVG(field_goals) FROM table_name_80 WHERE extra_points > 0 AND touchdowns > 5
What is the average field goal someone has when they have 0 extra points but more than 5 touch downs?
<s>[INST]What is the average field goal someone has when they have 0 extra points but more than 5 touch downs? Context: CREATE TABLE table_name_80 (field_goals INTEGER, extra_points VARCHAR, touchdowns VARCHAR)[/INST]SELECT AVG(field_goals) FROM table_name_80 WHERE extra_points > 0 AND touchdowns > 5</s>
CREATE TABLE table_name_37 (builder VARCHAR, country VARCHAR, ship VARCHAR)
SELECT builder FROM table_name_37 WHERE country = "norway" AND ship = "brage"
Who was the builder of Brage from Norway?
<s>[INST]Who was the builder of Brage from Norway? Context: CREATE TABLE table_name_37 (builder VARCHAR, country VARCHAR, ship VARCHAR)[/INST]SELECT builder FROM table_name_37 WHERE country = "norway" AND ship = "brage"</s>
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12"
Which chassis has an Alfa Romeo flat-12 engine.
<s>[INST]Which chassis has an Alfa Romeo flat-12 engine. Context: CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)[/INST]SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12"</s>
CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR)
SELECT combination_classification FROM table_name_17 WHERE stage = "14"
Which Combination classification has a Stage of 14?
<s>[INST]Which Combination classification has a Stage of 14? Context: CREATE TABLE table_name_17 (combination_classification VARCHAR, stage VARCHAR)[/INST]SELECT combination_classification FROM table_name_17 WHERE stage = "14"</s>
CREATE TABLE table_1341738_19 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341738_19 WHERE incumbent = "Joe Waggonner"
What district did Joe Waggonner belong to?
<s>[INST]What district did Joe Waggonner belong to? Context: CREATE TABLE table_1341738_19 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341738_19 WHERE incumbent = "Joe Waggonner"</s>
CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)
SELECT lead FROM table_name_40 WHERE season = "2009-10"
Which lead had a season of 2009-10?
<s>[INST]Which lead had a season of 2009-10? Context: CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)[/INST]SELECT lead FROM table_name_40 WHERE season = "2009-10"</s>
CREATE TABLE table_name_65 (álbum VARCHAR, year VARCHAR)
SELECT álbum FROM table_name_65 WHERE year = 1996
What álbum was in the year 1996?
<s>[INST]What álbum was in the year 1996? Context: CREATE TABLE table_name_65 (álbum VARCHAR, year VARCHAR)[/INST]SELECT álbum FROM table_name_65 WHERE year = 1996</s>
CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR)
SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = "arsine" AND field_stability < 5
What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5?
<s>[INST]What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5? Context: CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR)[/INST]SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_...
CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_9 WHERE score = "108-105 (ot)"
Which Team has a Score of 108-105 (ot)?
<s>[INST]Which Team has a Score of 108-105 (ot)? Context: CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_name_9 WHERE score = "108-105 (ot)"</s>
CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR)
SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–2009"
Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009?
<s>[INST]Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918–2009? Context: CREATE TABLE table_name_7 (senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR)[/INST]SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with ...
CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)
SELECT mountains_classification FROM table_name_70 WHERE general_classification = "tony rominger" AND winner = "maurizio fondriest"
Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest?
<s>[INST]Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest? Context: CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR)[/INST]SELECT mountains_classification FROM table_name_70 WHERE general_classific...
CREATE TABLE table_name_90 (series VARCHAR, site VARCHAR, date VARCHAR)
SELECT series FROM table_name_90 WHERE site = "ames" AND date = "september 10, 2005"
Which Series has a Site of ames on september 10, 2005?
<s>[INST]Which Series has a Site of ames on september 10, 2005? Context: CREATE TABLE table_name_90 (series VARCHAR, site VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_90 WHERE site = "ames" AND date = "september 10, 2005"</s>
CREATE TABLE Skills (skill_id VARCHAR, skill_description VARCHAR); CREATE TABLE Skills_Required_To_Fix (skill_id VARCHAR)
SELECT T1.skill_id, T1.skill_description FROM Skills AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.skill_id = T2.skill_id GROUP BY T1.skill_id ORDER BY COUNT(*) DESC LIMIT 1
Which skill is used in fixing the most number of faults? List the skill id and description.
<s>[INST]Which skill is used in fixing the most number of faults? List the skill id and description. Context: CREATE TABLE Skills (skill_id VARCHAR, skill_description VARCHAR); CREATE TABLE Skills_Required_To_Fix (skill_id VARCHAR)[/INST]SELECT T1.skill_id, T1.skill_description FROM Skills AS T1 JOIN Skills_Required_To...
CREATE TABLE table_28283535_4 (weekly_rank VARCHAR, episode VARCHAR)
SELECT weekly_rank FROM table_28283535_4 WHERE episode = "1.03"
What's the weekly rank of episode 1.03?
<s>[INST]What's the weekly rank of episode 1.03? Context: CREATE TABLE table_28283535_4 (weekly_rank VARCHAR, episode VARCHAR)[/INST]SELECT weekly_rank FROM table_28283535_4 WHERE episode = "1.03"</s>
CREATE TABLE table_name_69 (chassis VARCHAR, year VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_69 WHERE year > 1959 AND engine = "climax l4"
What company built the chassis for a year later than 1959 and a climax l4 engine?
<s>[INST]What company built the chassis for a year later than 1959 and a climax l4 engine? Context: CREATE TABLE table_name_69 (chassis VARCHAR, year VARCHAR, engine VARCHAR)[/INST]SELECT chassis FROM table_name_69 WHERE year > 1959 AND engine = "climax l4"</s>
CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR)
SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"
What seasons does Nick lucas appear?
<s>[INST]What seasons does Nick lucas appear? Context: CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR)[/INST]SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"</s>
CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR)
SELECT AVG(cups) FROM table_name_9 WHERE other > 3 AND league > 3 AND player = "lauri dalla valle" AND total > 21
What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a Total more than 21?
<s>[INST]What is the number of cups when the other was more than 3, the league more than 3, for Lauri Dalla Valle, and a Total more than 21? Context: CREATE TABLE table_name_9 (cups INTEGER, total VARCHAR, player VARCHAR, other VARCHAR, league VARCHAR)[/INST]SELECT AVG(cups) FROM table_name_9 WHERE other > 3 AND league...
CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR)
SELECT control FROM table_2076533_1 WHERE main_location = "Albany"
Name the control for albany
<s>[INST]Name the control for albany Context: CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR)[/INST]SELECT control FROM table_2076533_1 WHERE main_location = "Albany"</s>
CREATE TABLE table_name_95 (college VARCHAR, pick VARCHAR, team VARCHAR)
SELECT college FROM table_name_95 WHERE pick > 130 AND team = "new york jets"
Which college did the player picked larger than 130 by the New York Jets go to?
<s>[INST]Which college did the player picked larger than 130 by the New York Jets go to? Context: CREATE TABLE table_name_95 (college VARCHAR, pick VARCHAR, team VARCHAR)[/INST]SELECT college FROM table_name_95 WHERE pick > 130 AND team = "new york jets"</s>
CREATE TABLE table_2970978_1 (ave_attendance VARCHAR, ___ave_on_prev_season VARCHAR)
SELECT COUNT(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+645"
How many values of attendance occur when ave. on previous season is +645?
<s>[INST]How many values of attendance occur when ave. on previous season is +645? Context: CREATE TABLE table_2970978_1 (ave_attendance VARCHAR, ___ave_on_prev_season VARCHAR)[/INST]SELECT COUNT(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+645"</s>
CREATE TABLE table_18600760_15 (county VARCHAR, township VARCHAR)
SELECT county FROM table_18600760_15 WHERE township = "Osborn"
What county is the township of Osborn in?
<s>[INST]What county is the township of Osborn in? Context: CREATE TABLE table_18600760_15 (county VARCHAR, township VARCHAR)[/INST]SELECT county FROM table_18600760_15 WHERE township = "Osborn"</s>
CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell"
Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast?
<s>[INST]Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast? Context: CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)[/INST]SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "S...
CREATE TABLE table_name_47 (played INTEGER, goals_conceded VARCHAR, draw VARCHAR)
SELECT MAX(played) FROM table_name_47 WHERE goals_conceded = 21 AND draw > 3
What was the highest number played when there were 21 goals conceded and a draw greater than 3?
<s>[INST]What was the highest number played when there were 21 goals conceded and a draw greater than 3? Context: CREATE TABLE table_name_47 (played INTEGER, goals_conceded VARCHAR, draw VARCHAR)[/INST]SELECT MAX(played) FROM table_name_47 WHERE goals_conceded = 21 AND draw > 3</s>
CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)
SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey"
How many League Cup Goals have 0 as the total goals, with delroy facey as the name?
<s>[INST]How many League Cup Goals have 0 as the total goals, with delroy facey as the name? Context: CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)[/INST]SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey"</s>
CREATE TABLE table_name_17 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT AVG(draws) FROM table_name_17 WHERE wins > 1 AND losses = 14 AND against < 1836
What is the average draws with more than 1 win, 14 losses, and against less than 1836?
<s>[INST]What is the average draws with more than 1 win, 14 losses, and against less than 1836? Context: CREATE TABLE table_name_17 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_17 WHERE wins > 1 AND losses = 14 AND against < 1836</s>
CREATE TABLE table_name_62 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR)
SELECT AVG(cuts_made) FROM table_name_62 WHERE tournament = "totals" AND events > 24
What was the cuts average in tournament totals in an event larger than 24?
<s>[INST]What was the cuts average in tournament totals in an event larger than 24? Context: CREATE TABLE table_name_62 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR)[/INST]SELECT AVG(cuts_made) FROM table_name_62 WHERE tournament = "totals" AND events > 24</s>
CREATE TABLE table_name_22 (game VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_22 WHERE opponent = "phoenix suns"
Which Game has an Opponent of phoenix suns?
<s>[INST]Which Game has an Opponent of phoenix suns? Context: CREATE TABLE table_name_22 (game VARCHAR, opponent VARCHAR)[/INST]SELECT game FROM table_name_22 WHERE opponent = "phoenix suns"</s>
CREATE TABLE table_name_97 (r_epp VARCHAR, ed_zacharias VARCHAR)
SELECT r_epp FROM table_name_97 WHERE ed_zacharias = "rollen, jerolt, golt"
Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?
<s>[INST]Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt? Context: CREATE TABLE table_name_97 (r_epp VARCHAR, ed_zacharias VARCHAR)[/INST]SELECT r_epp FROM table_name_97 WHERE ed_zacharias = "rollen, jerolt, golt"</s>
CREATE TABLE table_name_77 (skip VARCHAR, season VARCHAR)
SELECT skip FROM table_name_77 WHERE season = "2002–03"
Which Skip has a Season of 2002–03?
<s>[INST]Which Skip has a Season of 2002–03? Context: CREATE TABLE table_name_77 (skip VARCHAR, season VARCHAR)[/INST]SELECT skip FROM table_name_77 WHERE season = "2002–03"</s>
CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_57 WHERE home_team = "footscray"
What is the venue where the home team is Footscray?
<s>[INST]What is the venue where the home team is Footscray? Context: CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_57 WHERE home_team = "footscray"</s>
CREATE TABLE table_2030453_1 (date_motor_gear_fitted VARCHAR, lms_1946_no VARCHAR)
SELECT date_motor_gear_fitted FROM table_2030453_1 WHERE lms_1946_no = 1901
When was the motor gear of the LMS 1946 no. 1901 model fitted?
<s>[INST]When was the motor gear of the LMS 1946 no. 1901 model fitted? Context: CREATE TABLE table_2030453_1 (date_motor_gear_fitted VARCHAR, lms_1946_no VARCHAR)[/INST]SELECT date_motor_gear_fitted FROM table_2030453_1 WHERE lms_1946_no = 1901</s>
CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)
SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10
A list of the top 10 countries by average invoice size. List country name and average invoice size.
<s>[INST]A list of the top 10 countries by average invoice size. List country name and average invoice size. Context: CREATE TABLE invoices (billing_country VARCHAR, total INTEGER)[/INST]SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10</s>
CREATE TABLE table_name_6 (name VARCHAR, avg_g VARCHAR)
SELECT name FROM table_name_6 WHERE avg_g = 201.3
Who averaged 201.3 yards passing per game?
<s>[INST]Who averaged 201.3 yards passing per game? Context: CREATE TABLE table_name_6 (name VARCHAR, avg_g VARCHAR)[/INST]SELECT name FROM table_name_6 WHERE avg_g = 201.3</s>
CREATE TABLE postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM (SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings')
What is the total number of postseason games that team Boston Red Stockings participated in?
<s>[INST]What is the total number of postseason games that team Boston Red Stockings participated in? Context: CREATE TABLE postseason (team_id_winner VARCHAR, team_id_loser VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)[/INST]SELECT COUNT(*) FROM (SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.te...
CREATE TABLE table_name_22 (original_team VARCHAR, hometown VARCHAR, background VARCHAR)
SELECT original_team FROM table_name_22 WHERE hometown = "brooklyn, new york" AND background = "comedienne"
Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne?
<s>[INST]Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne? Context: CREATE TABLE table_name_22 (original_team VARCHAR, hometown VARCHAR, background VARCHAR)[/INST]SELECT original_team FROM table_name_22 WHERE hometown = "brooklyn, new york" AND background = "comedienne"</s>
CREATE TABLE table_name_17 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_17 WHERE name = "cadeby"
What status is shown for Cadeby?
<s>[INST]What status is shown for Cadeby? Context: CREATE TABLE table_name_17 (status VARCHAR, name VARCHAR)[/INST]SELECT status FROM table_name_17 WHERE name = "cadeby"</s>
CREATE TABLE table_name_99 (championship VARCHAR, result VARCHAR, nation VARCHAR, year VARCHAR)
SELECT championship FROM table_name_99 WHERE nation = "usa" AND year > 1994 AND result = "5th"
What championship was in the USA after 1994, and resulted in 5th place?
<s>[INST]What championship was in the USA after 1994, and resulted in 5th place? Context: CREATE TABLE table_name_99 (championship VARCHAR, result VARCHAR, nation VARCHAR, year VARCHAR)[/INST]SELECT championship FROM table_name_99 WHERE nation = "usa" AND year > 1994 AND result = "5th"</s>
CREATE TABLE table_name_93 (label VARCHAR, region VARCHAR)
SELECT label FROM table_name_93 WHERE region = "spain"
What label is from the Region of Spain?
<s>[INST]What label is from the Region of Spain? Context: CREATE TABLE table_name_93 (label VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_93 WHERE region = "spain"</s>
CREATE TABLE table_name_26 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_26 WHERE venue = "punt road oval"
What day does the team play at punt road oval?
<s>[INST]What day does the team play at punt road oval? Context: CREATE TABLE table_name_26 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE venue = "punt road oval"</s>
CREATE TABLE table_name_84 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR)
SELECT MAX(top_25) FROM table_name_84 WHERE events > 20 AND top_10 > 21
I want the most top 25 when events are more than 20 and top 10 is more than 21
<s>[INST]I want the most top 25 when events are more than 20 and top 10 is more than 21 Context: CREATE TABLE table_name_84 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR)[/INST]SELECT MAX(top_25) FROM table_name_84 WHERE events > 20 AND top_10 > 21</s>
CREATE TABLE table_name_56 (meet VARCHAR, event VARCHAR)
SELECT meet FROM table_name_56 WHERE event = "400m individual medley"
What meet had a 400m individual medley meet?
<s>[INST]What meet had a 400m individual medley meet? Context: CREATE TABLE table_name_56 (meet VARCHAR, event VARCHAR)[/INST]SELECT meet FROM table_name_56 WHERE event = "400m individual medley"</s>
CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)
SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82
What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
<s>[INST]What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82? Context: CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)[/INST]SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay >...
CREATE TABLE table_26894949_2 (camper INTEGER, puma VARCHAR)
SELECT MIN(camper) FROM table_26894949_2 WHERE puma = "12"
If puma is 12, what is camper?
<s>[INST]If puma is 12, what is camper? Context: CREATE TABLE table_26894949_2 (camper INTEGER, puma VARCHAR)[/INST]SELECT MIN(camper) FROM table_26894949_2 WHERE puma = "12"</s>
CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR)
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE population__millions_ = "5.141"
What is the adjusted GDP when the population is 5.141 million?
<s>[INST]What is the adjusted GDP when the population is 5.141 million? Context: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR)[/INST]SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE population__millions_ = "5.141"</s>
CREATE TABLE table_name_67 (goals_for INTEGER, position VARCHAR, draws VARCHAR)
SELECT MIN(goals_for) FROM table_name_67 WHERE position > 4 AND draws > 11
Name the least goals when position is more than 4 and draws is more than 11
<s>[INST]Name the least goals when position is more than 4 and draws is more than 11 Context: CREATE TABLE table_name_67 (goals_for INTEGER, position VARCHAR, draws VARCHAR)[/INST]SELECT MIN(goals_for) FROM table_name_67 WHERE position > 4 AND draws > 11</s>
CREATE TABLE table_name_12 (total VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_12 WHERE set_3 = "25–27"
What was the total when the set 3 score was 25–27?
<s>[INST]What was the total when the set 3 score was 25–27? Context: CREATE TABLE table_name_12 (total VARCHAR, set_3 VARCHAR)[/INST]SELECT total FROM table_name_12 WHERE set_3 = "25–27"</s>
CREATE TABLE table_name_93 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_93 WHERE place = "t9" AND player = "jay hebert"
What is Country, when Place is "T9", and when Player is "Jay Hebert"?
<s>[INST]What is Country, when Place is "T9", and when Player is "Jay Hebert"? Context: CREATE TABLE table_name_93 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_93 WHERE place = "t9" AND player = "jay hebert"</s>
CREATE TABLE table_name_37 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_37 WHERE record = "11–4–1"
Who was the opponent when the Maroons record was 11–4–1?
<s>[INST]Who was the opponent when the Maroons record was 11–4–1? Context: CREATE TABLE table_name_37 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_37 WHERE record = "11–4–1"</s>
CREATE TABLE table_13258823_2 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_13258823_2 WHERE opponent = "Atlanta Falcons"
Name the record with opponent atlanta falcons
<s>[INST]Name the record with opponent atlanta falcons Context: CREATE TABLE table_13258823_2 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_13258823_2 WHERE opponent = "Atlanta Falcons"</s>
CREATE TABLE table_name_4 (record VARCHAR, result VARCHAR)
SELECT record FROM table_name_4 WHERE result = "w 33-3"
What is the record for the result w 33-3?
<s>[INST]What is the record for the result w 33-3? Context: CREATE TABLE table_name_4 (record VARCHAR, result VARCHAR)[/INST]SELECT record FROM table_name_4 WHERE result = "w 33-3"</s>
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank"
Who were the candidates when Barney Frank was the incumbent?
<s>[INST]Who were the candidates when Barney Frank was the incumbent? Context: CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank"</s>
CREATE TABLE table_name_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)
SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock morton"
What is the name of the player who is Sco and moving to greenock morton in the summer?
<s>[INST]What is the name of the player who is Sco and moving to greenock morton in the summer? Context: CREATE TABLE table_name_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)[/INST]SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock mort...
CREATE TABLE table_1341423_36 (results VARCHAR, incumbent VARCHAR)
SELECT results FROM table_1341423_36 WHERE incumbent = "Ernest Istook"
What was the results when the incumbent was ernest istook?
<s>[INST]What was the results when the incumbent was ernest istook? Context: CREATE TABLE table_1341423_36 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1341423_36 WHERE incumbent = "Ernest Istook"</s>
CREATE TABLE table_2305948_1 (other_placings VARCHAR, federation VARCHAR)
SELECT COUNT(other_placings) FROM table_2305948_1 WHERE federation = "ROH, WWE"
How many times has a wrestler whose federation was roh, wwe competed in this event?
<s>[INST]How many times has a wrestler whose federation was roh, wwe competed in this event? Context: CREATE TABLE table_2305948_1 (other_placings VARCHAR, federation VARCHAR)[/INST]SELECT COUNT(other_placings) FROM table_2305948_1 WHERE federation = "ROH, WWE"</s>
CREATE TABLE table_name_14 (team VARCHAR, date_of_appointment VARCHAR)
SELECT team FROM table_name_14 WHERE date_of_appointment = "sep. 20, 2008"
Which Team has a Date of appointment on sep. 20, 2008?
<s>[INST]Which Team has a Date of appointment on sep. 20, 2008? Context: CREATE TABLE table_name_14 (team VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT team FROM table_name_14 WHERE date_of_appointment = "sep. 20, 2008"</s>
CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_41 WHERE date = "1 march 2006"
Which Venue has a Date of 1 march 2006?
<s>[INST]Which Venue has a Date of 1 march 2006? Context: CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_41 WHERE date = "1 march 2006"</s>
CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_86 WHERE date = "october 14, 1967"
What Result has a Date of october 14, 1967?
<s>[INST]What Result has a Date of october 14, 1967? Context: CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_86 WHERE date = "october 14, 1967"</s>
CREATE TABLE table_16654785_2 (name VARCHAR, length__m_ VARCHAR)
SELECT COUNT(name) FROM table_16654785_2 WHERE length__m_ = 455
How many had a length of 455?
<s>[INST]How many had a length of 455? Context: CREATE TABLE table_16654785_2 (name VARCHAR, length__m_ VARCHAR)[/INST]SELECT COUNT(name) FROM table_16654785_2 WHERE length__m_ = 455</s>
CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_...
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__tabl...
List all the locations where net capacity is 950?
<s>[INST]List all the locations where net capacity is 950? Context: CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smo...
CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
How many laps for a grid of over 18 and retired due to electrical failure?
<s>[INST]How many laps for a grid of over 18 and retired due to electrical failure? Context: CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"</s>
CREATE TABLE table_1714685_1 (title VARCHAR, aired_in_japan_3 VARCHAR)
SELECT COUNT(title) FROM table_1714685_1 WHERE aired_in_japan_3 = "7 April 2001 to 29 September 2001"
When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there?
<s>[INST]When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there? Context: CREATE TABLE table_1714685_1 (title VARCHAR, aired_in_japan_3 VARCHAR)[/INST]SELECT COUNT(title) FROM table_1714685_1 WHERE aired_in_japan_3 = "7 April 2001 to 29 September 2001"</s>
CREATE TABLE table_name_31 (english_name VARCHAR, provider_national_government_ VARCHAR, abbreviation VARCHAR)
SELECT english_name FROM table_name_31 WHERE provider_national_government_ = "ministry of defense" AND abbreviation = "nda bōei-dai(防衛大)"
What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)?
<s>[INST]What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)? Context: CREATE TABLE table_name_31 (english_name VARCHAR, provider_national_government_ VARCHAR, abbreviation VARCHAR)[/INST]SELECT english_name FROM table_name_31 WHERE provider_national_government_ = "ministry of ...
CREATE TABLE table_name_53 (market_share VARCHAR, assets__usd__millions VARCHAR, rank VARCHAR)
SELECT market_share FROM table_name_53 WHERE assets__usd__millions = 25 AND rank = "23"
What is the Market Share that has Assets of 25 Million and a rank of 23?
<s>[INST]What is the Market Share that has Assets of 25 Million and a rank of 23? Context: CREATE TABLE table_name_53 (market_share VARCHAR, assets__usd__millions VARCHAR, rank VARCHAR)[/INST]SELECT market_share FROM table_name_53 WHERE assets__usd__millions = 25 AND rank = "23"</s>
CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)
SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017"
What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?
<s>[INST]What is the 3rd ratio for tag number 1386-000-017 and input splines of 26? Context: CREATE TABLE table_1310499_1 (input_splines VARCHAR, tag_id VARCHAR)[/INST]SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017"</s>
CREATE TABLE table_name_14 (engine_type___cyl VARCHAR, wheelbase_in VARCHAR, year VARCHAR)
SELECT engine_type___cyl FROM table_name_14 WHERE wheelbase_in = "127" AND year = "1915"
What is the engine type with a wheelbase of 127 inches in 1915?
<s>[INST]What is the engine type with a wheelbase of 127 inches in 1915? Context: CREATE TABLE table_name_14 (engine_type___cyl VARCHAR, wheelbase_in VARCHAR, year VARCHAR)[/INST]SELECT engine_type___cyl FROM table_name_14 WHERE wheelbase_in = "127" AND year = "1915"</s>
CREATE TABLE table_name_34 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_34 WHERE college = "calgary"
Who was recruited from Calgary?
<s>[INST]Who was recruited from Calgary? Context: CREATE TABLE table_name_34 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_34 WHERE college = "calgary"</s>