context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_97 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_97 WHERE team = "san antonio"
What was the score for the game against San Antonio?
<s>[INST]What was the score for the game against San Antonio? Context: CREATE TABLE table_name_97 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE team = "san antonio"</s>
CREATE TABLE table_name_72 (total INTEGER, silver VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_72 WHERE silver = 0 AND gold = 1
What is the sum of Total, when Silver is 0, and when Gold is 1?
<s>[INST]What is the sum of Total, when Silver is 0, and when Gold is 1? Context: CREATE TABLE table_name_72 (total INTEGER, silver VARCHAR, gold VARCHAR)[/INST]SELECT SUM(total) FROM table_name_72 WHERE silver = 0 AND gold = 1</s>
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"
What is the quarterfinal week for Austin Anderson?
<s>[INST]What is the quarterfinal week for Austin Anderson? Context: CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)[/INST]SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"</s>
CREATE TABLE table_name_59 (result VARCHAR, goal INTEGER)
SELECT result FROM table_name_59 WHERE goal > 4
What's the result of a goal larger than 4?
<s>[INST]What's the result of a goal larger than 4? Context: CREATE TABLE table_name_59 (result VARCHAR, goal INTEGER)[/INST]SELECT result FROM table_name_59 WHERE goal > 4</s>
CREATE TABLE table_name_1 (quantity INTEGER, class_from_1928 VARCHAR)
SELECT SUM(quantity) FROM table_name_1 WHERE class_from_1928 = "ci-30"
What's the sum of Quantity for the Class of 1928 of CI-30?
<s>[INST]What's the sum of Quantity for the Class of 1928 of CI-30? Context: CREATE TABLE table_name_1 (quantity INTEGER, class_from_1928 VARCHAR)[/INST]SELECT SUM(quantity) FROM table_name_1 WHERE class_from_1928 = "ci-30"</s>
CREATE TABLE table_name_35 (lost VARCHAR, tries_against VARCHAR)
SELECT lost FROM table_name_35 WHERE tries_against = "30"
What team lost with 30 tries against?
<s>[INST]What team lost with 30 tries against? Context: CREATE TABLE table_name_35 (lost VARCHAR, tries_against VARCHAR)[/INST]SELECT lost FROM table_name_35 WHERE tries_against = "30"</s>
CREATE TABLE table_name_2 (services VARCHAR, area_of_operation VARCHAR)
SELECT services FROM table_name_2 WHERE area_of_operation = "wadi borjuj"
What services were in the area of operation Wadi Borjuj?
<s>[INST]What services were in the area of operation Wadi Borjuj? Context: CREATE TABLE table_name_2 (services VARCHAR, area_of_operation VARCHAR)[/INST]SELECT services FROM table_name_2 WHERE area_of_operation = "wadi borjuj"</s>
CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR)
SELECT winner FROM table_name_14 WHERE race = "food world 250"
Who won the Food World 250?
<s>[INST]Who won the Food World 250? Context: CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR)[/INST]SELECT winner FROM table_name_14 WHERE race = "food world 250"</s>
CREATE TABLE table_27615520_1 (latency__microseconds_ VARCHAR, product_name VARCHAR)
SELECT COUNT(latency__microseconds_) FROM table_27615520_1 WHERE product_name = "RamSan-810"
What is the ramsan-810 transfer delay?
<s>[INST]What is the ramsan-810 transfer delay? Context: CREATE TABLE table_27615520_1 (latency__microseconds_ VARCHAR, product_name VARCHAR)[/INST]SELECT COUNT(latency__microseconds_) FROM table_27615520_1 WHERE product_name = "RamSan-810"</s>
CREATE TABLE table_23235767_4 (year VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas"
Name the year for clay for boston and guillermo vilas
<s>[INST]Name the year for clay for boston and guillermo vilas Context: CREATE TABLE table_23235767_4 (year VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)[/INST]SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vil...
CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)
SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = "north melbourne" AND season > 1926
What is the highest Draws with less than 18 losses for north melbourne later than 1926?
<s>[INST]What is the highest Draws with less than 18 losses for north melbourne later than 1926? Context: CREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = "north melbourne" AND season > 1926</s>
CREATE TABLE table_name_47 (remixed_by VARCHAR, version VARCHAR)
SELECT remixed_by FROM table_name_47 WHERE version = "strings for soul's mix"
What's the Remixed by with a Version of Strings for Soul's Mix?
<s>[INST]What's the Remixed by with a Version of Strings for Soul's Mix? Context: CREATE TABLE table_name_47 (remixed_by VARCHAR, version VARCHAR)[/INST]SELECT remixed_by FROM table_name_47 WHERE version = "strings for soul's mix"</s>
CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)
SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28"
What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?
<s>[INST]What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28? Context: CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)[/INST]SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28"</s>
CREATE TABLE table_name_60 (round INTEGER, college VARCHAR, overall VARCHAR)
SELECT AVG(round) FROM table_name_60 WHERE college = "idaho" AND overall < 141
College of idaho, and an Overall smaller than 141 is what average round?
<s>[INST]College of idaho, and an Overall smaller than 141 is what average round? Context: CREATE TABLE table_name_60 (round INTEGER, college VARCHAR, overall VARCHAR)[/INST]SELECT AVG(round) FROM table_name_60 WHERE college = "idaho" AND overall < 141</s>
CREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR)
SELECT drawn FROM table_12792876_3 WHERE tries_for = "46"
what was the drawn when the tries for was 46?
<s>[INST] what was the drawn when the tries for was 46? Context: CREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR)[/INST]SELECT drawn FROM table_12792876_3 WHERE tries_for = "46"</s>
CREATE TABLE patient (name VARCHAR, ssn VARCHAR); CREATE TABLE appointment (patient VARCHAR, start VARCHAR)
SELECT T1.name FROM patient AS T1 JOIN appointment AS T2 ON T1.ssn = T2.patient ORDER BY T2.start DESC LIMIT 1
What is the name of the patient who made the most recent appointment?
<s>[INST]What is the name of the patient who made the most recent appointment? Context: CREATE TABLE patient (name VARCHAR, ssn VARCHAR); CREATE TABLE appointment (patient VARCHAR, start VARCHAR)[/INST]SELECT T1.name FROM patient AS T1 JOIN appointment AS T2 ON T1.ssn = T2.patient ORDER BY T2.start DESC LIMIT 1</s>
CREATE TABLE table_name_80 (institution VARCHAR, affiliation VARCHAR, location VARCHAR)
SELECT institution FROM table_name_80 WHERE affiliation = "public" AND location = "black river falls"
What Public Institution is in Black River Falls?
<s>[INST]What Public Institution is in Black River Falls? Context: CREATE TABLE table_name_80 (institution VARCHAR, affiliation VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_name_80 WHERE affiliation = "public" AND location = "black river falls"</s>
CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_42 WHERE venue = "victoria park"
What is the away team score at victoria park?
<s>[INST]What is the away team score at victoria park? Context: CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_42 WHERE venue = "victoria park"</s>
CREATE TABLE table_name_65 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_65 WHERE tie_no = "4"
How many attended the game when the score was tie at 4?
<s>[INST]How many attended the game when the score was tie at 4? Context: CREATE TABLE table_name_65 (attendance VARCHAR, tie_no VARCHAR)[/INST]SELECT attendance FROM table_name_65 WHERE tie_no = "4"</s>
CREATE TABLE table_name_99 (poles VARCHAR, races INTEGER)
SELECT poles FROM table_name_99 WHERE races < 16
What is Poles, when Races is less than 16?
<s>[INST]What is Poles, when Races is less than 16? Context: CREATE TABLE table_name_99 (poles VARCHAR, races INTEGER)[/INST]SELECT poles FROM table_name_99 WHERE races < 16</s>
CREATE TABLE table_name_3 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_3 WHERE grid = 10
Who drove the grid 10 car?
<s>[INST]Who drove the grid 10 car? Context: CREATE TABLE table_name_3 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_3 WHERE grid = 10</s>
CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_32 WHERE score = 71 - 66 - 66 - 71 = 274
What country scored 71-66-66-71=274?
<s>[INST]What country scored 71-66-66-71=274? Context: CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_32 WHERE score = 71 - 66 - 66 - 71 = 274</s>
CREATE TABLE table_name_95 (losses VARCHAR, appearances INTEGER)
SELECT losses FROM table_name_95 WHERE appearances < 16
How many losses did the division who appeared less than 16 times have?
<s>[INST]How many losses did the division who appeared less than 16 times have? Context: CREATE TABLE table_name_95 (losses VARCHAR, appearances INTEGER)[/INST]SELECT losses FROM table_name_95 WHERE appearances < 16</s>
CREATE TABLE table_name_73 (issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR)
SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527"
What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527?
<s>[INST]What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527? Context: CREATE TABLE table_name_73 (issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR)[/INST]SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage...
CREATE TABLE table_26593762_2 (team VARCHAR)
SELECT team AS captain FROM table_26593762_2 WHERE team = "Cardiff City"
Who is the captain of Cardiff City?
<s>[INST]Who is the captain of Cardiff City? Context: CREATE TABLE table_26593762_2 (team VARCHAR)[/INST]SELECT team AS captain FROM table_26593762_2 WHERE team = "Cardiff City"</s>
CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735
What is the average week on November 7, 1976 with an attendance less than 46,735?
<s>[INST]What is the average week on November 7, 1976 with an attendance less than 46,735? Context: CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735</s>
CREATE TABLE table_name_39 (in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR)
SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur batteries"
What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?
<s>[INST]What's the production if the technology is sodium-sulfur batteries and yes to toxic materials? Context: CREATE TABLE table_name_39 (in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR)[/INST]SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur bat...
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian"
What team did Alireza mansourian leave?
<s>[INST]What team did Alireza mansourian leave? Context: CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian"</s>
CREATE TABLE table_name_84 (round VARCHAR, overall VARCHAR)
SELECT round FROM table_name_84 WHERE overall = 6
Name the round having an overall of 6
<s>[INST]Name the round having an overall of 6 Context: CREATE TABLE table_name_84 (round VARCHAR, overall VARCHAR)[/INST]SELECT round FROM table_name_84 WHERE overall = 6</s>
CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)
SELECT MAX(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND premiere_date = "september 3, 2012"
What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012?
<s>[INST]What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012? Context: CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR)[/INST]SELECT MAX(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND premiere_dat...
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001"
Which catalog was published on December 19, 2001?
<s>[INST]Which catalog was published on December 19, 2001? Context: CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001"</s>
CREATE TABLE table_name_90 (laps INTEGER, pos VARCHAR, year VARCHAR)
SELECT SUM(laps) FROM table_name_90 WHERE pos = "6th" AND year = 1998
How many laps did the 6th placed in 1998 complete?
<s>[INST]How many laps did the 6th placed in 1998 complete? Context: CREATE TABLE table_name_90 (laps INTEGER, pos VARCHAR, year VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_90 WHERE pos = "6th" AND year = 1998</s>
CREATE TABLE table_name_48 (player VARCHAR, position VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_48 WHERE position = "infielder" AND hometown = "atlanta, ga"
Which player has a Position of infielder, and a Hometown of atlanta, ga?
<s>[INST]Which player has a Position of infielder, and a Hometown of atlanta, ga? Context: CREATE TABLE table_name_48 (player VARCHAR, position VARCHAR, hometown VARCHAR)[/INST]SELECT player FROM table_name_48 WHERE position = "infielder" AND hometown = "atlanta, ga"</s>
CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR)
SELECT member FROM table_name_74 WHERE state = "sa" AND electorate = "grey"
Which member is from the state of SA and the grey electorate?
<s>[INST]Which member is from the state of SA and the grey electorate? Context: CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR)[/INST]SELECT member FROM table_name_74 WHERE state = "sa" AND electorate = "grey"</s>
CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_14 WHERE player = "justin leonard"
What was the To Par score for player Justin Leonard?
<s>[INST]What was the To Par score for player Justin Leonard? Context: CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_14 WHERE player = "justin leonard"</s>
CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
SELECT COUNT(gymnast) FROM table_18662026_10 WHERE parallel_bars = "14.025"
If the parallel bars is 14.025, what is the total number of gymnasts?
<s>[INST]If the parallel bars is 14.025, what is the total number of gymnasts? Context: CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)[/INST]SELECT COUNT(gymnast) FROM table_18662026_10 WHERE parallel_bars = "14.025"</s>
CREATE TABLE table_name_99 (graphics VARCHAR, chipset VARCHAR, model VARCHAR)
SELECT graphics FROM table_name_99 WHERE chipset = "intel 850e" AND model = "precision 340"
What type of graphics are present in the Precision 340 model with the intel 850e chipset?
<s>[INST]What type of graphics are present in the Precision 340 model with the intel 850e chipset? Context: CREATE TABLE table_name_99 (graphics VARCHAR, chipset VARCHAR, model VARCHAR)[/INST]SELECT graphics FROM table_name_99 WHERE chipset = "intel 850e" AND model = "precision 340"</s>
CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)
SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = "baltimore county, howard" AND committee = "environmental matters (vice-chair)"
When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)?
<s>[INST]When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)? Context: CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_name_37 WHERE counties_repres...
CREATE TABLE table_name_16 (class VARCHAR, quantity_made VARCHAR, type VARCHAR)
SELECT class FROM table_name_16 WHERE quantity_made = "1" AND type = "0-6-0t"
What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type?
<s>[INST]What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type? Context: CREATE TABLE table_name_16 (class VARCHAR, quantity_made VARCHAR, type VARCHAR)[/INST]SELECT class FROM table_name_16 WHERE quantity_made = "1" AND type = "0-6-0t"</s>
CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR)
SELECT mens_doubles FROM table_12266757_1 WHERE season = "1986/1987"
Who were the winners of mens doubles in the 1986/1987 season held?
<s>[INST]Who were the winners of mens doubles in the 1986/1987 season held? Context: CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR)[/INST]SELECT mens_doubles FROM table_12266757_1 WHERE season = "1986/1987"</s>
CREATE TABLE table_name_1 (works_number INTEGER, date VARCHAR, number VARCHAR, type VARCHAR)
SELECT AVG(works_number) FROM table_name_1 WHERE number > 807 AND type = "0-6-0" AND date = 1920
Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920?
<s>[INST]Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920? Context: CREATE TABLE table_name_1 (works_number INTEGER, date VARCHAR, number VARCHAR, type VARCHAR)[/INST]SELECT AVG(works_number) FROM table_name_1 WHERE number > 807 AND type = "0-6-0" AND date = 1920</s>
CREATE TABLE table_16226584_1 (length_feet VARCHAR, length_meters VARCHAR)
SELECT COUNT(length_feet) FROM table_16226584_1 WHERE length_meters = "106.1"
How many feet in length are there when the length is 106.1 meters?
<s>[INST]How many feet in length are there when the length is 106.1 meters? Context: CREATE TABLE table_16226584_1 (length_feet VARCHAR, length_meters VARCHAR)[/INST]SELECT COUNT(length_feet) FROM table_16226584_1 WHERE length_meters = "106.1"</s>
CREATE TABLE table_name_50 (draws INTEGER, against INTEGER)
SELECT MIN(draws) FROM table_name_50 WHERE against > 2638
What was the lowest draw when the against was larger than 2638?
<s>[INST]What was the lowest draw when the against was larger than 2638? Context: CREATE TABLE table_name_50 (draws INTEGER, against INTEGER)[/INST]SELECT MIN(draws) FROM table_name_50 WHERE against > 2638</s>
CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_58 WHERE home = "san francisco 49ers" AND visitor = "philadelphia eagles"
What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles?
<s>[INST]What was the record for the game played by the home team San Francisco 49ers and visitor Philadelphia Eagles? Context: CREATE TABLE table_name_58 (record VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_58 WHERE home = "san francisco 49ers" AND visitor = "philadelphia eagles"</s>
CREATE TABLE table_name_48 (goals_scored INTEGER, points VARCHAR, place VARCHAR)
SELECT AVG(goals_scored) FROM table_name_48 WHERE points = "44" AND place > 5
What is the average goals scored of the team who scored 44 points and placed higher than 5?
<s>[INST]What is the average goals scored of the team who scored 44 points and placed higher than 5? Context: CREATE TABLE table_name_48 (goals_scored INTEGER, points VARCHAR, place VARCHAR)[/INST]SELECT AVG(goals_scored) FROM table_name_48 WHERE points = "44" AND place > 5</s>
CREATE TABLE table_1939367_1 (arabs_2001 VARCHAR, province VARCHAR)
SELECT COUNT(arabs_2001) FROM table_1939367_1 WHERE province = "British Columbia"
If the province is British Columbia, what is the Arabs 2001 total number?
<s>[INST]If the province is British Columbia, what is the Arabs 2001 total number? Context: CREATE TABLE table_1939367_1 (arabs_2001 VARCHAR, province VARCHAR)[/INST]SELECT COUNT(arabs_2001) FROM table_1939367_1 WHERE province = "British Columbia"</s>
CREATE TABLE table_name_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR)
SELECT president FROM table_name_26 WHERE treasurer = "james davidson" AND season = "2006–2007"
Name the President who has a Treasurer of james davidson, and a Season of 2006–2007?
<s>[INST]Name the President who has a Treasurer of james davidson, and a Season of 2006–2007? Context: CREATE TABLE table_name_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR)[/INST]SELECT president FROM table_name_26 WHERE treasurer = "james davidson" AND season = "2006–2007"</s>
CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)
SELECT country_region FROM table_13779832_1 WHERE presenters = "Heikki Paasonen Jukka Rossi (Xtra Factor)"
what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor)
<s>[INST]what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor) Context: CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)[/INST]SELECT country_region FROM table_13779832_1 WHERE presenters = "Heikki Paasonen Jukka Rossi (Xtra Factor)"</s>
CREATE TABLE table_name_3 (distance_duration VARCHAR, date VARCHAR, race_title VARCHAR)
SELECT distance_duration FROM table_name_3 WHERE date = "sept 5" AND race_title = "le grand prix de trois-rivières"
What is the distance/duration on sept 5 of le grand prix de trois-rivières?
<s>[INST]What is the distance/duration on sept 5 of le grand prix de trois-rivières? Context: CREATE TABLE table_name_3 (distance_duration VARCHAR, date VARCHAR, race_title VARCHAR)[/INST]SELECT distance_duration FROM table_name_3 WHERE date = "sept 5" AND race_title = "le grand prix de trois-rivières"</s>
CREATE TABLE table_name_16 (preservation VARCHAR, episode VARCHAR)
SELECT preservation FROM table_name_16 WHERE episode = "1b-16 (42)"
Has Episode 1b-16 (42) been preserved?
<s>[INST]Has Episode 1b-16 (42) been preserved? Context: CREATE TABLE table_name_16 (preservation VARCHAR, episode VARCHAR)[/INST]SELECT preservation FROM table_name_16 WHERE episode = "1b-16 (42)"</s>
CREATE TABLE table_name_11 (name VARCHAR, dcsf_number VARCHAR)
SELECT name FROM table_name_11 WHERE dcsf_number = 2117
Can you tell me the Name that has the DCSF number of 2117?
<s>[INST]Can you tell me the Name that has the DCSF number of 2117? Context: CREATE TABLE table_name_11 (name VARCHAR, dcsf_number VARCHAR)[/INST]SELECT name FROM table_name_11 WHERE dcsf_number = 2117</s>
CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)
SELECT COUNT(team) FROM table_28884858_2 WHERE capacity_percentage = "99.3%"
How many teams had a 99.3% capacity rating?
<s>[INST]How many teams had a 99.3% capacity rating? Context: CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)[/INST]SELECT COUNT(team) FROM table_28884858_2 WHERE capacity_percentage = "99.3%"</s>
CREATE TABLE table_name_66 (lead VARCHAR, second VARCHAR, season VARCHAR)
SELECT lead FROM table_name_66 WHERE second = "marc kennedy" AND season = "2012–13"
What is the Lead when the Second was marc kennedy, in the 2012–13 season?
<s>[INST]What is the Lead when the Second was marc kennedy, in the 2012–13 season? Context: CREATE TABLE table_name_66 (lead VARCHAR, second VARCHAR, season VARCHAR)[/INST]SELECT lead FROM table_name_66 WHERE second = "marc kennedy" AND season = "2012–13"</s>
CREATE TABLE table_name_7 (contestant VARCHAR, height VARCHAR, hometown VARCHAR)
SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este"
What contestant is from santo domingo este and has height smaller than 1.79?
<s>[INST]What contestant is from santo domingo este and has height smaller than 1.79? Context: CREATE TABLE table_name_7 (contestant VARCHAR, height VARCHAR, hometown VARCHAR)[/INST]SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este"</s>
CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR)
SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild"
Who is nominated for the film Rugrats Go Wild?
<s>[INST]Who is nominated for the film Rugrats Go Wild? Context: CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR)[/INST]SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild"</s>
CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, sanctioning VARCHAR)
SELECT date FROM table_name_10 WHERE circuit = "milwaukee mile" AND sanctioning = "cart"
What is the date for the race that has a circuit of Milwaukee Mile and the sanctioning of cart?
<s>[INST]What is the date for the race that has a circuit of Milwaukee Mile and the sanctioning of cart? Context: CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, sanctioning VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE circuit = "milwaukee mile" AND sanctioning = "cart"</s>
CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_91 WHERE home_team = "st kilda"
When did St Kilda play a home game?
<s>[INST]When did St Kilda play a home game? Context: CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE home_team = "st kilda"</s>
CREATE TABLE table_name_60 (winner VARCHAR, result VARCHAR)
SELECT winner FROM table_name_60 WHERE result = "24-21"
Who was the winner with the 24-21 result?
<s>[INST]Who was the winner with the 24-21 result? Context: CREATE TABLE table_name_60 (winner VARCHAR, result VARCHAR)[/INST]SELECT winner FROM table_name_60 WHERE result = "24-21"</s>
CREATE TABLE table_name_6 (draws INTEGER, wins VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_6 WHERE wins = 16 AND losses < 2
Name the sum of draws for losses less than 2 and wins of 16
<s>[INST]Name the sum of draws for losses less than 2 and wins of 16 Context: CREATE TABLE table_name_6 (draws INTEGER, wins VARCHAR, losses VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_6 WHERE wins = 16 AND losses < 2</s>
CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR)
SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin"
What is the Kashmiri word for the Indonesian word senin?
<s>[INST]What is the Kashmiri word for the Indonesian word senin? Context: CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR)[/INST]SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin"</s>
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_6 WHERE home_team = "hawthorn"
What is the Away Team Score of the Hawthorn Home Team?
<s>[INST]What is the Away Team Score of the Hawthorn Home Team? Context: CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_6 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT years FROM table_name_99 WHERE wins < 82 AND losses > 24
What years did the person coach who had less than 82 wins and more than 24 losses?
<s>[INST]What years did the person coach who had less than 82 wins and more than 24 losses? Context: CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT years FROM table_name_99 WHERE wins < 82 AND losses > 24</s>
CREATE TABLE table_name_1 (runs INTEGER, matches VARCHAR, average VARCHAR)
SELECT SUM(runs) FROM table_name_1 WHERE matches = 1 AND average < 86
How many runs were there when there was 1 match and les than 86 average?
<s>[INST]How many runs were there when there was 1 match and les than 86 average? Context: CREATE TABLE table_name_1 (runs INTEGER, matches VARCHAR, average VARCHAR)[/INST]SELECT SUM(runs) FROM table_name_1 WHERE matches = 1 AND average < 86</s>
CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_73 WHERE crowd > 27 OFFSET 000
What was the score when there was more than 27,000 in attendance?
<s>[INST]What was the score when there was more than 27,000 in attendance? Context: CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team AS score FROM table_name_73 WHERE crowd > 27 OFFSET 000</s>
CREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR)
SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse"
What is listed in new points when status is second round lost to xavier malisse?
<s>[INST]What is listed in new points when status is second round lost to xavier malisse? Context: CREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR)[/INST]SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse"</s>
CREATE TABLE table_name_12 (host VARCHAR, city VARCHAR)
SELECT host FROM table_name_12 WHERE city = "long beach"
Which university hosted in Long Beach?
<s>[INST]Which university hosted in Long Beach? Context: CREATE TABLE table_name_12 (host VARCHAR, city VARCHAR)[/INST]SELECT host FROM table_name_12 WHERE city = "long beach"</s>
CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_19 WHERE date = "september 4, 1983"
What is the lowest attendance on September 4, 1983?
<s>[INST]What is the lowest attendance on September 4, 1983? Context: CREATE TABLE table_name_19 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_19 WHERE date = "september 4, 1983"</s>
CREATE TABLE table_name_59 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_59 WHERE city = "douala"
Where is the City of Douala?
<s>[INST]Where is the City of Douala? Context: CREATE TABLE table_name_59 (country VARCHAR, city VARCHAR)[/INST]SELECT country FROM table_name_59 WHERE city = "douala"</s>
CREATE TABLE table_name_50 (drawn VARCHAR, try_bonus VARCHAR, lost VARCHAR)
SELECT drawn FROM table_name_50 WHERE try_bonus = "9" AND lost = "4"
When the try bonus is 9 and the lost 4, what is the drawn?
<s>[INST]When the try bonus is 9 and the lost 4, what is the drawn? Context: CREATE TABLE table_name_50 (drawn VARCHAR, try_bonus VARCHAR, lost VARCHAR)[/INST]SELECT drawn FROM table_name_50 WHERE try_bonus = "9" AND lost = "4"</s>
CREATE TABLE table_2305948_1 (country VARCHAR)
SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England"
How many times has a wrestler from the country of England wrestled in this event?
<s>[INST]How many times has a wrestler from the country of England wrestled in this event? Context: CREATE TABLE table_2305948_1 (country VARCHAR)[/INST]SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England"</s>
CREATE TABLE table_29039942_1 (writer VARCHAR, episode VARCHAR)
SELECT writer FROM table_29039942_1 WHERE episode = 3
Who was the writer for episode 3?
<s>[INST]Who was the writer for episode 3? Context: CREATE TABLE table_29039942_1 (writer VARCHAR, episode VARCHAR)[/INST]SELECT writer FROM table_29039942_1 WHERE episode = 3</s>
CREATE TABLE table_name_70 (frequency VARCHAR, city VARCHAR, name VARCHAR)
SELECT frequency FROM table_name_70 WHERE city = "nuevo laredo" AND name = "el diario de nuevo laredo"
What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ?
<s>[INST]What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ? Context: CREATE TABLE table_name_70 (frequency VARCHAR, city VARCHAR, name VARCHAR)[/INST]SELECT frequency FROM table_name_70 WHERE city = "nuevo laredo" AND name = "el diario de nuevo laredo"</s>
CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)
SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"
what is the film when the year is earlier than 2002 and the category is outstanding actress?
<s>[INST]what is the film when the year is earlier than 2002 and the category is outstanding actress? Context: CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)[/INST]SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"</s>
CREATE TABLE table_262476_1 (enrollment VARCHAR, nickname VARCHAR)
SELECT enrollment FROM table_262476_1 WHERE nickname = "Tomcats"
Name the enrollment for tomcats
<s>[INST]Name the enrollment for tomcats Context: CREATE TABLE table_262476_1 (enrollment VARCHAR, nickname VARCHAR)[/INST]SELECT enrollment FROM table_262476_1 WHERE nickname = "Tomcats"</s>
CREATE TABLE table_27756314_11 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_27756314_11 WHERE date = "April 6"
Who did the most high rebounds on April 6?
<s>[INST]Who did the most high rebounds on April 6? Context: CREATE TABLE table_27756314_11 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_27756314_11 WHERE date = "April 6"</s>
CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT title FROM table_19396259_1 WHERE directed_by = "Charles Beeson" AND written_by = "Jeremy Carver"
Name the title directed by charles beeson by jeremy carver
<s>[INST]Name the title directed by charles beeson by jeremy carver Context: CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_19396259_1 WHERE directed_by = "Charles Beeson" AND written_by = "Jeremy Carver"</s>
CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR)
SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary"
what is the total when bronze is 0 and the nation is hungary?
<s>[INST]what is the total when bronze is 0 and the nation is hungary? Context: CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR)[/INST]SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary"</s>
CREATE TABLE table_name_38 (category VARCHAR, awards VARCHAR, year VARCHAR, result VARCHAR)
SELECT category FROM table_name_38 WHERE year = 2010 AND result = "nominated" AND awards = "british soap awards"
What category was nominated in 2010 fo the British Soap Awards?
<s>[INST]What category was nominated in 2010 fo the British Soap Awards? Context: CREATE TABLE table_name_38 (category VARCHAR, awards VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT category FROM table_name_38 WHERE year = 2010 AND result = "nominated" AND awards = "british soap awards"</s>
CREATE TABLE table_name_27 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_27 WHERE record = "6-9"
What opponent has a record of 6-9?
<s>[INST]What opponent has a record of 6-9? Context: CREATE TABLE table_name_27 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_27 WHERE record = "6-9"</s>
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, death_year VARCHAR)
SELECT name_first, name_last FROM player WHERE death_year = ''
Find all the players' first name and last name who have empty death record.
<s>[INST]Find all the players' first name and last name who have empty death record. Context: CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, death_year VARCHAR)[/INST]SELECT name_first, name_last FROM player WHERE death_year = ''</s>
CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_1 WHERE player = "doug ford"
What is Doug Ford's country?
<s>[INST]What is Doug Ford's country? Context: CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_1 WHERE player = "doug ford"</s>
CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324
What game had more than 50,324 in attendance?
<s>[INST]What game had more than 50,324 in attendance? Context: CREATE TABLE table_name_45 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_45 WHERE attendance > 50 OFFSET 324</s>
CREATE TABLE table_22591910_4 (position VARCHAR)
SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3
who was position 3 in 2007-2008?
<s>[INST]who was position 3 in 2007-2008? Context: CREATE TABLE table_22591910_4 (position VARCHAR)[/INST]SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3</s>
CREATE TABLE table_name_49 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_49 WHERE opponent = "los angeles dons"
What was the result of the game against the Los Angeles Dons?
<s>[INST]What was the result of the game against the Los Angeles Dons? Context: CREATE TABLE table_name_49 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_49 WHERE opponent = "los angeles dons"</s>
CREATE TABLE table_name_43 (points INTEGER, record VARCHAR, game__number VARCHAR)
SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < 17
What is the number of points of the game less than number 17 with an 11-6-0 record?
<s>[INST]What is the number of points of the game less than number 17 with an 11-6-0 record? Context: CREATE TABLE table_name_43 (points INTEGER, record VARCHAR, game__number VARCHAR)[/INST]SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < 17</s>
CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR)
SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)"
What are the number of floors for the building of td building redevelopment (office)?
<s>[INST]What are the number of floors for the building of td building redevelopment (office)? Context: CREATE TABLE table_name_45 (floors INTEGER, building VARCHAR)[/INST]SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)"</s>
CREATE TABLE table_name_74 (position VARCHAR, competition VARCHAR)
SELECT position FROM table_name_74 WHERE competition = "european u23 championships"
What is the Position for the European U23 Championships?
<s>[INST]What is the Position for the European U23 Championships? Context: CREATE TABLE table_name_74 (position VARCHAR, competition VARCHAR)[/INST]SELECT position FROM table_name_74 WHERE competition = "european u23 championships"</s>
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "1998-99"
Who is the top goalscorer for season 1998-99?
<s>[INST]Who is the top goalscorer for season 1998-99? Context: CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)[/INST]SELECT top_goalscorer FROM table_2429942_2 WHERE season = "1998-99"</s>
CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR, gold VARCHAR)
SELECT SUM(silver) FROM table_name_7 WHERE nation = "cuba" AND gold < 0
What is the sum of silver medals of the nation Cuba, which has less than 0 gold?
<s>[INST]What is the sum of silver medals of the nation Cuba, which has less than 0 gold? Context: CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_7 WHERE nation = "cuba" AND gold < 0</s>
CREATE TABLE table_name_29 (draws INTEGER, losses VARCHAR, club VARCHAR, against VARCHAR, wins VARCHAR)
SELECT MIN(draws) FROM table_name_29 WHERE against < 1299 AND wins > 7 AND club = "warrnambool" AND losses < 2
What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses?
<s>[INST]What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses? Context: CREATE TABLE table_name_29 (draws INTEGER, losses VARCHAR, club VARCHAR, against VARCHAR, wins VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_29 WHERE against < 1299 AND wins > 7 AN...
CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR)
SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-18"
What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18?
<s>[INST]What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? Context: CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR)[/INST]SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "g...
CREATE TABLE table_name_68 (saturday VARCHAR, name VARCHAR)
SELECT saturday FROM table_name_68 WHERE name = "confederation"
Which Saturday has a Name of confederation?
<s>[INST]Which Saturday has a Name of confederation? Context: CREATE TABLE table_name_68 (saturday VARCHAR, name VARCHAR)[/INST]SELECT saturday FROM table_name_68 WHERE name = "confederation"</s>
CREATE TABLE table_name_72 (tournament VARCHAR)
SELECT 1996 FROM table_name_72 WHERE tournament = "us open"
What is 1996 during the US Open?
<s>[INST]What is 1996 during the US Open? Context: CREATE TABLE table_name_72 (tournament VARCHAR)[/INST]SELECT 1996 FROM table_name_72 WHERE tournament = "us open"</s>
CREATE TABLE table_name_47 (total VARCHAR, play_offs INTEGER)
SELECT COUNT(total) FROM table_name_47 WHERE play_offs < 0
How many totals have a play-off less than 0?
<s>[INST]How many totals have a play-off less than 0? Context: CREATE TABLE table_name_47 (total VARCHAR, play_offs INTEGER)[/INST]SELECT COUNT(total) FROM table_name_47 WHERE play_offs < 0</s>
CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0"
What is the Week of the game with a Result of L 24-0?
<s>[INST]What is the Week of the game with a Result of L 24-0? Context: CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0"</s>
CREATE TABLE table_14655985_1 (position VARCHAR, college VARCHAR)
SELECT position FROM table_14655985_1 WHERE college = "USC"
what's the position with college being usc
<s>[INST]what's the position with college being usc Context: CREATE TABLE table_14655985_1 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_14655985_1 WHERE college = "USC"</s>
CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_94 WHERE tournament = "outback steakhouse pro-am"
What is the date of the Outback Steakhouse Pro-Am Tournament?
<s>[INST]What is the date of the Outback Steakhouse Pro-Am Tournament? Context: CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE tournament = "outback steakhouse pro-am"</s>
CREATE TABLE table_name_64 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"
How many grids have 102 laps and a Time/Retired of + 6.18?
<s>[INST]How many grids have 102 laps and a Time/Retired of + 6.18? Context: CREATE TABLE table_name_64 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18"</s>
CREATE TABLE table_name_18 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_18 WHERE record = "18–5 (1)"
Which event had the record of 18–5 (1)?
<s>[INST]Which event had the record of 18–5 (1)? Context: CREATE TABLE table_name_18 (event VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_18 WHERE record = "18–5 (1)"</s>
CREATE TABLE Dogs (name VARCHAR, owner_id VARCHAR); CREATE TABLE Owners (first_name VARCHAR, owner_id VARCHAR)
SELECT T1.first_name, T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id
List pairs of the owner's first name and the dogs's name.
<s>[INST]List pairs of the owner's first name and the dogs's name. Context: CREATE TABLE Dogs (name VARCHAR, owner_id VARCHAR); CREATE TABLE Owners (first_name VARCHAR, owner_id VARCHAR)[/INST]SELECT T1.first_name, T2.name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id</s>