context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR)
SELECT MIN(best) FROM table_name_34 WHERE team = "n/h/l racing" AND name = "graham rahal" AND qual_2 > 59.384
Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best?
<s>[INST]Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best? Context: CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR)[/INST]SELECT MIN(best) FROM table_name_34 WHERE team = "n/h/l racing" AND name = "graham rahal" AND qual_2 > 59.384</s>
CREATE TABLE table_name_1 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR)
SELECT COUNT(legs_lost) FROM table_name_1 WHERE high_checkout < 76 AND played < 3
What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played?
<s>[INST]What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played? Context: CREATE TABLE table_name_1 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR)[/INST]SELECT COUNT(legs_lost) FROM table_name_1 WHERE high_checkout < 76 AND played < 3</s>
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_80 WHERE player = "bill rogers"
What is Score, when Player is "Bill Rogers"?
<s>[INST]What is Score, when Player is "Bill Rogers"? Context: CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE player = "bill rogers"</s>
CREATE TABLE table_name_15 (name VARCHAR, bodyweight VARCHAR)
SELECT name FROM table_name_15 WHERE bodyweight = 73.6
Which person has a bodyweight of 73.6?
<s>[INST]Which person has a bodyweight of 73.6? Context: CREATE TABLE table_name_15 (name VARCHAR, bodyweight VARCHAR)[/INST]SELECT name FROM table_name_15 WHERE bodyweight = 73.6</s>
CREATE TABLE table_name_42 (years_of_operation VARCHAR, area_of_operation VARCHAR)
SELECT years_of_operation FROM table_name_42 WHERE area_of_operation = "el mabrouk"
What years was El Mabrouk the area of operation?
<s>[INST]What years was El Mabrouk the area of operation? Context: CREATE TABLE table_name_42 (years_of_operation VARCHAR, area_of_operation VARCHAR)[/INST]SELECT years_of_operation FROM table_name_42 WHERE area_of_operation = "el mabrouk"</s>
CREATE TABLE table_28138035_35 (womens_singles VARCHAR, mens_singles VARCHAR)
SELECT womens_singles FROM table_28138035_35 WHERE mens_singles = "Jean-Michel Saive"
Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles?
<s>[INST]Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles? Context: CREATE TABLE table_28138035_35 (womens_singles VARCHAR, mens_singles VARCHAR)[/INST]SELECT womens_singles FROM table_28138035_35 WHERE mens_singles = "Jean-Michel Saive"</s>
CREATE TABLE table_18047346_4 (_percentage_chg_2009_10 VARCHAR, passengers VARCHAR)
SELECT _percentage_chg_2009_10 FROM table_18047346_4 WHERE passengers = "15,505,566"
If the amount of passengers is 15,505,566, what is the %/chg. for 2009/10?
<s>[INST]If the amount of passengers is 15,505,566, what is the %/chg. for 2009/10? Context: CREATE TABLE table_18047346_4 (_percentage_chg_2009_10 VARCHAR, passengers VARCHAR)[/INST]SELECT _percentage_chg_2009_10 FROM table_18047346_4 WHERE passengers = "15,505,566"</s>
CREATE TABLE table_name_72 (centerfold_model VARCHAR, interview_subject VARCHAR)
SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson"
Who was the Centerfold model when O.J. Simpson was the Interview Subject?
<s>[INST]Who was the Centerfold model when O.J. Simpson was the Interview Subject? Context: CREATE TABLE table_name_72 (centerfold_model VARCHAR, interview_subject VARCHAR)[/INST]SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson"</s>
CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_47 WHERE silver > 11 AND rank = "1" AND bronze < 7
What nation with Rank 1 won the fewest gold medals while winning more than 11 silver but fewer than 7 bronze medals?
<s>[INST]What nation with Rank 1 won the fewest gold medals while winning more than 11 silver but fewer than 7 bronze medals? Context: CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_47 WHERE silver > 11 AND rank = "1" AND bronze < 7</s>
CREATE TABLE table_name_59 (player VARCHAR, subtotal VARCHAR, round_1 VARCHAR)
SELECT player FROM table_name_59 WHERE subtotal > 3 AND round_1 > 8
Which player has a subtotal of more than 3 and more than 8 in round 1?
<s>[INST]Which player has a subtotal of more than 3 and more than 8 in round 1? Context: CREATE TABLE table_name_59 (player VARCHAR, subtotal VARCHAR, round_1 VARCHAR)[/INST]SELECT player FROM table_name_59 WHERE subtotal > 3 AND round_1 > 8</s>
CREATE TABLE table_name_34 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_34 WHERE date = "march 28, 2008"
WHAT IS THE VENUE ON MARCH 28, 2008?
<s>[INST]WHAT IS THE VENUE ON MARCH 28, 2008? Context: CREATE TABLE table_name_34 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_34 WHERE date = "march 28, 2008"</s>
CREATE TABLE table_name_92 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_92 WHERE result = "8-1" AND score = "8-1"
When was there a result of 8-1 and a score of 8-1?
<s>[INST]When was there a result of 8-1 and a score of 8-1? Context: CREATE TABLE table_name_92 (date VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE result = "8-1" AND score = "8-1"</s>
CREATE TABLE table_16185956_1 (status VARCHAR, results VARCHAR)
SELECT status FROM table_16185956_1 WHERE results = "63% 37%"
What is the status of the district where the result is 63% 37%?
<s>[INST]What is the status of the district where the result is 63% 37%? Context: CREATE TABLE table_16185956_1 (status VARCHAR, results VARCHAR)[/INST]SELECT status FROM table_16185956_1 WHERE results = "63% 37%"</s>
CREATE TABLE table_name_23 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_23 WHERE opponent = "vancouver canucks"
What is the score for the opponent Vancouver Canucks?
<s>[INST]What is the score for the opponent Vancouver Canucks? Context: CREATE TABLE table_name_23 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_23 WHERE opponent = "vancouver canucks"</s>
CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 71 - 70 = 141
Which To par has a Country of united states, and a Score of 71-70=141?
<s>[INST]Which To par has a Country of united states, and a Score of 71-70=141? Context: CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_14 WHERE country = "united states" AND score = 71 - 70 = 141</s>
CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states"
Which Player has a To par of e, and a Country of united states?
<s>[INST]Which Player has a To par of e, and a Country of united states? Context: CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states"</s>
CREATE TABLE table_11677691_12 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677691_12 WHERE school = "De La Salle High school"
What is the hometown of the players for de la salle high school
<s>[INST]What is the hometown of the players for de la salle high school Context: CREATE TABLE table_11677691_12 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_12 WHERE school = "De La Salle High school"</s>
CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped"
Find the names of the customers who have order status both "On Road" and "Shipped".
<s>[INST]Find the names of the customers who have order status both "On Road" and "Shipped". Context: CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)[/INST]SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_i...
CREATE TABLE table_name_25 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_25 WHERE score = "69-81"
Which Result has a Score of 69-81?
<s>[INST]Which Result has a Score of 69-81? Context: CREATE TABLE table_name_25 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_25 WHERE score = "69-81"</s>
CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver"
What was the high rebounds after game 14 for Denver?
<s>[INST]What was the high rebounds after game 14 for Denver? Context: CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver"</s>
CREATE TABLE table_name_94 (rank VARCHAR, time VARCHAR)
SELECT rank FROM table_name_94 WHERE time = "4:00.191"
What rank has a Time of 4:00.191?
<s>[INST]What rank has a Time of 4:00.191? Context: CREATE TABLE table_name_94 (rank VARCHAR, time VARCHAR)[/INST]SELECT rank FROM table_name_94 WHERE time = "4:00.191"</s>
CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR)
SELECT course_description FROM Courses WHERE course_name = 'math'
How is the math course described?
<s>[INST]How is the math course described? Context: CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR)[/INST]SELECT course_description FROM Courses WHERE course_name = 'math'</s>
CREATE TABLE table_name_41 (apps VARCHAR, country VARCHAR, season VARCHAR)
SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003"
How many apps does Uzbekistan have in 2003?
<s>[INST]How many apps does Uzbekistan have in 2003? Context: CREATE TABLE table_name_41 (apps VARCHAR, country VARCHAR, season VARCHAR)[/INST]SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003"</s>
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = "amy alcott" AND winning_score = –9(72 - 68 - 67 = 207)
what is the margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)?
<s>[INST]what is the margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)? Context: CREATE TABLE table_name_78 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = "amy alcott" AND winning...
CREATE TABLE table_name_96 (loser VARCHAR, location VARCHAR, year VARCHAR)
SELECT loser FROM table_name_96 WHERE location = "municipal stadium" AND year > 1970
Who was the loser at Municipal Stadium after 1970?
<s>[INST]Who was the loser at Municipal Stadium after 1970? Context: CREATE TABLE table_name_96 (loser VARCHAR, location VARCHAR, year VARCHAR)[/INST]SELECT loser FROM table_name_96 WHERE location = "municipal stadium" AND year > 1970</s>
CREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR)
SELECT founding_date FROM table_2538117_7 WHERE letters = "ΦΑΝ"
If the letters is φαν, what is the founding date?
<s>[INST]If the letters is φαν, what is the founding date? Context: CREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR)[/INST]SELECT founding_date FROM table_2538117_7 WHERE letters = "ΦΑΝ"</s>
CREATE TABLE table_name_80 (pens VARCHAR, player VARCHAR)
SELECT pens FROM table_name_80 WHERE player = "siaosi atiola"
How many pens does Siaosi Atiola have?
<s>[INST]How many pens does Siaosi Atiola have? Context: CREATE TABLE table_name_80 (pens VARCHAR, player VARCHAR)[/INST]SELECT pens FROM table_name_80 WHERE player = "siaosi atiola"</s>
CREATE TABLE table_name_42 (series__number INTEGER, directed_by VARCHAR)
SELECT AVG(series__number) FROM table_name_42 WHERE directed_by = "matthew penn"
What is the average of the Series #s that were directed by Matthew Penn?
<s>[INST]What is the average of the Series #s that were directed by Matthew Penn? Context: CREATE TABLE table_name_42 (series__number INTEGER, directed_by VARCHAR)[/INST]SELECT AVG(series__number) FROM table_name_42 WHERE directed_by = "matthew penn"</s>
CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "st. johnstone" AND venue = "home"
What was the Attendance during the Home game where St. Johnstone was the Opponent?
<s>[INST]What was the Attendance during the Home game where St. Johnstone was the Opponent? Context: CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "st. johnstone" AND venue = "home"</s>
CREATE TABLE table_11381701_3 (android VARCHAR, windows VARCHAR)
SELECT android FROM table_11381701_3 WHERE windows = "1.15%"
What is the percentage of Android use when Windows is 1.15%?
<s>[INST]What is the percentage of Android use when Windows is 1.15%? Context: CREATE TABLE table_11381701_3 (android VARCHAR, windows VARCHAR)[/INST]SELECT android FROM table_11381701_3 WHERE windows = "1.15%"</s>
CREATE TABLE table_name_54 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_name_54 WHERE location_attendance = "seattle center coliseum"
When was the game played that was at the Seattle Center Coliseum?
<s>[INST]When was the game played that was at the Seattle Center Coliseum? Context: CREATE TABLE table_name_54 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_name_54 WHERE location_attendance = "seattle center coliseum"</s>
CREATE TABLE table_15190346_2 (location VARCHAR, _number VARCHAR)
SELECT location FROM table_15190346_2 WHERE _number = 1
What is the location of #1?
<s>[INST]What is the location of #1? Context: CREATE TABLE table_15190346_2 (location VARCHAR, _number VARCHAR)[/INST]SELECT location FROM table_15190346_2 WHERE _number = 1</s>
CREATE TABLE table_1827900_1 (votes_khuzestan VARCHAR, _percentage_of_votes_khuzestan VARCHAR)
SELECT COUNT(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"
How many figures for votes Khuzestan were there when the percentage was 34.50?
<s>[INST]How many figures for votes Khuzestan were there when the percentage was 34.50? Context: CREATE TABLE table_1827900_1 (votes_khuzestan VARCHAR, _percentage_of_votes_khuzestan VARCHAR)[/INST]SELECT COUNT(votes_khuzestan) FROM table_1827900_1 WHERE _percentage_of_votes_khuzestan = "34.50"</s>
CREATE TABLE table_name_89 (type VARCHAR, host_interface VARCHAR)
SELECT type FROM table_name_89 WHERE host_interface = "pci saa7146 tmx320av7111"
I want the type for host interface of pci saa7146 tmx320av7111
<s>[INST]I want the type for host interface of pci saa7146 tmx320av7111 Context: CREATE TABLE table_name_89 (type VARCHAR, host_interface VARCHAR)[/INST]SELECT type FROM table_name_89 WHERE host_interface = "pci saa7146 tmx320av7111"</s>
CREATE TABLE table_name_25 (manufacturer VARCHAR, quantity_made VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_25 WHERE quantity_made = "2" AND year_made = "1884"
What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884?
<s>[INST]What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884? Context: CREATE TABLE table_name_25 (manufacturer VARCHAR, quantity_made VARCHAR, year_made VARCHAR)[/INST]SELECT manufacturer FROM table_name_25 WHERE quantity_made = "2" AND year_made = "1884"</s>
CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144
What country is the player with a score of 72-72=144 from?
<s>[INST]What country is the player with a score of 72-72=144 from? Context: CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144</s>
CREATE TABLE table_12226390_2 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_12226390_2 WHERE no_in_series = 14
Who wrote the episode 14 in series?
<s>[INST]Who wrote the episode 14 in series? Context: CREATE TABLE table_12226390_2 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_12226390_2 WHERE no_in_series = 14</s>
CREATE TABLE table_name_38 (year INTEGER, result VARCHAR, nominee_s_ VARCHAR)
SELECT MAX(year) FROM table_name_38 WHERE result = "nominated" AND nominee_s_ = "neal baer"
What is the latest year when Neal Baer was a nominee, and the result was nominated?
<s>[INST]What is the latest year when Neal Baer was a nominee, and the result was nominated? Context: CREATE TABLE table_name_38 (year INTEGER, result VARCHAR, nominee_s_ VARCHAR)[/INST]SELECT MAX(year) FROM table_name_38 WHERE result = "nominated" AND nominee_s_ = "neal baer"</s>
CREATE TABLE table_name_57 (derivatives VARCHAR, launch_date VARCHAR)
SELECT derivatives FROM table_name_57 WHERE launch_date = "july 15, 1970; 15:05 gmt"
Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt?
<s>[INST]Which Derivative has a Launch Date of july 15, 1970; 15:05 gmt? Context: CREATE TABLE table_name_57 (derivatives VARCHAR, launch_date VARCHAR)[/INST]SELECT derivatives FROM table_name_57 WHERE launch_date = "july 15, 1970; 15:05 gmt"</s>
CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda"
When st kilda was playing at home what was the away teams score?
<s>[INST]When st kilda was playing at home what was the away teams score? Context: CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda"</s>
CREATE TABLE table_name_1 (model VARCHAR, fleet_series__quantity_ VARCHAR)
SELECT model FROM table_name_1 WHERE fleet_series__quantity_ = "11081-11092 (12)"
Which model has a Fleet Series (Quantity) of 11081-11092 (12)?
<s>[INST]Which model has a Fleet Series (Quantity) of 11081-11092 (12)? Context: CREATE TABLE table_name_1 (model VARCHAR, fleet_series__quantity_ VARCHAR)[/INST]SELECT model FROM table_name_1 WHERE fleet_series__quantity_ = "11081-11092 (12)"</s>
CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_50 WHERE venue = "lake oval"
Which away team played at Lake Oval?
<s>[INST]Which away team played at Lake Oval? Context: CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_50 WHERE venue = "lake oval"</s>
CREATE TABLE table_11642945_1 (viewers VARCHAR, director VARCHAR)
SELECT viewers FROM table_11642945_1 WHERE director = "Matt Gallagher"
Which viewers had Matt Gallagher as the director?
<s>[INST]Which viewers had Matt Gallagher as the director? Context: CREATE TABLE table_11642945_1 (viewers VARCHAR, director VARCHAR)[/INST]SELECT viewers FROM table_11642945_1 WHERE director = "Matt Gallagher"</s>
CREATE TABLE table_name_82 (try_bonus VARCHAR, tries_against VARCHAR)
SELECT try_bonus FROM table_name_82 WHERE tries_against = "37"
With 37 tries against, what is the try bonus?
<s>[INST]With 37 tries against, what is the try bonus? Context: CREATE TABLE table_name_82 (try_bonus VARCHAR, tries_against VARCHAR)[/INST]SELECT try_bonus FROM table_name_82 WHERE tries_against = "37"</s>
CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)
SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82"
What is Name, when WSU Year(s) is 1981-82?
<s>[INST]What is Name, when WSU Year(s) is 1981-82? Context: CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)[/INST]SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82"</s>
CREATE TABLE table_25724294_2 (field_goals INTEGER, player VARCHAR)
SELECT MAX(field_goals) FROM table_25724294_2 WHERE player = "Walter Rheinschild"
How many field goals did Walter Rheinschild have?
<s>[INST]How many field goals did Walter Rheinschild have? Context: CREATE TABLE table_25724294_2 (field_goals INTEGER, player VARCHAR)[/INST]SELECT MAX(field_goals) FROM table_25724294_2 WHERE player = "Walter Rheinschild"</s>
CREATE TABLE table_name_62 (gold INTEGER, bronze INTEGER)
SELECT SUM(gold) FROM table_name_62 WHERE bronze > 2
How many gold medals were won when more than 2 bronze medals were won?
<s>[INST]How many gold medals were won when more than 2 bronze medals were won? Context: CREATE TABLE table_name_62 (gold INTEGER, bronze INTEGER)[/INST]SELECT SUM(gold) FROM table_name_62 WHERE bronze > 2</s>
CREATE TABLE table_16729063_1 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = "Chris Brewer"
What draft pick was Chris Brewer?
<s>[INST]What draft pick was Chris Brewer? Context: CREATE TABLE table_16729063_1 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = "Chris Brewer"</s>
CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR)
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia"
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?
<s>[INST]During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures? Context: CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR)[/INST]SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port e...
CREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR)
SELECT SUM(2 AS nd_pl) FROM table_name_83 WHERE years_active = "2009-2010" AND wins > 0
What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins?
<s>[INST]What is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins? Context: CREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR)[/INST]SELECT SUM(2 AS nd_pl) FROM table_name_83 WHERE years_active = "2009-2010" AND wins > 0</s>
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r"
What is the 2002 result where 2011 and 2000 are 1R?
<s>[INST]What is the 2002 result where 2011 and 2000 are 1R? Context: CREATE TABLE table_name_22 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r"</s>
CREATE TABLE table_24729_2 (power VARCHAR, co2 VARCHAR)
SELECT power FROM table_24729_2 WHERE co2 = "192g/km"
when co2 is 192g/km, what is the power?
<s>[INST]when co2 is 192g/km, what is the power? Context: CREATE TABLE table_24729_2 (power VARCHAR, co2 VARCHAR)[/INST]SELECT power FROM table_24729_2 WHERE co2 = "192g/km"</s>
CREATE TABLE table_22904752_1 (directed_by VARCHAR, no VARCHAR)
SELECT directed_by FROM table_22904752_1 WHERE no = 79
Who is no. 79 directed by?
<s>[INST]Who is no. 79 directed by? Context: CREATE TABLE table_22904752_1 (directed_by VARCHAR, no VARCHAR)[/INST]SELECT directed_by FROM table_22904752_1 WHERE no = 79</s>
CREATE TABLE table_name_78 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_78 WHERE game = "game 7"
On what day was Game 7 of this season played?
<s>[INST]On what day was Game 7 of this season played? Context: CREATE TABLE table_name_78 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE game = "game 7"</s>
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident"
Which grid has less than 11 laps, and a Time/Retired of accident?
<s>[INST]Which grid has less than 11 laps, and a Time/Retired of accident? Context: CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident"</s>
CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, wins VARCHAR)
SELECT MIN(played) FROM table_name_52 WHERE points > 32 AND wins > 18
What is the lowest played number when points are larger than 32, and a wins are larger than 18?
<s>[INST]What is the lowest played number when points are larger than 32, and a wins are larger than 18? Context: CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, wins VARCHAR)[/INST]SELECT MIN(played) FROM table_name_52 WHERE points > 32 AND wins > 18</s>
CREATE TABLE table_name_29 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_29 WHERE tie_no = "9"
What is the score when the tie is 9?
<s>[INST]What is the score when the tie is 9? Context: CREATE TABLE table_name_29 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_29 WHERE tie_no = "9"</s>
CREATE TABLE table_1965650_10 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1965650_10 WHERE player = "Lee Palmer"
What team does Lee Palmer play for?
<s>[INST]What team does Lee Palmer play for? Context: CREATE TABLE table_1965650_10 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1965650_10 WHERE player = "Lee Palmer"</s>
CREATE TABLE city (name VARCHAR, Population INTEGER)
SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000
What are the cities whose population is between 160000 and 900000?
<s>[INST]What are the cities whose population is between 160000 and 900000? Context: CREATE TABLE city (name VARCHAR, Population INTEGER)[/INST]SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000</s>
CREATE TABLE table_name_7 (points_for VARCHAR, try_diff VARCHAR)
SELECT points_for FROM table_name_7 WHERE try_diff = "+23"
What is points when try diff is +23?
<s>[INST]What is points when try diff is +23? Context: CREATE TABLE table_name_7 (points_for VARCHAR, try_diff VARCHAR)[/INST]SELECT points_for FROM table_name_7 WHERE try_diff = "+23"</s>
CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 31"
How many people attended the game on May 31?
<s>[INST]How many people attended the game on May 31? Context: CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 31"</s>
CREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR)
SELECT pennant FROM table_1220125_4 WHERE laid_down = "4 May 1943"
What is the pennant for 4 may 1943?
<s>[INST]What is the pennant for 4 may 1943? Context: CREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR)[/INST]SELECT pennant FROM table_1220125_4 WHERE laid_down = "4 May 1943"</s>
CREATE TABLE table_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR)
SELECT weight__st, _lb_ FROM table_20095300_1 WHERE name = "Point Barrow"
How much does Point Barrow weight?
<s>[INST]How much does Point Barrow weight? Context: CREATE TABLE table_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR)[/INST]SELECT weight__st, _lb_ FROM table_20095300_1 WHERE name = "Point Barrow"</s>
CREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = "Andre Iguodala (8)"
Who was the High Assist when the High Rebounds was andre iguodala (8)?
<s>[INST]Who was the High Assist when the High Rebounds was andre iguodala (8)? Context: CREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = "Andre Iguodala (8)"</s>
CREATE TABLE table_name_69 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_69 WHERE score = "6–4, 7–5"
On what date was the score 6–4, 7–5?
<s>[INST]On what date was the score 6–4, 7–5? Context: CREATE TABLE table_name_69 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_69 WHERE score = "6–4, 7–5"</s>
CREATE TABLE table_name_9 (losses INTEGER, draws VARCHAR, against VARCHAR)
SELECT MAX(losses) FROM table_name_9 WHERE draws > 0 AND against > 1401
What is the most games lost when the against is greater than 1401, and the draws greater than 0?
<s>[INST]What is the most games lost when the against is greater than 1401, and the draws greater than 0? Context: CREATE TABLE table_name_9 (losses INTEGER, draws VARCHAR, against VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_9 WHERE draws > 0 AND against > 1401</s>
CREATE TABLE table_name_39 (date VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6"
How many days had a score of 4–6, 4–6?
<s>[INST]How many days had a score of 4–6, 4–6? Context: CREATE TABLE table_name_39 (date VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6"</s>
CREATE TABLE table_name_92 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT frequency_mhz FROM table_name_92 WHERE erp_w > 4 AND call_sign = "w218ap"
Which Frequency MHz has an ERP W larger than 4, and a Call sign of w218ap?
<s>[INST]Which Frequency MHz has an ERP W larger than 4, and a Call sign of w218ap? Context: CREATE TABLE table_name_92 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR)[/INST]SELECT frequency_mhz FROM table_name_92 WHERE erp_w > 4 AND call_sign = "w218ap"</s>
CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns"
When were the Cleveland Browns the visiting team?
<s>[INST]When were the Cleveland Browns the visiting team? Context: CREATE TABLE table_name_62 (date VARCHAR, visiting_team VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE visiting_team = "cleveland browns"</s>
CREATE TABLE table_name_16 (opponent_number VARCHAR, date VARCHAR)
SELECT opponent_number FROM table_name_16 WHERE date = "october 17"
Who was the opponent that played against the Buckeyes on October 17?
<s>[INST]Who was the opponent that played against the Buckeyes on October 17? Context: CREATE TABLE table_name_16 (opponent_number VARCHAR, date VARCHAR)[/INST]SELECT opponent_number FROM table_name_16 WHERE date = "october 17"</s>
CREATE TABLE table_name_69 (losses INTEGER, wins VARCHAR, position VARCHAR)
SELECT SUM(losses) FROM table_name_69 WHERE wins = 15 AND position > 3
What is the total number of losses for entries with 15 wins and a position larger than 3?
<s>[INST]What is the total number of losses for entries with 15 wins and a position larger than 3? Context: CREATE TABLE table_name_69 (losses INTEGER, wins VARCHAR, position VARCHAR)[/INST]SELECT SUM(losses) FROM table_name_69 WHERE wins = 15 AND position > 3</s>
CREATE TABLE table_name_86 (ethernet_ports VARCHAR, name VARCHAR)
SELECT ethernet_ports FROM table_name_86 WHERE name = "u150"
What is the ethernet ports of the u150 appliance?
<s>[INST]What is the ethernet ports of the u150 appliance? Context: CREATE TABLE table_name_86 (ethernet_ports VARCHAR, name VARCHAR)[/INST]SELECT ethernet_ports FROM table_name_86 WHERE name = "u150"</s>
CREATE TABLE table_11456251_5 (_percentage_of_annual_production VARCHAR, power_source VARCHAR)
SELECT _percentage_of_annual_production FROM table_11456251_5 WHERE power_source = "Solar"
What is the % of annual production of solar?
<s>[INST]What is the % of annual production of solar? Context: CREATE TABLE table_11456251_5 (_percentage_of_annual_production VARCHAR, power_source VARCHAR)[/INST]SELECT _percentage_of_annual_production FROM table_11456251_5 WHERE power_source = "Solar"</s>
CREATE TABLE table_27303975_3 (studio VARCHAR, title VARCHAR)
SELECT COUNT(studio) FROM table_27303975_3 WHERE title = "AM/PM Callanetics"
How many times is the title am/pm callanetics?
<s>[INST]How many times is the title am/pm callanetics? Context: CREATE TABLE table_27303975_3 (studio VARCHAR, title VARCHAR)[/INST]SELECT COUNT(studio) FROM table_27303975_3 WHERE title = "AM/PM Callanetics"</s>
CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)
SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) DESC LIMIT 1
List the main industry with highest total market value and its number of companies.
<s>[INST]List the main industry with highest total market value and its number of companies. Context: CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)[/INST]SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) DESC LIMIT 1</s>
CREATE TABLE table_name_75 (losses VARCHAR, draw VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_75 WHERE draw < 51 AND wins > 6
How many total losses were with less than 51 draws but more than 6 wins?
<s>[INST]How many total losses were with less than 51 draws but more than 6 wins? Context: CREATE TABLE table_name_75 (losses VARCHAR, draw VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_75 WHERE draw < 51 AND wins > 6</s>
CREATE TABLE table_name_10 (year INTEGER, owner VARCHAR)
SELECT MIN(year) FROM table_name_10 WHERE owner = "stuart janney iii"
What is the earliest year Stuart Janney III was an owner?
<s>[INST]What is the earliest year Stuart Janney III was an owner? Context: CREATE TABLE table_name_10 (year INTEGER, owner VARCHAR)[/INST]SELECT MIN(year) FROM table_name_10 WHERE owner = "stuart janney iii"</s>
CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers"
Which IHSAA Class has a Mascot of tigers?
<s>[INST]Which IHSAA Class has a Mascot of tigers? Context: CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_32 WHERE mascot = "tigers"</s>
CREATE TABLE table_name_96 (socket VARCHAR, sspec_number VARCHAR)
SELECT socket FROM table_name_96 WHERE sspec_number = "standard power"
What is the socket when the sSpec number is standard power?
<s>[INST]What is the socket when the sSpec number is standard power? Context: CREATE TABLE table_name_96 (socket VARCHAR, sspec_number VARCHAR)[/INST]SELECT socket FROM table_name_96 WHERE sspec_number = "standard power"</s>
CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15"
Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?
<s>[INST]Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? Context: CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15"</s>
CREATE TABLE table_name_83 (supercopa_sudamericana_1992 VARCHAR, team VARCHAR)
SELECT supercopa_sudamericana_1992 FROM table_name_83 WHERE team = "santos"
Which Supercopa Sudamericana 1992 has a Team of santos?
<s>[INST]Which Supercopa Sudamericana 1992 has a Team of santos? Context: CREATE TABLE table_name_83 (supercopa_sudamericana_1992 VARCHAR, team VARCHAR)[/INST]SELECT supercopa_sudamericana_1992 FROM table_name_83 WHERE team = "santos"</s>
CREATE TABLE table_10979230_5 (reference VARCHAR, romaji_title VARCHAR)
SELECT reference FROM table_10979230_5 WHERE romaji_title = "Heartbreak Sniper"
who is the reference when romaji title is heartbreak sniper?
<s>[INST]who is the reference when romaji title is heartbreak sniper? Context: CREATE TABLE table_10979230_5 (reference VARCHAR, romaji_title VARCHAR)[/INST]SELECT reference FROM table_10979230_5 WHERE romaji_title = "Heartbreak Sniper"</s>
CREATE TABLE publication (Publisher VARCHAR)
SELECT Publisher, COUNT(*) FROM publication GROUP BY Publisher
Show different publishers together with the number of publications they have.
<s>[INST]Show different publishers together with the number of publications they have. Context: CREATE TABLE publication (Publisher VARCHAR)[/INST]SELECT Publisher, COUNT(*) FROM publication GROUP BY Publisher</s>
CREATE TABLE club (name VARCHAR)
SELECT name FROM club ORDER BY name DESC
List all club names in descending alphabetical order.
<s>[INST]List all club names in descending alphabetical order. Context: CREATE TABLE club (name VARCHAR)[/INST]SELECT name FROM club ORDER BY name DESC</s>
CREATE TABLE wine (Name VARCHAR, Price INTEGER, Winery VARCHAR); CREATE TABLE WINE (Name VARCHAR, Price INTEGER, Winery VARCHAR)
SELECT DISTINCT Name FROM WINE WHERE Price > (SELECT MIN(Price) FROM wine WHERE Winery = "John Anthony")
Find the distinct names of all wines that have prices higher than some wines from John Anthony winery.
<s>[INST]Find the distinct names of all wines that have prices higher than some wines from John Anthony winery. Context: CREATE TABLE wine (Name VARCHAR, Price INTEGER, Winery VARCHAR); CREATE TABLE WINE (Name VARCHAR, Price INTEGER, Winery VARCHAR)[/INST]SELECT DISTINCT Name FROM WINE WHERE Price > (SELECT MIN(Price) ...
CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4
what is the least silver for germany when gold is more than 4?
<s>[INST]what is the least silver for germany when gold is more than 4? Context: CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4</s>
CREATE TABLE table_name_76 (year INTEGER, actress VARCHAR)
SELECT MIN(year) FROM table_name_76 WHERE actress = "quvenzhané wallis"
When did Quvenzhané Wallis first win?
<s>[INST]When did Quvenzhané Wallis first win? Context: CREATE TABLE table_name_76 (year INTEGER, actress VARCHAR)[/INST]SELECT MIN(year) FROM table_name_76 WHERE actress = "quvenzhané wallis"</s>
CREATE TABLE table_name_3 (top_25 INTEGER, top_5 INTEGER)
SELECT SUM(top_25) FROM table_name_3 WHERE top_5 < 0
Which Top-25 has a Top-5 smaller than 0?
<s>[INST]Which Top-25 has a Top-5 smaller than 0? Context: CREATE TABLE table_name_3 (top_25 INTEGER, top_5 INTEGER)[/INST]SELECT SUM(top_25) FROM table_name_3 WHERE top_5 < 0</s>
CREATE TABLE table_name_66 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_66 WHERE label = "wrongun"
What date was the release that was Wrongun as the label?
<s>[INST]What date was the release that was Wrongun as the label? Context: CREATE TABLE table_name_66 (date VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE label = "wrongun"</s>
CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38"
How many outcomes were there in the elections in California 38?
<s>[INST]How many outcomes were there in the elections in California 38? Context: CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR)[/INST]SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38"</s>
CREATE TABLE table_name_46 (wins INTEGER, club VARCHAR, points_against VARCHAR)
SELECT MIN(wins) FROM table_name_46 WHERE club = "broadview hawks" AND points_against > 594
What is the lowest Wins when the Club is broadview hawks, and Points Against is more than 594?
<s>[INST]What is the lowest Wins when the Club is broadview hawks, and Points Against is more than 594? Context: CREATE TABLE table_name_46 (wins INTEGER, club VARCHAR, points_against VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_46 WHERE club = "broadview hawks" AND points_against > 594</s>
CREATE TABLE table_name_95 (high_assists VARCHAR, high_points VARCHAR)
SELECT high_assists FROM table_name_95 WHERE high_points = "mcwilliams-franklin (22)"
What high assists have McWilliams-franklin (22) as the high points?
<s>[INST]What high assists have McWilliams-franklin (22) as the high points? Context: CREATE TABLE table_name_95 (high_assists VARCHAR, high_points VARCHAR)[/INST]SELECT high_assists FROM table_name_95 WHERE high_points = "mcwilliams-franklin (22)"</s>
CREATE TABLE table_name_12 (big__ INTEGER, total VARCHAR, micro__10ha_ VARCHAR, department VARCHAR)
SELECT MAX(big__) > 500 AS ha_ FROM table_name_12 WHERE micro__10ha_ > 940 AND department = "potosí" AND total < 16 OFFSET 240
Which Big (>500ha) has a Micro (10ha) larger than 940, and a Department of potosí, and a Total smaller than 16,240?
<s>[INST]Which Big (>500ha) has a Micro (10ha) larger than 940, and a Department of potosí, and a Total smaller than 16,240? Context: CREATE TABLE table_name_12 (big__ INTEGER, total VARCHAR, micro__10ha_ VARCHAR, department VARCHAR)[/INST]SELECT MAX(big__) > 500 AS ha_ FROM table_name_12 WHERE micro__10ha_ > 940 AND d...
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_33 WHERE date = "april 4, 1993"
What was the score on april 4, 1993?
<s>[INST]What was the score on april 4, 1993? Context: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE date = "april 4, 1993"</s>
CREATE TABLE table_name_90 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_90 WHERE date = "december 17"
Who was the visiting team on December 17?
<s>[INST]Who was the visiting team on December 17? Context: CREATE TABLE table_name_90 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_90 WHERE date = "december 17"</s>
CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR)
SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195
What is the height of the F who weighs less than 195?
<s>[INST]What is the height of the F who weighs less than 195? Context: CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR)[/INST]SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195</s>
CREATE TABLE table_name_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR)
SELECT AVG(year_opened) FROM table_name_17 WHERE track_name = "chicagoland speedway" AND seating < 75 OFFSET 000
What is the year opened for Chicagoland Speedway with a seating smaller than 75,000?
<s>[INST]What is the year opened for Chicagoland Speedway with a seating smaller than 75,000? Context: CREATE TABLE table_name_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR)[/INST]SELECT AVG(year_opened) FROM table_name_17 WHERE track_name = "chicagoland speedway" AND seating < 75 OFFSET 000</s>
CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR)
SELECT team_s_ FROM table_2626564_2 WHERE winnings = "$5,200"
What team was Pearson on when his winnings were $5,200?
<s>[INST]What team was Pearson on when his winnings were $5,200? Context: CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR)[/INST]SELECT team_s_ FROM table_2626564_2 WHERE winnings = "$5,200"</s>
CREATE TABLE table_1360997_2 (winner_2nd VARCHAR, time VARCHAR)
SELECT winner_2nd FROM table_1360997_2 WHERE time = "1:24.00"
Who was the winner when the time was 1:24.00?
<s>[INST]Who was the winner when the time was 1:24.00? Context: CREATE TABLE table_1360997_2 (winner_2nd VARCHAR, time VARCHAR)[/INST]SELECT winner_2nd FROM table_1360997_2 WHERE time = "1:24.00"</s>
CREATE TABLE table_name_30 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_30 WHERE year_s__won = "1978"
Name the least total for 1978 years won
<s>[INST]Name the least total for 1978 years won Context: CREATE TABLE table_name_30 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT MIN(total) FROM table_name_30 WHERE year_s__won = "1978"</s>