context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_11207040_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_11207040_6 WHERE outgoing_manager = "Colin Hendry"
What are the dates of the outgoing manager colin hendry does appointments?
<s>[INST]What are the dates of the outgoing manager colin hendry does appointments? Context: CREATE TABLE table_11207040_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_11207040_6 WHERE outgoing_manager = "Colin Hendry"</s>
CREATE TABLE table_name_95 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR)
SELECT conference__conf_ FROM table_name_95 WHERE division__div_ = "atlantic" AND team = "1973-74"
What conference is the 1973-74 team in the Atlantic Division (Div.)?
<s>[INST]What conference is the 1973-74 team in the Atlantic Division (Div.)? Context: CREATE TABLE table_name_95 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR)[/INST]SELECT conference__conf_ FROM table_name_95 WHERE division__div_ = "atlantic" AND team = "1973-74"</s>
CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211
What is the to par for the 69-70-72=211 score?
<s>[INST]What is the to par for the 69-70-72=211 score? Context: CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211</s>
CREATE TABLE table_name_98 (release_date VARCHAR, sspec_number VARCHAR)
SELECT release_date FROM table_name_98 WHERE sspec_number = "sr15h(c0)"
what is the release date when the sspec number is sr15h(c0)?
<s>[INST]what is the release date when the sspec number is sr15h(c0)? Context: CREATE TABLE table_name_98 (release_date VARCHAR, sspec_number VARCHAR)[/INST]SELECT release_date FROM table_name_98 WHERE sspec_number = "sr15h(c0)"</s>
CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)
SELECT date FROM table_name_94 WHERE surface = "clay"
On which date did the tournament final with the clay surface take place?
<s>[INST]On which date did the tournament final with the clay surface take place? Context: CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE surface = "clay"</s>
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1341604_39 WHERE incumbent = "Bud Shuster"
How many candidates won the election in the district whose incumbent is Bud Shuster?
<s>[INST]How many candidates won the election in the district whose incumbent is Bud Shuster? Context: CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1341604_39 WHERE incumbent = "Bud Shuster"</s>
CREATE TABLE table_name_32 (Id VARCHAR)
SELECT 2009 FROM table_name_32 WHERE 2011 = "25"
What shows for 2009 when 25 shows for 2011?
<s>[INST]What shows for 2009 when 25 shows for 2011? Context: CREATE TABLE table_name_32 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_32 WHERE 2011 = "25"</s>
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, year VARCHAR)
SELECT manufacturer FROM table_2241841_1 WHERE year = "2004"
What manufacturer made the car that won in 2004?
<s>[INST]What manufacturer made the car that won in 2004? Context: CREATE TABLE table_2241841_1 (manufacturer VARCHAR, year VARCHAR)[/INST]SELECT manufacturer FROM table_2241841_1 WHERE year = "2004"</s>
CREATE TABLE table_1266602_2 (crew_chief VARCHAR, owner_s_ VARCHAR)
SELECT crew_chief FROM table_1266602_2 WHERE owner_s_ = "Bob Leavine"
Who was crew chief for the team owned by Bob Leavine?
<s>[INST]Who was crew chief for the team owned by Bob Leavine? Context: CREATE TABLE table_1266602_2 (crew_chief VARCHAR, owner_s_ VARCHAR)[/INST]SELECT crew_chief FROM table_1266602_2 WHERE owner_s_ = "Bob Leavine"</s>
CREATE TABLE table_name_49 (per_capita_income VARCHAR, median_household_income VARCHAR)
SELECT per_capita_income FROM table_name_49 WHERE median_household_income = "$55,800"
What is the Per capita income associated with a Median household income of $55,800?
<s>[INST]What is the Per capita income associated with a Median household income of $55,800? Context: CREATE TABLE table_name_49 (per_capita_income VARCHAR, median_household_income VARCHAR)[/INST]SELECT per_capita_income FROM table_name_49 WHERE median_household_income = "$55,800"</s>
CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR)
SELECT MIN(year_joined) FROM table_name_93 WHERE mascot = "pioneers"
Name the lowest Year Joined which has a Mascot of pioneers?
<s>[INST]Name the lowest Year Joined which has a Mascot of pioneers? Context: CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR)[/INST]SELECT MIN(year_joined) FROM table_name_93 WHERE mascot = "pioneers"</s>
CREATE TABLE table_name_41 (world_record VARCHAR)
SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total"
What's the 123kg of the Total world record?
<s>[INST]What's the 123kg of the Total world record? Context: CREATE TABLE table_name_41 (world_record VARCHAR)[/INST]SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total"</s>
CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_92 WHERE week = 1
What is the attendance of week 1
<s>[INST]What is the attendance of week 1 Context: CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_92 WHERE week = 1</s>
CREATE TABLE table_name_76 (director VARCHAR, production_number VARCHAR)
SELECT director FROM table_name_76 WHERE production_number = "11-14"
Who is the Director of the Filmography with Production Number of 11-14?
<s>[INST]Who is the Director of the Filmography with Production Number of 11-14? Context: CREATE TABLE table_name_76 (director VARCHAR, production_number VARCHAR)[/INST]SELECT director FROM table_name_76 WHERE production_number = "11-14"</s>
CREATE TABLE table_name_7 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
SELECT rice_[b_] FROM table_name_7 WHERE potato_[d_] = "79"
What is the rice amount when the potato amount is 79?
<s>[INST]What is the rice amount when the potato amount is 79? Context: CREATE TABLE table_name_7 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)[/INST]SELECT rice_[b_] FROM table_name_7 WHERE potato_[d_] = "79"</s>
CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_68 WHERE date = "october 3, 1976"
What was the average attendance on october 3, 1976?
<s>[INST]What was the average attendance on october 3, 1976? Context: CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_68 WHERE date = "october 3, 1976"</s>
CREATE TABLE table_name_81 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_81 WHERE date = "27 may 2000"
What venue was on 27 May 2000?
<s>[INST]What venue was on 27 May 2000? Context: CREATE TABLE table_name_81 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_81 WHERE date = "27 may 2000"</s>
CREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_95 WHERE to_par = "e" AND player = "fred funk"
When Fred Funk had a to par of E, what was the score?
<s>[INST]When Fred Funk had a to par of E, what was the score? Context: CREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_95 WHERE to_par = "e" AND player = "fred funk"</s>
CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_18274425_1 WHERE written_by = "Mike Daniels"
Who were the director/s of episodes written by Mike Daniels?
<s>[INST]Who were the director/s of episodes written by Mike Daniels? Context: CREATE TABLE table_18274425_1 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_18274425_1 WHERE written_by = "Mike Daniels"</s>
CREATE TABLE table_10812938_3 (player VARCHAR, college VARCHAR)
SELECT player FROM table_10812938_3 WHERE college = "Saint Mary's"
Which player went to college at Saint Mary's?
<s>[INST]Which player went to college at Saint Mary's? Context: CREATE TABLE table_10812938_3 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_10812938_3 WHERE college = "Saint Mary's"</s>
CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_70 WHERE attendance = "41,429"
What are the results for a game with an attendance of 41,429?
<s>[INST]What are the results for a game with an attendance of 41,429? Context: CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_70 WHERE attendance = "41,429"</s>
CREATE TABLE table_name_58 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_58 WHERE record = "35–23–15"
What was the score when their record was 35–23–15?
<s>[INST]What was the score when their record was 35–23–15? Context: CREATE TABLE table_name_58 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE record = "35–23–15"</s>
CREATE TABLE table_14700336_1 (presidential_majority_2000_2004 VARCHAR, presidential_majority_2012 VARCHAR)
SELECT presidential_majority_2000_2004 FROM table_14700336_1 WHERE presidential_majority_2012 = "Non-voting"
What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?
<s>[INST]What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting? Context: CREATE TABLE table_14700336_1 (presidential_majority_2000_2004 VARCHAR, presidential_majority_2012 VARCHAR)[/INST]SELECT presidential_majority_2000_2004 FROM table_14700336_1 WHERE ...
CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR)
SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume"
What is the Placement when the Candidate is Jean-Patrick Berthiaume?
<s>[INST]What is the Placement when the Candidate is Jean-Patrick Berthiaume? Context: CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR)[/INST]SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume"</s>
CREATE TABLE table_name_8 (total INTEGER, tournament VARCHAR)
SELECT AVG(total) FROM table_name_8 WHERE tournament = 3
What is the total on average for teams with 3 tournaments?
<s>[INST]What is the total on average for teams with 3 tournaments? Context: CREATE TABLE table_name_8 (total INTEGER, tournament VARCHAR)[/INST]SELECT AVG(total) FROM table_name_8 WHERE tournament = 3</s>
CREATE TABLE table_name_82 (laps INTEGER, year VARCHAR, position VARCHAR, number VARCHAR)
SELECT MIN(laps) FROM table_name_82 WHERE position = "dnf" AND number < 25 AND year < 2001
What is the fewest laps for a team with a position of DNF and a number smaller than 25 before 2001?
<s>[INST]What is the fewest laps for a team with a position of DNF and a number smaller than 25 before 2001? Context: CREATE TABLE table_name_82 (laps INTEGER, year VARCHAR, position VARCHAR, number VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_82 WHERE position = "dnf" AND number < 25 AND year < 2001</s>
CREATE TABLE people (Nationality VARCHAR)
SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2
What are the nationalities that are shared by at least two people?
<s>[INST]What are the nationalities that are shared by at least two people? Context: CREATE TABLE people (Nationality VARCHAR)[/INST]SELECT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2</s>
CREATE TABLE table_22496344_1 (_number VARCHAR, high_school VARCHAR)
SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing"
What is the # for worthing high school?
<s>[INST]What is the # for worthing high school? Context: CREATE TABLE table_22496344_1 (_number VARCHAR, high_school VARCHAR)[/INST]SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing"</s>
CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR)
SELECT class FROM table_name_5 WHERE weight = 220
Weight of 220 has what class?
<s>[INST]Weight of 220 has what class? Context: CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR)[/INST]SELECT class FROM table_name_5 WHERE weight = 220</s>
CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)
SELECT week FROM table_name_99 WHERE record = "12-2"
What week has a Record of 12-2?
<s>[INST]What week has a Record of 12-2? Context: CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)[/INST]SELECT week FROM table_name_99 WHERE record = "12-2"</s>
CREATE TABLE table_23379776_6 (location VARCHAR, year VARCHAR)
SELECT location FROM table_23379776_6 WHERE year = 2007
Name the location for 2007
<s>[INST]Name the location for 2007 Context: CREATE TABLE table_23379776_6 (location VARCHAR, year VARCHAR)[/INST]SELECT location FROM table_23379776_6 WHERE year = 2007</s>
CREATE TABLE table_name_14 (listed VARCHAR, county VARCHAR)
SELECT listed FROM table_name_14 WHERE county = "cochise"
when was the site listed when the county is cochise?
<s>[INST]when was the site listed when the county is cochise? Context: CREATE TABLE table_name_14 (listed VARCHAR, county VARCHAR)[/INST]SELECT listed FROM table_name_14 WHERE county = "cochise"</s>
CREATE TABLE table_name_33 (player VARCHAR, country VARCHAR, total VARCHAR)
SELECT player FROM table_name_33 WHERE country = "united states" AND total = 297
What player from the United States had a total of 297?
<s>[INST]What player from the United States had a total of 297? Context: CREATE TABLE table_name_33 (player VARCHAR, country VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_33 WHERE country = "united states" AND total = 297</s>
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)
SELECT MAX(january) FROM table_27539272_7 WHERE record = "10-29-2"
On what day of January was the record 10-29-2?
<s>[INST]On what day of January was the record 10-29-2? Context: CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)[/INST]SELECT MAX(january) FROM table_27539272_7 WHERE record = "10-29-2"</s>
CREATE TABLE table_name_67 (hometown VARCHAR, delegate VARCHAR)
SELECT hometown FROM table_name_67 WHERE delegate = "rachel muyot soriano"
What's the hometown of rachel muyot soriano?
<s>[INST]What's the hometown of rachel muyot soriano? Context: CREATE TABLE table_name_67 (hometown VARCHAR, delegate VARCHAR)[/INST]SELECT hometown FROM table_name_67 WHERE delegate = "rachel muyot soriano"</s>
CREATE TABLE table_1918850_2 (year VARCHAR, opponents_in_the_final VARCHAR)
SELECT year FROM table_1918850_2 WHERE opponents_in_the_final = "Helena Suková Todd Woodbridge"
when were helena suková todd woodbridge the opponents in the final
<s>[INST]when were helena suková todd woodbridge the opponents in the final Context: CREATE TABLE table_1918850_2 (year VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT year FROM table_1918850_2 WHERE opponents_in_the_final = "Helena Suková Todd Woodbridge"</s>
CREATE TABLE table_name_68 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_68 WHERE event = "superbrawl 21"
What is the record for the Superbrawl 21?
<s>[INST]What is the record for the Superbrawl 21? Context: CREATE TABLE table_name_68 (record VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_68 WHERE event = "superbrawl 21"</s>
CREATE TABLE table_name_47 (date VARCHAR, site VARCHAR)
SELECT date FROM table_name_47 WHERE site = "umbc field"
What date was the game held at UMBC Field?
<s>[INST]What date was the game held at UMBC Field? Context: CREATE TABLE table_name_47 (date VARCHAR, site VARCHAR)[/INST]SELECT date FROM table_name_47 WHERE site = "umbc field"</s>
CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_33 WHERE date = "may 13"
On May 13, what was the team's record?
<s>[INST]On May 13, what was the team's record? Context: CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_33 WHERE date = "may 13"</s>
CREATE TABLE table_name_78 (lost INTEGER, team VARCHAR, drawn VARCHAR)
SELECT AVG(lost) FROM table_name_78 WHERE team = "newton" AND drawn < 5
What was the average Lost entry for Newton, for games with a drawn less than 5?
<s>[INST]What was the average Lost entry for Newton, for games with a drawn less than 5? Context: CREATE TABLE table_name_78 (lost INTEGER, team VARCHAR, drawn VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_78 WHERE team = "newton" AND drawn < 5</s>
CREATE TABLE table_23248910_11 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_23248910_11 WHERE game = 2
What were the amount of rebounds in game 2?
<s>[INST]What were the amount of rebounds in game 2? Context: CREATE TABLE table_23248910_11 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT high_rebounds FROM table_23248910_11 WHERE game = 2</s>
CREATE TABLE table_name_72 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_72 WHERE home_team = "port vale"
What is the tie number when the home team is Port Vale?
<s>[INST]What is the tie number when the home team is Port Vale? Context: CREATE TABLE table_name_72 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_72 WHERE home_team = "port vale"</s>
CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER)
SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 0
Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
<s>[INST]Which Administrative Panel has a Nominated by the Taoiseach smaller than 0? Context: CREATE TABLE table_name_52 (administrative_panel INTEGER, nominated_by_the_taoiseach INTEGER)[/INST]SELECT MIN(administrative_panel) FROM table_name_52 WHERE nominated_by_the_taoiseach < 0</s>
CREATE TABLE table_name_11 (performance_return_on_capital__score_ VARCHAR, score__iran_ VARCHAR, score__global_ VARCHAR)
SELECT COUNT(performance_return_on_capital__score_) FROM table_name_11 WHERE score__iran_ < 3 AND score__global_ = 266
What is the sum of the Performance/Return on Capital (Score) when the Score (Iran) is less than 3, and the Score (Global) is 266?
<s>[INST]What is the sum of the Performance/Return on Capital (Score) when the Score (Iran) is less than 3, and the Score (Global) is 266? Context: CREATE TABLE table_name_11 (performance_return_on_capital__score_ VARCHAR, score__iran_ VARCHAR, score__global_ VARCHAR)[/INST]SELECT COUNT(performance_return_on_capital__s...
CREATE TABLE table_name_96 (total INTEGER, player VARCHAR)
SELECT SUM(total) FROM table_name_96 WHERE player = "andy north"
How many totals have andy north as the player?
<s>[INST]How many totals have andy north as the player? Context: CREATE TABLE table_name_96 (total INTEGER, player VARCHAR)[/INST]SELECT SUM(total) FROM table_name_96 WHERE player = "andy north"</s>
CREATE TABLE table_name_74 (player VARCHAR, caps VARCHAR, club_province VARCHAR)
SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = "toulouse"
Which player has a cap larger than 12 and Clubs of Toulouse?
<s>[INST]Which player has a cap larger than 12 and Clubs of Toulouse? Context: CREATE TABLE table_name_74 (player VARCHAR, caps VARCHAR, club_province VARCHAR)[/INST]SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = "toulouse"</s>
CREATE TABLE table_name_27 (pada_3 VARCHAR, pada_2 VARCHAR)
SELECT pada_3 FROM table_name_27 WHERE pada_2 = "चे che"
which Pada 3 has a Pada 2 of चे che?
<s>[INST]which Pada 3 has a Pada 2 of चे che? Context: CREATE TABLE table_name_27 (pada_3 VARCHAR, pada_2 VARCHAR)[/INST]SELECT pada_3 FROM table_name_27 WHERE pada_2 = "चे che"</s>
CREATE TABLE table_name_15 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_15 WHERE winning_score = E(72 - 69 - 71 - 68 = 280)
Which Tournament has a Winning score of e (72-69-71-68=280)?
<s>[INST]Which Tournament has a Winning score of e (72-69-71-68=280)? Context: CREATE TABLE table_name_15 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_15 WHERE winning_score = E(72 - 69 - 71 - 68 = 280)</s>
CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy"
What party was re-elected as an incumbent of robert p. Kennedy?
<s>[INST]What party was re-elected as an incumbent of robert p. Kennedy? Context: CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy"</s>
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)
SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx"
What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?
<s>[INST]What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx? Context: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)[/INST]SELECT i_o_bus FROM table_24538587_11 WHERE...
CREATE TABLE table_186468_1 (property VARCHAR, ka_band VARCHAR)
SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2"
When 2 is the ka-band how many properties are there?
<s>[INST]When 2 is the ka-band how many properties are there? Context: CREATE TABLE table_186468_1 (property VARCHAR, ka_band VARCHAR)[/INST]SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2"</s>
CREATE TABLE table_name_4 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello"
Tell me the total number of Grid for Rubens Barrichello
<s>[INST]Tell me the total number of Grid for Rubens Barrichello Context: CREATE TABLE table_name_4 (grid VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello"</s>
CREATE TABLE table_name_11 (year INTEGER, date VARCHAR)
SELECT MIN(year) FROM table_name_11 WHERE date = "14 february"
Which Year has a Date of 14 February?
<s>[INST]Which Year has a Date of 14 February? Context: CREATE TABLE table_name_11 (year INTEGER, date VARCHAR)[/INST]SELECT MIN(year) FROM table_name_11 WHERE date = "14 february"</s>
CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,000" AND entrepreneur_s_ = "geoff and colette bell"
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?
<s>[INST]What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000? Context: CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)[/INST]SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,...
CREATE TABLE table_name_87 (game_site VARCHAR, date VARCHAR)
SELECT game_site FROM table_name_87 WHERE date = "april 10, 2004"
Which game site hosted a match on April 10, 2004?
<s>[INST]Which game site hosted a match on April 10, 2004? Context: CREATE TABLE table_name_87 (game_site VARCHAR, date VARCHAR)[/INST]SELECT game_site FROM table_name_87 WHERE date = "april 10, 2004"</s>
CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (staff_id VARCHAR)
SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id GROUP BY T2.staff_id HAVING COUNT(*) > 1
List the name of staff who has been assigned multiple jobs.
<s>[INST]List the name of staff who has been assigned multiple jobs. Context: CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (staff_id VARCHAR)[/INST]SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id GROUP BY ...
CREATE TABLE table_24099628_1 (tdp VARCHAR, model__list_ VARCHAR)
SELECT tdp FROM table_24099628_1 WHERE model__list_ = "4x0"
What is the wattage/TDP associated with model name 4x0?
<s>[INST]What is the wattage/TDP associated with model name 4x0? Context: CREATE TABLE table_24099628_1 (tdp VARCHAR, model__list_ VARCHAR)[/INST]SELECT tdp FROM table_24099628_1 WHERE model__list_ = "4x0"</s>
CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city"
What is the score when the Tie no is replay, and the away team is York City?
<s>[INST]What is the score when the Tie no is replay, and the away team is York City? Context: CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city"</s>
CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR)
SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers"
what year has the highest marcel granollers champions?
<s>[INST]what year has the highest marcel granollers champions? Context: CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR)[/INST]SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers"</s>
CREATE TABLE table_name_87 (title VARCHAR, year VARCHAR, date VARCHAR)
SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 21"
What is the title for year 1991 and a date of March 21?
<s>[INST]What is the title for year 1991 and a date of March 21? Context: CREATE TABLE table_name_87 (title VARCHAR, year VARCHAR, date VARCHAR)[/INST]SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 21"</s>
CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR)
SELECT year FROM table_name_13 WHERE production = "wicked" AND award_ceremony = "helpmann awards"
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
<s>[INST]Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony? Context: CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR)[/INST]SELECT year FROM table_name_13 WHERE production = "wicked" AND award_ceremony = "helpmann awards"</s>
CREATE TABLE table_name_82 (method VARCHAR, round VARCHAR, event VARCHAR)
SELECT method FROM table_name_82 WHERE round > 1 AND event = "k-1 andy memorial 2001 japan gp final"
What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final?
<s>[INST]What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final? Context: CREATE TABLE table_name_82 (method VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_82 WHERE round > 1 AND event = "k-1 andy memorial 2001 japan gp final"</s>
CREATE TABLE table_name_20 (year VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_name_20 WHERE pick = "12" AND position = "dt" AND college = "penn state"
How many years have a Pick of 12, and a Position of dt, and a College of penn state?
<s>[INST]How many years have a Pick of 12, and a Position of dt, and a College of penn state? Context: CREATE TABLE table_name_20 (year VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_20 WHERE pick = "12" AND position = "dt" AND college = "penn state"</s>
CREATE TABLE table_name_79 (score INTEGER, place VARCHAR, country VARCHAR)
SELECT MIN(score) FROM table_name_79 WHERE place = "t10" AND country = "ireland"
What is the lowest score that has t10 as the place, with Ireland as the country?
<s>[INST]What is the lowest score that has t10 as the place, with Ireland as the country? Context: CREATE TABLE table_name_79 (score INTEGER, place VARCHAR, country VARCHAR)[/INST]SELECT MIN(score) FROM table_name_79 WHERE place = "t10" AND country = "ireland"</s>
CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, international_passengers VARCHAR)
SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE international_passengers = 21002260
what is the maximum aircraft movements with international passengers being 21002260
<s>[INST]what is the maximum aircraft movements with international passengers being 21002260 Context: CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, international_passengers VARCHAR)[/INST]SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE international_passengers = 21002260</s>
CREATE TABLE table_name_22 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_22 WHERE score = "6-1 6-3"
What is the Date of the tournament with a Score of 6-1 6-3?
<s>[INST]What is the Date of the tournament with a Score of 6-1 6-3? Context: CREATE TABLE table_name_22 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_22 WHERE score = "6-1 6-3"</s>
CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10
How many laps for martin brundle with a grid of less than 10?
<s>[INST]How many laps for martin brundle with a grid of less than 10? Context: CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10</s>
CREATE TABLE table_name_19 (week INTEGER, attendance VARCHAR)
SELECT AVG(week) FROM table_name_19 WHERE attendance = "28,800"
What is the average week number for games that had 28,800 fans in attendance?
<s>[INST]What is the average week number for games that had 28,800 fans in attendance? Context: CREATE TABLE table_name_19 (week INTEGER, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_19 WHERE attendance = "28,800"</s>
CREATE TABLE table_name_21 (area__km²_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR)
SELECT AVG(area__km²_) FROM table_name_21 WHERE population__2011_ = 8574 AND population_density > 381.4
What was the Area (km²) when the Population (2011) was 8574, and the Population density was larger than 381.4?
<s>[INST]What was the Area (km²) when the Population (2011) was 8574, and the Population density was larger than 381.4? Context: CREATE TABLE table_name_21 (area__km²_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR)[/INST]SELECT AVG(area__km²_) FROM table_name_21 WHERE population__2011_ = 8574 AND popul...
CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)
SELECT time FROM table_name_1 WHERE date = "october 8"
Date of october 8 happened at what time?
<s>[INST]Date of october 8 happened at what time? Context: CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)[/INST]SELECT time FROM table_name_1 WHERE date = "october 8"</s>
CREATE TABLE table_name_39 (house_1950 VARCHAR, governors_1950 VARCHAR)
SELECT house_1950 FROM table_name_39 WHERE governors_1950 = "governors 1995"
What shows for House 1950 when the Governors 1950 show governors 1995?
<s>[INST]What shows for House 1950 when the Governors 1950 show governors 1995? Context: CREATE TABLE table_name_39 (house_1950 VARCHAR, governors_1950 VARCHAR)[/INST]SELECT house_1950 FROM table_name_39 WHERE governors_1950 = "governors 1995"</s>
CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_38 WHERE away_team = "sheffield united"
Who is the home team when Sheffield United is the away team?
<s>[INST]Who is the home team when Sheffield United is the away team? Context: CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_38 WHERE away_team = "sheffield united"</s>
CREATE TABLE table_name_15 (athlete VARCHAR, time___sec__ VARCHAR, rank VARCHAR)
SELECT athlete FROM table_name_15 WHERE time___sec__ > 11.22 AND rank < 5
Which athlete is ranked less than 5 with time over 11.22?
<s>[INST]Which athlete is ranked less than 5 with time over 11.22? Context: CREATE TABLE table_name_15 (athlete VARCHAR, time___sec__ VARCHAR, rank VARCHAR)[/INST]SELECT athlete FROM table_name_15 WHERE time___sec__ > 11.22 AND rank < 5</s>
CREATE TABLE table_name_45 (album VARCHAR, year INTEGER)
SELECT album FROM table_name_45 WHERE year > 2007
Name the album for years after 2007
<s>[INST]Name the album for years after 2007 Context: CREATE TABLE table_name_45 (album VARCHAR, year INTEGER)[/INST]SELECT album FROM table_name_45 WHERE year > 2007</s>
CREATE TABLE table_name_73 (apps INTEGER, team VARCHAR)
SELECT AVG(apps) FROM table_name_73 WHERE team = "smederevo"
Name the average apps for smederevo
<s>[INST]Name the average apps for smederevo Context: CREATE TABLE table_name_73 (apps INTEGER, team VARCHAR)[/INST]SELECT AVG(apps) FROM table_name_73 WHERE team = "smederevo"</s>
CREATE TABLE table_name_84 (songwriter_s_ VARCHAR, production_credits VARCHAR, track VARCHAR)
SELECT songwriter_s_ FROM table_name_84 WHERE production_credits = "nigel wright and john smits" AND track = 4
Who was the songwriter for Track 4, produced by nigel wright and john smits?
<s>[INST]Who was the songwriter for Track 4, produced by nigel wright and john smits? Context: CREATE TABLE table_name_84 (songwriter_s_ VARCHAR, production_credits VARCHAR, track VARCHAR)[/INST]SELECT songwriter_s_ FROM table_name_84 WHERE production_credits = "nigel wright and john smits" AND track = 4</s>
CREATE TABLE table_name_40 (tyre VARCHAR, engine_† VARCHAR)
SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"
What is the tyre for the peugeot a20 engine?
<s>[INST]What is the tyre for the peugeot a20 engine? Context: CREATE TABLE table_name_40 (tyre VARCHAR, engine_† VARCHAR)[/INST]SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"</s>
CREATE TABLE table_10470082_3 (villains VARCHAR, no VARCHAR)
SELECT COUNT(villains) FROM table_10470082_3 WHERE no = 25
How many villians were in No. 25?
<s>[INST]How many villians were in No. 25? Context: CREATE TABLE table_10470082_3 (villains VARCHAR, no VARCHAR)[/INST]SELECT COUNT(villains) FROM table_10470082_3 WHERE no = 25</s>
CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR)
SELECT gto_winning_team FROM table_13642023_2 WHERE to_winning_team = "#84 Camaro"
Who was the GTO winning team when the TO winning team was #84 Camaro?
<s>[INST]Who was the GTO winning team when the TO winning team was #84 Camaro? Context: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR)[/INST]SELECT gto_winning_team FROM table_13642023_2 WHERE to_winning_team = "#84 Camaro"</s>
CREATE TABLE table_25539502_1 (races INTEGER, podiums VARCHAR)
SELECT MIN(races) FROM table_25539502_1 WHERE podiums = 11
What is the smallest number of races competed in with 11 podiums?
<s>[INST]What is the smallest number of races competed in with 11 podiums? Context: CREATE TABLE table_25539502_1 (races INTEGER, podiums VARCHAR)[/INST]SELECT MIN(races) FROM table_25539502_1 WHERE podiums = 11</s>
CREATE TABLE table_name_48 (ages VARCHAR, dance VARCHAR, pair VARCHAR)
SELECT ages FROM table_name_48 WHERE dance = "cha-cha-cha" AND pair = "mitchell & jessica"
How old were Mitchell & Jessica when they danced the Cha-Cha-Cha?
<s>[INST]How old were Mitchell & Jessica when they danced the Cha-Cha-Cha? Context: CREATE TABLE table_name_48 (ages VARCHAR, dance VARCHAR, pair VARCHAR)[/INST]SELECT ages FROM table_name_48 WHERE dance = "cha-cha-cha" AND pair = "mitchell & jessica"</s>
CREATE TABLE Companies (name VARCHAR, Market_Value_billion VARCHAR)
SELECT name FROM Companies ORDER BY Market_Value_billion DESC
List the names of companies in descending order of market value.
<s>[INST]List the names of companies in descending order of market value. Context: CREATE TABLE Companies (name VARCHAR, Market_Value_billion VARCHAR)[/INST]SELECT name FROM Companies ORDER BY Market_Value_billion DESC</s>
CREATE TABLE table_10360656_1 (choice INTEGER)
SELECT MIN(choice) FROM table_10360656_1
Who was the top picki n the draft?
<s>[INST]Who was the top picki n the draft? Context: CREATE TABLE table_10360656_1 (choice INTEGER)[/INST]SELECT MIN(choice) FROM table_10360656_1</s>
CREATE TABLE table_name_38 (round INTEGER, overall VARCHAR)
SELECT MAX(round) FROM table_name_38 WHERE overall = 152
What is the highest round of the player with an overall of 152?
<s>[INST]What is the highest round of the player with an overall of 152? Context: CREATE TABLE table_name_38 (round INTEGER, overall VARCHAR)[/INST]SELECT MAX(round) FROM table_name_38 WHERE overall = 152</s>
CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR)
SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = "3rd, Southeast" AND league = "USL PDL"
What was the earliest year where USL PDL played in 3rd, Southeast season?
<s>[INST]What was the earliest year where USL PDL played in 3rd, Southeast season? Context: CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR)[/INST]SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = "3rd, Southeast" AND league = "USL PDL"</s>
CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_36 WHERE home_team = "new zealand breakers"
Who was the away team during the game when the home team was the new zealand breakers?
<s>[INST]Who was the away team during the game when the home team was the new zealand breakers? Context: CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_36 WHERE home_team = "new zealand breakers"</s>
CREATE TABLE roller_coaster (Status VARCHAR)
SELECT Status FROM roller_coaster GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1
Please show the most common status of roller coasters.
<s>[INST]Please show the most common status of roller coasters. Context: CREATE TABLE roller_coaster (Status VARCHAR)[/INST]SELECT Status FROM roller_coaster GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR)
SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63
What is the total avge of John Hall, who has less than 63 goals?
<s>[INST]What is the total avge of John Hall, who has less than 63 goals? Context: CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR)[/INST]SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63</s>
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22
How many picks have charley sanders as the name, with a round greater than 22?
<s>[INST]How many picks have charley sanders as the name, with a round greater than 22? Context: CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22</s>
CREATE TABLE table_name_15 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_15 WHERE name = "giuly"
Name the transfer wind for giuly
<s>[INST]Name the transfer wind for giuly Context: CREATE TABLE table_name_15 (transfer_window VARCHAR, name VARCHAR)[/INST]SELECT transfer_window FROM table_name_15 WHERE name = "giuly"</s>
CREATE TABLE table_name_94 (actor VARCHAR, year INTEGER)
SELECT actor FROM table_name_94 WHERE year < 1971
What actor was nominated for or won an award before 1971?
<s>[INST]What actor was nominated for or won an award before 1971? Context: CREATE TABLE table_name_94 (actor VARCHAR, year INTEGER)[/INST]SELECT actor FROM table_name_94 WHERE year < 1971</s>
CREATE TABLE table_name_72 (res VARCHAR, method VARCHAR)
SELECT res FROM table_name_72 WHERE method = "submission (kimura)"
What was the result when the method was submission (kimura)?
<s>[INST]What was the result when the method was submission (kimura)? Context: CREATE TABLE table_name_72 (res VARCHAR, method VARCHAR)[/INST]SELECT res FROM table_name_72 WHERE method = "submission (kimura)"</s>
CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)
SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state"
What is the Week 1 result of Colorado State?
<s>[INST]What is the Week 1 result of Colorado State? Context: CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)[/INST]SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state"</s>
CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR)
SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50"
What the is the state that the boat is from with LOA of 19.50?
<s>[INST]What the is the state that the boat is from with LOA of 19.50? Context: CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR)[/INST]SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50"</s>
CREATE TABLE table_name_10 (name VARCHAR, group VARCHAR, mark VARCHAR)
SELECT name FROM table_name_10 WHERE group = "b" AND mark = "6.33"
Who is in group B and has a mark of 6.33?
<s>[INST]Who is in group B and has a mark of 6.33? Context: CREATE TABLE table_name_10 (name VARCHAR, group VARCHAR, mark VARCHAR)[/INST]SELECT name FROM table_name_10 WHERE group = "b" AND mark = "6.33"</s>
CREATE TABLE table_name_43 (heat INTEGER, time VARCHAR, lane VARCHAR)
SELECT AVG(heat) FROM table_name_43 WHERE time = "59.11" AND lane > 3
What is the average of all Heats of competitors with a Time of 59.11 and a lane higher than 3?
<s>[INST]What is the average of all Heats of competitors with a Time of 59.11 and a lane higher than 3? Context: CREATE TABLE table_name_43 (heat INTEGER, time VARCHAR, lane VARCHAR)[/INST]SELECT AVG(heat) FROM table_name_43 WHERE time = "59.11" AND lane > 3</s>
CREATE TABLE table_name_33 (chemical_class VARCHAR, formula VARCHAR)
SELECT chemical_class FROM table_name_33 WHERE formula = "ri"
What is the chemical class for ri?
<s>[INST]What is the chemical class for ri? Context: CREATE TABLE table_name_33 (chemical_class VARCHAR, formula VARCHAR)[/INST]SELECT chemical_class FROM table_name_33 WHERE formula = "ri"</s>
CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)
SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"
What is the least amount of appearances by new zealand when they scored 4 goals?
<s>[INST]What is the least amount of appearances by new zealand when they scored 4 goals? Context: CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)[/INST]SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"</s>
CREATE TABLE table_25200461_9 (d_r_spread VARCHAR, no_party_preference VARCHAR)
SELECT d_r_spread FROM table_25200461_9 WHERE no_party_preference = "31.8%"
What is the d-r spread if the no party preference is 31.8%?
<s>[INST]What is the d-r spread if the no party preference is 31.8%? Context: CREATE TABLE table_25200461_9 (d_r_spread VARCHAR, no_party_preference VARCHAR)[/INST]SELECT d_r_spread FROM table_25200461_9 WHERE no_party_preference = "31.8%"</s>
CREATE TABLE table_name_90 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_name_90 WHERE high_points = "ray allen (27)"
What is Record, when High Points is "Ray Allen (27)"?
<s>[INST]What is Record, when High Points is "Ray Allen (27)"? Context: CREATE TABLE table_name_90 (record VARCHAR, high_points VARCHAR)[/INST]SELECT record FROM table_name_90 WHERE high_points = "ray allen (27)"</s>