context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_13241993_3 (part_1 VARCHAR, part_2 VARCHAR)
SELECT part_1 FROM table_13241993_3 WHERE part_2 = "December 2, 2007"
What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?
<s>[INST]What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007? Context: CREATE TABLE table_13241993_3 (part_1 VARCHAR, part_2 VARCHAR)[/INST]SELECT part_1 FROM table_13241993_3 WHERE part_2 = "December 2, 2007"</s>
CREATE TABLE table_name_79 (interview INTEGER, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR)
SELECT AVG(interview) FROM table_name_79 WHERE average > 9.233 AND swimsuit = 9.473 AND evening_gown > 9.671
Which mean interview number had an average of more than 9.233, a swimsuit stat of more than 9.473, and an evening gown score of more than 9.671?
<s>[INST]Which mean interview number had an average of more than 9.233, a swimsuit stat of more than 9.473, and an evening gown score of more than 9.671? Context: CREATE TABLE table_name_79 (interview INTEGER, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR)[/INST]SELECT AVG(interview) FROM table_name_79 WHERE average > 9.233 AND swimsuit = 9.473 AND evening_gown > 9.671</s>
CREATE TABLE table_name_99 (hometown VARCHAR, college VARCHAR)
SELECT hometown FROM table_name_99 WHERE college = "ucla"
What is the hometown of the player that attends UCLA?
<s>[INST]What is the hometown of the player that attends UCLA? Context: CREATE TABLE table_name_99 (hometown VARCHAR, college VARCHAR)[/INST]SELECT hometown FROM table_name_99 WHERE college = "ucla"</s>
CREATE TABLE table_name_79 (drawn VARCHAR, try_bp VARCHAR)
SELECT drawn FROM table_name_79 WHERE try_bp = "1"
What is the number drawn when the try BP is 1?
<s>[INST]What is the number drawn when the try BP is 1? Context: CREATE TABLE table_name_79 (drawn VARCHAR, try_bp VARCHAR)[/INST]SELECT drawn FROM table_name_79 WHERE try_bp = "1"</s>
CREATE TABLE table_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)
SELECT COUNT(hd_designation) FROM table_1820752_1 WHERE arrival_date = "February 2070"
What is the hd designation for arrival date of February 2070?
<s>[INST]What is the hd designation for arrival date of February 2070? Context: CREATE TABLE table_1820752_1 (hd_designation VARCHAR, arrival_date VARCHAR)[/INST]SELECT COUNT(hd_designation) FROM table_1820752_1 WHERE arrival_date = "February 2070"</s>
CREATE TABLE table_269920_16 (cores VARCHAR, speed__ghz_ VARCHAR)
SELECT COUNT(cores) FROM table_269920_16 WHERE speed__ghz_ = "2.53"
How many entries have a speed of exactly 2.53 GHz?
<s>[INST]How many entries have a speed of exactly 2.53 GHz? Context: CREATE TABLE table_269920_16 (cores VARCHAR, speed__ghz_ VARCHAR)[/INST]SELECT COUNT(cores) FROM table_269920_16 WHERE speed__ghz_ = "2.53"</s>
CREATE TABLE table_name_34 (class VARCHAR, year_made VARCHAR)
SELECT class FROM table_name_34 WHERE year_made = "1880"
Which class was made in 1880?
<s>[INST]Which class was made in 1880? Context: CREATE TABLE table_name_34 (class VARCHAR, year_made VARCHAR)[/INST]SELECT class FROM table_name_34 WHERE year_made = "1880"</s>
CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR)
SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu"
Name the macedonian for il/elle avait entendu
<s>[INST]Name the macedonian for il/elle avait entendu Context: CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR)[/INST]SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu"</s>
CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_63 WHERE venue = "manama, bahrain"
On which date was the match in Manama, Bahrain?
<s>[INST]On which date was the match in Manama, Bahrain? Context: CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE venue = "manama, bahrain"</s>
CREATE TABLE table_name_18 (city VARCHAR, prize VARCHAR)
SELECT city FROM table_name_18 WHERE prize = "$146,000"
What is City, when Prize is "$146,000"?
<s>[INST]What is City, when Prize is "$146,000"? Context: CREATE TABLE table_name_18 (city VARCHAR, prize VARCHAR)[/INST]SELECT city FROM table_name_18 WHERE prize = "$146,000"</s>
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_72 WHERE venue = "windy hill"
What is the away team for the game at Windy Hill?
<s>[INST]What is the away team for the game at Windy Hill? Context: CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_72 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_58 (processor VARCHAR, model VARCHAR)
SELECT processor FROM table_name_58 WHERE model = "powerbook 100"
The Powerbook 100 model has what processor?
<s>[INST]The Powerbook 100 model has what processor? Context: CREATE TABLE table_name_58 (processor VARCHAR, model VARCHAR)[/INST]SELECT processor FROM table_name_58 WHERE model = "powerbook 100"</s>
CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, mixed_doubles VARCHAR)
SELECT mens_doubles FROM table_13857700_1 WHERE mixed_doubles = "Jimm Aalto Nina Sarnesto"
who is the the mens doubles with mixed doubles being jimm aalto nina sarnesto
<s>[INST]who is the the mens doubles with mixed doubles being jimm aalto nina sarnesto Context: CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT mens_doubles FROM table_13857700_1 WHERE mixed_doubles = "Jimm Aalto Nina Sarnesto"</s>
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_35 WHERE date = "21 may 2011"
Name the score for 21 may 2011
<s>[INST]Name the score for 21 may 2011 Context: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE date = "21 may 2011"</s>
CREATE TABLE table_name_97 (netflix VARCHAR, segment_a VARCHAR)
SELECT netflix FROM table_name_97 WHERE segment_a = "heather gems"
Segment A of heather gems is what netflix episode?
<s>[INST]Segment A of heather gems is what netflix episode? Context: CREATE TABLE table_name_97 (netflix VARCHAR, segment_a VARCHAR)[/INST]SELECT netflix FROM table_name_97 WHERE segment_a = "heather gems"</s>
CREATE TABLE table_26473176_1 (series VARCHAR, position VARCHAR)
SELECT COUNT(series) FROM table_26473176_1 WHERE position = "12th"
How many "series" were in the 12th "position?
<s>[INST]How many "series" were in the 12th "position? Context: CREATE TABLE table_26473176_1 (series VARCHAR, position VARCHAR)[/INST]SELECT COUNT(series) FROM table_26473176_1 WHERE position = "12th"</s>
CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR)
SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985"
Which Track(s) is on 18 november 1985?
<s>[INST]Which Track(s) is on 18 november 1985? Context: CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR)[/INST]SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985"</s>
CREATE TABLE table_name_29 (poison_klesha VARCHAR, pali VARCHAR)
SELECT poison_klesha FROM table_name_29 WHERE pali = "moha avijja"
What is the poison/klesha word for moha avijja in pali?
<s>[INST]What is the poison/klesha word for moha avijja in pali? Context: CREATE TABLE table_name_29 (poison_klesha VARCHAR, pali VARCHAR)[/INST]SELECT poison_klesha FROM table_name_29 WHERE pali = "moha avijja"</s>
CREATE TABLE table_26842217_6 (home_team VARCHAR, visiting_team VARCHAR)
SELECT home_team FROM table_26842217_6 WHERE visiting_team = "Western Kentucky"
List all home teams when Western Kentucky was the visiting team.
<s>[INST]List all home teams when Western Kentucky was the visiting team. Context: CREATE TABLE table_26842217_6 (home_team VARCHAR, visiting_team VARCHAR)[/INST]SELECT home_team FROM table_26842217_6 WHERE visiting_team = "Western Kentucky"</s>
CREATE TABLE table_name_78 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_78 WHERE competition = "european indoor championships" AND year < 1979
Before 1979, what position was the European Indoor Championships?
<s>[INST]Before 1979, what position was the European Indoor Championships? Context: CREATE TABLE table_name_78 (position VARCHAR, competition VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_78 WHERE competition = "european indoor championships" AND year < 1979</s>
CREATE TABLE table_name_81 (games INTEGER, year INTEGER)
SELECT MIN(games) FROM table_name_81 WHERE year > 2013
After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season?
<s>[INST]After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season? Context: CREATE TABLE table_name_81 (games INTEGER, year INTEGER)[/INST]SELECT MIN(games) FROM table_name_81 WHERE year > 2013</s>
CREATE TABLE table_name_93 (sport VARCHAR, date VARCHAR, loser VARCHAR)
SELECT sport FROM table_name_93 WHERE date < 2006 AND loser = "france b"
What sport was played before 2006 with a loser of france b?
<s>[INST]What sport was played before 2006 with a loser of france b? Context: CREATE TABLE table_name_93 (sport VARCHAR, date VARCHAR, loser VARCHAR)[/INST]SELECT sport FROM table_name_93 WHERE date < 2006 AND loser = "france b"</s>
CREATE TABLE table_name_30 (zone INTEGER, champion VARCHAR)
SELECT SUM(zone) FROM table_name_30 WHERE champion = "surozh sudak"
Which Zone has a Champion of surozh sudak?
<s>[INST]Which Zone has a Champion of surozh sudak? Context: CREATE TABLE table_name_30 (zone INTEGER, champion VARCHAR)[/INST]SELECT SUM(zone) FROM table_name_30 WHERE champion = "surozh sudak"</s>
CREATE TABLE table_name_33 (class VARCHAR, part_2 VARCHAR)
SELECT class FROM table_name_33 WHERE part_2 = "bond"
what is the class when part 2 is bond?
<s>[INST]what is the class when part 2 is bond? Context: CREATE TABLE table_name_33 (class VARCHAR, part_2 VARCHAR)[/INST]SELECT class FROM table_name_33 WHERE part_2 = "bond"</s>
CREATE TABLE table_name_99 (tier INTEGER, turkish_cup VARCHAR, pos VARCHAR)
SELECT MIN(tier) FROM table_name_99 WHERE turkish_cup = "group stage" AND pos < 7
What is the lowest tier for a position smaller than 7 for a Turkish Cup group stage?
<s>[INST]What is the lowest tier for a position smaller than 7 for a Turkish Cup group stage? Context: CREATE TABLE table_name_99 (tier INTEGER, turkish_cup VARCHAR, pos VARCHAR)[/INST]SELECT MIN(tier) FROM table_name_99 WHERE turkish_cup = "group stage" AND pos < 7</s>
CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR)
SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Kurgan Oblast"
What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast?
<s>[INST]What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast? Context: CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR)[/INST]SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Kurgan Oblast"</s>
CREATE TABLE table_name_65 (wins INTEGER, losses INTEGER)
SELECT MAX(wins) FROM table_name_65 WHERE losses < 2
What is the highest win for losses less than 2?
<s>[INST]What is the highest win for losses less than 2? Context: CREATE TABLE table_name_65 (wins INTEGER, losses INTEGER)[/INST]SELECT MAX(wins) FROM table_name_65 WHERE losses < 2</s>
CREATE TABLE table_25703_1 (death_2013 INTEGER, death_2012 VARCHAR)
SELECT MAX(death_2013) FROM table_25703_1 WHERE death_2012 = "12,7"
What is the highest death/2013 when the death/2012 is 12,7?
<s>[INST]What is the highest death/2013 when the death/2012 is 12,7? Context: CREATE TABLE table_25703_1 (death_2013 INTEGER, death_2012 VARCHAR)[/INST]SELECT MAX(death_2013) FROM table_25703_1 WHERE death_2012 = "12,7"</s>
CREATE TABLE table_name_72 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT object_type FROM table_name_72 WHERE ngc_number > 6638 AND right_ascension___j2000__ = "18h25m37.8s"
Name the object type with an NGC number more than 6638 and right ascensions being 18h25m37.8s
<s>[INST]Name the object type with an NGC number more than 6638 and right ascensions being 18h25m37.8s Context: CREATE TABLE table_name_72 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)[/INST]SELECT object_type FROM table_name_72 WHERE ngc_number > 6638 AND right_ascension___j2000__ = "18h25m37.8s"</s>
CREATE TABLE table_name_1 (total VARCHAR, player VARCHAR)
SELECT COUNT(total) FROM table_name_1 WHERE player = "karrie webb"
What is the total for player karrie webb?
<s>[INST]What is the total for player karrie webb? Context: CREATE TABLE table_name_1 (total VARCHAR, player VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_1 WHERE player = "karrie webb"</s>
CREATE TABLE table_name_82 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_82 WHERE date = "december 11, 2005"
What was the attendance of the game on December 11, 2005?
<s>[INST]What was the attendance of the game on December 11, 2005? Context: CREATE TABLE table_name_82 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_82 WHERE date = "december 11, 2005"</s>
CREATE TABLE table_name_48 (county VARCHAR, grantee VARCHAR)
SELECT county FROM table_name_48 WHERE grantee = "mariano castro"
Tell me the county for mariano castro
<s>[INST]Tell me the county for mariano castro Context: CREATE TABLE table_name_48 (county VARCHAR, grantee VARCHAR)[/INST]SELECT county FROM table_name_48 WHERE grantee = "mariano castro"</s>
CREATE TABLE table_name_98 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_98 WHERE position = "wr"
What is the WR player?
<s>[INST]What is the WR player? Context: CREATE TABLE table_name_98 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_98 WHERE position = "wr"</s>
CREATE TABLE ARTIST (ArtistId VARCHAR, Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR)
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
Find the title of all the albums of the artist "AC/DC".
<s>[INST]Find the title of all the albums of the artist "AC/DC". Context: CREATE TABLE ARTIST (ArtistId VARCHAR, Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR)[/INST]SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"</s>
CREATE TABLE table_name_55 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_55 WHERE score = "0-3"
Which opponent has the score of 0-3?
<s>[INST]Which opponent has the score of 0-3? Context: CREATE TABLE table_name_55 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_55 WHERE score = "0-3"</s>
CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, run_time VARCHAR)
SELECT broadcast_date FROM table_2114308_1 WHERE run_time = "24:14"
Name the broadcast date of run time being 24:14
<s>[INST]Name the broadcast date of run time being 24:14 Context: CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, run_time VARCHAR)[/INST]SELECT broadcast_date FROM table_2114308_1 WHERE run_time = "24:14"</s>
CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR, selection VARCHAR)
SELECT position FROM table_name_13 WHERE round > 5 AND selection = 168
Which Position has a Round larger than 5, and a Selection of 168?
<s>[INST]Which Position has a Round larger than 5, and a Selection of 168? Context: CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR, selection VARCHAR)[/INST]SELECT position FROM table_name_13 WHERE round > 5 AND selection = 168</s>
CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR)
SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim"
Which contestant was sponsored by Yogurt Vita Slim?
<s>[INST]Which contestant was sponsored by Yogurt Vita Slim? Context: CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR)[/INST]SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim"</s>
CREATE TABLE table_name_61 (losses VARCHAR, school VARCHAR, conference VARCHAR, games VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_61 WHERE games < 14 AND wins < 3 AND conference = "maac" AND school = "fairfield"
What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School?
<s>[INST]What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School? Context: CREATE TABLE table_name_61 (losses VARCHAR, school VARCHAR, conference VARCHAR, games VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_61 WHERE games < 14 AND wins < 3 AND conference = "maac" AND school = "fairfield"</s>
CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, time VARCHAR)
SELECT MIN(grid) FROM table_name_64 WHERE laps < 24 AND time = "retirement"
Which Grid has Laps smaller than 24, and a Time of retirement?
<s>[INST]Which Grid has Laps smaller than 24, and a Time of retirement? Context: CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, time VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_64 WHERE laps < 24 AND time = "retirement"</s>
CREATE TABLE table_28436909_4 (nickname VARCHAR, letters VARCHAR)
SELECT nickname FROM table_28436909_4 WHERE letters = "ΚΑΘ"
When καθ are the letters what is the nickname?
<s>[INST]When καθ are the letters what is the nickname? Context: CREATE TABLE table_28436909_4 (nickname VARCHAR, letters VARCHAR)[/INST]SELECT nickname FROM table_28436909_4 WHERE letters = "ΚΑΘ"</s>
CREATE TABLE table_name_62 (season VARCHAR, third VARCHAR)
SELECT season FROM table_name_62 WHERE third = "glen muirhead"
What is Season, when Third is "Glen Muirhead"?
<s>[INST]What is Season, when Third is "Glen Muirhead"? Context: CREATE TABLE table_name_62 (season VARCHAR, third VARCHAR)[/INST]SELECT season FROM table_name_62 WHERE third = "glen muirhead"</s>
CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR)
SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"
When was commercial operation where construction started June 10, 1971?
<s>[INST]When was commercial operation where construction started June 10, 1971? Context: CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR)[/INST]SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971"</s>
CREATE TABLE table_18428016_1 (no_in_series VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_series) FROM table_18428016_1 WHERE written_by = "John Banas" AND directed_by = "Pino Amenta"
Name the total number in the series written by john banas and directed by pino amenta
<s>[INST]Name the total number in the series written by john banas and directed by pino amenta Context: CREATE TABLE table_18428016_1 (no_in_series VARCHAR, written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_18428016_1 WHERE written_by = "John Banas" AND directed_by = "Pino Amenta"</s>
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"
Name the most against for minas gerais
<s>[INST]Name the most against for minas gerais Context: CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)[/INST]SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"</s>
CREATE TABLE table_name_25 (power VARCHAR, name VARCHAR)
SELECT power FROM table_name_25 WHERE name = "9 ad"
Which Power has a Name of 9 ad?
<s>[INST]Which Power has a Name of 9 ad? Context: CREATE TABLE table_name_25 (power VARCHAR, name VARCHAR)[/INST]SELECT power FROM table_name_25 WHERE name = "9 ad"</s>
CREATE TABLE table_17330069_1 (fin_pos VARCHAR, points VARCHAR)
SELECT COUNT(fin_pos) FROM table_17330069_1 WHERE points = "15"
If the points is 15, what is the fin. pos?
<s>[INST]If the points is 15, what is the fin. pos? Context: CREATE TABLE table_17330069_1 (fin_pos VARCHAR, points VARCHAR)[/INST]SELECT COUNT(fin_pos) FROM table_17330069_1 WHERE points = "15"</s>
CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_48 WHERE score = "2–2" AND away_team = "aylesbury united"
Which Date has a Score of 2–2, and an Away team of aylesbury united?
<s>[INST]Which Date has a Score of 2–2, and an Away team of aylesbury united? Context: CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE score = "2–2" AND away_team = "aylesbury united"</s>
CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT AVG(gold) FROM table_name_95 WHERE silver < 107 AND bronze > 42 AND rank = "3"
What is the average Gold, when Silver is less than 107, when Bronze is greater than 42, and when Rank is 3?
<s>[INST]What is the average Gold, when Silver is less than 107, when Bronze is greater than 42, and when Rank is 3? Context: CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_95 WHERE silver < 107 AND bronze > 42 AND rank = "3"</s>
CREATE TABLE table_28677723_14 (tor_fløysvik INTEGER, karianne_gulliksen VARCHAR)
SELECT MAX(tor_fløysvik) FROM table_28677723_14 WHERE karianne_gulliksen = 8
Name the most for fløysvik for 8
<s>[INST]Name the most for fløysvik for 8 Context: CREATE TABLE table_28677723_14 (tor_fløysvik INTEGER, karianne_gulliksen VARCHAR)[/INST]SELECT MAX(tor_fløysvik) FROM table_28677723_14 WHERE karianne_gulliksen = 8</s>
CREATE TABLE table_14650162_1 (college VARCHAR, position VARCHAR)
SELECT college FROM table_14650162_1 WHERE position = "Defensive Back"
What college did the defensive back attend?
<s>[INST]What college did the defensive back attend? Context: CREATE TABLE table_14650162_1 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_14650162_1 WHERE position = "Defensive Back"</s>
CREATE TABLE table_name_35 (command_set VARCHAR, _number_fdd VARCHAR, fdd_capacity__each_ VARCHAR, sides VARCHAR)
SELECT command_set FROM table_name_35 WHERE fdd_capacity__each_ = "270kb" AND sides = "ds" AND _number_fdd > 1
Tell me the command set with FDD capacity of 270kb and sides of ds with #FDD more than 1
<s>[INST]Tell me the command set with FDD capacity of 270kb and sides of ds with #FDD more than 1 Context: CREATE TABLE table_name_35 (command_set VARCHAR, _number_fdd VARCHAR, fdd_capacity__each_ VARCHAR, sides VARCHAR)[/INST]SELECT command_set FROM table_name_35 WHERE fdd_capacity__each_ = "270kb" AND sides = "ds" AND _number_fdd > 1</s>
CREATE TABLE table_name_43 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_43 WHERE team_2 = "mount cameroon fc"
What is the team 1 with team 2 Mount Cameroon FC?
<s>[INST]What is the team 1 with team 2 Mount Cameroon FC? Context: CREATE TABLE table_name_43 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_43 WHERE team_2 = "mount cameroon fc"</s>
CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR)
SELECT d_shulman FROM table_name_12 WHERE county = "warren"
What are the numbers for D. Shulman in Warren County?
<s>[INST]What are the numbers for D. Shulman in Warren County? Context: CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR)[/INST]SELECT d_shulman FROM table_name_12 WHERE county = "warren"</s>
CREATE TABLE district (district_name VARCHAR, city_population VARCHAR)
SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
Which district has the largest population?
<s>[INST]Which district has the largest population? Context: CREATE TABLE district (district_name VARCHAR, city_population VARCHAR)[/INST]SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1</s>
CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"
What venue did the 2000 tiger cup take place at on November 10, 2000?
<s>[INST]What venue did the 2000 tiger cup take place at on November 10, 2000? Context: CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"</s>
CREATE TABLE table_name_82 (against INTEGER, date VARCHAR)
SELECT SUM(against) FROM table_name_82 WHERE date = "08/12/1992"
What is the total against on 08/12/1992?
<s>[INST]What is the total against on 08/12/1992? Context: CREATE TABLE table_name_82 (against INTEGER, date VARCHAR)[/INST]SELECT SUM(against) FROM table_name_82 WHERE date = "08/12/1992"</s>
CREATE TABLE table_name_6 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR)
SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = "app" AND construction_start = "2008 january" AND population_served > 3500
What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500?
<s>[INST]What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500? Context: CREATE TABLE table_name_6 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR)[/INST]SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = "app" AND construction_start = "2008 january" AND population_served > 3500</s>
CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR)
SELECT championship FROM table_name_31 WHERE winning_score = "6 & 5"
What Championship had a Winning score of 6 & 5?
<s>[INST]What Championship had a Winning score of 6 & 5? Context: CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR)[/INST]SELECT championship FROM table_name_31 WHERE winning_score = "6 & 5"</s>
CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR)
SELECT rank, company, market_value FROM company WHERE main_industry = 'Banking' ORDER BY sales_billion, profits_billion
find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion.
<s>[INST]find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion. Context: CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR)[/INST]SELECT rank, company, market_value FROM company WHERE main_industry = 'Banking' ORDER BY sales_billion, profits_billion</s>
CREATE TABLE table_name_16 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_16 WHERE tournament = "tournament players championship"
What is the score of the Tournament Players Championship?
<s>[INST]What is the score of the Tournament Players Championship? Context: CREATE TABLE table_name_16 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE tournament = "tournament players championship"</s>
CREATE TABLE table_name_24 (total_points INTEGER, games VARCHAR, rank VARCHAR)
SELECT AVG(total_points) FROM table_name_24 WHERE games = 113 AND rank < 7
What was the average of points with ranks smaller than 7 but with total point games of 113?
<s>[INST]What was the average of points with ranks smaller than 7 but with total point games of 113? Context: CREATE TABLE table_name_24 (total_points INTEGER, games VARCHAR, rank VARCHAR)[/INST]SELECT AVG(total_points) FROM table_name_24 WHERE games = 113 AND rank < 7</s>
CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)
SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514
Name the number of area where population density 2010 for 514
<s>[INST]Name the number of area where population density 2010 for 514 Context: CREATE TABLE table_14986292_1 (area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)[/INST]SELECT COUNT(area__km²_) FROM table_14986292_1 WHERE population_density_2010___km²_ = 514</s>
CREATE TABLE table_name_53 (player VARCHAR, overall VARCHAR)
SELECT player FROM table_name_53 WHERE overall = "130"
Which player had an overall pick of 130?
<s>[INST]Which player had an overall pick of 130? Context: CREATE TABLE table_name_53 (player VARCHAR, overall VARCHAR)[/INST]SELECT player FROM table_name_53 WHERE overall = "130"</s>
CREATE TABLE table_16799784_13 (name VARCHAR, latitude VARCHAR)
SELECT name FROM table_16799784_13 WHERE latitude = "23.9S"
What feature is at latitude 23.9S?
<s>[INST]What feature is at latitude 23.9S? Context: CREATE TABLE table_16799784_13 (name VARCHAR, latitude VARCHAR)[/INST]SELECT name FROM table_16799784_13 WHERE latitude = "23.9S"</s>
CREATE TABLE table_name_9 (unit VARCHAR, avoirdupois_value VARCHAR)
SELECT unit FROM table_name_9 WHERE avoirdupois_value = "57.602 gr."
What unit has an Avoirdupois value of 57.602 gr.?
<s>[INST]What unit has an Avoirdupois value of 57.602 gr.? Context: CREATE TABLE table_name_9 (unit VARCHAR, avoirdupois_value VARCHAR)[/INST]SELECT unit FROM table_name_9 WHERE avoirdupois_value = "57.602 gr."</s>
CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR)
SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14
What is the result/score for the match report recap on week 14?
<s>[INST]What is the result/score for the match report recap on week 14? Context: CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR)[/INST]SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14</s>
CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR)
SELECT length FROM table_name_54 WHERE release = 3.6
What was the length of release 3.6?
<s>[INST]What was the length of release 3.6? Context: CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR)[/INST]SELECT length FROM table_name_54 WHERE release = 3.6</s>
CREATE TABLE table_name_33 (official_website VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT official_website FROM table_name_33 WHERE number_of_episodes > 22 AND english_title__chinese_title_ = "burning flame 烈火雄心"
What's the official website of Burning Flame 烈火雄心 with 22 episodes?
<s>[INST]What's the official website of Burning Flame 烈火雄心 with 22 episodes? Context: CREATE TABLE table_name_33 (official_website VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)[/INST]SELECT official_website FROM table_name_33 WHERE number_of_episodes > 22 AND english_title__chinese_title_ = "burning flame 烈火雄心"</s>
CREATE TABLE table_name_53 (catalogue VARCHAR, region VARCHAR)
SELECT catalogue FROM table_name_53 WHERE region = "australia"
Name the catalogue for australia
<s>[INST]Name the catalogue for australia Context: CREATE TABLE table_name_53 (catalogue VARCHAR, region VARCHAR)[/INST]SELECT catalogue FROM table_name_53 WHERE region = "australia"</s>
CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR)
SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7
Name the total number of rank for lane 7
<s>[INST]Name the total number of rank for lane 7 Context: CREATE TABLE table_name_69 (rank VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_69 WHERE lane = 7</s>
CREATE TABLE phone (Name VARCHAR, Phone_id VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Name VARCHAR, Phone_id VARCHAR, Phone_ID VARCHAR)
SELECT Name FROM phone WHERE NOT Phone_id IN (SELECT Phone_ID FROM phone_market)
List the names of phones that are not on any market.
<s>[INST]List the names of phones that are not on any market. Context: CREATE TABLE phone (Name VARCHAR, Phone_id VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Name VARCHAR, Phone_id VARCHAR, Phone_ID VARCHAR)[/INST]SELECT Name FROM phone WHERE NOT Phone_id IN (SELECT Phone_ID FROM phone_market)</s>
CREATE TABLE table_17487395_1 (callsign VARCHAR, frequency VARCHAR)
SELECT callsign FROM table_17487395_1 WHERE frequency = "90.3MHz"
What is the call sign of the station with the frequency of 90.3mhz
<s>[INST]What is the call sign of the station with the frequency of 90.3mhz Context: CREATE TABLE table_17487395_1 (callsign VARCHAR, frequency VARCHAR)[/INST]SELECT callsign FROM table_17487395_1 WHERE frequency = "90.3MHz"</s>
CREATE TABLE table_name_74 (engine VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_74 WHERE chassis = "minardi m187"
What engine was paired with Minardi m187?
<s>[INST]What engine was paired with Minardi m187? Context: CREATE TABLE table_name_74 (engine VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_74 WHERE chassis = "minardi m187"</s>
CREATE TABLE table_name_89 (house VARCHAR, four VARCHAR)
SELECT house FROM table_name_89 WHERE four = "opat"
What is "house", when "four" is "opat"?
<s>[INST]What is "house", when "four" is "opat"? Context: CREATE TABLE table_name_89 (house VARCHAR, four VARCHAR)[/INST]SELECT house FROM table_name_89 WHERE four = "opat"</s>
CREATE TABLE bookings (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR)
SELECT T1.customer_id, T1.first_name, COUNT(*) FROM Customers AS T1 JOIN bookings AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id
How many bookings did each customer make? List the customer id, first name, and the count.
<s>[INST]How many bookings did each customer make? List the customer id, first name, and the count. Context: CREATE TABLE bookings (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR)[/INST]SELECT T1.customer_id, T1.first_name, COUNT(*) FROM Customers AS T1 JOIN bookings AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id</s>
CREATE TABLE table_name_34 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_34 WHERE venue = "windy hill"
How much was the score of the home team at windy hill?
<s>[INST]How much was the score of the home team at windy hill? Context: CREATE TABLE table_name_34 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_34 WHERE venue = "windy hill"</s>
CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)
SELECT horse__power FROM table_23614702_2 WHERE warship = "Covadonga"
How man horse power did the ship covadonga have?
<s>[INST]How man horse power did the ship covadonga have? Context: CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)[/INST]SELECT horse__power FROM table_23614702_2 WHERE warship = "Covadonga"</s>
CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer"
What car did Tony Trimmer drive at the Oulton Park Circuit?
<s>[INST]What car did Tony Trimmer drive at the Oulton Park Circuit? Context: CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer"</s>
CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR)
SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots"
When was the earliest that New England Patriots played?
<s>[INST]When was the earliest that New England Patriots played? Context: CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR)[/INST]SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots"</s>
CREATE TABLE table_name_38 (event_name VARCHAR, race_winner VARCHAR, track VARCHAR)
SELECT event_name FROM table_name_38 WHERE race_winner = "ken schrader" AND track = "toledo speedway"
At which event was Ken Schrader the Race Winner at the Toledo Speedway?
<s>[INST]At which event was Ken Schrader the Race Winner at the Toledo Speedway? Context: CREATE TABLE table_name_38 (event_name VARCHAR, race_winner VARCHAR, track VARCHAR)[/INST]SELECT event_name FROM table_name_38 WHERE race_winner = "ken schrader" AND track = "toledo speedway"</s>
CREATE TABLE table_name_33 (ends VARCHAR, transfer_fee VARCHAR)
SELECT ends FROM table_name_33 WHERE transfer_fee = "loan"
What are the ends for the player with a transfer fee of loan?
<s>[INST]What are the ends for the player with a transfer fee of loan? Context: CREATE TABLE table_name_33 (ends VARCHAR, transfer_fee VARCHAR)[/INST]SELECT ends FROM table_name_33 WHERE transfer_fee = "loan"</s>
CREATE TABLE table_11677100_17 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_11677100_17 WHERE player = "Bubba Starling"
What is the hometown of Bubba Starling?
<s>[INST]What is the hometown of Bubba Starling? Context: CREATE TABLE table_11677100_17 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677100_17 WHERE player = "Bubba Starling"</s>
CREATE TABLE table_17918238_1 (length VARCHAR, maximum_diameter VARCHAR)
SELECT length FROM table_17918238_1 WHERE maximum_diameter = "450 mm"
What is the length for a diameter totaling 450 mm?
<s>[INST]What is the length for a diameter totaling 450 mm? Context: CREATE TABLE table_17918238_1 (length VARCHAR, maximum_diameter VARCHAR)[/INST]SELECT length FROM table_17918238_1 WHERE maximum_diameter = "450 mm"</s>
CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_91 WHERE attendance = "25,000"
What were the Results for 25,000 Attendance?
<s>[INST]What were the Results for 25,000 Attendance? Context: CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_91 WHERE attendance = "25,000"</s>
CREATE TABLE table_name_85 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_85 WHERE venue = "arden street oval"
What was the largest crowd at Arden Street Oval?
<s>[INST]What was the largest crowd at Arden Street Oval? Context: CREATE TABLE table_name_85 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_85 WHERE venue = "arden street oval"</s>
CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR)
SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance"
How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?
<s>[INST]How many draws has lower than rank 10 in rumba/cha-cha/jazz dance? Context: CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance"</s>
CREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR)
SELECT date FROM table_name_26 WHERE game > 10 AND score = "99-89"
On what date did a game higher than 10 have a score of 99-89?
<s>[INST]On what date did a game higher than 10 have a score of 99-89? Context: CREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE game > 10 AND score = "99-89"</s>
CREATE TABLE table_name_20 (Id VARCHAR)
SELECT 2009 FROM table_name_20 WHERE 2010 = "1r" AND 2011 = "a"
What is the 2009 value with a 1r in 2010 and A in 2011?
<s>[INST]What is the 2009 value with a 1r in 2010 and A in 2011? Context: CREATE TABLE table_name_20 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_20 WHERE 2010 = "1r" AND 2011 = "a"</s>
CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR)
SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille"
Who was in Academic & University Affairs when Andrew Langille was in local affairs?
<s>[INST]Who was in Academic & University Affairs when Andrew Langille was in local affairs? Context: CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR)[/INST]SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille"</s>
CREATE TABLE table_name_91 (points INTEGER, played VARCHAR, drawn VARCHAR, name VARCHAR)
SELECT MAX(points) FROM table_name_91 WHERE drawn < 2 AND name = "esc holzkirchen" AND played < 14
Which Points is the highest one that has a Drawn smaller than 2, and a Name of esc holzkirchen, and Played smaller than 14?
<s>[INST]Which Points is the highest one that has a Drawn smaller than 2, and a Name of esc holzkirchen, and Played smaller than 14? Context: CREATE TABLE table_name_91 (points INTEGER, played VARCHAR, drawn VARCHAR, name VARCHAR)[/INST]SELECT MAX(points) FROM table_name_91 WHERE drawn < 2 AND name = "esc holzkirchen" AND played < 14</s>
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1
What is the name of the customer that has purchased the most items?
<s>[INST]What is the name of the customer that has purchased the most items? Context: CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)[/INST]SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1</s>
CREATE TABLE table_name_41 (high_assists VARCHAR, game VARCHAR, score VARCHAR)
SELECT high_assists FROM table_name_41 WHERE game < 13 AND score = "w 75-66"
who had the high assists when the game was less than 13 and the score was w 75-66?
<s>[INST]who had the high assists when the game was less than 13 and the score was w 75-66? Context: CREATE TABLE table_name_41 (high_assists VARCHAR, game VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_name_41 WHERE game < 13 AND score = "w 75-66"</s>
CREATE TABLE table_name_32 (player VARCHAR, country VARCHAR, total VARCHAR)
SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145
Who was the player from the United States, with a total larger than 145?
<s>[INST]Who was the player from the United States, with a total larger than 145? Context: CREATE TABLE table_name_32 (player VARCHAR, country VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145</s>
CREATE TABLE table_name_71 (runner_up VARCHAR, rank VARCHAR, last_win VARCHAR, wins VARCHAR)
SELECT COUNT(runner_up) FROM table_name_71 WHERE last_win < 1998 AND wins = 1 AND rank > 13
Which Runner-up has a Last win smaller than 1998, and Wins of 1, and a Rank larger than 13?
<s>[INST]Which Runner-up has a Last win smaller than 1998, and Wins of 1, and a Rank larger than 13? Context: CREATE TABLE table_name_71 (runner_up VARCHAR, rank VARCHAR, last_win VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(runner_up) FROM table_name_71 WHERE last_win < 1998 AND wins = 1 AND rank > 13</s>
CREATE TABLE table_2866514_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_2866514_1 WHERE us_viewers__million_ = "3.96"
Who wrote the episode with 3.96 million US viewers?
<s>[INST]Who wrote the episode with 3.96 million US viewers? Context: CREATE TABLE table_2866514_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_2866514_1 WHERE us_viewers__million_ = "3.96"</s>
CREATE TABLE table_14407512_9 (points VARCHAR)
SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7"
What is the 1st(m) score for the Person who had a total points of 272.7
<s>[INST]What is the 1st(m) score for the Person who had a total points of 272.7 Context: CREATE TABLE table_14407512_9 (points VARCHAR)[/INST]SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7"</s>
CREATE TABLE table_name_12 (points INTEGER, second VARCHAR)
SELECT MAX(points) FROM table_name_12 WHERE second = "4"
What was the highest points when the second was 4?
<s>[INST]What was the highest points when the second was 4? Context: CREATE TABLE table_name_12 (points INTEGER, second VARCHAR)[/INST]SELECT MAX(points) FROM table_name_12 WHERE second = "4"</s>
CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_50 WHERE pick = 93
What college had the 93 pick?
<s>[INST]What college had the 93 pick? Context: CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)[/INST]SELECT college FROM table_name_50 WHERE pick = 93</s>
CREATE TABLE table_28846752_9 (bbi VARCHAR, economy VARCHAR)
SELECT bbi FROM table_28846752_9 WHERE economy = "5.68"
What is the BBI whent the economy is 5.68?
<s>[INST]What is the BBI whent the economy is 5.68? Context: CREATE TABLE table_28846752_9 (bbi VARCHAR, economy VARCHAR)[/INST]SELECT bbi FROM table_28846752_9 WHERE economy = "5.68"</s>