context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR)
SELECT height FROM table_25360865_1 WHERE name = "Demetrius Jemison"
Name the height for demetrius jemison
<s>[INST]Name the height for demetrius jemison Context: CREATE TABLE table_25360865_1 (height VARCHAR, name VARCHAR)[/INST]SELECT height FROM table_25360865_1 WHERE name = "Demetrius Jemison"</s>
CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR)
SELECT Product_Name FROM Products ORDER BY Product_Price
List the name of products in ascending order of price.
<s>[INST]List the name of products in ascending order of price. Context: CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR)[/INST]SELECT Product_Name FROM Products ORDER BY Product_Price</s>
CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR)
SELECT a330 FROM table_name_62 WHERE a310 = "b10"
What is the A330 for A310 B10?
<s>[INST]What is the A330 for A310 B10? Context: CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR)[/INST]SELECT a330 FROM table_name_62 WHERE a310 = "b10"</s>
CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, FDA_approved VARCHAR)
SELECT name, trade_name FROM medicine WHERE FDA_approved = 'Yes'
What are the names and trade names of the medicines which has 'Yes' value in the FDA record?
<s>[INST]What are the names and trade names of the medicines which has 'Yes' value in the FDA record? Context: CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, FDA_approved VARCHAR)[/INST]SELECT name, trade_name FROM medicine WHERE FDA_approved = 'Yes'</s>
CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR)
SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo cristatus"
How many orders when the species is Pavo Cristatus?
<s>[INST]How many orders when the species is Pavo Cristatus? Context: CREATE TABLE table_1818471_1 (order VARCHAR, species VARCHAR)[/INST]SELECT COUNT(order) FROM table_1818471_1 WHERE species = "Pavo cristatus"</s>
CREATE TABLE table_name_26 (player VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT player FROM table_name_26 WHERE draft = 2008 AND pick > 5
Who is the player in the 2008 draft with a pick greater than 5?
<s>[INST]Who is the player in the 2008 draft with a pick greater than 5? Context: CREATE TABLE table_name_26 (player VARCHAR, draft VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_26 WHERE draft = 2008 AND pick > 5</s>
CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR)
SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"
What is the epa rated combined fuel economy for the Nissan Leaf?
<s>[INST]What is the epa rated combined fuel economy for the Nissan Leaf? Context: CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR)[/INST]SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"</s>
CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)
SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19"
How many times did the team achieve an overrall record of mu, 21-19?
<s>[INST]How many times did the team achieve an overrall record of mu, 21-19? Context: CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)[/INST]SELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = "MU, 21-19"</s>
CREATE TABLE table_17120964_7 (date VARCHAR, man_of_the_match VARCHAR)
SELECT COUNT(date) FROM table_17120964_7 WHERE man_of_the_match = "David Savage"
How many dates did David Savage get man of the match?
<s>[INST]How many dates did David Savage get man of the match? Context: CREATE TABLE table_17120964_7 (date VARCHAR, man_of_the_match VARCHAR)[/INST]SELECT COUNT(date) FROM table_17120964_7 WHERE man_of_the_match = "David Savage"</s>
CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR)
SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley"
when the nickname halley is used, what are the date completed
<s>[INST]when the nickname halley is used, what are the date completed Context: CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR)[/INST]SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley"</s>
CREATE TABLE table_name_18 (launched VARCHAR, name VARCHAR)
SELECT launched FROM table_name_18 WHERE name = "harusame"
What is the launched date for the Harusame ship?
<s>[INST]What is the launched date for the Harusame ship? Context: CREATE TABLE table_name_18 (launched VARCHAR, name VARCHAR)[/INST]SELECT launched FROM table_name_18 WHERE name = "harusame"</s>
CREATE TABLE table_name_99 (visitor VARCHAR, game__number VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 25"
Which Visitor has a Game # larger than 62, and a Date of february 25?
<s>[INST]Which Visitor has a Game # larger than 62, and a Date of february 25? Context: CREATE TABLE table_name_99 (visitor VARCHAR, game__number VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 25"</s>
CREATE TABLE table_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)
SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268
What were the winnings for the score of 66-64-67-71=268?
<s>[INST]What were the winnings for the score of 66-64-67-71=268? Context: CREATE TABLE table_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)[/INST]SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268</s>
CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)
SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = "falling"
what is the total number of constancy where purity is falling
<s>[INST]what is the total number of constancy where purity is falling Context: CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)[/INST]SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = "falling"</s>
CREATE TABLE table_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT replaced_by FROM table_17327458_1 WHERE date_of_appointment = "11 July"
Who was replaced on 11 July?
<s>[INST]Who was replaced on 11 July? Context: CREATE TABLE table_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT replaced_by FROM table_17327458_1 WHERE date_of_appointment = "11 July"</s>
CREATE TABLE table_1341568_34 (elected INTEGER, incumbent VARCHAR)
SELECT MIN(elected) FROM table_1341568_34 WHERE incumbent = "Martin Lancaster"
What year was incumbent Martin Lancaster elected?
<s>[INST]What year was incumbent Martin Lancaster elected? Context: CREATE TABLE table_1341568_34 (elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(elected) FROM table_1341568_34 WHERE incumbent = "Martin Lancaster"</s>
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342218_35 WHERE district = "Ohio 7"
What party does the incumbent from the Ohio 7 district belong to?
<s>[INST]What party does the incumbent from the Ohio 7 district belong to? Context: CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1342218_35 WHERE district = "Ohio 7"</s>
CREATE TABLE table_name_77 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_77 WHERE record = "5–5–0"
Which Attendance is the lowest one that has a Record of 5–5–0?
<s>[INST]Which Attendance is the lowest one that has a Record of 5–5–0? Context: CREATE TABLE table_name_77 (attendance INTEGER, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_77 WHERE record = "5–5–0"</s>
CREATE TABLE table_name_22 (team VARCHAR, laps VARCHAR)
SELECT team FROM table_name_22 WHERE laps = 134
Which team has driven 134 laps?
<s>[INST]Which team has driven 134 laps? Context: CREATE TABLE table_name_22 (team VARCHAR, laps VARCHAR)[/INST]SELECT team FROM table_name_22 WHERE laps = 134</s>
CREATE TABLE table_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR)
SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579
What football stadium has a school enrollment of 43579?
<s>[INST]What football stadium has a school enrollment of 43579? Context: CREATE TABLE table_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR)[/INST]SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579</s>
CREATE TABLE table_name_70 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_70 WHERE tie_no = "replay"
What's the score when the tie number was replay?
<s>[INST]What's the score when the tie number was replay? Context: CREATE TABLE table_name_70 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_70 WHERE tie_no = "replay"</s>
CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)
SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland"
When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?
<s>[INST]When were there less than 1 point with a cosworth v8 engine in jolly club switzerland? Context: CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)[/INST]SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland"</s>
CREATE TABLE table_name_43 (televote_points VARCHAR, final_points VARCHAR)
SELECT televote_points FROM table_name_43 WHERE final_points = "2"
What Televote Points had a Final Points score of 2?
<s>[INST]What Televote Points had a Final Points score of 2? Context: CREATE TABLE table_name_43 (televote_points VARCHAR, final_points VARCHAR)[/INST]SELECT televote_points FROM table_name_43 WHERE final_points = "2"</s>
CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_87 WHERE player = "fredrik jacobson"
What place is Fredrik Jacobson from?
<s>[INST]What place is Fredrik Jacobson from? Context: CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_87 WHERE player = "fredrik jacobson"</s>
CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR)
SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz"
When is the release date for a chip that has a Frequency of 2300mhz?
<s>[INST]When is the release date for a chip that has a Frequency of 2300mhz? Context: CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR)[/INST]SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz"</s>
CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez"
Name the score with opponent of javier genaro-martinez
<s>[INST]Name the score with opponent of javier genaro-martinez Context: CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez"</s>
CREATE TABLE table_2618142_1 (no_in_series INTEGER)
SELECT MIN(no_in_series) FROM table_2618142_1
the first episode in this season had what number in the series?
<s>[INST]the first episode in this season had what number in the series? Context: CREATE TABLE table_2618142_1 (no_in_series INTEGER)[/INST]SELECT MIN(no_in_series) FROM table_2618142_1</s>
CREATE TABLE table_name_74 (drawn VARCHAR, lost VARCHAR)
SELECT drawn FROM table_name_74 WHERE lost = "3"
What is the number drawn when 3 have been lost?
<s>[INST]What is the number drawn when 3 have been lost? Context: CREATE TABLE table_name_74 (drawn VARCHAR, lost VARCHAR)[/INST]SELECT drawn FROM table_name_74 WHERE lost = "3"</s>
CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR)
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10"
What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?
<s>[INST]What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10? Context: CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR)[/INST]SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10"</s>
CREATE TABLE table_name_82 (seasons_in_league INTEGER, best_position VARCHAR)
SELECT SUM(seasons_in_league) FROM table_name_82 WHERE best_position = "5th (2007)"
Which sum of Seasons in league has a Best Position of 5th (2007)?
<s>[INST]Which sum of Seasons in league has a Best Position of 5th (2007)? Context: CREATE TABLE table_name_82 (seasons_in_league INTEGER, best_position VARCHAR)[/INST]SELECT SUM(seasons_in_league) FROM table_name_82 WHERE best_position = "5th (2007)"</s>
CREATE TABLE table_name_55 (fighting_spirit INTEGER, name VARCHAR, technique VARCHAR)
SELECT AVG(fighting_spirit) FROM table_name_55 WHERE name = "tsurugamine" AND technique < 10
Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10?
<s>[INST]Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10? Context: CREATE TABLE table_name_55 (fighting_spirit INTEGER, name VARCHAR, technique VARCHAR)[/INST]SELECT AVG(fighting_spirit) FROM table_name_55 WHERE name = "tsurugamine" AND technique < 10</s>
CREATE TABLE table_name_53 (opera VARCHAR, date VARCHAR)
SELECT opera FROM table_name_53 WHERE date = "october 2010"
What percentage of browsers were using Opera in October 2010?
<s>[INST]What percentage of browsers were using Opera in October 2010? Context: CREATE TABLE table_name_53 (opera VARCHAR, date VARCHAR)[/INST]SELECT opera FROM table_name_53 WHERE date = "october 2010"</s>
CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"
What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?
<s>[INST]What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament? Context: CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"</s>
CREATE TABLE table_name_13 (writer VARCHAR, voiced_character_s_ VARCHAR)
SELECT writer FROM table_name_13 WHERE voiced_character_s_ = "jdr, bb, tn, lr, ps"
Which writer had voice characters of JDR, BB, TN, LR, PS?
<s>[INST]Which writer had voice characters of JDR, BB, TN, LR, PS? Context: CREATE TABLE table_name_13 (writer VARCHAR, voiced_character_s_ VARCHAR)[/INST]SELECT writer FROM table_name_13 WHERE voiced_character_s_ = "jdr, bb, tn, lr, ps"</s>
CREATE TABLE table_name_62 (record VARCHAR, november VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_62 WHERE november > 11 AND opponent = "st. louis blues"
What record has a november greater than 11, and st. louis blues as the opponent?
<s>[INST]What record has a november greater than 11, and st. louis blues as the opponent? Context: CREATE TABLE table_name_62 (record VARCHAR, november VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_62 WHERE november > 11 AND opponent = "st. louis blues"</s>
CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval"
Who played as the away team when they played at Brunswick Street Oval?
<s>[INST]Who played as the away team when they played at Brunswick Street Oval? Context: CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_name_14 (opponents VARCHAR, h___a VARCHAR, scorers VARCHAR)
SELECT opponents FROM table_name_14 WHERE h___a = "h" AND scorers = "ferguson"
Who was the opponent when the H/A was H and the scorer was Ferguson?
<s>[INST]Who was the opponent when the H/A was H and the scorer was Ferguson? Context: CREATE TABLE table_name_14 (opponents VARCHAR, h___a VARCHAR, scorers VARCHAR)[/INST]SELECT opponents FROM table_name_14 WHERE h___a = "h" AND scorers = "ferguson"</s>
CREATE TABLE table_27987623_3 (episode VARCHAR, order VARCHAR)
SELECT episode FROM table_27987623_3 WHERE order = 1
Which episode was #1 in the order?
<s>[INST]Which episode was #1 in the order? Context: CREATE TABLE table_27987623_3 (episode VARCHAR, order VARCHAR)[/INST]SELECT episode FROM table_27987623_3 WHERE order = 1</s>
CREATE TABLE table_14724369_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT no_in_series FROM table_14724369_1 WHERE directed_by = "Monte Young"
Which series numbers were directed by Monte Young?
<s>[INST]Which series numbers were directed by Monte Young? Context: CREATE TABLE table_14724369_1 (no_in_series VARCHAR, directed_by VARCHAR)[/INST]SELECT no_in_series FROM table_14724369_1 WHERE directed_by = "Monte Young"</s>
CREATE TABLE table_name_3 (date VARCHAR, team_record VARCHAR)
SELECT date FROM table_name_3 WHERE team_record = "2-0"
What is the Date, when the Team Record is 2-0?
<s>[INST]What is the Date, when the Team Record is 2-0? Context: CREATE TABLE table_name_3 (date VARCHAR, team_record VARCHAR)[/INST]SELECT date FROM table_name_3 WHERE team_record = "2-0"</s>
CREATE TABLE table_name_70 (ends INTEGER, transfer_fee VARCHAR)
SELECT SUM(ends) FROM table_name_70 WHERE transfer_fee = "£8.5m"
When the transfer fee is £8.5m, what is the total ends?
<s>[INST]When the transfer fee is £8.5m, what is the total ends? Context: CREATE TABLE table_name_70 (ends INTEGER, transfer_fee VARCHAR)[/INST]SELECT SUM(ends) FROM table_name_70 WHERE transfer_fee = "£8.5m"</s>
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR)
SELECT rID FROM Reviewer WHERE name LIKE "%Mike%"
What is the id of the reviewer whose name has substring “Mike”?
<s>[INST]What is the id of the reviewer whose name has substring “Mike”? Context: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR)[/INST]SELECT rID FROM Reviewer WHERE name LIKE "%Mike%"</s>
CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)
SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay"
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
<s>[INST]What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition? Context: CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hu...
CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz"
What was Laura Diaz's score for place t9?
<s>[INST]What was Laura Diaz's score for place t9? Context: CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz"</s>
CREATE TABLE table_name_18 (venue VARCHAR, home VARCHAR, season VARCHAR)
SELECT venue FROM table_name_18 WHERE home = "irfu all-stars" AND season = 1958
In 1958, what has the IRFU All-Stars Home Venue?
<s>[INST]In 1958, what has the IRFU All-Stars Home Venue? Context: CREATE TABLE table_name_18 (venue VARCHAR, home VARCHAR, season VARCHAR)[/INST]SELECT venue FROM table_name_18 WHERE home = "irfu all-stars" AND season = 1958</s>
CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)
SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 17"
How many games were on october 17?
<s>[INST]How many games were on october 17? Context: CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 17"</s>
CREATE TABLE table_name_50 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR)
SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 4
Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4?
<s>[INST]Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4? Context: CREATE TABLE table_name_50 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR)[/INST]SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 4</s>
CREATE TABLE table_name_90 (shuji_kondo VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)
SELECT shuji_kondo FROM table_name_90 WHERE mazada = "x" AND ryuji_hijikata = "hijikata (14:24)"
Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14:24)
<s>[INST]Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14:24) Context: CREATE TABLE table_name_90 (shuji_kondo VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR)[/INST]SELECT shuji_kondo FROM table_name_90 WHERE mazada = "x" AND ryuji_hijikata = "hijikata (14:24)"</s>
CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR)
SELECT label FROM table_name_31 WHERE country = "spain"
Which label is from Spain?
<s>[INST]Which label is from Spain? Context: CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR)[/INST]SELECT label FROM table_name_31 WHERE country = "spain"</s>
CREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR)
SELECT no_in_season FROM table_17482534_1 WHERE directed_by = "Gene Stupnitsky"
What number in season is the episode directed by Gene Stupnitsky?
<s>[INST]What number in season is the episode directed by Gene Stupnitsky? Context: CREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR)[/INST]SELECT no_in_season FROM table_17482534_1 WHERE directed_by = "Gene Stupnitsky"</s>
CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"
Who are all the candidates when Sam Rayburn was incumbent?
<s>[INST]Who are all the candidates when Sam Rayburn was incumbent? Context: CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"</s>
CREATE TABLE table_name_83 (country VARCHAR, hanja VARCHAR)
SELECT country FROM table_name_83 WHERE hanja = "平安北道"
Which country has a city with a Hanja of 平安北道?
<s>[INST]Which country has a city with a Hanja of 平安北道? Context: CREATE TABLE table_name_83 (country VARCHAR, hanja VARCHAR)[/INST]SELECT country FROM table_name_83 WHERE hanja = "平安北道"</s>
CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_41 WHERE record = "3-3"
What was the loss of the game that had a record of 3-3?
<s>[INST]What was the loss of the game that had a record of 3-3? Context: CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_41 WHERE record = "3-3"</s>
CREATE TABLE table_name_99 (money___ INTEGER, country VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_99 WHERE country = "scotland united states"
What is the highest amount of money a play from Scotland United States has?
<s>[INST]What is the highest amount of money a play from Scotland United States has? Context: CREATE TABLE table_name_99 (money___ INTEGER, country VARCHAR)[/INST]SELECT MAX(money___) AS $__ FROM table_name_99 WHERE country = "scotland united states"</s>
CREATE TABLE table_name_53 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_53 WHERE city_of_license = "carmel, california" AND erp_w > 10
What is the MHZ frequency in carmel, california with an ERP W over 10?
<s>[INST]What is the MHZ frequency in carmel, california with an ERP W over 10? Context: CREATE TABLE table_name_53 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)[/INST]SELECT AVG(frequency_mhz) FROM table_name_53 WHERE city_of_license = "carmel, california" AND erp_w > 10</s>
CREATE TABLE table_name_55 (tournament VARCHAR)
SELECT 2013 FROM table_name_55 WHERE tournament = "us open"
What value for 2013 corresponds to the US Open Tournament?
<s>[INST]What value for 2013 corresponds to the US Open Tournament? Context: CREATE TABLE table_name_55 (tournament VARCHAR)[/INST]SELECT 2013 FROM table_name_55 WHERE tournament = "us open"</s>
CREATE TABLE table_name_30 (continent VARCHAR, country VARCHAR)
SELECT continent FROM table_name_30 WHERE country = "united states"
What is the Continent that also has the United States listed as a country?
<s>[INST]What is the Continent that also has the United States listed as a country? Context: CREATE TABLE table_name_30 (continent VARCHAR, country VARCHAR)[/INST]SELECT continent FROM table_name_30 WHERE country = "united states"</s>
CREATE TABLE parties (payment_method_code VARCHAR, party_phone VARCHAR, party_email VARCHAR)
SELECT payment_method_code, party_phone FROM parties WHERE party_email = "enrico09@example.com"
Find the payment method and phone of the party with email "enrico09@example.com".
<s>[INST]Find the payment method and phone of the party with email "enrico09@example.com". Context: CREATE TABLE parties (payment_method_code VARCHAR, party_phone VARCHAR, party_email VARCHAR)[/INST]SELECT payment_method_code, party_phone FROM parties WHERE party_email = "enrico09@example.com"</s>
CREATE TABLE table_23385853_20 (power_stage_wins VARCHAR, wins VARCHAR)
SELECT COUNT(power_stage_wins) FROM table_23385853_20 WHERE wins = 10
What is the power stage wins total number if the wins is 10?
<s>[INST]What is the power stage wins total number if the wins is 10? Context: CREATE TABLE table_23385853_20 (power_stage_wins VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(power_stage_wins) FROM table_23385853_20 WHERE wins = 10</s>
CREATE TABLE table_name_92 (losses INTEGER, wins INTEGER)
SELECT MIN(losses) FROM table_name_92 WHERE wins < 0
Which Losses is the lowest one that has Wins smaller than 0?
<s>[INST]Which Losses is the lowest one that has Wins smaller than 0? Context: CREATE TABLE table_name_92 (losses INTEGER, wins INTEGER)[/INST]SELECT MIN(losses) FROM table_name_92 WHERE wins < 0</s>
CREATE TABLE table_name_65 (goals_for INTEGER, team VARCHAR, position VARCHAR)
SELECT MIN(goals_for) FROM table_name_65 WHERE team = "goole town" AND position < 9
W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9?
<s>[INST]W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9? Context: CREATE TABLE table_name_65 (goals_for INTEGER, team VARCHAR, position VARCHAR)[/INST]SELECT MIN(goals_for) FROM table_name_65 WHERE team = "goole town" AND position < 9</s>
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_89 WHERE home_team = "melbourne"
What was the Date of the game of the Home team of melbourne?
<s>[INST]What was the Date of the game of the Home team of melbourne? Context: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_89 WHERE home_team = "melbourne"</s>
CREATE TABLE table_name_16 (rank INTEGER, date_of_official_foundation_of_municipality VARCHAR)
SELECT MAX(rank) FROM table_name_16 WHERE date_of_official_foundation_of_municipality = 1952 AND 2006 < 189120
What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120?
<s>[INST]What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120? Context: CREATE TABLE table_name_16 (rank INTEGER, date_of_official_foundation_of_municipality VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_16 WHERE date_of_official_foundation_of_municip...
CREATE TABLE table_name_28 (displacement VARCHAR, version VARCHAR)
SELECT displacement FROM table_name_28 WHERE version = "db"
I want the displacement for version of db
<s>[INST]I want the displacement for version of db Context: CREATE TABLE table_name_28 (displacement VARCHAR, version VARCHAR)[/INST]SELECT displacement FROM table_name_28 WHERE version = "db"</s>
CREATE TABLE table_name_98 (safari VARCHAR, internet_explorer VARCHAR)
SELECT safari FROM table_name_98 WHERE internet_explorer = "20.27%"
What was the percentage of safari when internet explorer was 20.27%?
<s>[INST]What was the percentage of safari when internet explorer was 20.27%? Context: CREATE TABLE table_name_98 (safari VARCHAR, internet_explorer VARCHAR)[/INST]SELECT safari FROM table_name_98 WHERE internet_explorer = "20.27%"</s>
CREATE TABLE table_name_47 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_47 WHERE venue = "windy hill"
What team has Windy Hill as their home venue
<s>[INST]What team has Windy Hill as their home venue Context: CREATE TABLE table_name_47 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_47 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_59 (total VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(total) FROM table_name_59 WHERE bronze = 4 AND silver > 6
Name the total number of total for bronze of 4 and silver more than 6
<s>[INST]Name the total number of total for bronze of 4 and silver more than 6 Context: CREATE TABLE table_name_59 (total VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_59 WHERE bronze = 4 AND silver > 6</s>
CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_75 WHERE date = "october 11"
Name the most attendance for october 11
<s>[INST]Name the most attendance for october 11 Context: CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_75 WHERE date = "october 11"</s>
CREATE TABLE table_name_58 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_58 WHERE tie_no = "6"
What is the score when the tie number is 6?
<s>[INST]What is the score when the tie number is 6? Context: CREATE TABLE table_name_58 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE tie_no = "6"</s>
CREATE TABLE table_26041144_11 (average VARCHAR, player VARCHAR)
SELECT average FROM table_26041144_11 WHERE player = "Kumar Sangakkara"
What was kumar sangakkara's average?
<s>[INST]What was kumar sangakkara's average? Context: CREATE TABLE table_26041144_11 (average VARCHAR, player VARCHAR)[/INST]SELECT average FROM table_26041144_11 WHERE player = "Kumar Sangakkara"</s>
CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_28 WHERE venue = "lake oval"
What is the away team at lake oval?
<s>[INST]What is the away team at lake oval? Context: CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_28 WHERE venue = "lake oval"</s>
CREATE TABLE physician (name VARCHAR); CREATE TABLE appointment (Physician VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
SELECT name FROM physician EXCEPT SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID
List the name of physicians who never took any appointment.
<s>[INST]List the name of physicians who never took any appointment. Context: CREATE TABLE physician (name VARCHAR); CREATE TABLE appointment (Physician VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)[/INST]SELECT name FROM physician EXCEPT SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ...
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_33 WHERE date = "october 17, 2007"
What was the score on october 17, 2007?
<s>[INST]What was the score on october 17, 2007? Context: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE date = "october 17, 2007"</s>
CREATE TABLE table_name_84 (score_in_the_final VARCHAR, partner VARCHAR, tournament VARCHAR)
SELECT score_in_the_final FROM table_name_84 WHERE partner = "olga lugina" AND tournament = "poitiers , france itf $25,000"
What was the score where Olga Lugina played in the Tournament of poitiers , france itf $25,000?
<s>[INST]What was the score where Olga Lugina played in the Tournament of poitiers , france itf $25,000? Context: CREATE TABLE table_name_84 (score_in_the_final VARCHAR, partner VARCHAR, tournament VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_84 WHERE partner = "olga lugina" AND tournament = "poitiers , fra...
CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_40 WHERE qual_2 = "1:01.936"
Which team has a second qualification time of 1:01.936?
<s>[INST]Which team has a second qualification time of 1:01.936? Context: CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR)[/INST]SELECT team FROM table_name_40 WHERE qual_2 = "1:01.936"</s>
CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_32 WHERE venue = "victoria park"
Who was the home team that played in Victoria Park?
<s>[INST]Who was the home team that played in Victoria Park? Context: CREATE TABLE table_name_32 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_32 WHERE venue = "victoria park"</s>
CREATE TABLE conductor (Id VARCHAR)
SELECT COUNT(*) FROM conductor
How many conductors are there?
<s>[INST]How many conductors are there? Context: CREATE TABLE conductor (Id VARCHAR)[/INST]SELECT COUNT(*) FROM conductor</s>
CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR)
SELECT position FROM table_11677691_10 WHERE school = "Dooly County High school"
What is the postion of the player listed from Dooly County High School?
<s>[INST]What is the postion of the player listed from Dooly County High School? Context: CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_11677691_10 WHERE school = "Dooly County High school"</s>
CREATE TABLE table_name_2 (week_of VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
SELECT week_of FROM table_name_2 WHERE semi_finalists = "anke huber chanda rubin" AND runner_up = "meredith mcgrath larisa savchenko"
What is the Week when anke huber chanda rubin shows for Semi finalists, and the Runner-up is meredith mcgrath larisa savchenko?
<s>[INST]What is the Week when anke huber chanda rubin shows for Semi finalists, and the Runner-up is meredith mcgrath larisa savchenko? Context: CREATE TABLE table_name_2 (week_of VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)[/INST]SELECT week_of FROM table_name_2 WHERE semi_finalists = "anke huber chanda rubin"...
CREATE TABLE table_name_11 (record VARCHAR, location VARCHAR, date VARCHAR)
SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 5"
What was their record on Wed. Dec. 5, when they played in Boston Garden?
<s>[INST]What was their record on Wed. Dec. 5, when they played in Boston Garden? Context: CREATE TABLE table_name_11 (record VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 5"</s>
CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)"
What was the date of the game with a loss of Wakefield (5-2)?
<s>[INST]What was the date of the game with a loss of Wakefield (5-2)? Context: CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)"</s>
CREATE TABLE table_name_44 (pinyin VARCHAR, county VARCHAR)
SELECT pinyin FROM table_name_44 WHERE county = "changhua"
Which Pinyin has a County of changhua?
<s>[INST]Which Pinyin has a County of changhua? Context: CREATE TABLE table_name_44 (pinyin VARCHAR, county VARCHAR)[/INST]SELECT pinyin FROM table_name_44 WHERE county = "changhua"</s>
CREATE TABLE table_18894744_6 (opponent VARCHAR, record VARCHAR)
SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = "17-6"
How many opponents was a game with a record 17-6 played against?
<s>[INST]How many opponents was a game with a record 17-6 played against? Context: CREATE TABLE table_18894744_6 (opponent VARCHAR, record VARCHAR)[/INST]SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = "17-6"</s>
CREATE TABLE table_name_3 (rank VARCHAR, name VARCHAR)
SELECT rank FROM table_name_3 WHERE name = "skanskaskrapan"
What is the rank of Skanskaskrapan?
<s>[INST]What is the rank of Skanskaskrapan? Context: CREATE TABLE table_name_3 (rank VARCHAR, name VARCHAR)[/INST]SELECT rank FROM table_name_3 WHERE name = "skanskaskrapan"</s>
CREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
SELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__¢_ > 47
Name the total number of EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47?
<s>[INST]Name the total number of EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47? Context: CREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)[/INST]SELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__¢_...
CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_11 WHERE venue = "gold coast convention centre"
What team has theoir home games in the venue of gold coast convention centre?
<s>[INST]What team has theoir home games in the venue of gold coast convention centre? Context: CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_11 WHERE venue = "gold coast convention centre"</s>
CREATE TABLE table_1558077_8 (mission_name VARCHAR, lunar_landing_site VARCHAR)
SELECT mission_name FROM table_1558077_8 WHERE lunar_landing_site = "Ocean of Storms"
Name the mission name for ocean of storms
<s>[INST]Name the mission name for ocean of storms Context: CREATE TABLE table_1558077_8 (mission_name VARCHAR, lunar_landing_site VARCHAR)[/INST]SELECT mission_name FROM table_1558077_8 WHERE lunar_landing_site = "Ocean of Storms"</s>
CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR)
SELECT SUM(grid) FROM table_name_75 WHERE driver = "joão urbano"
What is the grid of driver joão urbano?
<s>[INST]What is the grid of driver joão urbano? Context: CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_75 WHERE driver = "joão urbano"</s>
CREATE TABLE table_name_17 (draws INTEGER, position VARCHAR, scored VARCHAR, points VARCHAR)
SELECT MIN(draws) FROM table_name_17 WHERE scored < 25 AND points = 20 AND position > 8
Out of the teams that have scored lower than 25 points, have a total of points less than 20, and a position larger than 8, which has the lowest amount of draws?
<s>[INST]Out of the teams that have scored lower than 25 points, have a total of points less than 20, and a position larger than 8, which has the lowest amount of draws? Context: CREATE TABLE table_name_17 (draws INTEGER, position VARCHAR, scored VARCHAR, points VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_17 WHERE...
CREATE TABLE table_name_58 (state VARCHAR, title VARCHAR)
SELECT state FROM table_name_58 WHERE title = "king"
What state has the king title?
<s>[INST]What state has the king title? Context: CREATE TABLE table_name_58 (state VARCHAR, title VARCHAR)[/INST]SELECT state FROM table_name_58 WHERE title = "king"</s>
CREATE TABLE table_name_66 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_66 WHERE to_par = 14
What country has a 14 to par?
<s>[INST]What country has a 14 to par? Context: CREATE TABLE table_name_66 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_66 WHERE to_par = 14</s>
CREATE TABLE table_name_97 (against INTEGER, wins VARCHAR, losses VARCHAR)
SELECT AVG(against) FROM table_name_97 WHERE wins = 11 AND losses < 7
Which Against has Wins of 11, and Losses smaller than 7?
<s>[INST]Which Against has Wins of 11, and Losses smaller than 7? Context: CREATE TABLE table_name_97 (against INTEGER, wins VARCHAR, losses VARCHAR)[/INST]SELECT AVG(against) FROM table_name_97 WHERE wins = 11 AND losses < 7</s>
CREATE TABLE table_name_22 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_22 WHERE tie_no = "1"
Which Score has a Tie no of 1?
<s>[INST]Which Score has a Tie no of 1? Context: CREATE TABLE table_name_22 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_22 WHERE tie_no = "1"</s>
CREATE TABLE table_name_51 (races VARCHAR, top_5 VARCHAR, avg_start VARCHAR)
SELECT races FROM table_name_51 WHERE top_5 > 2 AND avg_start = 6.5
What is the number of races having top 5s over 2 and average starts of 6.5?
<s>[INST]What is the number of races having top 5s over 2 and average starts of 6.5? Context: CREATE TABLE table_name_51 (races VARCHAR, top_5 VARCHAR, avg_start VARCHAR)[/INST]SELECT races FROM table_name_51 WHERE top_5 > 2 AND avg_start = 6.5</s>
CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR)
SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)"
What is the institution whose current conference is gcac (naia)?
<s>[INST]What is the institution whose current conference is gcac (naia)? Context: CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR)[/INST]SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)"</s>
CREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT date FROM table_name_69 WHERE surface = "carpet" AND partner = "marty riessen"
When did Marty Riessen team up with a partner during a match on a carpet surface?
<s>[INST]When did Marty Riessen team up with a partner during a match on a carpet surface? Context: CREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR)[/INST]SELECT date FROM table_name_69 WHERE surface = "carpet" AND partner = "marty riessen"</s>
CREATE TABLE table_name_64 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_64 WHERE visitor = "colorado" AND date = "october 25"
On October 25, when the visitor was Colorado, what is the score?
<s>[INST]On October 25, when the visitor was Colorado, what is the score? Context: CREATE TABLE table_name_64 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_64 WHERE visitor = "colorado" AND date = "october 25"</s>
CREATE TABLE table_1745843_10 (part_1 VARCHAR, class VARCHAR)
SELECT part_1 FROM table_1745843_10 WHERE class = "7b"
What is part 1 of the verb in class 7b
<s>[INST]What is part 1 of the verb in class 7b Context: CREATE TABLE table_1745843_10 (part_1 VARCHAR, class VARCHAR)[/INST]SELECT part_1 FROM table_1745843_10 WHERE class = "7b"</s>
CREATE TABLE table_name_19 (against VARCHAR, round VARCHAR, surface VARCHAR)
SELECT against FROM table_name_19 WHERE round = "2r" AND surface = "clay"
Who was the match against when on a clay surface during round 2r?
<s>[INST]Who was the match against when on a clay surface during round 2r? Context: CREATE TABLE table_name_19 (against VARCHAR, round VARCHAR, surface VARCHAR)[/INST]SELECT against FROM table_name_19 WHERE round = "2r" AND surface = "clay"</s>
CREATE TABLE table_name_85 (byes INTEGER, wins VARCHAR, against VARCHAR)
SELECT SUM(byes) FROM table_name_85 WHERE wins = 7 AND against > 1412
What's the number of byes for someone who had 7 wins and an against number greater than 1412?
<s>[INST]What's the number of byes for someone who had 7 wins and an against number greater than 1412? Context: CREATE TABLE table_name_85 (byes INTEGER, wins VARCHAR, against VARCHAR)[/INST]SELECT SUM(byes) FROM table_name_85 WHERE wins = 7 AND against > 1412</s>