context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)
SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22
Tell me the record for a time in seconds smaller than 5.22.
<s>[INST]Tell me the record for a time in seconds smaller than 5.22. Context: CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)[/INST]SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22</s>
CREATE TABLE table_name_66 (match VARCHAR, competition VARCHAR, date VARCHAR)
SELECT match FROM table_name_66 WHERE competition = "group stage" AND date = "2000-09-17"
Which Match has a Competition of Group Stage on 2000-09-17?
<s>[INST]Which Match has a Competition of Group Stage on 2000-09-17? Context: CREATE TABLE table_name_66 (match VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT match FROM table_name_66 WHERE competition = "group stage" AND date = "2000-09-17"</s>
CREATE TABLE table_name_78 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT MAX(bronze) FROM table_name_78 WHERE gold < 1 AND rank = "17" AND nation = "china"
Which Bronze has a Gold smaller than 1, and a Rank of 17, and a Nation of china?
<s>[INST]Which Bronze has a Gold smaller than 1, and a Rank of 17, and a Nation of china? Context: CREATE TABLE table_name_78 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_78 WHERE gold < 1 AND rank = "17" AND nation = "china"</s>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
SELECT SUM(t3.order_quantity) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney"
What is the total quantity of products purchased by "Rodrick Heaney"?
<s>[INST]What is the total quantity of products purchased by "Rodrick Heaney"? Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)[/INST]SELECT SUM(t3.order...
CREATE TABLE table_name_55 (city VARCHAR, school VARCHAR, last VARCHAR, rank VARCHAR, first VARCHAR)
SELECT city FROM table_name_55 WHERE rank < 8 AND first < 1980 AND last > 1960 AND school = "highland"
What city is the School, Highland, in that ranks less than 8 and had its first title before 1980 and its last title later than 1960?
<s>[INST]What city is the School, Highland, in that ranks less than 8 and had its first title before 1980 and its last title later than 1960? Context: CREATE TABLE table_name_55 (city VARCHAR, school VARCHAR, last VARCHAR, rank VARCHAR, first VARCHAR)[/INST]SELECT city FROM table_name_55 WHERE rank < 8 AND first < 1980...
CREATE TABLE table_24231638_3 (team VARCHAR, position_in_table VARCHAR)
SELECT team FROM table_24231638_3 WHERE position_in_table = "19th"
What is the team for the position in table 19th?
<s>[INST]What is the team for the position in table 19th? Context: CREATE TABLE table_24231638_3 (team VARCHAR, position_in_table VARCHAR)[/INST]SELECT team FROM table_24231638_3 WHERE position_in_table = "19th"</s>
CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_code VARCHAR)
SELECT t1.product_name, t1.typical_buying_price, t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = "yellow"
What are the name and typical buying and selling prices of the products that have color described as "yellow"?
<s>[INST]What are the name and typical buying and selling prices of the products that have color described as "yellow"? Context: CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_code V...
CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0
What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10?
<s>[INST]What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10? Context: CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank...
CREATE TABLE table_29942205_1 (Id VARCHAR)
SELECT MIN(1 AS st_runner_up) FROM table_29942205_1
What is the smallest quantity displayed under the title "first runner-up"?
<s>[INST]What is the smallest quantity displayed under the title "first runner-up"? Context: CREATE TABLE table_29942205_1 (Id VARCHAR)[/INST]SELECT MIN(1 AS st_runner_up) FROM table_29942205_1</s>
CREATE TABLE table_name_9 (player VARCHAR, height VARCHAR)
SELECT player FROM table_name_9 WHERE height = "6-2"
Which player is 6-2?
<s>[INST]Which player is 6-2? Context: CREATE TABLE table_name_9 (player VARCHAR, height VARCHAR)[/INST]SELECT player FROM table_name_9 WHERE height = "6-2"</s>
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle"
How many friends does the high school student Kyle have?
<s>[INST]How many friends does the high school student Kyle have? Context: CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)[/INST]SELECT COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle"</s>
CREATE TABLE table_name_99 (race VARCHAR, tyre VARCHAR, winning_driver VARCHAR)
SELECT race FROM table_name_99 WHERE tyre = "p" AND winning_driver = "juan manuel fangio"
What is the race that had a tyre of p and Juan Manuel Fangio as the winning driver?
<s>[INST]What is the race that had a tyre of p and Juan Manuel Fangio as the winning driver? Context: CREATE TABLE table_name_99 (race VARCHAR, tyre VARCHAR, winning_driver VARCHAR)[/INST]SELECT race FROM table_name_99 WHERE tyre = "p" AND winning_driver = "juan manuel fangio"</s>
CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_81 WHERE grid = 10
What is the time with 10 grids?
<s>[INST]What is the time with 10 grids? Context: CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_81 WHERE grid = 10</s>
CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_66 WHERE tournament = "antalya-belek"
What is the score in the touranament of Antalya-Belek?
<s>[INST]What is the score in the touranament of Antalya-Belek? Context: CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE tournament = "antalya-belek"</s>
CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (FlightNo VARCHAR, Airline VARCHAR)
SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = "United Airlines"
What are flight numbers of Airline "United Airlines"?
<s>[INST]What are flight numbers of Airline "United Airlines"? Context: CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (FlightNo VARCHAR, Airline VARCHAR)[/INST]SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRLINES AS T2 ON T2.uid = T1.Airline WHERE T2.Airline = "United Airlines"</s>
CREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR)
SELECT class FROM table_name_14 WHERE part_2 = "halp warþ"
Which class has a part 2 of halp warþ?
<s>[INST]Which class has a part 2 of halp warþ? Context: CREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR)[/INST]SELECT class FROM table_name_14 WHERE part_2 = "halp warþ"</s>
CREATE TABLE table_name_34 (grid VARCHAR, laps INTEGER)
SELECT COUNT(grid) FROM table_name_34 WHERE laps > 69
What is the grid total for cars with over 69 laps?
<s>[INST]What is the grid total for cars with over 69 laps? Context: CREATE TABLE table_name_34 (grid VARCHAR, laps INTEGER)[/INST]SELECT COUNT(grid) FROM table_name_34 WHERE laps > 69</s>
CREATE TABLE table_169693_1 (age_40_49 INTEGER)
SELECT MIN(age_40_49) FROM table_169693_1
Name the least age 40-49
<s>[INST]Name the least age 40-49 Context: CREATE TABLE table_169693_1 (age_40_49 INTEGER)[/INST]SELECT MIN(age_40_49) FROM table_169693_1</s>
CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Hatton W. Sumners"
How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?
<s>[INST]How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected? Context: CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Hatton W. Sumners...
CREATE TABLE table_name_73 (tally VARCHAR, total VARCHAR, opposition VARCHAR)
SELECT tally FROM table_name_73 WHERE total > 8 AND opposition = "waterford"
What is the tally with a total larger than 8, Waterford was the opposition?
<s>[INST]What is the tally with a total larger than 8, Waterford was the opposition? Context: CREATE TABLE table_name_73 (tally VARCHAR, total VARCHAR, opposition VARCHAR)[/INST]SELECT tally FROM table_name_73 WHERE total > 8 AND opposition = "waterford"</s>
CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR)
SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"
What line has Junction of Huntly NIMT
<s>[INST]What line has Junction of Huntly NIMT Context: CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR)[/INST]SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"</s>
CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)
SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2
List the names of aircrafts and that won matches at least twice.
<s>[INST]List the names of aircrafts and that won matches at least twice. Context: CREATE TABLE MATCH (Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)[/INST]SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircra...
CREATE TABLE table_name_21 (date VARCHAR, time__greatest_ VARCHAR, magnitude VARCHAR, saros VARCHAR, type VARCHAR)
SELECT date FROM table_name_21 WHERE saros > 124 AND type = "total" AND magnitude > 1.0535 AND time__greatest_ = "20:55:28"
what is the date when saros is more than 124, the type is total, the magnitude is more than 1.0535 and the time (greatest) is 20:55:28?
<s>[INST]what is the date when saros is more than 124, the type is total, the magnitude is more than 1.0535 and the time (greatest) is 20:55:28? Context: CREATE TABLE table_name_21 (date VARCHAR, time__greatest_ VARCHAR, magnitude VARCHAR, saros VARCHAR, type VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE saros > ...
CREATE TABLE table_name_60 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_60 WHERE outgoing_manager = "petrik sander"
When is the appointment date for outgoing manager Petrik Sander?
<s>[INST]When is the appointment date for outgoing manager Petrik Sander? Context: CREATE TABLE table_name_60 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_60 WHERE outgoing_manager = "petrik sander"</s>
CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR)
SELECT icao FROM table_name_35 WHERE country = "saudi arabia" AND city = "riyadh"
What is the ICAO for Riyadh, Saudi Arabia?
<s>[INST]What is the ICAO for Riyadh, Saudi Arabia? Context: CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR)[/INST]SELECT icao FROM table_name_35 WHERE country = "saudi arabia" AND city = "riyadh"</s>
CREATE TABLE table_name_61 (date VARCHAR, clock VARCHAR)
SELECT date FROM table_name_61 WHERE clock = "0.8-1.6ghz"
Which date has a Clock of 0.8-1.6ghz?
<s>[INST]Which date has a Clock of 0.8-1.6ghz? Context: CREATE TABLE table_name_61 (date VARCHAR, clock VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE clock = "0.8-1.6ghz"</s>
CREATE TABLE table_name_59 (played INTEGER, points VARCHAR, against VARCHAR)
SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52
What is the number of games played for the team with 12 points and an against smaller than 52?
<s>[INST]What is the number of games played for the team with 12 points and an against smaller than 52? Context: CREATE TABLE table_name_59 (played INTEGER, points VARCHAR, against VARCHAR)[/INST]SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52</s>
CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_17869717_1 WHERE date = "November 3"
In how many weeks was the game played on November 3 played?
<s>[INST]In how many weeks was the game played on November 3 played? Context: CREATE TABLE table_17869717_1 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_17869717_1 WHERE date = "November 3"</s>
CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_34 WHERE week > 6 AND attendance = "bye"
What date after Week 6 was a Bye?
<s>[INST]What date after Week 6 was a Bye? Context: CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE week > 6 AND attendance = "bye"</s>
CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = "Sacked" AND position_in_table = "14th" AND replaced_by = "Marco Kostmann"
Name the date of appointment for sacked and 14th position replaced by marco kostmann
<s>[INST]Name the date of appointment for sacked and 14th position replaced by marco kostmann Context: CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)[/INST]SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure...
CREATE TABLE table_name_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR)
SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billion_yuan_ > 688.02 AND regional_population_2010_ = "8,700,400"
Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010?
<s>[INST]Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010? Context: CREATE TABLE table_name_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR)[/INST]SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billio...
CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_17 WHERE record = "46-39"
On what date was their record 46-39?
<s>[INST]On what date was their record 46-39? Context: CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE record = "46-39"</s>
CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)
SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"
what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?
<s>[INST]what is the capacity when the home city is zagreb and the manager is zlatko kranjčar? Context: CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"</s>
CREATE TABLE table_name_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
SELECT AVG(round) FROM table_name_85 WHERE school_club_team = "indiana" AND pick < 198
Which Round has a School/Club Team of indiana, and a Pick smaller than 198?
<s>[INST]Which Round has a School/Club Team of indiana, and a Pick smaller than 198? Context: CREATE TABLE table_name_85 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)[/INST]SELECT AVG(round) FROM table_name_85 WHERE school_club_team = "indiana" AND pick < 198</s>
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_65 WHERE date = "november 7"
what team scored on november 7
<s>[INST]what team scored on november 7 Context: CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_65 WHERE date = "november 7"</s>
CREATE TABLE table_24913533_4 (steals VARCHAR, blocks VARCHAR)
SELECT steals FROM table_24913533_4 WHERE blocks = 3
What are the numbers of steals associated with players having exactly 3 blocks?
<s>[INST]What are the numbers of steals associated with players having exactly 3 blocks? Context: CREATE TABLE table_24913533_4 (steals VARCHAR, blocks VARCHAR)[/INST]SELECT steals FROM table_24913533_4 WHERE blocks = 3</s>
CREATE TABLE table_name_72 (week_5 VARCHAR, week_3 VARCHAR)
SELECT week_5 FROM table_name_72 WHERE week_3 = "mikaela james"
Who was the girl on week 5 that came after week 3's Mikaela James?
<s>[INST]Who was the girl on week 5 that came after week 3's Mikaela James? Context: CREATE TABLE table_name_72 (week_5 VARCHAR, week_3 VARCHAR)[/INST]SELECT week_5 FROM table_name_72 WHERE week_3 = "mikaela james"</s>
CREATE TABLE table_26842217_4 (home_team VARCHAR, visiting_team VARCHAR)
SELECT home_team FROM table_26842217_4 WHERE visiting_team = "San Jose State"
What is the home team where the San Jose state is the visiting team?
<s>[INST]What is the home team where the San Jose state is the visiting team? Context: CREATE TABLE table_26842217_4 (home_team VARCHAR, visiting_team VARCHAR)[/INST]SELECT home_team FROM table_26842217_4 WHERE visiting_team = "San Jose State"</s>
CREATE TABLE Properties (property_name VARCHAR, property_type_code VARCHAR, room_count VARCHAR)
SELECT property_name FROM Properties WHERE property_type_code = "House" UNION SELECT property_name FROM Properties WHERE property_type_code = "Apartment" AND room_count > 1
What are the names of properties that are either houses or apartments with more than 1 room?
<s>[INST]What are the names of properties that are either houses or apartments with more than 1 room? Context: CREATE TABLE Properties (property_name VARCHAR, property_type_code VARCHAR, room_count VARCHAR)[/INST]SELECT property_name FROM Properties WHERE property_type_code = "House" UNION SELECT property_name FROM Pro...
CREATE TABLE table_2896329_1 (date VARCHAR, track VARCHAR)
SELECT date FROM table_2896329_1 WHERE track = "Ballarat"
On what date was the track Ballarat?
<s>[INST]On what date was the track Ballarat? Context: CREATE TABLE table_2896329_1 (date VARCHAR, track VARCHAR)[/INST]SELECT date FROM table_2896329_1 WHERE track = "Ballarat"</s>
CREATE TABLE table_name_71 (serial_format VARCHAR, issued VARCHAR)
SELECT serial_format FROM table_name_71 WHERE issued = 1972
What serial format was issued in 1972?
<s>[INST]What serial format was issued in 1972? Context: CREATE TABLE table_name_71 (serial_format VARCHAR, issued VARCHAR)[/INST]SELECT serial_format FROM table_name_71 WHERE issued = 1972</s>
CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER)
SELECT MIN(games) FROM table_name_26 WHERE drawn < 0
What is the lowest game that has a drawn less than 0?
<s>[INST]What is the lowest game that has a drawn less than 0? Context: CREATE TABLE table_name_26 (games INTEGER, drawn INTEGER)[/INST]SELECT MIN(games) FROM table_name_26 WHERE drawn < 0</s>
CREATE TABLE table_name_62 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR)
SELECT MIN(pick__number) FROM table_name_62 WHERE position = "rec" AND cfl_team = "hamilton tiger-cats"
What is the lowest Pick #, when Position is REC, and when CFL Team is Hamilton Tiger-Cats?
<s>[INST]What is the lowest Pick #, when Position is REC, and when CFL Team is Hamilton Tiger-Cats? Context: CREATE TABLE table_name_62 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_name_62 WHERE position = "rec" AND cfl_team = "hamilton tiger-cats"</s>
CREATE TABLE table_name_14 (points_won INTEGER, year VARCHAR)
SELECT MAX(points_won) FROM table_name_14 WHERE year = "1996"
How many points were won in 1996?
<s>[INST]How many points were won in 1996? Context: CREATE TABLE table_name_14 (points_won INTEGER, year VARCHAR)[/INST]SELECT MAX(points_won) FROM table_name_14 WHERE year = "1996"</s>
CREATE TABLE table_name_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR)
SELECT COUNT(field_goals) FROM table_name_6 WHERE extra_points > 0 AND touchdowns = 5
What is the total number of field goals a player had when there were more than 0 extra points and there were 5 touchdowns?
<s>[INST]What is the total number of field goals a player had when there were more than 0 extra points and there were 5 touchdowns? Context: CREATE TABLE table_name_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR)[/INST]SELECT COUNT(field_goals) FROM table_name_6 WHERE extra_points > 0 AND touchdowns =...
CREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR)
SELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = "won"
Which Nominated Work won in 2000?
<s>[INST]Which Nominated Work won in 2000? Context: CREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR)[/INST]SELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = "won"</s>
CREATE TABLE table_name_7 (total_foreign_born__1000_ INTEGER, country VARCHAR, born_in_other_eu_state__1000_ VARCHAR)
SELECT SUM(total_foreign_born__1000_) FROM table_name_7 WHERE country = "sweden" AND born_in_other_eu_state__1000_ > 477
How many Foreign-born (1000) are from Sweden and born in some other EU state (1000) larger than 477?
<s>[INST]How many Foreign-born (1000) are from Sweden and born in some other EU state (1000) larger than 477? Context: CREATE TABLE table_name_7 (total_foreign_born__1000_ INTEGER, country VARCHAR, born_in_other_eu_state__1000_ VARCHAR)[/INST]SELECT SUM(total_foreign_born__1000_) FROM table_name_7 WHERE country = "swed...
CREATE TABLE table_name_63 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_63 WHERE opponent = "dustin hazelett"
In which round was Dustin Hazelett the opponent?
<s>[INST]In which round was Dustin Hazelett the opponent? Context: CREATE TABLE table_name_63 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_63 WHERE opponent = "dustin hazelett"</s>
CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
SELECT gymnast FROM table_18662026_10 WHERE parallel_bars = "16.150"
If the parallel bars is 16.150, who is the gymnast?
<s>[INST]If the parallel bars is 16.150, who is the gymnast? Context: CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)[/INST]SELECT gymnast FROM table_18662026_10 WHERE parallel_bars = "16.150"</s>
CREATE TABLE table_name_88 (games INTEGER, debut_year VARCHAR, player VARCHAR)
SELECT MIN(games) FROM table_name_88 WHERE debut_year = 1936 AND player = "jack gaudion"
What is the lowest number of games Jack Gaudion, who debut in 1936, played?
<s>[INST]What is the lowest number of games Jack Gaudion, who debut in 1936, played? Context: CREATE TABLE table_name_88 (games INTEGER, debut_year VARCHAR, player VARCHAR)[/INST]SELECT MIN(games) FROM table_name_88 WHERE debut_year = 1936 AND player = "jack gaudion"</s>
CREATE TABLE table_name_70 (season VARCHAR, overall VARCHAR)
SELECT season FROM table_name_70 WHERE overall = "77"
What year's Season had an Overall of 77?
<s>[INST]What year's Season had an Overall of 77? Context: CREATE TABLE table_name_70 (season VARCHAR, overall VARCHAR)[/INST]SELECT season FROM table_name_70 WHERE overall = "77"</s>
CREATE TABLE table_name_43 (Id VARCHAR)
SELECT 2010 FROM table_name_43 WHERE 2011 = "q2" AND 2012 = "1r" AND 2009 = "1r"
What is the 2010 result of a tournament that is 1R in 2009, Q2 in 2011 and 1R in 2012?
<s>[INST]What is the 2010 result of a tournament that is 1R in 2009, Q2 in 2011 and 1R in 2012? Context: CREATE TABLE table_name_43 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_43 WHERE 2011 = "q2" AND 2012 = "1r" AND 2009 = "1r"</s>
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_32 WHERE date = "june 8"
On the date of June 8 what was the record?
<s>[INST]On the date of June 8 what was the record? Context: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_32 WHERE date = "june 8"</s>
CREATE TABLE table_name_31 (population VARCHAR, area__km²_ VARCHAR)
SELECT population FROM table_name_31 WHERE area__km²_ = "70,273"
What is the Population of the nation that has an Area (km²) of 70,273?
<s>[INST]What is the Population of the nation that has an Area (km²) of 70,273? Context: CREATE TABLE table_name_31 (population VARCHAR, area__km²_ VARCHAR)[/INST]SELECT population FROM table_name_31 WHERE area__km²_ = "70,273"</s>
CREATE TABLE table_25277262_2 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_25277262_2 WHERE no_in_season = 11
What is the name of the episode # 11 in the season?
<s>[INST]What is the name of the episode # 11 in the season? Context: CREATE TABLE table_25277262_2 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT title FROM table_25277262_2 WHERE no_in_season = 11</s>
CREATE TABLE table_name_56 (period VARCHAR, matches VARCHAR, country VARCHAR)
SELECT period FROM table_name_56 WHERE matches = "0 0" AND country = "portugal"
Name the period with matches of 0 0 of portugal
<s>[INST]Name the period with matches of 0 0 of portugal Context: CREATE TABLE table_name_56 (period VARCHAR, matches VARCHAR, country VARCHAR)[/INST]SELECT period FROM table_name_56 WHERE matches = "0 0" AND country = "portugal"</s>
CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_29 WHERE venue = "corio oval"
Which home team plays in the Corio Oval venue?
<s>[INST]Which home team plays in the Corio Oval venue? Context: CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_29 WHERE venue = "corio oval"</s>
CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)
SELECT luma_samples_s FROM table_237036_2 WHERE level = "1.3"
What are the luma samples at level 1.3?
<s>[INST]What are the luma samples at level 1.3? Context: CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)[/INST]SELECT luma_samples_s FROM table_237036_2 WHERE level = "1.3"</s>
CREATE TABLE table_21220720_1 (finals_apps INTEGER)
SELECT MAX(finals_apps) FROM table_21220720_1
Name the mosst finals apps
<s>[INST]Name the mosst finals apps Context: CREATE TABLE table_21220720_1 (finals_apps INTEGER)[/INST]SELECT MAX(finals_apps) FROM table_21220720_1</s>
CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_12 WHERE title = "clean pastures"
Who was the director of Clean Pastures?
<s>[INST]Who was the director of Clean Pastures? Context: CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_12 WHERE title = "clean pastures"</s>
CREATE TABLE table_name_74 (game VARCHAR, opponent VARCHAR, february VARCHAR)
SELECT COUNT(game) FROM table_name_74 WHERE opponent = "edmonton oilers" AND february > 12
What is the game number of the game with the Edmonton Oilers as the opponent after February 12?
<s>[INST]What is the game number of the game with the Edmonton Oilers as the opponent after February 12? Context: CREATE TABLE table_name_74 (game VARCHAR, opponent VARCHAR, february VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_74 WHERE opponent = "edmonton oilers" AND february > 12</s>
CREATE TABLE table_name_78 (pinyin VARCHAR, chinese_title VARCHAR)
SELECT pinyin FROM table_name_78 WHERE chinese_title = "直感一笔"
What is the pinyin for the Chinese title 直感一笔?
<s>[INST]What is the pinyin for the Chinese title 直感一笔? Context: CREATE TABLE table_name_78 (pinyin VARCHAR, chinese_title VARCHAR)[/INST]SELECT pinyin FROM table_name_78 WHERE chinese_title = "直感一笔"</s>
CREATE TABLE table_name_43 (points INTEGER, chassis VARCHAR)
SELECT MIN(points) FROM table_name_43 WHERE chassis = "coloni fc88"
What were the least points with a Coloni FC88 chassis?
<s>[INST]What were the least points with a Coloni FC88 chassis? Context: CREATE TABLE table_name_43 (points INTEGER, chassis VARCHAR)[/INST]SELECT MIN(points) FROM table_name_43 WHERE chassis = "coloni fc88"</s>
CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8"
Name the total number of attendance for october 8
<s>[INST]Name the total number of attendance for october 8 Context: CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8"</s>
CREATE TABLE table_name_66 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_66 WHERE tie_no = "5"
What is the away team with a 5 tie no?
<s>[INST]What is the away team with a 5 tie no? Context: CREATE TABLE table_name_66 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_66 WHERE tie_no = "5"</s>
CREATE TABLE table_name_40 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT player FROM table_name_40 WHERE money___$__ < 387 AND score = 73 - 76 - 74 - 72 = 295
What is Player, when Money ( $ ) is less than 387, and when Score is "73-76-74-72=295"?
<s>[INST]What is Player, when Money ( $ ) is less than 387, and when Score is "73-76-74-72=295"? Context: CREATE TABLE table_name_40 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_40 WHERE money___$__ < 387 AND score = 73 - 76 - 74 - 72 = 295</s>
CREATE TABLE table_name_68 (total VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT COUNT(total) FROM table_name_68 WHERE gold < 1 AND silver > 0 AND rank = "14" AND nation = "afghanistan"
What is the total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Afghanistan?
<s>[INST]What is the total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Afghanistan? Context: CREATE TABLE table_name_68 (total VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_68 WHERE gold < ...
CREATE TABLE table_1603807_2 (status VARCHAR, line VARCHAR)
SELECT status FROM table_1603807_2 WHERE line = "Airport line"
What is the status of the airport line?
<s>[INST]What is the status of the airport line? Context: CREATE TABLE table_1603807_2 (status VARCHAR, line VARCHAR)[/INST]SELECT status FROM table_1603807_2 WHERE line = "Airport line"</s>
CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR)
SELECT song FROM table_name_52 WHERE points < 53 AND place > 8 AND draw > 1
Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1?
<s>[INST]Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1? Context: CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR)[/INST]SELECT song FROM table_name_52 WHERE points < 53 AND place > 8 AND draw > 1</s>
CREATE TABLE table_name_73 (nationality VARCHAR, years_for_jazz VARCHAR)
SELECT nationality FROM table_name_73 WHERE years_for_jazz = "1974-79"
What is the nationality of the player on the Jazz from 1974-79?
<s>[INST]What is the nationality of the player on the Jazz from 1974-79? Context: CREATE TABLE table_name_73 (nationality VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT nationality FROM table_name_73 WHERE years_for_jazz = "1974-79"</s>
CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_15 WHERE date = "august 31, 1997"
What was the Opponent on August 31, 1997?
<s>[INST]What was the Opponent on August 31, 1997? Context: CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_15 WHERE date = "august 31, 1997"</s>
CREATE TABLE table_name_24 (venue VARCHAR, competition VARCHAR, position VARCHAR)
SELECT venue FROM table_name_24 WHERE competition = "olympic games" AND position = "dnq"
Which venue hosts the Olympic Games for DNQ position?
<s>[INST]Which venue hosts the Olympic Games for DNQ position? Context: CREATE TABLE table_name_24 (venue VARCHAR, competition VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_24 WHERE competition = "olympic games" AND position = "dnq"</s>
CREATE TABLE artist (Famous_Title VARCHAR, Age VARCHAR)
SELECT Famous_Title, Age FROM artist ORDER BY Age DESC
Please list the age and famous title of artists in descending order of age.
<s>[INST]Please list the age and famous title of artists in descending order of age. Context: CREATE TABLE artist (Famous_Title VARCHAR, Age VARCHAR)[/INST]SELECT Famous_Title, Age FROM artist ORDER BY Age DESC</s>
CREATE TABLE table_name_65 (result VARCHAR, competition VARCHAR, score VARCHAR)
SELECT result FROM table_name_65 WHERE competition = "friendly match" AND score = "1 – 1"
What is the result of the game when the competition was a friendly match, and the Score was 1 – 1?
<s>[INST]What is the result of the game when the competition was a friendly match, and the Score was 1 – 1? Context: CREATE TABLE table_name_65 (result VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_65 WHERE competition = "friendly match" AND score = "1 – 1"</s>
CREATE TABLE table_name_12 (place VARCHAR, points VARCHAR, lost VARCHAR)
SELECT COUNT(place) FROM table_name_12 WHERE points = 18 AND lost < 8
Whate place has 18 points with lost less than 8?
<s>[INST]Whate place has 18 points with lost less than 8? Context: CREATE TABLE table_name_12 (place VARCHAR, points VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(place) FROM table_name_12 WHERE points = 18 AND lost < 8</s>
CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "3"
What 1953 has 2 as a 1949, and 3 as 1952?
<s>[INST]What 1953 has 2 as a 1949, and 3 as 1952? Context: CREATE TABLE table_name_48 (Id VARCHAR)[/INST]SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "3"</s>
CREATE TABLE employees (email VARCHAR, department_id VARCHAR, commission_pct VARCHAR, salary VARCHAR)
SELECT email FROM employees WHERE commission_pct = "null" AND salary BETWEEN 7000 AND 12000 AND department_id = 50
display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.
<s>[INST]display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50. Context: CREATE TABLE employees (email VARCHAR, department_id VARCHAR, commission_pct VARCHAR, salary VARCHAR)[/INST]SELECT email FROM employees WHERE...
CREATE TABLE table_name_91 (lane INTEGER, heat VARCHAR, time VARCHAR, name VARCHAR)
SELECT SUM(lane) FROM table_name_91 WHERE time = "dns" AND name = "christian kubusch" AND heat > 2
What was Christian Kubusch's lane when the heat was more than 2 and time was DNS?
<s>[INST]What was Christian Kubusch's lane when the heat was more than 2 and time was DNS? Context: CREATE TABLE table_name_91 (lane INTEGER, heat VARCHAR, time VARCHAR, name VARCHAR)[/INST]SELECT SUM(lane) FROM table_name_91 WHERE time = "dns" AND name = "christian kubusch" AND heat > 2</s>
CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR)
SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb"
Who was in lane 6 with a mark of 2:05.58 SB?
<s>[INST]Who was in lane 6 with a mark of 2:05.58 SB? Context: CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR)[/INST]SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb"</s>
CREATE TABLE table_name_29 (v_core VARCHAR, stepping VARCHAR, frequency VARCHAR)
SELECT v_core FROM table_name_29 WHERE stepping = "g1" AND frequency = "1900mhz"
What is the v-core for a stepping of G1 and frequency of 1900MHz?
<s>[INST]What is the v-core for a stepping of G1 and frequency of 1900MHz? Context: CREATE TABLE table_name_29 (v_core VARCHAR, stepping VARCHAR, frequency VARCHAR)[/INST]SELECT v_core FROM table_name_29 WHERE stepping = "g1" AND frequency = "1900mhz"</s>
CREATE TABLE table_name_95 (sanskrit_संस्कृतम् VARCHAR, kannada_ಕನ್ನಡ VARCHAR)
SELECT sanskrit_संस्कृतम् FROM table_name_95 WHERE kannada_ಕನ್ನಡ = "uttara ಉತ್ತರಾ"
What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ?
<s>[INST]What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ? Context: CREATE TABLE table_name_95 (sanskrit_संस्कृतम् VARCHAR, kannada_ಕನ್ನಡ VARCHAR)[/INST]SELECT sanskrit_संस्कृतम् FROM table_name_95 WHERE kannada_ಕನ್ನಡ = "uttara ಉತ್ತರಾ"</s>
CREATE TABLE table_name_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR)
SELECT MIN(floors) FROM table_name_29 WHERE feet > 262 AND name = "standard bank building" AND metres > 138.8
What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8?
<s>[INST]What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8? Context: CREATE TABLE table_name_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR)[/INST]SELECT MIN(floors) FROM table_name_29 WHERE feet > 262 AND name = "standar...
CREATE TABLE table_name_55 (performer_1 VARCHAR, performer_2 VARCHAR)
SELECT performer_1 FROM table_name_55 WHERE performer_2 = "compilation 1"
Performer 2 of compilation 1 had what performer 1?
<s>[INST]Performer 2 of compilation 1 had what performer 1? Context: CREATE TABLE table_name_55 (performer_1 VARCHAR, performer_2 VARCHAR)[/INST]SELECT performer_1 FROM table_name_55 WHERE performer_2 = "compilation 1"</s>
CREATE TABLE table_name_93 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_93 WHERE venue = "kardinia park"
How many people in total have attended games at Kardinia Park?
<s>[INST]How many people in total have attended games at Kardinia Park? Context: CREATE TABLE table_name_93 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_93 WHERE venue = "kardinia park"</s>
CREATE TABLE table_name_24 (rank VARCHAR, notes VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_24 WHERE notes = "fc" AND country = "south africa"
What is the total rank and fc notes from South Africa?
<s>[INST]What is the total rank and fc notes from South Africa? Context: CREATE TABLE table_name_24 (rank VARCHAR, notes VARCHAR, country VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_24 WHERE notes = "fc" AND country = "south africa"</s>
CREATE TABLE table_11406866_2 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_11406866_2 WHERE attendance = "61,350"
what's the record where attendance is 61,350
<s>[INST] what's the record where attendance is 61,350 Context: CREATE TABLE table_11406866_2 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_11406866_2 WHERE attendance = "61,350"</s>
CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)
SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah"
What was the term of office for the electorate warringah?
<s>[INST]What was the term of office for the electorate warringah? Context: CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)[/INST]SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah"</s>
CREATE TABLE table_name_6 (player VARCHAR, round VARCHAR, nationality VARCHAR)
SELECT player FROM table_name_6 WHERE round > 1 AND nationality = "austria"
What player has a round larger than 1 in Austria?
<s>[INST]What player has a round larger than 1 in Austria? Context: CREATE TABLE table_name_6 (player VARCHAR, round VARCHAR, nationality VARCHAR)[/INST]SELECT player FROM table_name_6 WHERE round > 1 AND nationality = "austria"</s>
CREATE TABLE table_name_42 (lineup VARCHAR, assist_pass VARCHAR)
SELECT lineup FROM table_name_42 WHERE assist_pass = "unassisted"
What's the lineup when the assist/pass was Unassisted?
<s>[INST]What's the lineup when the assist/pass was Unassisted? Context: CREATE TABLE table_name_42 (lineup VARCHAR, assist_pass VARCHAR)[/INST]SELECT lineup FROM table_name_42 WHERE assist_pass = "unassisted"</s>
CREATE TABLE table_1140085_2 (race VARCHAR, fastest_lap VARCHAR)
SELECT race FROM table_1140085_2 WHERE fastest_lap = "Jean-Pierre Jarier"
what is the race where the fastest lap is by jean-pierre jarier?
<s>[INST]what is the race where the fastest lap is by jean-pierre jarier? Context: CREATE TABLE table_1140085_2 (race VARCHAR, fastest_lap VARCHAR)[/INST]SELECT race FROM table_1140085_2 WHERE fastest_lap = "Jean-Pierre Jarier"</s>
CREATE TABLE table_name_26 (silver VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_26 WHERE bronze > 1 AND rank < 5
What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?
<s>[INST]What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5? Context: CREATE TABLE table_name_26 (silver VARCHAR, bronze VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_26 WHERE bronze > 1 AND rank < 5</s>
CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR)
SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"
What is the number for D. Shulman if C. Abate has 728 (43%)
<s>[INST]What is the number for D. Shulman if C. Abate has 728 (43%) Context: CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR)[/INST]SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)"</s>
CREATE TABLE table_name_74 (week_2 VARCHAR, week_3 VARCHAR)
SELECT week_2 FROM table_name_74 WHERE week_3 = "cidney carson"
Which week 2 had a week 3 of Cidney Carson?
<s>[INST]Which week 2 had a week 3 of Cidney Carson? Context: CREATE TABLE table_name_74 (week_2 VARCHAR, week_3 VARCHAR)[/INST]SELECT week_2 FROM table_name_74 WHERE week_3 = "cidney carson"</s>
CREATE TABLE table_name_48 (pilot VARCHAR, weapon VARCHAR, date VARCHAR)
SELECT pilot FROM table_name_48 WHERE weapon = "35mm fire" AND date = "4 may 1982"
What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"?
<s>[INST]What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"? Context: CREATE TABLE table_name_48 (pilot VARCHAR, weapon VARCHAR, date VARCHAR)[/INST]SELECT pilot FROM table_name_48 WHERE weapon = "35mm fire" AND date = "4 may 1982"</s>
CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_79 WHERE week < 12 AND opponent = "houston oilers"
On what date did the Bills play the Houston Oilers before week 12?
<s>[INST]On what date did the Bills play the Houston Oilers before week 12? Context: CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE week < 12 AND opponent = "houston oilers"</s>
CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91
what is the grid when the time/retired is +9 laps and the laps is larger than 91?
<s>[INST]what is the grid when the time/retired is +9 laps and the laps is larger than 91? Context: CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91</s>
CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)
SELECT partial_thromboplastin_time FROM table_221653_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura"
What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?
<s>[INST]What is the partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura? Context: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)[/INST]SELECT partial_thromboplastin_time FROM table_221653_1 WHERE condition = "Factor X deficiency as seen i...
CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR)
SELECT winning_driver FROM table_14638077_2 WHERE pole_position = "Paul Tracy" AND race_name = "Miller Genuine Draft 200"
who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200
<s>[INST]who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200 Context: CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR)[/INST]SELECT winning_driver FROM table_14638077_2 WHERE pole_position = "Paul Tracy" AND race_...
CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)
SELECT name FROM table_name_29 WHERE round = "e"
Tell me the name for round of e
<s>[INST]Tell me the name for round of e Context: CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)[/INST]SELECT name FROM table_name_29 WHERE round = "e"</s>
CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)
SELECT duration FROM table_19061741_3 WHERE name = "Joaqui Mendoza"
WHen joaqui mendoza is the name how long is the duration?
<s>[INST]WHen joaqui mendoza is the name how long is the duration? Context: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)[/INST]SELECT duration FROM table_19061741_3 WHERE name = "Joaqui Mendoza"</s>