context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_44 WHERE nationality = "belgium"
Which player is from Belgium?
<s>[INST]Which player is from Belgium? Context: CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR)[/INST]SELECT name FROM table_name_44 WHERE nationality = "belgium"</s>
CREATE TABLE status (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER); CREATE TABLE station (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER)
SELECT id FROM station WHERE city = "San Francisco" INTERSECT SELECT station_id FROM status GROUP BY station_id HAVING AVG(bikes_available) > 10
What are the ids of stations that are located in San Francisco and have average bike availability above 10.
<s>[INST]What are the ids of stations that are located in San Francisco and have average bike availability above 10. Context: CREATE TABLE status (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER); CREATE TABLE station (id VARCHAR, station_id VARCHAR, city VARCHAR, bikes_available INTEGER)[/INST]SE...
CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2
What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals?
<s>[INST]What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals? Context: CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2</s>
CREATE TABLE table_name_47 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_47 WHERE wheel_arrangement = "4-6-0" AND quantity_made = "14"
What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14?
<s>[INST]What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14? Context: CREATE TABLE table_name_47 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)[/INST]SELECT class FROM table_name_47 WHERE wheel_arrangement = "4-6-0" AND quantity_made = "14"</s>
CREATE TABLE table_name_71 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_71 WHERE driver = "luca badoer"
How many laps does luca badoer have?
<s>[INST]How many laps does luca badoer have? Context: CREATE TABLE table_name_71 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_71 WHERE driver = "luca badoer"</s>
CREATE TABLE ref_product_categories (product_category_description VARCHAR, product_category_code VARCHAR)
SELECT product_category_description FROM ref_product_categories WHERE product_category_code = "Spices"
Find the product category description of the product category with code "Spices".
<s>[INST]Find the product category description of the product category with code "Spices". Context: CREATE TABLE ref_product_categories (product_category_description VARCHAR, product_category_code VARCHAR)[/INST]SELECT product_category_description FROM ref_product_categories WHERE product_category_code = "Spices"</s>
CREATE TABLE table_name_13 (result VARCHAR, matches VARCHAR)
SELECT result FROM table_name_13 WHERE matches = "6"
What was the result when there were 6 matches?
<s>[INST]What was the result when there were 6 matches? Context: CREATE TABLE table_name_13 (result VARCHAR, matches VARCHAR)[/INST]SELECT result FROM table_name_13 WHERE matches = "6"</s>
CREATE TABLE table_name_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR)
SELECT MAX(total) FROM table_name_25 WHERE player = "damon gray" AND challenge_cup < 0
What is the highest total of Player Damon Gray, with a Challenge Cup less than 0?
<s>[INST]What is the highest total of Player Damon Gray, with a Challenge Cup less than 0? Context: CREATE TABLE table_name_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR)[/INST]SELECT MAX(total) FROM table_name_25 WHERE player = "damon gray" AND challenge_cup < 0</s>
CREATE TABLE table_29225103_2 (hp_winning_team VARCHAR, ep_winning_team VARCHAR, gm_winning_team VARCHAR)
SELECT hp_winning_team FROM table_29225103_2 WHERE ep_winning_team = "Hans Zereis" AND gm_winning_team = "Charles Gibson"
Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?
<s>[INST]Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson? Context: CREATE TABLE table_29225103_2 (hp_winning_team VARCHAR, ep_winning_team VARCHAR, gm_winning_team VARCHAR)[/INST]SELECT hp_winning_team FROM table_29225103_2 WHERE ep_winning_team = "Hans Z...
CREATE TABLE table_name_87 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_87 WHERE date = "january 13"
Which home team was playing on January 13?
<s>[INST]Which home team was playing on January 13? Context: CREATE TABLE table_name_87 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_87 WHERE date = "january 13"</s>
CREATE TABLE table_name_2 (to_par INTEGER, score VARCHAR)
SELECT AVG(to_par) FROM table_name_2 WHERE score = 78 - 67 - 73 = 218
What is the average to par for a score of 78-67-73=218?
<s>[INST]What is the average to par for a score of 78-67-73=218? Context: CREATE TABLE table_name_2 (to_par INTEGER, score VARCHAR)[/INST]SELECT AVG(to_par) FROM table_name_2 WHERE score = 78 - 67 - 73 = 218</s>
CREATE TABLE table_21436373_5 (type_of_record VARCHAR, result_games VARCHAR)
SELECT type_of_record FROM table_21436373_5 WHERE result_games = "Montreal 31 @ Calgary 32"
What type of record is the result of the game Montreal 31 @ Calgary 32?
<s>[INST]What type of record is the result of the game Montreal 31 @ Calgary 32? Context: CREATE TABLE table_21436373_5 (type_of_record VARCHAR, result_games VARCHAR)[/INST]SELECT type_of_record FROM table_21436373_5 WHERE result_games = "Montreal 31 @ Calgary 32"</s>
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)
SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell"
What is the date of the finale where Holly Bell was runner-up?
<s>[INST]What is the date of the finale where Holly Bell was runner-up? Context: CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)[/INST]SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell"</s>
CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_21 WHERE attendance = "29,704"
What was the loss of the game attended by 29,704?
<s>[INST]What was the loss of the game attended by 29,704? Context: CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR)[/INST]SELECT loss FROM table_name_21 WHERE attendance = "29,704"</s>
CREATE TABLE table_name_19 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_19 WHERE grid < 13 AND laps < 9
What constructor has a grid less than 13 with under 9 laps?
<s>[INST]What constructor has a grid less than 13 with under 9 laps? Context: CREATE TABLE table_name_19 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT constructor FROM table_name_19 WHERE grid < 13 AND laps < 9</s>
CREATE TABLE table_name_41 (rank VARCHAR, time VARCHAR, lane VARCHAR)
SELECT COUNT(rank) FROM table_name_41 WHERE time = 49 AND lane > 7
What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger?
<s>[INST]What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger? Context: CREATE TABLE table_name_41 (rank VARCHAR, time VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_41 WHERE time = 49 AND lane > 7</s>
CREATE TABLE table_name_20 (name VARCHAR, mission VARCHAR, age_at_first_step VARCHAR)
SELECT name FROM table_name_20 WHERE mission = "apollo 16" AND age_at_first_step = "36y 6m 18d"
Which astronaut went on the Apollo 16 mission at the age of 36y 6m 18d to step on the moon?
<s>[INST]Which astronaut went on the Apollo 16 mission at the age of 36y 6m 18d to step on the moon? Context: CREATE TABLE table_name_20 (name VARCHAR, mission VARCHAR, age_at_first_step VARCHAR)[/INST]SELECT name FROM table_name_20 WHERE mission = "apollo 16" AND age_at_first_step = "36y 6m 18d"</s>
CREATE TABLE table_name_34 (icao VARCHAR, province VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_34 WHERE province = "heilongjiang" AND iata = "jmu"
Which ICAO has a Province of heilongjiang, and a IATA of jmu?
<s>[INST]Which ICAO has a Province of heilongjiang, and a IATA of jmu? Context: CREATE TABLE table_name_34 (icao VARCHAR, province VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_34 WHERE province = "heilongjiang" AND iata = "jmu"</s>
CREATE TABLE table_name_41 (player VARCHAR, no_s_ VARCHAR)
SELECT player FROM table_name_41 WHERE no_s_ = "14"
What is the player with the no. 14?
<s>[INST]What is the player with the no. 14? Context: CREATE TABLE table_name_41 (player VARCHAR, no_s_ VARCHAR)[/INST]SELECT player FROM table_name_41 WHERE no_s_ = "14"</s>
CREATE TABLE table_name_99 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_99 WHERE name = "bo qin"
What type of state is bo qin?
<s>[INST]What type of state is bo qin? Context: CREATE TABLE table_name_99 (type VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_99 WHERE name = "bo qin"</s>
CREATE TABLE table_name_68 (cfl_team VARCHAR, position VARCHAR)
SELECT cfl_team FROM table_name_68 WHERE position = "d"
what is the cfl team for position d?
<s>[INST]what is the cfl team for position d? Context: CREATE TABLE table_name_68 (cfl_team VARCHAR, position VARCHAR)[/INST]SELECT cfl_team FROM table_name_68 WHERE position = "d"</s>
CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft"
Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft?
<s>[INST]Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft? Context: CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft"</s>
CREATE TABLE table_name_52 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija"
What is 1st Leg, when Team 1 is "Makedonija"?
<s>[INST]What is 1st Leg, when Team 1 is "Makedonija"? Context: CREATE TABLE table_name_52 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija"</s>
CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138
What was the to par score of the golfer that had a score of 68-70=138?
<s>[INST]What was the to par score of the golfer that had a score of 68-70=138? Context: CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138</s>
CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_69 WHERE gold = 2 AND bronze < 2
How many silvers have 2 as gold, and a bronze less than 2?
<s>[INST]How many silvers have 2 as gold, and a bronze less than 2? Context: CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_69 WHERE gold = 2 AND bronze < 2</s>
CREATE TABLE table_name_13 (game INTEGER, score VARCHAR)
SELECT MIN(game) FROM table_name_13 WHERE score = "129–105"
What Game had a Score of 129–105?
<s>[INST]What Game had a Score of 129–105? Context: CREATE TABLE table_name_13 (game INTEGER, score VARCHAR)[/INST]SELECT MIN(game) FROM table_name_13 WHERE score = "129–105"</s>
CREATE TABLE table_2668243_20 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668243_20 WHERE incumbent = "Richard Coulter"
What party was represented by incumbent Richard Coulter ?
<s>[INST] What party was represented by incumbent Richard Coulter ? Context: CREATE TABLE table_2668243_20 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668243_20 WHERE incumbent = "Richard Coulter"</s>
CREATE TABLE school (enrollment INTEGER)
SELECT AVG(enrollment), MAX(enrollment), MIN(enrollment) FROM school
Show the average, maximum, minimum enrollment of all schools.
<s>[INST]Show the average, maximum, minimum enrollment of all schools. Context: CREATE TABLE school (enrollment INTEGER)[/INST]SELECT AVG(enrollment), MAX(enrollment), MIN(enrollment) FROM school</s>
CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_9 WHERE record = "22-28-7-4"
What score has a record of 22-28-7-4?
<s>[INST]What score has a record of 22-28-7-4? Context: CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE record = "22-28-7-4"</s>
CREATE TABLE table_name_25 (rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT rank FROM table_name_25 WHERE gold < 1 AND silver > 0
What Rank has a gold smaller than 1, and a silver larger than 0?
<s>[INST]What Rank has a gold smaller than 1, and a silver larger than 0? Context: CREATE TABLE table_name_25 (rank VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT rank FROM table_name_25 WHERE gold < 1 AND silver > 0</s>
CREATE TABLE table_name_7 (tournament VARCHAR)
SELECT 2011 FROM table_name_7 WHERE 2009 = "2r" AND tournament = "wimbledon"
Name the 2011 for 2009 being 2r at wimbledon
<s>[INST]Name the 2011 for 2009 being 2r at wimbledon Context: CREATE TABLE table_name_7 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_7 WHERE 2009 = "2r" AND tournament = "wimbledon"</s>
CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"
what is the title of the episode daphne field wrote?
<s>[INST]what is the title of the episode daphne field wrote? Context: CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"</s>
CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR)
SELECT MAX(laps) FROM table_name_5 WHERE time = "+31.982"
What is the largest lap number when the time was +31.982?
<s>[INST]What is the largest lap number when the time was +31.982? Context: CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_5 WHERE time = "+31.982"</s>
CREATE TABLE table_2190919_1 (team_s_ VARCHAR, position VARCHAR)
SELECT team_s_ FROM table_2190919_1 WHERE position = "92nd"
What racing team/s had the 92nd position?
<s>[INST]What racing team/s had the 92nd position? Context: CREATE TABLE table_2190919_1 (team_s_ VARCHAR, position VARCHAR)[/INST]SELECT team_s_ FROM table_2190919_1 WHERE position = "92nd"</s>
CREATE TABLE table_name_8 (round INTEGER, time VARCHAR, event VARCHAR)
SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21"
What is the lwoest round of wild bill's fight night 21 at 5:00?
<s>[INST]What is the lwoest round of wild bill's fight night 21 at 5:00? Context: CREATE TABLE table_name_8 (round INTEGER, time VARCHAR, event VARCHAR)[/INST]SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21"</s>
CREATE TABLE table_11677100_18 (mlb_draft VARCHAR, school VARCHAR)
SELECT mlb_draft FROM table_11677100_18 WHERE school = "Carl Albert High school"
Where was mlb draft for the player who's school was Carl Albert High School?
<s>[INST]Where was mlb draft for the player who's school was Carl Albert High School? Context: CREATE TABLE table_11677100_18 (mlb_draft VARCHAR, school VARCHAR)[/INST]SELECT mlb_draft FROM table_11677100_18 WHERE school = "Carl Albert High school"</s>
CREATE TABLE table_name_49 (e_score VARCHAR, total VARCHAR, a_score VARCHAR)
SELECT COUNT(e_score) FROM table_name_49 WHERE total = 19.7 AND a_score > 6
What is the total number of E scores when the total score was 19.7 and the A score was more than 6?
<s>[INST]What is the total number of E scores when the total score was 19.7 and the A score was more than 6? Context: CREATE TABLE table_name_49 (e_score VARCHAR, total VARCHAR, a_score VARCHAR)[/INST]SELECT COUNT(e_score) FROM table_name_49 WHERE total = 19.7 AND a_score > 6</s>
CREATE TABLE table_name_67 (attendance INTEGER, round VARCHAR, home VARCHAR)
SELECT MIN(attendance) FROM table_name_67 WHERE round = 52 AND home = "södertälje sk"
Which Attendance has a Round of 52, and a Home of södertälje sk?
<s>[INST]Which Attendance has a Round of 52, and a Home of södertälje sk? Context: CREATE TABLE table_name_67 (attendance INTEGER, round VARCHAR, home VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_67 WHERE round = 52 AND home = "södertälje sk"</s>
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_50 WHERE venue = "arden street oval"
What was the home teams score at Arden Street Oval?
<s>[INST]What was the home teams score at Arden Street Oval? Context: CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_50 WHERE venue = "arden street oval"</s>
CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_49 WHERE player = "chad campbell"
What country is Chad Campbell from?
<s>[INST]What country is Chad Campbell from? Context: CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_49 WHERE player = "chad campbell"</s>
CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars = 3 INTERSECT SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars = 4
What are the names of movies that get 3 star and 4 star?
<s>[INST]What are the names of movies that get 3 star and 4 star? Context: CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)[/INST]SELECT T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars = 3 INTERSECT SELECT T2.title FROM Rating AS T1 JOIN Mov...
CREATE TABLE table_name_65 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_65 WHERE driver = "peter arundell"
How many laps does peter arundell have?
<s>[INST]How many laps does peter arundell have? Context: CREATE TABLE table_name_65 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_65 WHERE driver = "peter arundell"</s>
CREATE TABLE table_name_44 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_44 WHERE loss = "o'connor (0-1)"
Which Record has a Loss of o'connor (0-1)?
<s>[INST]Which Record has a Loss of o'connor (0-1)? Context: CREATE TABLE table_name_44 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_44 WHERE loss = "o'connor (0-1)"</s>
CREATE TABLE table_name_57 (class VARCHAR, frequency VARCHAR)
SELECT class FROM table_name_57 WHERE frequency = "560 am"
What is the class when the frequency is 560 AM?
<s>[INST]What is the class when the frequency is 560 AM? Context: CREATE TABLE table_name_57 (class VARCHAR, frequency VARCHAR)[/INST]SELECT class FROM table_name_57 WHERE frequency = "560 am"</s>
CREATE TABLE table_name_75 (opponent VARCHAR, player VARCHAR, season VARCHAR)
SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004"
Who is the opponent for Andrew Symonds in the 2004 season?
<s>[INST]Who is the opponent for Andrew Symonds in the 2004 season? Context: CREATE TABLE table_name_75 (opponent VARCHAR, player VARCHAR, season VARCHAR)[/INST]SELECT opponent FROM table_name_75 WHERE player = "andrew symonds" AND season = "2004"</s>
CREATE TABLE table_11354111_3 (night_rank VARCHAR, viewers__m_ VARCHAR)
SELECT night_rank FROM table_11354111_3 WHERE viewers__m_ = "6.63"
what's the night rank with viewers (m) of 6.63
<s>[INST]what's the night rank with viewers (m) of 6.63 Context: CREATE TABLE table_11354111_3 (night_rank VARCHAR, viewers__m_ VARCHAR)[/INST]SELECT night_rank FROM table_11354111_3 WHERE viewers__m_ = "6.63"</s>
CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR)
SELECT MAX(laps) FROM table_name_99 WHERE grid = 17
What is the highest number of laps for grid 17?
<s>[INST]What is the highest number of laps for grid 17? Context: CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_99 WHERE grid = 17</s>
CREATE TABLE table_name_8 (dob VARCHAR, bats VARCHAR, position VARCHAR)
SELECT dob FROM table_name_8 WHERE bats = "s" AND position = "inf"
Which DOB has Bats of s, and a Position of inf?
<s>[INST]Which DOB has Bats of s, and a Position of inf? Context: CREATE TABLE table_name_8 (dob VARCHAR, bats VARCHAR, position VARCHAR)[/INST]SELECT dob FROM table_name_8 WHERE bats = "s" AND position = "inf"</s>
CREATE TABLE table_name_85 (round VARCHAR, overall VARCHAR)
SELECT round FROM table_name_85 WHERE overall = 246
What is the Round when there is an overall of 246?
<s>[INST]What is the Round when there is an overall of 246? Context: CREATE TABLE table_name_85 (round VARCHAR, overall VARCHAR)[/INST]SELECT round FROM table_name_85 WHERE overall = 246</s>
CREATE TABLE table_name_98 (to_par VARCHAR, score VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_98 WHERE score = 70 AND player = "craig stadler"
What is To Par, when Score is 70, and when Player is "Craig Stadler"?
<s>[INST]What is To Par, when Score is 70, and when Player is "Craig Stadler"? Context: CREATE TABLE table_name_98 (to_par VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_98 WHERE score = 70 AND player = "craig stadler"</s>
CREATE TABLE table_name_92 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_92 WHERE bronze > 1 AND total > 80
Which Gold has a Bronze larger than 1, and a Total larger than 80?
<s>[INST]Which Gold has a Bronze larger than 1, and a Total larger than 80? Context: CREATE TABLE table_name_92 (gold INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_92 WHERE bronze > 1 AND total > 80</s>
CREATE TABLE table_1745843_10 (part_4 VARCHAR, verb_meaning VARCHAR)
SELECT COUNT(part_4) FROM table_1745843_10 WHERE verb_meaning = "to bear"
How many verbs mean to bear
<s>[INST]How many verbs mean to bear Context: CREATE TABLE table_1745843_10 (part_4 VARCHAR, verb_meaning VARCHAR)[/INST]SELECT COUNT(part_4) FROM table_1745843_10 WHERE verb_meaning = "to bear"</s>
CREATE TABLE Customers_cards (card_id VARCHAR, customer_id VARCHAR, card_type_code VARCHAR, card_number VARCHAR)
SELECT card_id, customer_id, card_type_code, card_number FROM Customers_cards
Show ids, customer ids, card type codes, card numbers for all cards.
<s>[INST]Show ids, customer ids, card type codes, card numbers for all cards. Context: CREATE TABLE Customers_cards (card_id VARCHAR, customer_id VARCHAR, card_type_code VARCHAR, card_number VARCHAR)[/INST]SELECT card_id, customer_id, card_type_code, card_number FROM Customers_cards</s>
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"
Who was the away team at the Win Entertainment Centre?
<s>[INST]Who was the away team at the Win Entertainment Centre? Context: CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"</s>
CREATE TABLE AIRLINES (Country VARCHAR, Airline VARCHAR)
SELECT Country FROM AIRLINES WHERE Airline = "JetBlue Airways"
Which country does Airline "JetBlue Airways" belong to?
<s>[INST]Which country does Airline "JetBlue Airways" belong to? Context: CREATE TABLE AIRLINES (Country VARCHAR, Airline VARCHAR)[/INST]SELECT Country FROM AIRLINES WHERE Airline = "JetBlue Airways"</s>
CREATE TABLE table_name_4 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR)
SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000
What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000?
<s>[INST]What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000? Context: CREATE TABLE table_name_4 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR)[/INST]SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000</s>
CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR)
SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels
What is the average time span of contact channels in the database?
<s>[INST]What is the average time span of contact channels in the database? Context: CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR)[/INST]SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels</s>
CREATE TABLE table_name_24 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_24 WHERE home_team = "north melbourne"
How many were in the crowd when North Melbourne was the home team?
<s>[INST]How many were in the crowd when North Melbourne was the home team? Context: CREATE TABLE table_name_24 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT crowd FROM table_name_24 WHERE home_team = "north melbourne"</s>
CREATE TABLE table_name_15 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_15 WHERE silver = 2 AND total < 5
Which Bronze has a Silver of 2, and a Total smaller than 5?
<s>[INST]Which Bronze has a Silver of 2, and a Total smaller than 5? Context: CREATE TABLE table_name_15 (bronze INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_15 WHERE silver = 2 AND total < 5</s>
CREATE TABLE table_name_89 (technique VARCHAR, highest_rank VARCHAR, total VARCHAR)
SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 11
How much Technique has the Highest rank of yokozuna, and a Total larger than 11?
<s>[INST]How much Technique has the Highest rank of yokozuna, and a Total larger than 11? Context: CREATE TABLE table_name_89 (technique VARCHAR, highest_rank VARCHAR, total VARCHAR)[/INST]SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 11</s>
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_53 WHERE home_team = "mansfield town"
What is the Away team at Mansfield Town's Home game?
<s>[INST]What is the Away team at Mansfield Town's Home game? Context: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_53 WHERE home_team = "mansfield town"</s>
CREATE TABLE table_name_19 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_19 WHERE date = "march 2, 2008"
Who is the visitor team of the game on March 2, 2008?
<s>[INST]Who is the visitor team of the game on March 2, 2008? Context: CREATE TABLE table_name_19 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_19 WHERE date = "march 2, 2008"</s>
CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR)
SELECT 2 AS nd_leg FROM table_14219514_2 WHERE home__2nd_leg_ = "Platense"
When platense is the home (2nd leg) what is the 2nd leg?
<s>[INST]When platense is the home (2nd leg) what is the 2nd leg? Context: CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_14219514_2 WHERE home__2nd_leg_ = "Platense"</s>
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)
SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila"
What is the brand in Metro Manila?
<s>[INST]What is the brand in Metro Manila? Context: CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)[/INST]SELECT branding FROM table_19215259_1 WHERE location = "Metro Manila"</s>
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "june 3"
What team did the Red Sox play against on June 3?
<s>[INST]What team did the Red Sox play against on June 3? Context: CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_16 WHERE date = "june 3"</s>
CREATE TABLE table_22962745_35 (season VARCHAR, batsmen VARCHAR)
SELECT season FROM table_22962745_35 WHERE batsmen = "Herschelle Gibbs Andrew Symonds Venugopal Rao"
What season was herschelle gibbs andrew symonds venugopal rao batsmen?
<s>[INST]What season was herschelle gibbs andrew symonds venugopal rao batsmen? Context: CREATE TABLE table_22962745_35 (season VARCHAR, batsmen VARCHAR)[/INST]SELECT season FROM table_22962745_35 WHERE batsmen = "Herschelle Gibbs Andrew Symonds Venugopal Rao"</s>
CREATE TABLE table_name_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_1 WHERE film_title_used_in_nomination = "brecha en el silencio"
What's the original title of the nomination title, "brecha en el silencio"?
<s>[INST]What's the original title of the nomination title, "brecha en el silencio"? Context: CREATE TABLE table_name_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_name_1 WHERE film_title_used_in_nomination = "brecha en el silencio"</s>
CREATE TABLE table_30018460_1 (semifinalists VARCHAR, country_territory VARCHAR)
SELECT semifinalists FROM table_30018460_1 WHERE country_territory = "Peru"
How many semifinalists where from peru?
<s>[INST]How many semifinalists where from peru? Context: CREATE TABLE table_30018460_1 (semifinalists VARCHAR, country_territory VARCHAR)[/INST]SELECT semifinalists FROM table_30018460_1 WHERE country_territory = "Peru"</s>
CREATE TABLE table_name_87 (stories INTEGER, city VARCHAR, completed VARCHAR)
SELECT SUM(stories) FROM table_name_87 WHERE city = "guadalajara" AND completed > 2007
I want the sum of stories for guadalajara done after 2007
<s>[INST]I want the sum of stories for guadalajara done after 2007 Context: CREATE TABLE table_name_87 (stories INTEGER, city VARCHAR, completed VARCHAR)[/INST]SELECT SUM(stories) FROM table_name_87 WHERE city = "guadalajara" AND completed > 2007</s>
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)
SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1
What is every CFL team with pick#1?
<s>[INST]What is every CFL team with pick#1? Context: CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)[/INST]SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1</s>
CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR)
SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "°39′45″"
What is the Apparent magnitude of a Declination (J2000) of °39′45″?
<s>[INST]What is the Apparent magnitude of a Declination (J2000) of °39′45″? Context: CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR)[/INST]SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "°39′45″"</s>
CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR)
SELECT class FROM table_name_4 WHERE frequency_mhz = 93.7
Frequency MHz of 93.7 has what class?
<s>[INST]Frequency MHz of 93.7 has what class? Context: CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT class FROM table_name_4 WHERE frequency_mhz = 93.7</s>
CREATE TABLE table_name_9 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_name_9 WHERE runner_s__up = "neal briggs"
What was the winning score when the runner-up was Neal Briggs?
<s>[INST]What was the winning score when the runner-up was Neal Briggs? Context: CREATE TABLE table_name_9 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_9 WHERE runner_s__up = "neal briggs"</s>
CREATE TABLE table_name_47 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR)
SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1
What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point?
<s>[INST]What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point? Context: CREATE TABLE table_name_47 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR)[/INST]SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1</s>
CREATE TABLE table_name_21 (stage VARCHAR, winner VARCHAR)
SELECT stage FROM table_name_21 WHERE winner = "jeremy hunt"
Which Stage has a Winner of jeremy hunt?
<s>[INST]Which Stage has a Winner of jeremy hunt? Context: CREATE TABLE table_name_21 (stage VARCHAR, winner VARCHAR)[/INST]SELECT stage FROM table_name_21 WHERE winner = "jeremy hunt"</s>
CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR)
SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"
Which IHSAA Class has a Location of columbia city?
<s>[INST]Which IHSAA Class has a Location of columbia city? Context: CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"</s>
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)
SELECT T1.student_id, T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) <= 2
Find the student ID and middle name for all the students with at most two enrollments.
<s>[INST]Find the student ID and middle name for all the students with at most two enrollments. Context: CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)[/INST]SELECT T1.student_id, T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Student...
CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, schedule VARCHAR, year VARCHAR)
SELECT team FROM table_name_54 WHERE schedule = "limited" AND year < 2007 AND driver = "jason white"
what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?
<s>[INST]what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white? Context: CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, schedule VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_54 WHERE schedule = "limited" AND year < 2007 AND driver = "jason white"</...
CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR)
SELECT release_date FROM table_name_16 WHERE director = "robert mckimson" AND series = "mm" AND production_number = "1665"
What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665?
<s>[INST]What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665? Context: CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR)[/INST]SELECT release_date FROM table_name_16 WHERE director = "robert mckimso...
CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
SELECT young_rider_classification FROM table_14710984_2 WHERE mountains_classification = "Emanuele Sella" AND stage = 9
Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella?
<s>[INST]Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella? Context: CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)[/INST]SELECT young_rider_classification FROM table_14710984_2 WHERE mountains_clas...
CREATE TABLE table_23575917_4 (episode VARCHAR, first_broadcast VARCHAR)
SELECT episode FROM table_23575917_4 WHERE first_broadcast = "3 September 2010"
What is the episode number that was first broadcast on 3 September 2010?
<s>[INST]What is the episode number that was first broadcast on 3 September 2010? Context: CREATE TABLE table_23575917_4 (episode VARCHAR, first_broadcast VARCHAR)[/INST]SELECT episode FROM table_23575917_4 WHERE first_broadcast = "3 September 2010"</s>
CREATE TABLE table_name_48 (subframe__number INTEGER, bits VARCHAR)
SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = "18–22"
What is the total subframe count with Bits of 18–22?
<s>[INST]What is the total subframe count with Bits of 18–22? Context: CREATE TABLE table_name_48 (subframe__number INTEGER, bits VARCHAR)[/INST]SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = "18–22"</s>
CREATE TABLE match_result (club_id VARCHAR, gold VARCHAR); CREATE TABLE coach (club_id VARCHAR)
SELECT T1.club_id, T1.gold FROM match_result AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id ORDER BY COUNT(*) DESC LIMIT 1
How many gold medals has the club with the most coaches won?
<s>[INST]How many gold medals has the club with the most coaches won? Context: CREATE TABLE match_result (club_id VARCHAR, gold VARCHAR); CREATE TABLE coach (club_id VARCHAR)[/INST]SELECT T1.club_id, T1.gold FROM match_result AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id ORDER BY COUNT(*) DESC L...
CREATE TABLE table_101196_1 (population VARCHAR, county VARCHAR, english_name VARCHAR)
SELECT population FROM table_101196_1 WHERE county = "county Mayo" AND english_name = "Carrowteige"
What is the population for County Mayo with the English Name Carrowteige?
<s>[INST]What is the population for County Mayo with the English Name Carrowteige? Context: CREATE TABLE table_101196_1 (population VARCHAR, county VARCHAR, english_name VARCHAR)[/INST]SELECT population FROM table_101196_1 WHERE county = "county Mayo" AND english_name = "Carrowteige"</s>
CREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR)
SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "1"
Which Swimming has a Total larger than 35, and a Volleyball of 1?
<s>[INST]Which Swimming has a Total larger than 35, and a Volleyball of 1? Context: CREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR)[/INST]SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "1"</s>
CREATE TABLE table_2923917_4 (sydney VARCHAR, distance VARCHAR)
SELECT sydney FROM table_2923917_4 WHERE distance = "10km"
How many dollars is listed under Sydney when the distance is 10km?
<s>[INST]How many dollars is listed under Sydney when the distance is 10km? Context: CREATE TABLE table_2923917_4 (sydney VARCHAR, distance VARCHAR)[/INST]SELECT sydney FROM table_2923917_4 WHERE distance = "10km"</s>
CREATE TABLE table_name_38 (year VARCHAR, attendance VARCHAR)
SELECT year FROM table_name_38 WHERE attendance = "90,000"
What year had an attendance of 90,000?
<s>[INST]What year had an attendance of 90,000? Context: CREATE TABLE table_name_38 (year VARCHAR, attendance VARCHAR)[/INST]SELECT year FROM table_name_38 WHERE attendance = "90,000"</s>
CREATE TABLE table_name_84 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT MIN(heat) FROM table_name_84 WHERE nationality = "germany" AND rank > 24
What is Germany's lowest heat ranked after 24?
<s>[INST]What is Germany's lowest heat ranked after 24? Context: CREATE TABLE table_name_84 (heat INTEGER, nationality VARCHAR, rank VARCHAR)[/INST]SELECT MIN(heat) FROM table_name_84 WHERE nationality = "germany" AND rank > 24</s>
CREATE TABLE table_name_54 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_54 WHERE date = "july 8, 2007"
The match played July 8, 2007 had what outcome?
<s>[INST]The match played July 8, 2007 had what outcome? Context: CREATE TABLE table_name_54 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_54 WHERE date = "july 8, 2007"</s>
CREATE TABLE table_name_42 (round VARCHAR, track VARCHAR)
SELECT round FROM table_name_42 WHERE track = "clipsal 500 support"
What Round has the Track Clipsal 500 Support?
<s>[INST]What Round has the Track Clipsal 500 Support? Context: CREATE TABLE table_name_42 (round VARCHAR, track VARCHAR)[/INST]SELECT round FROM table_name_42 WHERE track = "clipsal 500 support"</s>
CREATE TABLE table_name_47 (player VARCHAR, finish VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_47 WHERE finish = "t48" AND year_s__won = "1997"
Who won in 1997 with a finish of t48?
<s>[INST]Who won in 1997 with a finish of t48? Context: CREATE TABLE table_name_47 (player VARCHAR, finish VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_47 WHERE finish = "t48" AND year_s__won = "1997"</s>
CREATE TABLE table_name_33 (rating INTEGER, weekly_rank___number_ VARCHAR, share VARCHAR)
SELECT SUM(rating) FROM table_name_33 WHERE weekly_rank___number_ = "10" AND share < 11
What is the sum of all ratings at a weekly rank of 10 and a share less than 11?
<s>[INST]What is the sum of all ratings at a weekly rank of 10 and a share less than 11? Context: CREATE TABLE table_name_33 (rating INTEGER, weekly_rank___number_ VARCHAR, share VARCHAR)[/INST]SELECT SUM(rating) FROM table_name_33 WHERE weekly_rank___number_ = "10" AND share < 11</s>
CREATE TABLE table_name_78 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)
SELECT MAX(year_named) FROM table_name_78 WHERE latitude = "76.0n" AND diameter__km_ > 548
What year was the geological feature with a latitude of 76.0n and a diameter larger than 548 km was named?
<s>[INST]What year was the geological feature with a latitude of 76.0n and a diameter larger than 548 km was named? Context: CREATE TABLE table_name_78 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)[/INST]SELECT MAX(year_named) FROM table_name_78 WHERE latitude = "76.0n" AND diameter__km_ > 548</s>
CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR)
SELECT MAX(founded) FROM table_1974782_1 WHERE location = "Springfield, Massachusetts"
When was the school in Springfield, Massachusetts founded?
<s>[INST]When was the school in Springfield, Massachusetts founded? Context: CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR)[/INST]SELECT MAX(founded) FROM table_1974782_1 WHERE location = "Springfield, Massachusetts"</s>
CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR)
SELECT davids_team FROM table_23575917_2 WHERE first_broadcast = "8 August 2008"
Name the davids team for 8 august 2008
<s>[INST]Name the davids team for 8 august 2008 Context: CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR)[/INST]SELECT davids_team FROM table_23575917_2 WHERE first_broadcast = "8 August 2008"</s>
CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)
SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007
What is the average expenditures on R&D for Croatia after 2007?
<s>[INST]What is the average expenditures on R&D for Croatia after 2007? Context: CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)[/INST]SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_r...
CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
SELECT name FROM table_name_49 WHERE goals = 6
Which name had 6 goals?
<s>[INST]Which name had 6 goals? Context: CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)[/INST]SELECT name FROM table_name_49 WHERE goals = 6</s>
CREATE TABLE table_16884579_1 (judges VARCHAR, host_s_ VARCHAR)
SELECT COUNT(judges) FROM table_16884579_1 WHERE host_s_ = "Dré Steemans Ann Van Elsen"
Name the number of judges for dré steemans ann van elsen
<s>[INST]Name the number of judges for dré steemans ann van elsen Context: CREATE TABLE table_16884579_1 (judges VARCHAR, host_s_ VARCHAR)[/INST]SELECT COUNT(judges) FROM table_16884579_1 WHERE host_s_ = "Dré Steemans Ann Van Elsen"</s>
CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "La Sorgente Sat 1"
How many values of HDTV correspond to television service of la sorgente sat 1?
<s>[INST]How many values of HDTV correspond to television service of la sorgente sat 1? Context: CREATE TABLE table_15887683_16 (hdtv VARCHAR, television_service VARCHAR)[/INST]SELECT COUNT(hdtv) FROM table_15887683_16 WHERE television_service = "La Sorgente Sat 1"</s>
CREATE TABLE table_24786958_2 (final_score VARCHAR, game_site VARCHAR)
SELECT COUNT(final_score) FROM table_24786958_2 WHERE game_site = "Amsterdam ArenA"
How many final scores were there on the game at Amsterdam arena?
<s>[INST]How many final scores were there on the game at Amsterdam arena? Context: CREATE TABLE table_24786958_2 (final_score VARCHAR, game_site VARCHAR)[/INST]SELECT COUNT(final_score) FROM table_24786958_2 WHERE game_site = "Amsterdam ArenA"</s>