context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4
What is the largest number of innings with less than 342 runs and more than 4 matches?
<s>[INST]What is the largest number of innings with less than 342 runs and more than 4 matches? Context: CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)[/INST]SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4</s>
CREATE TABLE table_12032893_1 (_number VARCHAR, high_school VARCHAR)
SELECT _number FROM table_12032893_1 WHERE high_school = "Crockett"
Crockett High School had which number(#)?
<s>[INST]Crockett High School had which number(#)? Context: CREATE TABLE table_12032893_1 (_number VARCHAR, high_school VARCHAR)[/INST]SELECT _number FROM table_12032893_1 WHERE high_school = "Crockett"</s>
CREATE TABLE dependent (Dependent_name VARCHAR, relationship VARCHAR)
SELECT Dependent_name FROM dependent WHERE relationship = 'Spouse'
find all dependent names who have a spouse relation with some employee.
<s>[INST]find all dependent names who have a spouse relation with some employee. Context: CREATE TABLE dependent (Dependent_name VARCHAR, relationship VARCHAR)[/INST]SELECT Dependent_name FROM dependent WHERE relationship = 'Spouse'</s>
CREATE TABLE table_name_15 (joined VARCHAR, conference_championships VARCHAR, nickname VARCHAR)
SELECT joined FROM table_name_15 WHERE conference_championships = 5 AND nickname = "wolfpack"
What is the year joined with a Conference championships of 5, and a Nickname of wolfpack?
<s>[INST]What is the year joined with a Conference championships of 5, and a Nickname of wolfpack? Context: CREATE TABLE table_name_15 (joined VARCHAR, conference_championships VARCHAR, nickname VARCHAR)[/INST]SELECT joined FROM table_name_15 WHERE conference_championships = 5 AND nickname = "wolfpack"</s>
CREATE TABLE table_name_65 (score VARCHAR, money___$__ VARCHAR)
SELECT score FROM table_name_65 WHERE money___$__ = "36,090"
What score won $36,090?
<s>[INST]What score won $36,090? Context: CREATE TABLE table_name_65 (score VARCHAR, money___$__ VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE money___$__ = "36,090"</s>
CREATE TABLE table_name_35 (name VARCHAR, time_retired VARCHAR, team VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT name FROM table_name_35 WHERE laps = 50 AND grid > 9 AND team = "jim beam racing" AND time_retired = "+ 18.0s"
What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"?
<s>[INST]What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"? Context: CREATE TABLE table_name_35 (name VARCHAR, time_retired VARCHAR, team VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT name FROM table_name_35 WHERE laps = 50 AND grid > 9 ...
CREATE TABLE table_name_71 (serial_no VARCHAR, engine_no VARCHAR, colour VARCHAR, pilot_car_no VARCHAR)
SELECT serial_no FROM table_name_71 WHERE colour = "black" AND pilot_car_no > 2 AND engine_no = 1008
What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008?
<s>[INST]What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008? Context: CREATE TABLE table_name_71 (serial_no VARCHAR, engine_no VARCHAR, colour VARCHAR, pilot_car_no VARCHAR)[/INST]SELECT serial_no FROM table_name_71 WHERE colour = "black" AND pil...
CREATE TABLE table_1342013_4 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342013_4 WHERE incumbent = "Brooks Hays"
what district is Brooks Hays in
<s>[INST]what district is Brooks Hays in Context: CREATE TABLE table_1342013_4 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342013_4 WHERE incumbent = "Brooks Hays"</s>
CREATE TABLE table_name_87 (rank INTEGER, singapore_cup VARCHAR)
SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (1)"
What rank does the Singapore Cup of 0 (1) have?
<s>[INST]What rank does the Singapore Cup of 0 (1) have? Context: CREATE TABLE table_name_87 (rank INTEGER, singapore_cup VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (1)"</s>
CREATE TABLE table_28243691_2 (enrollment VARCHAR, team_nickname VARCHAR)
SELECT enrollment FROM table_28243691_2 WHERE team_nickname = "Comets"
How many students are enrolled in the team nicknamed Comets?
<s>[INST]How many students are enrolled in the team nicknamed Comets? Context: CREATE TABLE table_28243691_2 (enrollment VARCHAR, team_nickname VARCHAR)[/INST]SELECT enrollment FROM table_28243691_2 WHERE team_nickname = "Comets"</s>
CREATE TABLE table_name_94 (year VARCHAR, team VARCHAR)
SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide"
How many years does Team wal-mart / tide participate?
<s>[INST]How many years does Team wal-mart / tide participate? Context: CREATE TABLE table_name_94 (year VARCHAR, team VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide"</s>
CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_71 WHERE record = "38-22"
What date was the record 38-22?
<s>[INST]What date was the record 38-22? Context: CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE record = "38-22"</s>
CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR)
SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers"
What country are the new orleans shell shockers from?
<s>[INST]What country are the new orleans shell shockers from? Context: CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR)[/INST]SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers"</s>
CREATE TABLE table (h VARCHAR, c__max_ VARCHAR)
SELECT h FROM table WHERE c__max_ = 99
Name the h when c max is 99
<s>[INST]Name the h when c max is 99 Context: CREATE TABLE table (h VARCHAR, c__max_ VARCHAR)[/INST]SELECT h FROM table WHERE c__max_ = 99</s>
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_10 WHERE date = "22 february 1993"
what is the score on 22 february 1993?
<s>[INST]what is the score on 22 february 1993? Context: CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_10 WHERE date = "22 february 1993"</s>
CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, played VARCHAR)
SELECT AVG(points) FROM table_name_55 WHERE position > 5 AND played < 10
what is the average points when position is more than 5 and played is less than 10?
<s>[INST]what is the average points when position is more than 5 and played is less than 10? Context: CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, played VARCHAR)[/INST]SELECT AVG(points) FROM table_name_55 WHERE position > 5 AND played < 10</s>
CREATE TABLE table_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position = "Teo Fabi"
How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?
<s>[INST]How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in? Context: CREATE TABLE table_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position =...
CREATE TABLE table_name_61 (race_name VARCHAR, winning_driver VARCHAR, date VARCHAR)
SELECT race_name FROM table_name_61 WHERE winning_driver = "stirling moss" AND date = "16 april"
Tell me the race name where stirling moss won on 16 april
<s>[INST]Tell me the race name where stirling moss won on 16 april Context: CREATE TABLE table_name_61 (race_name VARCHAR, winning_driver VARCHAR, date VARCHAR)[/INST]SELECT race_name FROM table_name_61 WHERE winning_driver = "stirling moss" AND date = "16 april"</s>
CREATE TABLE table_1404456_1 (former_province VARCHAR, area__km_2__ VARCHAR)
SELECT former_province FROM table_1404456_1 WHERE area__km_2__ = "12,245.9"
what's the former province with area (km 2 ) being 12,245.9
<s>[INST]what's the former province with area (km 2 ) being 12,245.9 Context: CREATE TABLE table_1404456_1 (former_province VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT former_province FROM table_1404456_1 WHERE area__km_2__ = "12,245.9"</s>
CREATE TABLE table_15511178_3 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR)
SELECT report FROM table_15511178_3 WHERE pole_position = "Carl Skerlong" AND winning_team = "Newman Wachs Racing"
Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong
<s>[INST]Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong Context: CREATE TABLE table_15511178_3 (report VARCHAR, pole_position VARCHAR, winning_team VARCHAR)[/INST]SELECT report FROM table_15511178_3 WHERE pole_position = "Carl Skerlong" AND winning_team =...
CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_11 WHERE round = 4
What is the nationality of the player in round 4?
<s>[INST]What is the nationality of the player in round 4? Context: CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_11 WHERE round = 4</s>
CREATE TABLE table_27487712_1 (result VARCHAR, district VARCHAR)
SELECT result FROM table_27487712_1 WHERE district = "Georgia's 3rd"
What was the result of the election for georgia's 3rd district?
<s>[INST]What was the result of the election for georgia's 3rd district? Context: CREATE TABLE table_27487712_1 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_27487712_1 WHERE district = "Georgia's 3rd"</s>
CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_17190012_7 WHERE record = "27–5"
who scored highest points on the game with record 27–5
<s>[INST]who scored highest points on the game with record 27–5 Context: CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)[/INST]SELECT high_points FROM table_17190012_7 WHERE record = "27–5"</s>
CREATE TABLE table_name_48 (chassis VARCHAR, season VARCHAR)
SELECT chassis FROM table_name_48 WHERE season = "1982"
What was the winning car's chassis for the 1982 season?
<s>[INST]What was the winning car's chassis for the 1982 season? Context: CREATE TABLE table_name_48 (chassis VARCHAR, season VARCHAR)[/INST]SELECT chassis FROM table_name_48 WHERE season = "1982"</s>
CREATE TABLE table_name_47 (score VARCHAR)
SELECT AVG(1 AS st_prize___) AS $__ FROM table_name_47 WHERE score = "279 (–9)"
What is the average first prize of the tournament with a score of 279 (–9)?
<s>[INST]What is the average first prize of the tournament with a score of 279 (–9)? Context: CREATE TABLE table_name_47 (score VARCHAR)[/INST]SELECT AVG(1 AS st_prize___) AS $__ FROM table_name_47 WHERE score = "279 (–9)"</s>
CREATE TABLE table_name_1 (away_team VARCHAR, crowd INTEGER)
SELECT away_team AS score FROM table_name_1 WHERE crowd > 22 OFFSET 000
What did the away team score in the game with a crowd size larger than 22,000?
<s>[INST]What did the away team score in the game with a crowd size larger than 22,000? Context: CREATE TABLE table_name_1 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team AS score FROM table_name_1 WHERE crowd > 22 OFFSET 000</s>
CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)
SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24:43"
How many episodes had a broadcast date and run time of 24:43?
<s>[INST]How many episodes had a broadcast date and run time of 24:43? Context: CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)[/INST]SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24:43"</s>
CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_81 WHERE year_s__won = "1992"
What is the lowest total that has 1992 as the year (s) won?
<s>[INST]What is the lowest total that has 1992 as the year (s) won? Context: CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT MIN(total) FROM table_name_81 WHERE year_s__won = "1992"</s>
CREATE TABLE table_name_45 (winning_driver VARCHAR, race VARCHAR)
SELECT winning_driver FROM table_name_45 WHERE race = "belgian grand prix"
Name the winning driver for belgian grand prix
<s>[INST]Name the winning driver for belgian grand prix Context: CREATE TABLE table_name_45 (winning_driver VARCHAR, race VARCHAR)[/INST]SELECT winning_driver FROM table_name_45 WHERE race = "belgian grand prix"</s>
CREATE TABLE table_name_28 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_28 WHERE date = "february 22"
Who had the highest assists during the game on February 22?
<s>[INST]Who had the highest assists during the game on February 22? Context: CREATE TABLE table_name_28 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_28 WHERE date = "february 22"</s>
CREATE TABLE table_name_40 (prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR)
SELECT prize_money FROM table_name_40 WHERE matches > 1 AND new_entries_this_round = "102"
What is the prize money amount after match 1, with 102 new entries to the round?
<s>[INST]What is the prize money amount after match 1, with 102 new entries to the round? Context: CREATE TABLE table_name_40 (prize_money VARCHAR, matches VARCHAR, new_entries_this_round VARCHAR)[/INST]SELECT prize_money FROM table_name_40 WHERE matches > 1 AND new_entries_this_round = "102"</s>
CREATE TABLE table_name_22 (population___2010__ INTEGER, territory VARCHAR)
SELECT MAX(population___2010__) FROM table_name_22 WHERE territory = "puerto rico"
What was the population of Puerto Rico in 2010?
<s>[INST]What was the population of Puerto Rico in 2010? Context: CREATE TABLE table_name_22 (population___2010__ INTEGER, territory VARCHAR)[/INST]SELECT MAX(population___2010__) FROM table_name_22 WHERE territory = "puerto rico"</s>
CREATE TABLE table_name_81 (other_deaths VARCHAR, israeli_and_or_foreigner_wounded VARCHAR)
SELECT other_deaths FROM table_name_81 WHERE israeli_and_or_foreigner_wounded = "242"
How many other deaths were in the attack with 242 Israelis and/or foreigners wounded?
<s>[INST]How many other deaths were in the attack with 242 Israelis and/or foreigners wounded? Context: CREATE TABLE table_name_81 (other_deaths VARCHAR, israeli_and_or_foreigner_wounded VARCHAR)[/INST]SELECT other_deaths FROM table_name_81 WHERE israeli_and_or_foreigner_wounded = "242"</s>
CREATE TABLE table_name_10 (commenced_operations VARCHAR, airline VARCHAR)
SELECT commenced_operations FROM table_name_10 WHERE airline = "valuair"
Which Commenced operations have an Airline of valuair?
<s>[INST]Which Commenced operations have an Airline of valuair? Context: CREATE TABLE table_name_10 (commenced_operations VARCHAR, airline VARCHAR)[/INST]SELECT commenced_operations FROM table_name_10 WHERE airline = "valuair"</s>
CREATE TABLE table_name_48 (example_code__huc_ VARCHAR, level VARCHAR)
SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 1
How many HUC example codes have 1 level?
<s>[INST]How many HUC example codes have 1 level? Context: CREATE TABLE table_name_48 (example_code__huc_ VARCHAR, level VARCHAR)[/INST]SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 1</s>
CREATE TABLE table_name_19 (partner VARCHAR, score_in_the_final VARCHAR)
SELECT partner FROM table_name_19 WHERE score_in_the_final = "6–4, 6–1"
what partner made the scores 6–4, 6–1?
<s>[INST]what partner made the scores 6–4, 6–1? Context: CREATE TABLE table_name_19 (partner VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_19 WHERE score_in_the_final = "6–4, 6–1"</s>
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_22 WHERE player = "ky laffoon"
What is the score for Ky Laffoon?
<s>[INST]What is the score for Ky Laffoon? Context: CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_22 WHERE player = "ky laffoon"</s>
CREATE TABLE table_19149550_9 (rank VARCHAR, total_asian_population VARCHAR)
SELECT COUNT(rank) FROM table_19149550_9 WHERE total_asian_population = 33338
How many boroughs with different ranks have a total Asian population of 33338?
<s>[INST]How many boroughs with different ranks have a total Asian population of 33338? Context: CREATE TABLE table_19149550_9 (rank VARCHAR, total_asian_population VARCHAR)[/INST]SELECT COUNT(rank) FROM table_19149550_9 WHERE total_asian_population = 33338</s>
CREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)
SELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = "1960"
Which FIS Nordic World Ski Championships has Winter Olympics of 1960?
<s>[INST]Which FIS Nordic World Ski Championships has Winter Olympics of 1960? Context: CREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)[/INST]SELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = "1960"</s>
CREATE TABLE table_name_69 (date VARCHAR, country VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_69 WHERE country = "united kingdom" AND catalog = "cdzap22"
What is the date for the catalog CDZAP22 in the United Kingdom?
<s>[INST]What is the date for the catalog CDZAP22 in the United Kingdom? Context: CREATE TABLE table_name_69 (date VARCHAR, country VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_69 WHERE country = "united kingdom" AND catalog = "cdzap22"</s>
CREATE TABLE table_2508633_4 (pick__number VARCHAR, player VARCHAR)
SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters"
What number pick was Danny Walters in the 1983 NFL draft?
<s>[INST]What number pick was Danny Walters in the 1983 NFL draft? Context: CREATE TABLE table_2508633_4 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters"</s>
CREATE TABLE table_15299235_1 (grand_prix VARCHAR)
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix"
Who won the spanish grand prix?
<s>[INST]Who won the spanish grand prix? Context: CREATE TABLE table_15299235_1 (grand_prix VARCHAR)[/INST]SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix"</s>
CREATE TABLE Drama_Workshop_Groups (Currency_Code VARCHAR)
SELECT COUNT(DISTINCT Currency_Code) FROM Drama_Workshop_Groups
How many distinct currency codes are there for all drama workshop groups?
<s>[INST]How many distinct currency codes are there for all drama workshop groups? Context: CREATE TABLE Drama_Workshop_Groups (Currency_Code VARCHAR)[/INST]SELECT COUNT(DISTINCT Currency_Code) FROM Drama_Workshop_Groups</s>
CREATE TABLE table_name_38 (vin_code VARCHAR)
SELECT "c" AS ompression_ratio FROM table_name_38 WHERE vin_code = "c"
What's the compression ratio when the vin code is c?
<s>[INST]What's the compression ratio when the vin code is c? Context: CREATE TABLE table_name_38 (vin_code VARCHAR)[/INST]SELECT "c" AS ompression_ratio FROM table_name_38 WHERE vin_code = "c"</s>
CREATE TABLE table_name_93 (number_of_seats INTEGER, current_status VARCHAR, year_placed_in_service VARCHAR)
SELECT MIN(number_of_seats) FROM table_name_93 WHERE current_status = "retired" AND year_placed_in_service = "1981"
What is the smallest number of seats in a retired vehicle that was started in service in 1981?
<s>[INST]What is the smallest number of seats in a retired vehicle that was started in service in 1981? Context: CREATE TABLE table_name_93 (number_of_seats INTEGER, current_status VARCHAR, year_placed_in_service VARCHAR)[/INST]SELECT MIN(number_of_seats) FROM table_name_93 WHERE current_status = "retired" AND year_pla...
CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]"
What surface was played on that resulted in a score of 4–6, 6–2, [10–7]?
<s>[INST]What surface was played on that resulted in a score of 4–6, 6–2, [10–7]? Context: CREATE TABLE table_name_67 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_67 WHERE score = "4–6, 6–2, [10–7]"</s>
CREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR)
SELECT season FROM table_20026849_1 WHERE winner = "Anthony Yeh"
What season was won by Anthony Yeh?
<s>[INST]What season was won by Anthony Yeh? Context: CREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR)[/INST]SELECT season FROM table_20026849_1 WHERE winner = "Anthony Yeh"</s>
CREATE TABLE table_28885977_1 (capacity_at_construction VARCHAR, location VARCHAR)
SELECT capacity_at_construction FROM table_28885977_1 WHERE location = "Gold Coast, Queensland"
What was the capacity at construction of the stadium in Gold Coast, Queensland?
<s>[INST]What was the capacity at construction of the stadium in Gold Coast, Queensland? Context: CREATE TABLE table_28885977_1 (capacity_at_construction VARCHAR, location VARCHAR)[/INST]SELECT capacity_at_construction FROM table_28885977_1 WHERE location = "Gold Coast, Queensland"</s>
CREATE TABLE table_name_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR)
SELECT manufacturer FROM table_name_82 WHERE wheel_arrangement = "2-8-0" AND year_made = "1883"
What is the manufacturer with a wheel arrangement of 2-8-0, and Year made of 1883?
<s>[INST]What is the manufacturer with a wheel arrangement of 2-8-0, and Year made of 1883? Context: CREATE TABLE table_name_82 (manufacturer VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR)[/INST]SELECT manufacturer FROM table_name_82 WHERE wheel_arrangement = "2-8-0" AND year_made = "1883"</s>
CREATE TABLE table_name_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)
SELECT grade FROM table_name_78 WHERE jockey = "robby albarado" AND runner_up_winner = "ravens pass"
What grade did jockey Robby Albarado get when racing with Ravens Pass?
<s>[INST]What grade did jockey Robby Albarado get when racing with Ravens Pass? Context: CREATE TABLE table_name_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)[/INST]SELECT grade FROM table_name_78 WHERE jockey = "robby albarado" AND runner_up_winner = "ravens pass"</s>
CREATE TABLE table_13570_1 (cytoplasm VARCHAR, nucleus VARCHAR)
SELECT COUNT(cytoplasm) FROM table_13570_1 WHERE nucleus = "Blue"
How many cytoplasms result in a blue nucleus?
<s>[INST]How many cytoplasms result in a blue nucleus? Context: CREATE TABLE table_13570_1 (cytoplasm VARCHAR, nucleus VARCHAR)[/INST]SELECT COUNT(cytoplasm) FROM table_13570_1 WHERE nucleus = "Blue"</s>
CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20
What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?
<s>[INST]What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20? Context: CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)[/INST]SELECT product_name, product_description F...
CREATE TABLE table_name_9 (athlete VARCHAR, react VARCHAR)
SELECT athlete FROM table_name_9 WHERE react = 0.248
Which Athlete has a Reaction of 0.248?
<s>[INST]Which Athlete has a Reaction of 0.248? Context: CREATE TABLE table_name_9 (athlete VARCHAR, react VARCHAR)[/INST]SELECT athlete FROM table_name_9 WHERE react = 0.248</s>
CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR)
SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date = "august 23, 1992"
What is the wager on August 23, 1992 where vampiro was the winner?
<s>[INST]What is the wager on August 23, 1992 where vampiro was the winner? Context: CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR)[/INST]SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date = "august 23, 1992"</s>
CREATE TABLE table_name_51 (s_wicket VARCHAR, player VARCHAR)
SELECT s_wicket FROM table_name_51 WHERE player = "shaun young"
What is the s wicket value associated with Shaun Young?
<s>[INST]What is the s wicket value associated with Shaun Young? Context: CREATE TABLE table_name_51 (s_wicket VARCHAR, player VARCHAR)[/INST]SELECT s_wicket FROM table_name_51 WHERE player = "shaun young"</s>
CREATE TABLE table_name_49 (type VARCHAR, transfer_fee VARCHAR)
SELECT type FROM table_name_49 WHERE transfer_fee = "£120,000"
What is the type when £120,000 is the transfer fee?
<s>[INST]What is the type when £120,000 is the transfer fee? Context: CREATE TABLE table_name_49 (type VARCHAR, transfer_fee VARCHAR)[/INST]SELECT type FROM table_name_49 WHERE transfer_fee = "£120,000"</s>
CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary"
What Position is listed against a Venue of Debrecen, Hungary
<s>[INST]What Position is listed against a Venue of Debrecen, Hungary Context: CREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR)[/INST]SELECT position FROM table_name_64 WHERE venue = "debrecen, hungary"</s>
CREATE TABLE table_name_39 (serials_issued VARCHAR, design VARCHAR, issued VARCHAR)
SELECT serials_issued FROM table_name_39 WHERE design = "yellow on blue" AND issued = 1955
What was the issued serial for yellow on blue design issued in 1955?
<s>[INST]What was the issued serial for yellow on blue design issued in 1955? Context: CREATE TABLE table_name_39 (serials_issued VARCHAR, design VARCHAR, issued VARCHAR)[/INST]SELECT serials_issued FROM table_name_39 WHERE design = "yellow on blue" AND issued = 1955</s>
CREATE TABLE table_name_77 (studio VARCHAR, year VARCHAR, title VARCHAR)
SELECT studio FROM table_name_77 WHERE year = 1943 AND title = "the hard way"
What was the studio for The Hard Way in 1943?
<s>[INST]What was the studio for The Hard Way in 1943? Context: CREATE TABLE table_name_77 (studio VARCHAR, year VARCHAR, title VARCHAR)[/INST]SELECT studio FROM table_name_77 WHERE year = 1943 AND title = "the hard way"</s>
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_72 WHERE venue = "arden street oval"
What team was the away team at Arden Street Oval?
<s>[INST]What team was the away team at Arden Street Oval? Context: CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_72 WHERE venue = "arden street oval"</s>
CREATE TABLE table_29836557_2 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_29836557_2 WHERE pick__number = 34
Who was pick number 34?
<s>[INST]Who was pick number 34? Context: CREATE TABLE table_29836557_2 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_29836557_2 WHERE pick__number = 34</s>
CREATE TABLE table_name_39 (start VARCHAR, finish VARCHAR)
SELECT start FROM table_name_39 WHERE finish = "21st"
Name the start for finish being 21st
<s>[INST]Name the start for finish being 21st Context: CREATE TABLE table_name_39 (start VARCHAR, finish VARCHAR)[/INST]SELECT start FROM table_name_39 WHERE finish = "21st"</s>
CREATE TABLE table_name_83 (envelopment VARCHAR, family VARCHAR)
SELECT envelopment FROM table_name_83 WHERE family = "rhabdoviridae"
What is the envelopment for the rhabdoviridae family?
<s>[INST]What is the envelopment for the rhabdoviridae family? Context: CREATE TABLE table_name_83 (envelopment VARCHAR, family VARCHAR)[/INST]SELECT envelopment FROM table_name_83 WHERE family = "rhabdoviridae"</s>
CREATE TABLE table_name_52 (game_4 VARCHAR, game_2 VARCHAR)
SELECT game_4 FROM table_name_52 WHERE game_2 = "brett kenny"
During which Game 4, did Brett Kenny play Game 2?
<s>[INST]During which Game 4, did Brett Kenny play Game 2? Context: CREATE TABLE table_name_52 (game_4 VARCHAR, game_2 VARCHAR)[/INST]SELECT game_4 FROM table_name_52 WHERE game_2 = "brett kenny"</s>
CREATE TABLE table_name_60 (lane INTEGER, heat VARCHAR, mark VARCHAR)
SELECT MAX(lane) FROM table_name_60 WHERE heat > 1 AND mark = "7.25"
What is the most lanes used in races with more than 1 heat and a winning mark of 7.25?
<s>[INST]What is the most lanes used in races with more than 1 heat and a winning mark of 7.25? Context: CREATE TABLE table_name_60 (lane INTEGER, heat VARCHAR, mark VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_60 WHERE heat > 1 AND mark = "7.25"</s>
CREATE TABLE table_name_25 (venue VARCHAR, date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT venue FROM table_name_25 WHERE competition = "2010 fifa world cup qualification" AND result = "won" AND date = "14 june 2008"
What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008?
<s>[INST]What is Venue, when Competition is 2010 FIFA World Cup Qualification, when Result is Won, and when Date is 14 June 2008? Context: CREATE TABLE table_name_25 (venue VARCHAR, date VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_25 WHERE competition = "2010 fifa world cup qualific...
CREATE TABLE table_name_37 (height INTEGER, player VARCHAR)
SELECT MIN(height) FROM table_name_37 WHERE player = "rans brempong"
What is the lowest height for Rans Brempong?
<s>[INST]What is the lowest height for Rans Brempong? Context: CREATE TABLE table_name_37 (height INTEGER, player VARCHAR)[/INST]SELECT MIN(height) FROM table_name_37 WHERE player = "rans brempong"</s>
CREATE TABLE table_24123547_2 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_24123547_2 WHERE opponent = "Lions"
What was the result of the games VS the Lions?
<s>[INST]What was the result of the games VS the Lions? Context: CREATE TABLE table_24123547_2 (final_score VARCHAR, opponent VARCHAR)[/INST]SELECT final_score FROM table_24123547_2 WHERE opponent = "Lions"</s>
CREATE TABLE table_27755603_2 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT location_attendance FROM table_27755603_2 WHERE high_assists = "Will Bynum (5)"
Where was the game in which Will Bynum (5) did the high assists played?
<s>[INST]Where was the game in which Will Bynum (5) did the high assists played? Context: CREATE TABLE table_27755603_2 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_27755603_2 WHERE high_assists = "Will Bynum (5)"</s>
CREATE TABLE table_name_47 (markatal INTEGER, inhabitants_per_km² VARCHAR, area__in_km²_ VARCHAR)
SELECT SUM(markatal) FROM table_name_47 WHERE inhabitants_per_km² < 13 AND area__in_km²_ = 27
What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27?
<s>[INST]What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27? Context: CREATE TABLE table_name_47 (markatal INTEGER, inhabitants_per_km² VARCHAR, area__in_km²_ VARCHAR)[/INST]SELECT SUM(markatal) FROM table_name_47 WHERE inhabitants_per_km² < 13 AND area__in_km²_ = 27</s>
CREATE TABLE table_name_81 (building VARCHAR, floors VARCHAR, year VARCHAR)
SELECT building FROM table_name_81 WHERE floors > 15 AND year = "2013"
For the Year 2013 what building(s) had more than 15 Floors?
<s>[INST]For the Year 2013 what building(s) had more than 15 Floors? Context: CREATE TABLE table_name_81 (building VARCHAR, floors VARCHAR, year VARCHAR)[/INST]SELECT building FROM table_name_81 WHERE floors > 15 AND year = "2013"</s>
CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_41 WHERE opponent = "joe pardo"
What is Event, when Opponent is "Joe Pardo"?
<s>[INST]What is Event, when Opponent is "Joe Pardo"? Context: CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_41 WHERE opponent = "joe pardo"</s>
CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR); CREATE TABLE Companies (name VARCHAR, id VARCHAR)
SELECT T3.name, T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id
List the name of a building along with the name of a company whose office is in the building.
<s>[INST]List the name of a building along with the name of a company whose office is in the building. Context: CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR); CREATE TABLE Companies (name VARCHAR, id VARCHAR)[/INST]SELECT T3.name, T2.name FROM...
CREATE TABLE Assessment_Notes (date_of_notes VARCHAR)
SELECT * FROM Assessment_Notes ORDER BY date_of_notes
List all information about the assessment notes sorted by date in ascending order.
<s>[INST]List all information about the assessment notes sorted by date in ascending order. Context: CREATE TABLE Assessment_Notes (date_of_notes VARCHAR)[/INST]SELECT * FROM Assessment_Notes ORDER BY date_of_notes</s>
CREATE TABLE table_name_54 (date VARCHAR, status VARCHAR)
SELECT date FROM table_name_54 WHERE status = "second test"
Which Date has a Status of second test?
<s>[INST]Which Date has a Status of second test? Context: CREATE TABLE table_name_54 (date VARCHAR, status VARCHAR)[/INST]SELECT date FROM table_name_54 WHERE status = "second test"</s>
CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR)
SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter"
What country was ole ellefsæter from?
<s>[INST]What country was ole ellefsæter from? Context: CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR)[/INST]SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter"</s>
CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10
What is the placement date of the order whose invoice number is 10?
<s>[INST]What is the placement date of the order whose invoice number is 10? Context: CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)[/INST]SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id...
CREATE TABLE Students (student_id VARCHAR); CREATE TABLE Student_Course_Enrolment (student_id VARCHAR)
SELECT COUNT(*) FROM Students WHERE NOT student_id IN (SELECT student_id FROM Student_Course_Enrolment)
How many students did not have any course enrollment?
<s>[INST]How many students did not have any course enrollment? Context: CREATE TABLE Students (student_id VARCHAR); CREATE TABLE Student_Course_Enrolment (student_id VARCHAR)[/INST]SELECT COUNT(*) FROM Students WHERE NOT student_id IN (SELECT student_id FROM Student_Course_Enrolment)</s>
CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)
SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%"
Which source shows Blackberry at 2.9%?
<s>[INST]Which source shows Blackberry at 2.9%? Context: CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)[/INST]SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%"</s>
CREATE TABLE table_2167226_3 (winning_score VARCHAR, margin_of_victory VARCHAR)
SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = "5 strokes"
What is the winning score when 5 strokes is the margin of victory?
<s>[INST]What is the winning score when 5 strokes is the margin of victory? Context: CREATE TABLE table_2167226_3 (winning_score VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = "5 strokes"</s>
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
What is the highest round where a back named Ed Cody can be found?
<s>[INST]What is the highest round where a back named Ed Cody can be found? Context: CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"</s>
CREATE TABLE movie (director VARCHAR)
SELECT COUNT(DISTINCT director) FROM movie
How many movie directors are there?
<s>[INST]How many movie directors are there? Context: CREATE TABLE movie (director VARCHAR)[/INST]SELECT COUNT(DISTINCT director) FROM movie</s>
CREATE TABLE table_2886617_4 (nationality VARCHAR, player VARCHAR)
SELECT COUNT(nationality) FROM table_2886617_4 WHERE player = "Marc Savard"
How many countries had players named Marc Savard get picked?
<s>[INST]How many countries had players named Marc Savard get picked? Context: CREATE TABLE table_2886617_4 (nationality VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nationality) FROM table_2886617_4 WHERE player = "Marc Savard"</s>
CREATE TABLE table_name_93 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_93 WHERE silver > 8 AND bronze = 20 AND gold < 20
Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20?
<s>[INST]Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20? Context: CREATE TABLE table_name_93 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_93 WHERE silver > 8 AND bronze = 20 AND gold < 20</s>
CREATE TABLE table_14345690_4 (finished VARCHAR, celebrity VARCHAR)
SELECT COUNT(finished) FROM table_14345690_4 WHERE celebrity = "Kerry Katona"
Name the finished for kerry katona
<s>[INST]Name the finished for kerry katona Context: CREATE TABLE table_14345690_4 (finished VARCHAR, celebrity VARCHAR)[/INST]SELECT COUNT(finished) FROM table_14345690_4 WHERE celebrity = "Kerry Katona"</s>
CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)
SELECT Ref_Shipping_Agents.shipping_agent_name FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Documents.document_id = 2
What is the name of the shipping agent of the document with id 2?
<s>[INST]What is the name of the shipping agent of the document with id 2? Context: CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)[/INST]SELECT Ref_Shipping_Agents.shipping_agent_name FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipp...
CREATE TABLE table_name_58 (agg VARCHAR)
SELECT 1 AS st_leg FROM table_name_58 WHERE agg = "alense vivaldi (trentino)"
What 1st leg has Alense Vivaldi (Trentino) as Agg.?
<s>[INST]What 1st leg has Alense Vivaldi (Trentino) as Agg.? Context: CREATE TABLE table_name_58 (agg VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_58 WHERE agg = "alense vivaldi (trentino)"</s>
CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_65 WHERE player = "tim clark"
Name the place for tim clark
<s>[INST]Name the place for tim clark Context: CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_65 WHERE player = "tim clark"</s>
CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche"
How many films are titled "Dans la Ville Blanche"?
<s>[INST]How many films are titled "Dans la Ville Blanche"? Context: CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)[/INST]SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche"</s>
CREATE TABLE table_10477224_1 (sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR)
SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1"
Name the sepal width for i.virginica with petal length of 5.1
<s>[INST]Name the sepal width for i.virginica with petal length of 5.1 Context: CREATE TABLE table_10477224_1 (sepal_width VARCHAR, species VARCHAR, petal_length VARCHAR)[/INST]SELECT sepal_width FROM table_10477224_1 WHERE species = "I.virginica" AND petal_length = "5.1"</s>
CREATE TABLE table_2897457_7 (nationality VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_2897457_7 WHERE pick__number = 136
Which country is pick# 136 from?
<s>[INST]Which country is pick# 136 from? Context: CREATE TABLE table_2897457_7 (nationality VARCHAR, pick__number VARCHAR)[/INST]SELECT nationality FROM table_2897457_7 WHERE pick__number = 136</s>
CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification"
Name the result for 2000 afc asian cup qualification
<s>[INST]Name the result for 2000 afc asian cup qualification Context: CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification"</s>
CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER, viewers__millions_ VARCHAR)
SELECT MIN(itv1_weekly_ranking) FROM table_25664518_3 WHERE viewers__millions_ = "5.42"
What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?
<s>[INST]What is the minimum ITV1 ranking for the episode having viewership of 5.42 million? Context: CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER, viewers__millions_ VARCHAR)[/INST]SELECT MIN(itv1_weekly_ranking) FROM table_25664518_3 WHERE viewers__millions_ = "5.42"</s>
CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR)
SELECT championship FROM table_name_72 WHERE session = "race" AND event = "indianapolis sweepstakes"
In the Indianapolis Sweepstakes race session, what is the championship?
<s>[INST]In the Indianapolis Sweepstakes race session, what is the championship? Context: CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR)[/INST]SELECT championship FROM table_name_72 WHERE session = "race" AND event = "indianapolis sweepstakes"</s>
CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin"
Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?
<s>[INST]Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin? Context: CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin"</s>
CREATE TABLE table_16381914_1 (enrollment VARCHAR, founded VARCHAR)
SELECT enrollment FROM table_16381914_1 WHERE founded = 1846
What was the enrollment of the school founded in 1846?
<s>[INST]What was the enrollment of the school founded in 1846? Context: CREATE TABLE table_16381914_1 (enrollment VARCHAR, founded VARCHAR)[/INST]SELECT enrollment FROM table_16381914_1 WHERE founded = 1846</s>
CREATE TABLE table_name_3 (points INTEGER, year VARCHAR, entrant VARCHAR)
SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = "walter wolf racing"
What's the least amount of points that Walter Wolf Racing had after 1974?
<s>[INST]What's the least amount of points that Walter Wolf Racing had after 1974? Context: CREATE TABLE table_name_3 (points INTEGER, year VARCHAR, entrant VARCHAR)[/INST]SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = "walter wolf racing"</s>
CREATE TABLE table_name_39 (league VARCHAR, year VARCHAR)
SELECT league FROM table_name_39 WHERE year = 2001
What league did they play in 2001?
<s>[INST]What league did they play in 2001? Context: CREATE TABLE table_name_39 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_name_39 WHERE year = 2001</s>
CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)
SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season"
Who replaced when position in table is pre-season?
<s>[INST]Who replaced when position in table is pre-season? Context: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)[/INST]SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season"</s>
CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)
SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0
How many touchdowns were the when there was more than 1.0 extra point?
<s>[INST]How many touchdowns were the when there was more than 1.0 extra point? Context: CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)[/INST]SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0</s>