context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_26708105_2 (occurrence VARCHAR, matrix_sim VARCHAR)
SELECT occurrence FROM table_26708105_2 WHERE matrix_sim = "0.925"
Which occurence has the matrix sim marked as 0.925?
<s>[INST]Which occurence has the matrix sim marked as 0.925? Context: CREATE TABLE table_26708105_2 (occurrence VARCHAR, matrix_sim VARCHAR)[/INST]SELECT occurrence FROM table_26708105_2 WHERE matrix_sim = "0.925"</s>
CREATE TABLE table_24639086_3 (written_by VARCHAR, season__number VARCHAR)
SELECT written_by FROM table_24639086_3 WHERE season__number = "2.08"
If the season number is 2.08, who was the episode written by?
<s>[INST]If the season number is 2.08, who was the episode written by? Context: CREATE TABLE table_24639086_3 (written_by VARCHAR, season__number VARCHAR)[/INST]SELECT written_by FROM table_24639086_3 WHERE season__number = "2.08"</s>
CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, population VARCHAR)
SELECT s_mestizo FROM table_1333612_1 WHERE population = 29461933
what's the s mestizo with population being 29461933
<s>[INST]what's the s mestizo with population being 29461933 Context: CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, population VARCHAR)[/INST]SELECT s_mestizo FROM table_1333612_1 WHERE population = 29461933</s>
CREATE TABLE table_name_57 (lost INTEGER, pct VARCHAR, tied VARCHAR, years VARCHAR)
SELECT MAX(lost) FROM table_name_57 WHERE tied > 42 AND years < 132 AND pct < 0.5729000000000001
What is the highest number lost when the number tied is more than 42, the years are less than 132, and the PCT is less than 0.5729000000000001?
<s>[INST]What is the highest number lost when the number tied is more than 42, the years are less than 132, and the PCT is less than 0.5729000000000001? Context: CREATE TABLE table_name_57 (lost INTEGER, pct VARCHAR, tied VARCHAR, years VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_57 WHERE tied > 42 AND years < 132 ...
CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4
Name the total number of total with silver of 6, bronze more than 5 and gold less than 4
<s>[INST]Name the total number of total with silver of 6, bronze more than 5 and gold less than 4 Context: CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4</s>
CREATE TABLE table_name_18 (natural_wood_keyboard VARCHAR, model VARCHAR)
SELECT natural_wood_keyboard FROM table_name_18 WHERE model = "clps306"
Which is Natural Wood Keyboard with a Model of clps306?
<s>[INST]Which is Natural Wood Keyboard with a Model of clps306? Context: CREATE TABLE table_name_18 (natural_wood_keyboard VARCHAR, model VARCHAR)[/INST]SELECT natural_wood_keyboard FROM table_name_18 WHERE model = "clps306"</s>
CREATE TABLE table_name_21 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT SUM(silver) FROM table_name_21 WHERE gold < 1 AND rank = "8" AND total > 1
How many Silver medals did the Nation ranking 8 with more than 1 Total medal but less than 1 Gold receive?
<s>[INST]How many Silver medals did the Nation ranking 8 with more than 1 Total medal but less than 1 Gold receive? Context: CREATE TABLE table_name_21 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_21 WHERE gold < 1 AND rank = "8" AND total > 1</s>
CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 0
What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0?
<s>[INST]What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0? Context: CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 0</s>
CREATE TABLE teaches (ID VARCHAR, semester VARCHAR, YEAR VARCHAR)
SELECT COUNT(DISTINCT ID) FROM teaches WHERE semester = 'Spring' AND YEAR = 2010
Find the total number of instructors who teach a course in the Spring 2010 semester.
<s>[INST]Find the total number of instructors who teach a course in the Spring 2010 semester. Context: CREATE TABLE teaches (ID VARCHAR, semester VARCHAR, YEAR VARCHAR)[/INST]SELECT COUNT(DISTINCT ID) FROM teaches WHERE semester = 'Spring' AND YEAR = 2010</s>
CREATE TABLE table_name_34 (gecko VARCHAR, trident VARCHAR)
SELECT gecko FROM table_name_34 WHERE trident = "font"
What is the Gecko value for the item that has a Trident value of 'font'?
<s>[INST]What is the Gecko value for the item that has a Trident value of 'font'? Context: CREATE TABLE table_name_34 (gecko VARCHAR, trident VARCHAR)[/INST]SELECT gecko FROM table_name_34 WHERE trident = "font"</s>
CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_12 WHERE venue = "arden street oval"
What date did the game at Arden Street Oval take place?
<s>[INST]What date did the game at Arden Street Oval take place? Context: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE venue = "arden street oval"</s>
CREATE TABLE table_25505246_7 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_25505246_7 WHERE opponent = "Andreja Klepač"
What were the results when Hanne Skak Jensen faced Andreja Klepač as opponent?
<s>[INST]What were the results when Hanne Skak Jensen faced Andreja Klepač as opponent? Context: CREATE TABLE table_25505246_7 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_25505246_7 WHERE opponent = "Andreja Klepač"</s>
CREATE TABLE table_name_1 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_1 WHERE qual = "144.817"
Name the finish which has qual of 144.817
<s>[INST]Name the finish which has qual of 144.817 Context: CREATE TABLE table_name_1 (finish VARCHAR, qual VARCHAR)[/INST]SELECT finish FROM table_name_1 WHERE qual = "144.817"</s>
CREATE TABLE table_28177800_5 (example VARCHAR, early_modern_english VARCHAR)
SELECT example FROM table_28177800_5 WHERE early_modern_english = "( [x] → /f/) /ɔf/"
What is the example of the Early Modern English ( [x] → /f/) /ɔf/?
<s>[INST]What is the example of the Early Modern English ( [x] → /f/) /ɔf/? Context: CREATE TABLE table_28177800_5 (example VARCHAR, early_modern_english VARCHAR)[/INST]SELECT example FROM table_28177800_5 WHERE early_modern_english = "( [x] → /f/) /ɔf/"</s>
CREATE TABLE table_name_70 (event VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
SELECT event FROM table_name_70 WHERE round = 1 AND res = "win" AND record = "15-4"
Which event was in round 1, resulted in a win, and a record of 15-4?
<s>[INST]Which event was in round 1, resulted in a win, and a record of 15-4? Context: CREATE TABLE table_name_70 (event VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)[/INST]SELECT event FROM table_name_70 WHERE round = 1 AND res = "win" AND record = "15-4"</s>
CREATE TABLE table_name_2 (outcome VARCHAR, opponents VARCHAR)
SELECT outcome FROM table_name_2 WHERE opponents = "bob hewitt frew mcmillan"
What Outcome has Opponents of bob hewitt frew mcmillan?
<s>[INST]What Outcome has Opponents of bob hewitt frew mcmillan? Context: CREATE TABLE table_name_2 (outcome VARCHAR, opponents VARCHAR)[/INST]SELECT outcome FROM table_name_2 WHERE opponents = "bob hewitt frew mcmillan"</s>
CREATE TABLE table_name_70 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_70 WHERE to_par = "+3" AND player = "ed sneed"
What country is player ed sneed, who has a to par of +3, from?
<s>[INST]What country is player ed sneed, who has a to par of +3, from? Context: CREATE TABLE table_name_70 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_70 WHERE to_par = "+3" AND player = "ed sneed"</s>
CREATE TABLE table_10610087_3 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_10610087_3 WHERE no_in_season = 9
what is the original air date of the episode no in season 9?
<s>[INST]what is the original air date of the episode no in season 9? Context: CREATE TABLE table_10610087_3 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_10610087_3 WHERE no_in_season = 9</s>
CREATE TABLE table_name_87 (coaster_name VARCHAR, location VARCHAR)
SELECT coaster_name FROM table_name_87 WHERE location = "sandusky, ohio"
Which coaster is located in sandusky, Ohio?
<s>[INST]Which coaster is located in sandusky, Ohio? Context: CREATE TABLE table_name_87 (coaster_name VARCHAR, location VARCHAR)[/INST]SELECT coaster_name FROM table_name_87 WHERE location = "sandusky, ohio"</s>
CREATE TABLE table_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)
SELECT rr1_pts FROM table_21489362_2 WHERE team_name = "Spanish Challenge"
When spanish challenge is the team name what are the rr1 points?
<s>[INST]When spanish challenge is the team name what are the rr1 points? Context: CREATE TABLE table_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)[/INST]SELECT rr1_pts FROM table_21489362_2 WHERE team_name = "Spanish Challenge"</s>
CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)
SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id
Show the average amount of transactions for different lots.
<s>[INST]Show the average amount of transactions for different lots. Context: CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)[/INST]SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transact...
CREATE TABLE table_name_90 (skip VARCHAR, second VARCHAR)
SELECT skip FROM table_name_90 WHERE second = "zrinka muhek"
Which skip has Zrinka Muhek as Second?
<s>[INST]Which skip has Zrinka Muhek as Second? Context: CREATE TABLE table_name_90 (skip VARCHAR, second VARCHAR)[/INST]SELECT skip FROM table_name_90 WHERE second = "zrinka muhek"</s>
CREATE TABLE table_name_57 (team VARCHAR, school VARCHAR)
SELECT team FROM table_name_57 WHERE school = "seaford"
What team name belongs to Seaford?
<s>[INST]What team name belongs to Seaford? Context: CREATE TABLE table_name_57 (team VARCHAR, school VARCHAR)[/INST]SELECT team FROM table_name_57 WHERE school = "seaford"</s>
CREATE TABLE table_name_24 (driver VARCHAR, rounds VARCHAR)
SELECT driver FROM table_name_24 WHERE rounds = "3"
Name the driver for 3 rounds
<s>[INST]Name the driver for 3 rounds Context: CREATE TABLE table_name_24 (driver VARCHAR, rounds VARCHAR)[/INST]SELECT driver FROM table_name_24 WHERE rounds = "3"</s>
CREATE TABLE station (LOCATION VARCHAR)
SELECT LOCATION FROM station GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1
Show the location with most number of train stations.
<s>[INST]Show the location with most number of train stations. Context: CREATE TABLE station (LOCATION VARCHAR)[/INST]SELECT LOCATION FROM station GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_37 (chassis VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_37 WHERE entrant = "john mecom"
Which chassis had an entrant of John Mecom?
<s>[INST]Which chassis had an entrant of John Mecom? Context: CREATE TABLE table_name_37 (chassis VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_37 WHERE entrant = "john mecom"</s>
CREATE TABLE table_name_9 (name VARCHAR, locomotive VARCHAR)
SELECT name FROM table_name_9 WHERE locomotive = "n474"
What is the name for the locomotive n474?
<s>[INST]What is the name for the locomotive n474? Context: CREATE TABLE table_name_9 (name VARCHAR, locomotive VARCHAR)[/INST]SELECT name FROM table_name_9 WHERE locomotive = "n474"</s>
CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR)
SELECT best_female_artist FROM table_22546460_4 WHERE best_male_lyricist = "Best R&B Contributor"
Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?
<s>[INST]Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist? Context: CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR)[/INST]SELECT best_female_artist FROM table_22546460_4 WHERE best_male_lyricist = "Best R&B Contributor"</s>
CREATE TABLE table_name_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)
SELECT COUNT(overall) FROM table_name_93 WHERE pick__number > 2 AND name = "claude humphrey"
How much Overall has a Pick # larger than 2, and a Name of claude humphrey?
<s>[INST]How much Overall has a Pick # larger than 2, and a Name of claude humphrey? Context: CREATE TABLE table_name_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_93 WHERE pick__number > 2 AND name = "claude humphrey"</s>
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_95 WHERE player = "bob tway"
Where does Bob Tway Place?
<s>[INST]Where does Bob Tway Place? Context: CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_95 WHERE player = "bob tway"</s>
CREATE TABLE table_name_89 (minister VARCHAR, party VARCHAR)
SELECT minister FROM table_name_89 WHERE party = "an"
What is Minister, when Party is "AN"?
<s>[INST]What is Minister, when Party is "AN"? Context: CREATE TABLE table_name_89 (minister VARCHAR, party VARCHAR)[/INST]SELECT minister FROM table_name_89 WHERE party = "an"</s>
CREATE TABLE table_12286195_1 (celebrity VARCHAR, raised VARCHAR)
SELECT celebrity FROM table_12286195_1 WHERE raised = "03"
Which celebrity was raised 03?
<s>[INST]Which celebrity was raised 03? Context: CREATE TABLE table_12286195_1 (celebrity VARCHAR, raised VARCHAR)[/INST]SELECT celebrity FROM table_12286195_1 WHERE raised = "03"</s>
CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_91 WHERE date = "december 22, 1980"
Mean attendance for December 22, 1980?
<s>[INST]Mean attendance for December 22, 1980? Context: CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_91 WHERE date = "december 22, 1980"</s>
CREATE TABLE table_name_26 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_name_26 WHERE part_4 = "geholfen gedroschen"
What is the class for Geholfen Gedroschen in part 4?
<s>[INST]What is the class for Geholfen Gedroschen in part 4? Context: CREATE TABLE table_name_26 (class VARCHAR, part_4 VARCHAR)[/INST]SELECT class FROM table_name_26 WHERE part_4 = "geholfen gedroschen"</s>
CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR)
SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)"
What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?
<s>[INST]What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)? Context: CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR)[/INST]SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)"</s>
CREATE TABLE table_name_62 (team VARCHAR, rebounds VARCHAR)
SELECT team FROM table_name_62 WHERE rebounds = 48
Which team has 48 rebounds?
<s>[INST]Which team has 48 rebounds? Context: CREATE TABLE table_name_62 (team VARCHAR, rebounds VARCHAR)[/INST]SELECT team FROM table_name_62 WHERE rebounds = 48</s>
CREATE TABLE table_name_74 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_74 WHERE player = "alonzo mourning"
What School did Player Alonzo Mourning attend?
<s>[INST]What School did Player Alonzo Mourning attend? Context: CREATE TABLE table_name_74 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_74 WHERE player = "alonzo mourning"</s>
CREATE TABLE table_name_47 (date VARCHAR, nation VARCHAR, venue VARCHAR)
SELECT date FROM table_name_47 WHERE nation = "russia" AND venue = "madrid , spain"
What is the Date when Russia was the nation and the venue was madrid , spain?
<s>[INST]What is the Date when Russia was the nation and the venue was madrid , spain? Context: CREATE TABLE table_name_47 (date VARCHAR, nation VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_47 WHERE nation = "russia" AND venue = "madrid , spain"</s>
CREATE TABLE table_23662272_4 (total_points_earned VARCHAR, average VARCHAR)
SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "21.3"
What is the total points earned total number if the average is 21.3?
<s>[INST]What is the total points earned total number if the average is 21.3? Context: CREATE TABLE table_23662272_4 (total_points_earned VARCHAR, average VARCHAR)[/INST]SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "21.3"</s>
CREATE TABLE table_name_47 (total_trips__am_pm_ VARCHAR, operated_by VARCHAR)
SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by = "atlantic coast charters"
What trips are operated by Atlantic coast charters?
<s>[INST]What trips are operated by Atlantic coast charters? Context: CREATE TABLE table_name_47 (total_trips__am_pm_ VARCHAR, operated_by VARCHAR)[/INST]SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by = "atlantic coast charters"</s>
CREATE TABLE table_1137696_3 (winning_driver VARCHAR, round VARCHAR)
SELECT winning_driver FROM table_1137696_3 WHERE round = 7
What is the winning driver of round 7?
<s>[INST]What is the winning driver of round 7? Context: CREATE TABLE table_1137696_3 (winning_driver VARCHAR, round VARCHAR)[/INST]SELECT winning_driver FROM table_1137696_3 WHERE round = 7</s>
CREATE TABLE table_25391981_20 (viewers__millions_ VARCHAR, episode_number VARCHAR)
SELECT viewers__millions_ FROM table_25391981_20 WHERE episode_number = "10.18"
How many viewers in millions watched the episode with the number 10.18?
<s>[INST]How many viewers in millions watched the episode with the number 10.18? Context: CREATE TABLE table_25391981_20 (viewers__millions_ VARCHAR, episode_number VARCHAR)[/INST]SELECT viewers__millions_ FROM table_25391981_20 WHERE episode_number = "10.18"</s>
CREATE TABLE student (fname VARCHAR, age INTEGER)
SELECT fname FROM student WHERE age > 20
Find the first name of students who is older than 20.
<s>[INST]Find the first name of students who is older than 20. Context: CREATE TABLE student (fname VARCHAR, age INTEGER)[/INST]SELECT fname FROM student WHERE age > 20</s>
CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR)
SELECT candidate FROM table_26263322_1 WHERE age = 27
What is the candidate whose age is 27?
<s>[INST]What is the candidate whose age is 27? Context: CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR)[/INST]SELECT candidate FROM table_26263322_1 WHERE age = 27</s>
CREATE TABLE table_name_26 (pick INTEGER, year VARCHAR)
SELECT AVG(pick) FROM table_name_26 WHERE year = 1983
What is the average pick in 1983?
<s>[INST]What is the average pick in 1983? Context: CREATE TABLE table_name_26 (pick INTEGER, year VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_26 WHERE year = 1983</s>
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR)
SELECT original_airdate FROM table_27547668_2 WHERE _number = 6
What is the original air date of # 6?
<s>[INST]What is the original air date of # 6? Context: CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR)[/INST]SELECT original_airdate FROM table_27547668_2 WHERE _number = 6</s>
CREATE TABLE Documents (document_id VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR)
SELECT document_id FROM Documents EXCEPT SELECT document_id FROM Documents_with_expenses
What are the ids of documents which don't have expense budgets?
<s>[INST]What are the ids of documents which don't have expense budgets? Context: CREATE TABLE Documents (document_id VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR)[/INST]SELECT document_id FROM Documents EXCEPT SELECT document_id FROM Documents_with_expenses</s>
CREATE TABLE table_name_30 (number INTEGER, school_club_team VARCHAR)
SELECT MIN(number) FROM table_name_30 WHERE school_club_team = "misamis institute"
What is the lowest Number, when School/Club Team is Misamis Institute?
<s>[INST]What is the lowest Number, when School/Club Team is Misamis Institute? Context: CREATE TABLE table_name_30 (number INTEGER, school_club_team VARCHAR)[/INST]SELECT MIN(number) FROM table_name_30 WHERE school_club_team = "misamis institute"</s>
CREATE TABLE table_name_99 (track INTEGER, song_title VARCHAR)
SELECT SUM(track) FROM table_name_99 WHERE song_title = "raised on rock"
I want the sum of tracks for raised on rock
<s>[INST]I want the sum of tracks for raised on rock Context: CREATE TABLE table_name_99 (track INTEGER, song_title VARCHAR)[/INST]SELECT SUM(track) FROM table_name_99 WHERE song_title = "raised on rock"</s>
CREATE TABLE table_name_17 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_17 WHERE date = "february 9"
What is the Game held on february 9?
<s>[INST]What is the Game held on february 9? Context: CREATE TABLE table_name_17 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_17 WHERE date = "february 9"</s>
CREATE TABLE table_name_72 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_72 WHERE competition = "friendly" AND date = "17 december 1967"
Where was the friendly competition on 17 December 1967 played at?
<s>[INST]Where was the friendly competition on 17 December 1967 played at? Context: CREATE TABLE table_name_72 (venue VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_72 WHERE competition = "friendly" AND date = "17 december 1967"</s>
CREATE TABLE table_name_98 (years VARCHAR, actor VARCHAR)
SELECT years FROM table_name_98 WHERE actor = "martin sacks"
Which years did Martin Sacks work on a soap opera?
<s>[INST]Which years did Martin Sacks work on a soap opera? Context: CREATE TABLE table_name_98 (years VARCHAR, actor VARCHAR)[/INST]SELECT years FROM table_name_98 WHERE actor = "martin sacks"</s>
CREATE TABLE table_25816476_2 (team_guest_captain VARCHAR, episode VARCHAR)
SELECT team_guest_captain FROM table_25816476_2 WHERE episode = 2
Who was the team guest captain for episode 2?
<s>[INST]Who was the team guest captain for episode 2? Context: CREATE TABLE table_25816476_2 (team_guest_captain VARCHAR, episode VARCHAR)[/INST]SELECT team_guest_captain FROM table_25816476_2 WHERE episode = 2</s>
CREATE TABLE table_name_49 (power VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
SELECT power FROM table_name_49 WHERE acceleration_0_100km_h__0_62mph_ = "9.1 s"
What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s?
<s>[INST]What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s? Context: CREATE TABLE table_name_49 (power VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)[/INST]SELECT power FROM table_name_49 WHERE acceleration_0_100km_h__0_62mph_ = "9.1 s"</s>
CREATE TABLE table_name_37 (money___ INTEGER, place VARCHAR)
SELECT SUM(money___) AS $__ FROM table_name_37 WHERE place = "5"
What is the Money of the Player in Place 5?
<s>[INST]What is the Money of the Player in Place 5? Context: CREATE TABLE table_name_37 (money___ INTEGER, place VARCHAR)[/INST]SELECT SUM(money___) AS $__ FROM table_name_37 WHERE place = "5"</s>
CREATE TABLE table_name_42 (text VARCHAR, simplified_characters VARCHAR)
SELECT text FROM table_name_42 WHERE simplified_characters = "心猿 … 意马"
Which text has simplified characters of 心猿 … 意马?
<s>[INST]Which text has simplified characters of 心猿 … 意马? Context: CREATE TABLE table_name_42 (text VARCHAR, simplified_characters VARCHAR)[/INST]SELECT text FROM table_name_42 WHERE simplified_characters = "心猿 … 意马"</s>
CREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR)
SELECT time FROM table_name_12 WHERE jockey = "cornelio velasquez"
What is the time for when cornelio velasquez was the jockey?
<s>[INST]What is the time for when cornelio velasquez was the jockey? Context: CREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR)[/INST]SELECT time FROM table_name_12 WHERE jockey = "cornelio velasquez"</s>
CREATE TABLE Assets (maintenance_contract_id VARCHAR); CREATE TABLE Maintenance_Contracts (maintenance_contract_id VARCHAR)
SELECT COUNT(*), T1.maintenance_contract_id FROM Maintenance_Contracts AS T1 JOIN Assets AS T2 ON T1.maintenance_contract_id = T2.maintenance_contract_id GROUP BY T1.maintenance_contract_id
How many assets does each maintenance contract contain? List the number and the contract id.
<s>[INST]How many assets does each maintenance contract contain? List the number and the contract id. Context: CREATE TABLE Assets (maintenance_contract_id VARCHAR); CREATE TABLE Maintenance_Contracts (maintenance_contract_id VARCHAR)[/INST]SELECT COUNT(*), T1.maintenance_contract_id FROM Maintenance_Contracts AS T1 JO...
CREATE TABLE table_name_62 (points VARCHAR, year INTEGER)
SELECT COUNT(points) FROM table_name_62 WHERE year > 1988
with year greater than 1988 what is the total number of points?
<s>[INST]with year greater than 1988 what is the total number of points? Context: CREATE TABLE table_name_62 (points VARCHAR, year INTEGER)[/INST]SELECT COUNT(points) FROM table_name_62 WHERE year > 1988</s>
CREATE TABLE table_21977627_1 (driver VARCHAR, entrant VARCHAR)
SELECT COUNT(driver) FROM table_21977627_1 WHERE entrant = "Bob Gerard Racing"
How many drivers did Bob Gerard Racing have?
<s>[INST]How many drivers did Bob Gerard Racing have? Context: CREATE TABLE table_21977627_1 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT COUNT(driver) FROM table_21977627_1 WHERE entrant = "Bob Gerard Racing"</s>
CREATE TABLE table_name_49 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR)
SELECT european_competitions FROM table_name_49 WHERE tier = 2 AND season = "2004–05"
Tier of 2, and a Season of 2004–05 is what European competitions?
<s>[INST]Tier of 2, and a Season of 2004–05 is what European competitions? Context: CREATE TABLE table_name_49 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR)[/INST]SELECT european_competitions FROM table_name_49 WHERE tier = 2 AND season = "2004–05"</s>
CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR)
SELECT social_ao FROM table_name_68 WHERE president = "harm van leeuwen"
What Social AO has a President of harm van leeuwen?
<s>[INST]What Social AO has a President of harm van leeuwen? Context: CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR)[/INST]SELECT social_ao FROM table_name_68 WHERE president = "harm van leeuwen"</s>
CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR)
SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204
What is the rank associated with the team that has more than 2 wins and has greater than 204 points?
<s>[INST]What is the rank associated with the team that has more than 2 wins and has greater than 204 points? Context: CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR)[/INST]SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204</s>
CREATE TABLE table_name_26 (game INTEGER, team VARCHAR)
SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento"
What was the latest game that Sacramento played?
<s>[INST]What was the latest game that Sacramento played? Context: CREATE TABLE table_name_26 (game INTEGER, team VARCHAR)[/INST]SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento"</s>
CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR)
SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13"
Which U.S. Hot has 13 as the U.S. R&B?
<s>[INST]Which U.S. Hot has 13 as the U.S. R&B? Context: CREATE TABLE table_name_95 (us_hot_100 VARCHAR, us_r VARCHAR, b VARCHAR)[/INST]SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13"</s>
CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson"
How many episodes were directed by Tim Matheson?
<s>[INST]How many episodes were directed by Tim Matheson? Context: CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson"</s>
CREATE TABLE table_name_44 (winner_and_nominees VARCHAR, director VARCHAR)
SELECT winner_and_nominees FROM table_name_44 WHERE director = "cary joji fukunaga"
Who was the winner and nominees for the movie directed by cary joji fukunaga?
<s>[INST]Who was the winner and nominees for the movie directed by cary joji fukunaga? Context: CREATE TABLE table_name_44 (winner_and_nominees VARCHAR, director VARCHAR)[/INST]SELECT winner_and_nominees FROM table_name_44 WHERE director = "cary joji fukunaga"</s>
CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)
SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin"
Which Model has Comments of curved daggerboards. design: morelli und melvin?
<s>[INST]Which Model has Comments of curved daggerboards. design: morelli und melvin? Context: CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)[/INST]SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin"</s>
CREATE TABLE table_name_68 (played INTEGER, draw VARCHAR, points VARCHAR)
SELECT AVG(played) FROM table_name_68 WHERE draw = 5 AND points > 43
What's the average Played for a draw of 5 and more than 43 points?
<s>[INST]What's the average Played for a draw of 5 and more than 43 points? Context: CREATE TABLE table_name_68 (played INTEGER, draw VARCHAR, points VARCHAR)[/INST]SELECT AVG(played) FROM table_name_68 WHERE draw = 5 AND points > 43</s>
CREATE TABLE table_name_59 (discipline VARCHAR, championship VARCHAR)
SELECT discipline FROM table_name_59 WHERE championship = "euroboss"
What was the discipline for the euroboss championship?
<s>[INST]What was the discipline for the euroboss championship? Context: CREATE TABLE table_name_59 (discipline VARCHAR, championship VARCHAR)[/INST]SELECT discipline FROM table_name_59 WHERE championship = "euroboss"</s>
CREATE TABLE table_19930660_3 (winner VARCHAR, rufus_guest VARCHAR)
SELECT winner FROM table_19930660_3 WHERE rufus_guest = "Sean Lock"
What is the resulting score for the episodes where Rufus's guest is Sean Lock?
<s>[INST]What is the resulting score for the episodes where Rufus's guest is Sean Lock? Context: CREATE TABLE table_19930660_3 (winner VARCHAR, rufus_guest VARCHAR)[/INST]SELECT winner FROM table_19930660_3 WHERE rufus_guest = "Sean Lock"</s>
CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)
SELECT license FROM table_name_23 WHERE release_date = "2009-08"
Which licence has a release date of 2009-08?
<s>[INST]Which licence has a release date of 2009-08? Context: CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)[/INST]SELECT license FROM table_name_23 WHERE release_date = "2009-08"</s>
CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)
SELECT parliament FROM table_1889233_2 WHERE name = "Lina Loh Woon Lee"
what parliament's name is lina loh woon lee?
<s>[INST]what parliament's name is lina loh woon lee? Context: CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)[/INST]SELECT parliament FROM table_1889233_2 WHERE name = "Lina Loh Woon Lee"</s>
CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_91 WHERE week = 12
Who did the Browns play week 12?
<s>[INST]Who did the Browns play week 12? Context: CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_91 WHERE week = 12</s>
CREATE TABLE table_name_38 (performance VARCHAR, usage VARCHAR, class VARCHAR)
SELECT performance FROM table_name_38 WHERE usage = "hepa" AND class = "h14"
Which Performance has a Usage of hepa and a Class of h14?
<s>[INST]Which Performance has a Usage of hepa and a Class of h14? Context: CREATE TABLE table_name_38 (performance VARCHAR, usage VARCHAR, class VARCHAR)[/INST]SELECT performance FROM table_name_38 WHERE usage = "hepa" AND class = "h14"</s>
CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)
SELECT partial_thromboplastin_time FROM table_name_76 WHERE prothrombin_time = "prolonged" AND condition = "factor v deficiency"
Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?
<s>[INST]Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency? Context: CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)[/INST]SELECT partial_thromboplastin_time FROM table_name_76 WHERE prothrombin_time...
CREATE TABLE table_name_48 (nation VARCHAR, result VARCHAR, year VARCHAR, competition VARCHAR)
SELECT nation FROM table_name_48 WHERE year = 2012 AND competition = "preseason" AND result = "w 0–3"
What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0–3?
<s>[INST]What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0–3? Context: CREATE TABLE table_name_48 (nation VARCHAR, result VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT nation FROM table_name_48 WHERE year = 2012 AND competition = "preseason" AND result = "w 0–3"</s...
CREATE TABLE table_name_32 (river_mile VARCHAR, lock_side VARCHAR, pool_length__miles_ VARCHAR)
SELECT river_mile FROM table_name_32 WHERE lock_side = "rdb" AND pool_length__miles_ = "55.4"
What is the River Mile with a RDB lock side and a pool length of 55.4?
<s>[INST]What is the River Mile with a RDB lock side and a pool length of 55.4? Context: CREATE TABLE table_name_32 (river_mile VARCHAR, lock_side VARCHAR, pool_length__miles_ VARCHAR)[/INST]SELECT river_mile FROM table_name_32 WHERE lock_side = "rdb" AND pool_length__miles_ = "55.4"</s>
CREATE TABLE table_27487712_1 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_27487712_1 WHERE incumbent = "John Lewis"
What was the result of the election with incumbent john lewis?
<s>[INST]What was the result of the election with incumbent john lewis? Context: CREATE TABLE table_27487712_1 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_27487712_1 WHERE incumbent = "John Lewis"</s>
CREATE TABLE table_27653955_1 (ihsa_cheerleading_class VARCHAR, enrollment VARCHAR)
SELECT ihsa_cheerleading_class FROM table_27653955_1 WHERE enrollment = 2600
What is the IHSA cheerleading class for the enrollment of 2600?
<s>[INST]What is the IHSA cheerleading class for the enrollment of 2600? Context: CREATE TABLE table_27653955_1 (ihsa_cheerleading_class VARCHAR, enrollment VARCHAR)[/INST]SELECT ihsa_cheerleading_class FROM table_27653955_1 WHERE enrollment = 2600</s>
CREATE TABLE table_15869204_5 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_15869204_5 WHERE date = "December 14"
Name the high assists for december 14
<s>[INST]Name the high assists for december 14 Context: CREATE TABLE table_15869204_5 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_15869204_5 WHERE date = "December 14"</s>
CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)
SELECT surname FROM table_name_73 WHERE bats = "r" AND position = "p" AND dob = "20 may 1989"
Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
<s>[INST]Which Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989? Context: CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)[/INST]SELECT surname FROM table_name_73 WHERE bats = "r" AND position = "p" AND dob = "20 may 1989"</s>
CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, advisor VARCHAR)
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.advisor = 1121
List the clubs that have at least a member with advisor "1121".
<s>[INST]List the clubs that have at least a member with advisor "1121". Context: CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, advisor VARCHAR)[/INST]SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club...
CREATE TABLE table_10527215_3 (report VARCHAR, name VARCHAR)
SELECT report FROM table_10527215_3 WHERE name = "True Value 500"
What's the report for the True Value 500?
<s>[INST]What's the report for the True Value 500? Context: CREATE TABLE table_10527215_3 (report VARCHAR, name VARCHAR)[/INST]SELECT report FROM table_10527215_3 WHERE name = "True Value 500"</s>
CREATE TABLE table_20098199_2 (representative VARCHAR, religion VARCHAR, prior_background VARCHAR)
SELECT representative FROM table_20098199_2 WHERE religion = "United Methodist" AND prior_background = "Congressional aide"
Who has a religion of United Methodist and a prior background of a Congressional Aide?
<s>[INST]Who has a religion of United Methodist and a prior background of a Congressional Aide? Context: CREATE TABLE table_20098199_2 (representative VARCHAR, religion VARCHAR, prior_background VARCHAR)[/INST]SELECT representative FROM table_20098199_2 WHERE religion = "United Methodist" AND prior_background = "Congre...
CREATE TABLE table_name_25 (state VARCHAR, city VARCHAR)
SELECT state FROM table_name_25 WHERE city = "storrs"
Which state includes the city of Storrs?
<s>[INST]Which state includes the city of Storrs? Context: CREATE TABLE table_name_25 (state VARCHAR, city VARCHAR)[/INST]SELECT state FROM table_name_25 WHERE city = "storrs"</s>
CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_95 WHERE away_team = "rochdale"
When was the game played that had Rochdale as the away team?
<s>[INST]When was the game played that had Rochdale as the away team? Context: CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE away_team = "rochdale"</s>
CREATE TABLE table_name_87 (matches INTEGER, s_rate VARCHAR, balls VARCHAR, average VARCHAR)
SELECT SUM(matches) FROM table_name_87 WHERE balls < 224 AND average > 38.25 AND s_rate > 139.09
How many Matches have Balls smaller than 224, and an Average larger than 38.25, and an S/Rate larger than 139.09?
<s>[INST]How many Matches have Balls smaller than 224, and an Average larger than 38.25, and an S/Rate larger than 139.09? Context: CREATE TABLE table_name_87 (matches INTEGER, s_rate VARCHAR, balls VARCHAR, average VARCHAR)[/INST]SELECT SUM(matches) FROM table_name_87 WHERE balls < 224 AND average > 38.25 AND s_rate >...
CREATE TABLE table_name_38 (population INTEGER, name_of_city VARCHAR)
SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote"
What is the population of Chimbote?
<s>[INST]What is the population of Chimbote? Context: CREATE TABLE table_name_38 (population INTEGER, name_of_city VARCHAR)[/INST]SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote"</s>
CREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR)
SELECT COUNT(losses) FROM table_name_65 WHERE central_murray = "tooleybuc manangatang" AND draws < 0
What is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws?
<s>[INST]What is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws? Context: CREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_65 WHERE central_murray = "tooleybuc manangatang" AND draws < 0<...
CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)
SELECT year_joined FROM table_name_10 WHERE school = "western"
In what year did the team from the Western school join the conference?
<s>[INST]In what year did the team from the Western school join the conference? Context: CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)[/INST]SELECT year_joined FROM table_name_10 WHERE school = "western"</s>
CREATE TABLE table_name_81 (round INTEGER, school VARCHAR, pick VARCHAR)
SELECT AVG(round) FROM table_name_81 WHERE school = "georgia tech" AND pick > 103
What is the average round for Georgia Tech with a pick greater than 103?
<s>[INST]What is the average round for Georgia Tech with a pick greater than 103? Context: CREATE TABLE table_name_81 (round INTEGER, school VARCHAR, pick VARCHAR)[/INST]SELECT AVG(round) FROM table_name_81 WHERE school = "georgia tech" AND pick > 103</s>
CREATE TABLE table_name_50 (result VARCHAR, kick_off VARCHAR)
SELECT result FROM table_name_50 WHERE kick_off = "2007-03-06, 20:45"
WHAT WAS THE SCORE OF THE GAME WITH A 2007-03-06, 20:45 KICKOFF?
<s>[INST]WHAT WAS THE SCORE OF THE GAME WITH A 2007-03-06, 20:45 KICKOFF? Context: CREATE TABLE table_name_50 (result VARCHAR, kick_off VARCHAR)[/INST]SELECT result FROM table_name_50 WHERE kick_off = "2007-03-06, 20:45"</s>
CREATE TABLE table_name_84 (session VARCHAR, event VARCHAR)
SELECT session FROM table_name_84 WHERE event = "fall nationals"
The Fall Nationals has what sessions?
<s>[INST]The Fall Nationals has what sessions? Context: CREATE TABLE table_name_84 (session VARCHAR, event VARCHAR)[/INST]SELECT session FROM table_name_84 WHERE event = "fall nationals"</s>
CREATE TABLE table_name_38 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_38 WHERE bronze > 1 AND silver > 2
How much Gold has a Bronze larger than 1, and a Silver larger than 2?
<s>[INST]How much Gold has a Bronze larger than 1, and a Silver larger than 2? Context: CREATE TABLE table_name_38 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_38 WHERE bronze > 1 AND silver > 2</s>
CREATE TABLE table_name_94 (grid INTEGER, laps INTEGER)
SELECT SUM(grid) FROM table_name_94 WHERE laps > 20
what is the grid when the laps is more than 20?
<s>[INST]what is the grid when the laps is more than 20? Context: CREATE TABLE table_name_94 (grid INTEGER, laps INTEGER)[/INST]SELECT SUM(grid) FROM table_name_94 WHERE laps > 20</s>
CREATE TABLE table_name_21 (silver VARCHAR, year VARCHAR, gold VARCHAR)
SELECT silver FROM table_name_21 WHERE year < 2010 AND gold = "chan ming shu"
Who won silver in the year before 2010, the year Chan Ming Shu won gold?
<s>[INST]Who won silver in the year before 2010, the year Chan Ming Shu won gold? Context: CREATE TABLE table_name_21 (silver VARCHAR, year VARCHAR, gold VARCHAR)[/INST]SELECT silver FROM table_name_21 WHERE year < 2010 AND gold = "chan ming shu"</s>
CREATE TABLE table_name_34 (ceased_to_be_duchess VARCHAR, birth VARCHAR)
SELECT ceased_to_be_duchess FROM table_name_34 WHERE birth = "9 october 1574"
Which duchess was born on 9 october 1574?
<s>[INST]Which duchess was born on 9 october 1574? Context: CREATE TABLE table_name_34 (ceased_to_be_duchess VARCHAR, birth VARCHAR)[/INST]SELECT ceased_to_be_duchess FROM table_name_34 WHERE birth = "9 october 1574"</s>
CREATE TABLE table_19722233_5 (assists VARCHAR, minutes VARCHAR)
SELECT assists FROM table_19722233_5 WHERE minutes = 195
how many assists did the player who played 195 minutes make
<s>[INST]how many assists did the player who played 195 minutes make Context: CREATE TABLE table_19722233_5 (assists VARCHAR, minutes VARCHAR)[/INST]SELECT assists FROM table_19722233_5 WHERE minutes = 195</s>
CREATE TABLE table_name_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_name_9 WHERE team = "@ toronto"
who had the high rebounds when the team was @ toronto?
<s>[INST]who had the high rebounds when the team was @ toronto? Context: CREATE TABLE table_name_9 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_name_9 WHERE team = "@ toronto"</s>