context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_18812411_3 (r2 INTEGER)
SELECT MIN(r2) FROM table_18812411_3
What was the minimum score for r2?
<s>[INST]What was the minimum score for r2? Context: CREATE TABLE table_18812411_3 (r2 INTEGER)[/INST]SELECT MIN(r2) FROM table_18812411_3</s>
CREATE TABLE table_name_15 (opponents VARCHAR, game VARCHAR, date VARCHAR)
SELECT opponents FROM table_name_15 WHERE game > 20 AND date = "january 28"
How many opponents were there in a game higher than 20 on January 28?
<s>[INST]How many opponents were there in a game higher than 20 on January 28? Context: CREATE TABLE table_name_15 (opponents VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT opponents FROM table_name_15 WHERE game > 20 AND date = "january 28"</s>
CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)
SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008"
what is the series number where the date of first broadcast is 16 october 2008?
<s>[INST]what is the series number where the date of first broadcast is 16 october 2008? Context: CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)[/INST]SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008"</s>
CREATE TABLE table_name_73 (entered_service INTEGER, builder VARCHAR, number VARCHAR)
SELECT AVG(entered_service) FROM table_name_73 WHERE builder = "tom smith" AND number < 7007
When did the tom smith built train enter service with a number under 7007?
<s>[INST]When did the tom smith built train enter service with a number under 7007? Context: CREATE TABLE table_name_73 (entered_service INTEGER, builder VARCHAR, number VARCHAR)[/INST]SELECT AVG(entered_service) FROM table_name_73 WHERE builder = "tom smith" AND number < 7007</s>
CREATE TABLE table_name_78 (segment_c VARCHAR, segment_a VARCHAR)
SELECT segment_c FROM table_name_78 WHERE segment_a = "ski goggles"
Name the segment c for ski goggles
<s>[INST]Name the segment c for ski goggles Context: CREATE TABLE table_name_78 (segment_c VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_c FROM table_name_78 WHERE segment_a = "ski goggles"</s>
CREATE TABLE table_name_65 (score_points VARCHAR, total VARCHAR)
SELECT score_points FROM table_name_65 WHERE total = "olympic bronze medalist"
With Olympic Bronze Medalist as the total what are the score points?
<s>[INST]With Olympic Bronze Medalist as the total what are the score points? Context: CREATE TABLE table_name_65 (score_points VARCHAR, total VARCHAR)[/INST]SELECT score_points FROM table_name_65 WHERE total = "olympic bronze medalist"</s>
CREATE TABLE table_name_33 (category VARCHAR, year INTEGER)
SELECT category FROM table_name_33 WHERE year > 2004
What category has a year after 2004?
<s>[INST]What category has a year after 2004? Context: CREATE TABLE table_name_33 (category VARCHAR, year INTEGER)[/INST]SELECT category FROM table_name_33 WHERE year > 2004</s>
CREATE TABLE table_1305623_20 (total_medals INTEGER)
SELECT MIN(total_medals) FROM table_1305623_20
What was the smallest total number of medals?
<s>[INST]What was the smallest total number of medals? Context: CREATE TABLE table_1305623_20 (total_medals INTEGER)[/INST]SELECT MIN(total_medals) FROM table_1305623_20</s>
CREATE TABLE table_28498999_3 (to_par VARCHAR, after VARCHAR)
SELECT to_par FROM table_28498999_3 WHERE after = 33
What is the to par when the after is 33?
<s>[INST]What is the to par when the after is 33? Context: CREATE TABLE table_28498999_3 (to_par VARCHAR, after VARCHAR)[/INST]SELECT to_par FROM table_28498999_3 WHERE after = 33</s>
CREATE TABLE table_name_69 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT place FROM table_name_69 WHERE country = "united states" AND player = "corey pavin"
Which Place has a Country of united states, and a Player of corey pavin?
<s>[INST]Which Place has a Country of united states, and a Player of corey pavin? Context: CREATE TABLE table_name_69 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_69 WHERE country = "united states" AND player = "corey pavin"</s>
CREATE TABLE table_name_68 (horizontal_bar VARCHAR, team VARCHAR, parallel_bars VARCHAR)
SELECT COUNT(horizontal_bar) FROM table_name_68 WHERE team = "japan (jpn)" AND parallel_bars < 38.924
How many Horizontal Bars have a Team of japan (jpn), and Parallel Bars smaller than 38.924?
<s>[INST]How many Horizontal Bars have a Team of japan (jpn), and Parallel Bars smaller than 38.924? Context: CREATE TABLE table_name_68 (horizontal_bar VARCHAR, team VARCHAR, parallel_bars VARCHAR)[/INST]SELECT COUNT(horizontal_bar) FROM table_name_68 WHERE team = "japan (jpn)" AND parallel_bars < 38.924</s>
CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR)
SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil"
What's Brazil's rank when it has notes of R?
<s>[INST]What's Brazil's rank when it has notes of R? Context: CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil"</s>
CREATE TABLE table_name_3 (pick INTEGER, player VARCHAR)
SELECT AVG(pick) FROM table_name_3 WHERE player = "jim h. mitchell"
What is the average pick of player jim h. mitchell?
<s>[INST]What is the average pick of player jim h. mitchell? Context: CREATE TABLE table_name_3 (pick INTEGER, player VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_3 WHERE player = "jim h. mitchell"</s>
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR)
SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "1995-96"
What clu was in toronto 1995-96
<s>[INST]What clu was in toronto 1995-96 Context: CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR)[/INST]SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "1995-96"</s>
CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)
SELECT passing_yards_per_game FROM table_27487336_1 WHERE rushing_yards_per_game = "113.6"
What is every value for passing yards per game if rushing yards per game is 113.6?
<s>[INST]What is every value for passing yards per game if rushing yards per game is 113.6? Context: CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)[/INST]SELECT passing_yards_per_game FROM table_27487336_1 WHERE rushing_yards_per_game = "113.6"</s>
CREATE TABLE table_name_7 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_7 WHERE home = "nets"
Who were the Visitor when the Nets were the Home team?
<s>[INST]Who were the Visitor when the Nets were the Home team? Context: CREATE TABLE table_name_7 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_7 WHERE home = "nets"</s>
CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)
SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Zeeland"
what's the date where ships name is zeeland entered service
<s>[INST] what's the date where ships name is zeeland entered service Context: CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)[/INST]SELECT date_entered_service FROM table_11662133_3 WHERE ships_name = "Zeeland"</s>
CREATE TABLE table_17025328_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_17025328_1 WHERE original_title = "Les portes tournantes"
Name the year for les portes tournantes
<s>[INST]Name the year for les portes tournantes Context: CREATE TABLE table_17025328_1 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_17025328_1 WHERE original_title = "Les portes tournantes"</s>
CREATE TABLE table_name_94 (sign VARCHAR, burmese VARCHAR)
SELECT sign FROM table_name_94 WHERE burmese = "taninganwe တနင်္ဂနွေ"
What is the sign of the Burmese taninganwe တနင်္ဂနွေ?
<s>[INST]What is the sign of the Burmese taninganwe တနင်္ဂနွေ? Context: CREATE TABLE table_name_94 (sign VARCHAR, burmese VARCHAR)[/INST]SELECT sign FROM table_name_94 WHERE burmese = "taninganwe တနင်္ဂနွေ"</s>
CREATE TABLE table_name_43 (clubs VARCHAR, round VARCHAR)
SELECT clubs FROM table_name_43 WHERE round = "first round"
What are the club number for the first round?
<s>[INST]What are the club number for the first round? Context: CREATE TABLE table_name_43 (clubs VARCHAR, round VARCHAR)[/INST]SELECT clubs FROM table_name_43 WHERE round = "first round"</s>
CREATE TABLE table_1341423_13 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1341423_13 WHERE incumbent = "Luis Gutierrez"
What year was Luis Gutierrez election
<s>[INST]What year was Luis Gutierrez election Context: CREATE TABLE table_1341423_13 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341423_13 WHERE incumbent = "Luis Gutierrez"</s>
CREATE TABLE table_26240046_1 (first_appearance VARCHAR, played_by VARCHAR)
SELECT first_appearance FROM table_26240046_1 WHERE played_by = "Obdul Reid"
What is the first appearance of the character played by Obdul Reid?
<s>[INST]What is the first appearance of the character played by Obdul Reid? Context: CREATE TABLE table_26240046_1 (first_appearance VARCHAR, played_by VARCHAR)[/INST]SELECT first_appearance FROM table_26240046_1 WHERE played_by = "Obdul Reid"</s>
CREATE TABLE table_1140085_2 (report VARCHAR, location VARCHAR)
SELECT report FROM table_1140085_2 WHERE location = "Kyalami"
what is the report where the location is kyalami?
<s>[INST]what is the report where the location is kyalami? Context: CREATE TABLE table_1140085_2 (report VARCHAR, location VARCHAR)[/INST]SELECT report FROM table_1140085_2 WHERE location = "Kyalami"</s>
CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)
SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi"
What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?
<s>[INST]What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi? Context: CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi"</s>
CREATE TABLE table_name_93 (draw INTEGER, language VARCHAR, place VARCHAR)
SELECT SUM(draw) FROM table_name_93 WHERE language = "french" AND place < 1
How many draws have french as the language, with a place less than 1?
<s>[INST]How many draws have french as the language, with a place less than 1? Context: CREATE TABLE table_name_93 (draw INTEGER, language VARCHAR, place VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_93 WHERE language = "french" AND place < 1</s>
CREATE TABLE table_name_55 (bush_number INTEGER, bush_percentage VARCHAR, others_number VARCHAR)
SELECT MIN(bush_number) FROM table_name_55 WHERE bush_percentage = "66.0%" AND others_number < 65
What is the smallest bush# with 66.0% bush and less than 65 others#?
<s>[INST]What is the smallest bush# with 66.0% bush and less than 65 others#? Context: CREATE TABLE table_name_55 (bush_number INTEGER, bush_percentage VARCHAR, others_number VARCHAR)[/INST]SELECT MIN(bush_number) FROM table_name_55 WHERE bush_percentage = "66.0%" AND others_number < 65</s>
CREATE TABLE table_name_27 (minimum_tax_incl_sales_taxes__cad INTEGER, min_tax__cad¢_us_gal_ VARCHAR, federal_excise_tax___cad¢___l__ VARCHAR)
SELECT MIN(minimum_tax_incl_sales_taxes__cad) AS ¢_l_ FROM table_name_27 WHERE min_tax__cad¢_us_gal_ = 105.7 AND federal_excise_tax___cad¢___l__ > 10
What is the least minimum sales tax when the min tax is 105.7 and fed tax is more than 10?
<s>[INST]What is the least minimum sales tax when the min tax is 105.7 and fed tax is more than 10? Context: CREATE TABLE table_name_27 (minimum_tax_incl_sales_taxes__cad INTEGER, min_tax__cad¢_us_gal_ VARCHAR, federal_excise_tax___cad¢___l__ VARCHAR)[/INST]SELECT MIN(minimum_tax_incl_sales_taxes__cad) AS ¢_l_ FROM tab...
CREATE TABLE table_name_41 (rank VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(rank) FROM table_name_41 WHERE bronze = 21 AND silver > 10
How much Rank has a Bronze of 21, and a Silver larger than 10?
<s>[INST]How much Rank has a Bronze of 21, and a Silver larger than 10? Context: CREATE TABLE table_name_41 (rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_41 WHERE bronze = 21 AND silver > 10</s>
CREATE TABLE table_name_84 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_84 WHERE venue = "junction oval"
What was the smallest crowd size for the match played at Junction Oval?
<s>[INST]What was the smallest crowd size for the match played at Junction Oval? Context: CREATE TABLE table_name_84 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_84 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_68 WHERE date = "february 3"
Who was the home team on February 3?
<s>[INST]Who was the home team on February 3? Context: CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_68 WHERE date = "february 3"</s>
CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR)
SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4–6, 6–3, 6–1"
On what Date is Alexandra Fusai a Partner with a Score of 4–6, 6–3, 6–1?
<s>[INST]On what Date is Alexandra Fusai a Partner with a Score of 4–6, 6–3, 6–1? Context: CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4–6, 6–3, 6–1"</s>
CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR)
SELECT laid_down FROM table_name_39 WHERE launched = "16 february 1934"
Name the laid down for launched being 16 february 1934
<s>[INST]Name the laid down for launched being 16 february 1934 Context: CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR)[/INST]SELECT laid_down FROM table_name_39 WHERE launched = "16 february 1934"</s>
CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_6 WHERE venue = "arden street oval"
Who was the home team when the VFL played Arden Street Oval?
<s>[INST]Who was the home team when the VFL played Arden Street Oval? Context: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_6 WHERE venue = "arden street oval"</s>
CREATE TABLE table_name_62 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_62 WHERE tie_no = "14"
Which away team has a tie number of 14?
<s>[INST]Which away team has a tie number of 14? Context: CREATE TABLE table_name_62 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_62 WHERE tie_no = "14"</s>
CREATE TABLE table_name_82 (town VARCHAR, stops VARCHAR, kind VARCHAR)
SELECT town FROM table_name_82 WHERE stops = "15" AND kind = "nb"
What town has 15 stops and a NB kind?
<s>[INST]What town has 15 stops and a NB kind? Context: CREATE TABLE table_name_82 (town VARCHAR, stops VARCHAR, kind VARCHAR)[/INST]SELECT town FROM table_name_82 WHERE stops = "15" AND kind = "nb"</s>
CREATE TABLE table_1342013_20 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1342013_20 WHERE first_elected = 1942
What was the result for the politician first elected in 1942?
<s>[INST]What was the result for the politician first elected in 1942? Context: CREATE TABLE table_1342013_20 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_1342013_20 WHERE first_elected = 1942</s>
CREATE TABLE table_name_34 (score VARCHAR, decision VARCHAR, home VARCHAR)
SELECT score FROM table_name_34 WHERE decision = "gerber" AND home = "boston"
What was the score for Boston's Home game that had Gerber as the decision?
<s>[INST]What was the score for Boston's Home game that had Gerber as the decision? Context: CREATE TABLE table_name_34 (score VARCHAR, decision VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_34 WHERE decision = "gerber" AND home = "boston"</s>
CREATE TABLE table_name_70 (turnout__percentage VARCHAR, raila VARCHAR)
SELECT turnout__percentage FROM table_name_70 WHERE raila = "519,180"
What's listed for the Turnout % with a Raila of 519,180?
<s>[INST]What's listed for the Turnout % with a Raila of 519,180? Context: CREATE TABLE table_name_70 (turnout__percentage VARCHAR, raila VARCHAR)[/INST]SELECT turnout__percentage FROM table_name_70 WHERE raila = "519,180"</s>
CREATE TABLE table_11545282_4 (years_for_jazz VARCHAR, no VARCHAR)
SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54
What years did number 54 play for the jazz
<s>[INST]What years did number 54 play for the jazz Context: CREATE TABLE table_11545282_4 (years_for_jazz VARCHAR, no VARCHAR)[/INST]SELECT years_for_jazz FROM table_11545282_4 WHERE no = 54</s>
CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_50 WHERE date = "jul 31" AND score = "w 5-1"
Name the opponent for jul 31 and score of w 5-1
<s>[INST]Name the opponent for jul 31 and score of w 5-1 Context: CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_50 WHERE date = "jul 31" AND score = "w 5-1"</s>
CREATE TABLE table_27441210_20 (number_one_single_s_ VARCHAR, weeks_at__number1 VARCHAR)
SELECT number_one_single_s_ FROM table_27441210_20 WHERE weeks_at__number1 = 5
Name the number one singles for week 1 being 5
<s>[INST]Name the number one singles for week 1 being 5 Context: CREATE TABLE table_27441210_20 (number_one_single_s_ VARCHAR, weeks_at__number1 VARCHAR)[/INST]SELECT number_one_single_s_ FROM table_27441210_20 WHERE weeks_at__number1 = 5</s>
CREATE TABLE table_name_66 (city VARCHAR, building VARCHAR)
SELECT city FROM table_name_66 WHERE building = "telus plaza south"
Which city contains Telus Plaza South?
<s>[INST]Which city contains Telus Plaza South? Context: CREATE TABLE table_name_66 (city VARCHAR, building VARCHAR)[/INST]SELECT city FROM table_name_66 WHERE building = "telus plaza south"</s>
CREATE TABLE table_name_49 (date VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_49 WHERE margin_of_victory = "4 strokes"
What is the date of the 4 strokes margin of victory?
<s>[INST]What is the date of the 4 strokes margin of victory? Context: CREATE TABLE table_name_49 (date VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE margin_of_victory = "4 strokes"</s>
CREATE TABLE table_1341672_14 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1341672_14 WHERE incumbent = "Phil Crane"
Name the number of first elected for phil crane
<s>[INST]Name the number of first elected for phil crane Context: CREATE TABLE table_1341672_14 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341672_14 WHERE incumbent = "Phil Crane"</s>
CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR)
SELECT team FROM table_name_45 WHERE year = 1978
Which Team has a Year of 1978?
<s>[INST]Which Team has a Year of 1978? Context: CREATE TABLE table_name_45 (team VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_45 WHERE year = 1978</s>
CREATE TABLE table_1969577_3 (type VARCHAR, nickname VARCHAR)
SELECT type FROM table_1969577_3 WHERE nickname = "Chargers"
What's the type of the school whose students are nicknamed Chargers?
<s>[INST]What's the type of the school whose students are nicknamed Chargers? Context: CREATE TABLE table_1969577_3 (type VARCHAR, nickname VARCHAR)[/INST]SELECT type FROM table_1969577_3 WHERE nickname = "Chargers"</s>
CREATE TABLE table_13981938_1 (village VARCHAR, wine_style VARCHAR, vineyard_surface__2010_ VARCHAR)
SELECT village FROM table_13981938_1 WHERE wine_style = "Red wine" AND vineyard_surface__2010_ = "hectares (acres)"
what's the village with wine style being red wine and vineyard surface (2010) being hectares (acres)
<s>[INST]what's the village with wine style being red wine and vineyard surface (2010) being hectares (acres) Context: CREATE TABLE table_13981938_1 (village VARCHAR, wine_style VARCHAR, vineyard_surface__2010_ VARCHAR)[/INST]SELECT village FROM table_13981938_1 WHERE wine_style = "Red wine" AND vineyard_surface__2010_...
CREATE TABLE table_26200568_16 (points_against INTEGER, club VARCHAR)
SELECT MAX(points_against) FROM table_26200568_16 WHERE club = "Toronto Rebels"
How many points were scored against the Toronto Rebels?
<s>[INST]How many points were scored against the Toronto Rebels? Context: CREATE TABLE table_26200568_16 (points_against INTEGER, club VARCHAR)[/INST]SELECT MAX(points_against) FROM table_26200568_16 WHERE club = "Toronto Rebels"</s>
CREATE TABLE products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR)
SELECT T2.product_type_code, T2.product_name, T2.product_price FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 3
Give me the product type, name and price for all the products supplied by supplier id 3.
<s>[INST]Give me the product type, name and price for all the products supplied by supplier id 3. Context: CREATE TABLE products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR)[/INST]SELECT T2.product_...
CREATE TABLE table_name_71 (date_of_birth__age_ VARCHAR, club_province VARCHAR, player VARCHAR)
SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma"
When was Tomokazu Soma born who plays for the wild knights?
<s>[INST]When was Tomokazu Soma born who plays for the wild knights? Context: CREATE TABLE table_name_71 (date_of_birth__age_ VARCHAR, club_province VARCHAR, player VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma"</s>
CREATE TABLE table_name_84 (decile INTEGER, name VARCHAR)
SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school"
What is the average decile for te puru school?
<s>[INST]What is the average decile for te puru school? Context: CREATE TABLE table_name_84 (decile INTEGER, name VARCHAR)[/INST]SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school"</s>
CREATE TABLE table_name_32 (nalchik VARCHAR, jermuk VARCHAR, played VARCHAR, qual VARCHAR)
SELECT nalchik FROM table_name_32 WHERE played = 4 AND qual = "rl" AND jermuk = "100"
What is the nalchik with 4 played, a rl qual., and 100 jermuk?
<s>[INST]What is the nalchik with 4 played, a rl qual., and 100 jermuk? Context: CREATE TABLE table_name_32 (nalchik VARCHAR, jermuk VARCHAR, played VARCHAR, qual VARCHAR)[/INST]SELECT nalchik FROM table_name_32 WHERE played = 4 AND qual = "rl" AND jermuk = "100"</s>
CREATE TABLE table_11206787_5 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic"
What is the stadium for alloa athletic?
<s>[INST]What is the stadium for alloa athletic? Context: CREATE TABLE table_11206787_5 (stadium VARCHAR, team VARCHAR)[/INST]SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic"</s>
CREATE TABLE table_name_49 (masculine_an_stems VARCHAR, feminine_ō_stems VARCHAR, masculine_u_stems VARCHAR)
SELECT masculine_an_stems FROM table_name_49 WHERE feminine_ō_stems = "siangar" AND masculine_u_stems = "sunar"
What is the masculine an form for the word with a feminine ö ending of siangar and a masculine u ending of sunar?
<s>[INST]What is the masculine an form for the word with a feminine ö ending of siangar and a masculine u ending of sunar? Context: CREATE TABLE table_name_49 (masculine_an_stems VARCHAR, feminine_ō_stems VARCHAR, masculine_u_stems VARCHAR)[/INST]SELECT masculine_an_stems FROM table_name_49 WHERE feminine_ō_stems = "si...
CREATE TABLE table_name_75 (award_ceremony VARCHAR, result VARCHAR, category VARCHAR)
SELECT award_ceremony FROM table_name_75 WHERE result = "nominated" AND category = "best revival of a musical"
Which Award Ceremony has a Result of nominated, and a Category of best revival of a musical?
<s>[INST]Which Award Ceremony has a Result of nominated, and a Category of best revival of a musical? Context: CREATE TABLE table_name_75 (award_ceremony VARCHAR, result VARCHAR, category VARCHAR)[/INST]SELECT award_ceremony FROM table_name_75 WHERE result = "nominated" AND category = "best revival of a musical"</s>
CREATE TABLE table_name_74 (notes VARCHAR, competition VARCHAR, position VARCHAR)
SELECT notes FROM table_name_74 WHERE competition = "world championships" AND position = "2nd"
Which Notes have a Competition of world championships, and a Position of 2nd?
<s>[INST]Which Notes have a Competition of world championships, and a Position of 2nd? Context: CREATE TABLE table_name_74 (notes VARCHAR, competition VARCHAR, position VARCHAR)[/INST]SELECT notes FROM table_name_74 WHERE competition = "world championships" AND position = "2nd"</s>
CREATE TABLE table_name_30 (visitor VARCHAR, home VARCHAR, decision VARCHAR)
SELECT visitor FROM table_name_30 WHERE home = "vancouver" AND decision = "cloutier"
Which Visitor has a Home of vancouver, and a Decision of cloutier?
<s>[INST]Which Visitor has a Home of vancouver, and a Decision of cloutier? Context: CREATE TABLE table_name_30 (visitor VARCHAR, home VARCHAR, decision VARCHAR)[/INST]SELECT visitor FROM table_name_30 WHERE home = "vancouver" AND decision = "cloutier"</s>
CREATE TABLE table_name_19 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_19 WHERE away_team = "essendon"
What is the score for the away team at Essendon?
<s>[INST]What is the score for the away team at Essendon? Context: CREATE TABLE table_name_19 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_19 WHERE away_team = "essendon"</s>
CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_58 WHERE score = "112–118"
Which Date has a Score of 112–118?
<s>[INST]Which Date has a Score of 112–118? Context: CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE score = "112–118"</s>
CREATE TABLE table_name_19 (draws INTEGER, points VARCHAR, position VARCHAR, wins VARCHAR)
SELECT SUM(draws) FROM table_name_19 WHERE position < 4 AND wins = 11 AND points < 38
What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4?
<s>[INST]What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4? Context: CREATE TABLE table_name_19 (draws INTEGER, points VARCHAR, position VARCHAR, wins VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_19 WHERE position < 4 AND wins = 11 AND points < 38</s>
CREATE TABLE table_name_72 (withdrawn VARCHAR, gsr_class VARCHAR)
SELECT withdrawn FROM table_name_72 WHERE gsr_class = "296"
What is withdrawn with a GSR Class of 296?
<s>[INST]What is withdrawn with a GSR Class of 296? Context: CREATE TABLE table_name_72 (withdrawn VARCHAR, gsr_class VARCHAR)[/INST]SELECT withdrawn FROM table_name_72 WHERE gsr_class = "296"</s>
CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)
SELECT height_above_sea_level__m_ FROM table_name_22 WHERE opened > 1876 AND distance_from_wellington = "604.53km"
For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level?
<s>[INST]For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level? Context: CREATE TABLE table_name_22 (height_above_sea_level__m_ VARCHAR, opened VARCHAR, distance_from_wellington VARCHAR)[/INST]SELECT height_above_sea_level__m_ FROM table_name_22 WHERE opened > 1876 AND distan...
CREATE TABLE table_name_94 (game VARCHAR, date VARCHAR)
SELECT game FROM table_name_94 WHERE date = "april 26"
What is the playoffs Game number on April 26?
<s>[INST]What is the playoffs Game number on April 26? Context: CREATE TABLE table_name_94 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_94 WHERE date = "april 26"</s>
CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_66 WHERE opponent = "tampa bay buccaneers"
On what date did the Lions play against the Tampa Bay Buccaneers?
<s>[INST]On what date did the Lions play against the Tampa Bay Buccaneers? Context: CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE opponent = "tampa bay buccaneers"</s>
CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)
SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982
Born in 1982, this guard has what listed as a height?
<s>[INST]Born in 1982, this guard has what listed as a height? Context: CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)[/INST]SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982</s>
CREATE TABLE table_name_66 (singapore_gross VARCHAR, director VARCHAR)
SELECT singapore_gross FROM table_name_66 WHERE director = "1991"
For the directed by 1991, what was the gross in Singapore?
<s>[INST]For the directed by 1991, what was the gross in Singapore? Context: CREATE TABLE table_name_66 (singapore_gross VARCHAR, director VARCHAR)[/INST]SELECT singapore_gross FROM table_name_66 WHERE director = "1991"</s>
CREATE TABLE products (product_type_code VARCHAR)
SELECT COUNT(DISTINCT product_type_code) FROM products
Find the number of different product types.
<s>[INST]Find the number of different product types. Context: CREATE TABLE products (product_type_code VARCHAR)[/INST]SELECT COUNT(DISTINCT product_type_code) FROM products</s>
CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR)
SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde"
Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?
<s>[INST]Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap? Context: CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR)[/INST]SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde"</s>
CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
SELECT T1.city FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
Which city does staff with first name as Janessa and last name as Sawayn live?
<s>[INST]Which city does staff with first name as Janessa and last name as Sawayn live? Context: CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)[/INST]SELECT T1.city FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T...
CREATE TABLE table_30060356_3 (gt4_cup_winner VARCHAR, circuit VARCHAR)
SELECT gt4_cup_winner FROM table_30060356_3 WHERE circuit = "Spa-Francorchamps Report"
List all GT4 Cup winners played on the Spa-Francorchamps Report.
<s>[INST]List all GT4 Cup winners played on the Spa-Francorchamps Report. Context: CREATE TABLE table_30060356_3 (gt4_cup_winner VARCHAR, circuit VARCHAR)[/INST]SELECT gt4_cup_winner FROM table_30060356_3 WHERE circuit = "Spa-Francorchamps Report"</s>
CREATE TABLE table_name_99 (heat INTEGER, lane VARCHAR, time VARCHAR)
SELECT AVG(heat) FROM table_name_99 WHERE lane < 3 AND time = "14:48.39"
What's the heat in the lane less than 3 with a time of 14:48.39?
<s>[INST]What's the heat in the lane less than 3 with a time of 14:48.39? Context: CREATE TABLE table_name_99 (heat INTEGER, lane VARCHAR, time VARCHAR)[/INST]SELECT AVG(heat) FROM table_name_99 WHERE lane < 3 AND time = "14:48.39"</s>
CREATE TABLE table_name_60 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_60 WHERE player = "kent patterson"
What is Kent Patterson's nationality?
<s>[INST]What is Kent Patterson's nationality? Context: CREATE TABLE table_name_60 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_60 WHERE player = "kent patterson"</s>
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR)
SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = "father"
Name the ptor-austronesian for father
<s>[INST]Name the ptor-austronesian for father Context: CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR)[/INST]SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = "father"</s>
CREATE TABLE ship (name VARCHAR, built_year VARCHAR, CLASS VARCHAR)
SELECT name FROM ship ORDER BY built_year, CLASS
List all ship names in the order of built year and class.
<s>[INST]List all ship names in the order of built year and class. Context: CREATE TABLE ship (name VARCHAR, built_year VARCHAR, CLASS VARCHAR)[/INST]SELECT name FROM ship ORDER BY built_year, CLASS</s>
CREATE TABLE table_name_34 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_34 WHERE record = "11-17-7"
What is the total number of Game, when Record is "11-17-7"?
<s>[INST]What is the total number of Game, when Record is "11-17-7"? Context: CREATE TABLE table_name_34 (game VARCHAR, record VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_34 WHERE record = "11-17-7"</s>
CREATE TABLE table_name_43 (comparative VARCHAR, link VARCHAR)
SELECT comparative FROM table_name_43 WHERE link = "sourcecode webserver"
Which Comparative has a Link of sourcecode webserver?
<s>[INST]Which Comparative has a Link of sourcecode webserver? Context: CREATE TABLE table_name_43 (comparative VARCHAR, link VARCHAR)[/INST]SELECT comparative FROM table_name_43 WHERE link = "sourcecode webserver"</s>
CREATE TABLE table_name_87 (reg_season VARCHAR, record VARCHAR)
SELECT reg_season FROM table_name_87 WHERE record = "20-10"
What is the regular season info that had a record of 20-10?
<s>[INST]What is the regular season info that had a record of 20-10? Context: CREATE TABLE table_name_87 (reg_season VARCHAR, record VARCHAR)[/INST]SELECT reg_season FROM table_name_87 WHERE record = "20-10"</s>
CREATE TABLE table_name_46 (date__from_ VARCHAR, name_of_system VARCHAR, traction_type VARCHAR)
SELECT date__from_ FROM table_name_46 WHERE name_of_system = "hsm (1883–1910) gt (1915–1922)" AND traction_type = "steam"
On what date did the event begin that had a steam traction type and used the system named HSM (1883–1910) GT (1915–1922)?
<s>[INST]On what date did the event begin that had a steam traction type and used the system named HSM (1883–1910) GT (1915–1922)? Context: CREATE TABLE table_name_46 (date__from_ VARCHAR, name_of_system VARCHAR, traction_type VARCHAR)[/INST]SELECT date__from_ FROM table_name_46 WHERE name_of_system = "hsm (1883–1910) ...
CREATE TABLE table_name_66 (date VARCHAR, tier VARCHAR)
SELECT date FROM table_name_66 WHERE tier = "itf $10k"
Which date has the tier of Itf $10k?
<s>[INST]Which date has the tier of Itf $10k? Context: CREATE TABLE table_name_66 (date VARCHAR, tier VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE tier = "itf $10k"</s>
CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)
SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = "Merged into Panama ( PA , PAN , 591 )"
Name the former codes for merged into panama ( pa , pan , 591 )
<s>[INST]Name the former codes for merged into panama ( pa , pan , 591 ) Context: CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)[/INST]SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = "Merged into Panama ( PA , PAN , 591 )"</s>
CREATE TABLE table_13967239_2 (senior__4th_year_ VARCHAR, junior__3rd_year_ VARCHAR)
SELECT COUNT(senior__4th_year_) FROM table_13967239_2 WHERE junior__3rd_year_ = "World History"
How many classes between senior and junior year for world history
<s>[INST]How many classes between senior and junior year for world history Context: CREATE TABLE table_13967239_2 (senior__4th_year_ VARCHAR, junior__3rd_year_ VARCHAR)[/INST]SELECT COUNT(senior__4th_year_) FROM table_13967239_2 WHERE junior__3rd_year_ = "World History"</s>
CREATE TABLE table_25794010_1 (name VARCHAR, organization_date VARCHAR)
SELECT name FROM table_25794010_1 WHERE organization_date = "Unknown"
Name the name for organization date being unknown
<s>[INST]Name the name for organization date being unknown Context: CREATE TABLE table_25794010_1 (name VARCHAR, organization_date VARCHAR)[/INST]SELECT name FROM table_25794010_1 WHERE organization_date = "Unknown"</s>
CREATE TABLE table_name_17 (Id VARCHAR)
SELECT 2004 FROM table_name_17 WHERE 2013 = "3rd"
What is the 2004 when 2013 is 3rd?
<s>[INST]What is the 2004 when 2013 is 3rd? Context: CREATE TABLE table_name_17 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_17 WHERE 2013 = "3rd"</s>
CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_20 WHERE venue = "brunswick street oval"
When the VFL played Brunswick Street Oval what was the home team score?
<s>[INST]When the VFL played Brunswick Street Oval what was the home team score? Context: CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_20 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_27770426_1 (catches VARCHAR, no VARCHAR)
SELECT COUNT(catches) FROM table_27770426_1 WHERE no = 46
How many total catches did the player with no. 46 have?
<s>[INST]How many total catches did the player with no. 46 have? Context: CREATE TABLE table_27770426_1 (catches VARCHAR, no VARCHAR)[/INST]SELECT COUNT(catches) FROM table_27770426_1 WHERE no = 46</s>
CREATE TABLE table_14708760_3 (round_1 INTEGER, round_2 VARCHAR)
SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90
What is the highest score of round 1 where they also shot 90 in round 2
<s>[INST]What is the highest score of round 1 where they also shot 90 in round 2 Context: CREATE TABLE table_14708760_3 (round_1 INTEGER, round_2 VARCHAR)[/INST]SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90</s>
CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR)
SELECT COUNT(capacity) FROM table_name_8 WHERE venue = "nop aquatic centre" AND established > 1929
What is the capacity at the nop aquatic centre, established after 1929?
<s>[INST]What is the capacity at the nop aquatic centre, established after 1929? Context: CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR)[/INST]SELECT COUNT(capacity) FROM table_name_8 WHERE venue = "nop aquatic centre" AND established > 1929</s>
CREATE TABLE table_name_94 (employee__real_name_ VARCHAR, role VARCHAR, pick__number VARCHAR, brand__from_ VARCHAR)
SELECT employee__real_name_ FROM table_name_94 WHERE pick__number < 6 AND brand__from_ = "raw" AND role = "male wrestler"
What is the real name of the male wrestler from Raw with a pick # smaller than 6?
<s>[INST]What is the real name of the male wrestler from Raw with a pick # smaller than 6? Context: CREATE TABLE table_name_94 (employee__real_name_ VARCHAR, role VARCHAR, pick__number VARCHAR, brand__from_ VARCHAR)[/INST]SELECT employee__real_name_ FROM table_name_94 WHERE pick__number < 6 AND brand__from_ = "raw" AND...
CREATE TABLE table_1140105_6 (circuit VARCHAR, date VARCHAR)
SELECT COUNT(circuit) FROM table_1140105_6 WHERE date = "22 April"
What is the total amount of circuts dated 22 april?
<s>[INST]What is the total amount of circuts dated 22 april? Context: CREATE TABLE table_1140105_6 (circuit VARCHAR, date VARCHAR)[/INST]SELECT COUNT(circuit) FROM table_1140105_6 WHERE date = "22 April"</s>
CREATE TABLE table_name_74 (moving_to VARCHAR, type VARCHAR, name VARCHAR)
SELECT moving_to FROM table_name_74 WHERE type = "loaned out" AND name = "tragodara"
Where is moving to the type loaned out under the name tragodara?
<s>[INST]Where is moving to the type loaned out under the name tragodara? Context: CREATE TABLE table_name_74 (moving_to VARCHAR, type VARCHAR, name VARCHAR)[/INST]SELECT moving_to FROM table_name_74 WHERE type = "loaned out" AND name = "tragodara"</s>
CREATE TABLE table_168482_1 (_number_of_seats_won INTEGER)
SELECT MAX(_number_of_seats_won) FROM table_168482_1
What is the largest number of seats won?
<s>[INST]What is the largest number of seats won? Context: CREATE TABLE table_168482_1 (_number_of_seats_won INTEGER)[/INST]SELECT MAX(_number_of_seats_won) FROM table_168482_1</s>
CREATE TABLE table_14288212_1 (first_played INTEGER, team VARCHAR)
SELECT MIN(first_played) FROM table_14288212_1 WHERE team = "Italy"
In what year did Italy begin playing?
<s>[INST]In what year did Italy begin playing? Context: CREATE TABLE table_14288212_1 (first_played INTEGER, team VARCHAR)[/INST]SELECT MIN(first_played) FROM table_14288212_1 WHERE team = "Italy"</s>
CREATE TABLE table_name_31 (time INTEGER, athlete VARCHAR, rank VARCHAR)
SELECT MAX(time) FROM table_name_31 WHERE athlete = "torri edwards" AND rank > 6
What is the highest time for athlete torri edwards, and a rank larger than 6?
<s>[INST]What is the highest time for athlete torri edwards, and a rank larger than 6? Context: CREATE TABLE table_name_31 (time INTEGER, athlete VARCHAR, rank VARCHAR)[/INST]SELECT MAX(time) FROM table_name_31 WHERE athlete = "torri edwards" AND rank > 6</s>
CREATE TABLE table_name_49 (purpose VARCHAR, name VARCHAR)
SELECT purpose FROM table_name_49 WHERE name = "oak"
Which Purpose has a Name of oak?
<s>[INST]Which Purpose has a Name of oak? Context: CREATE TABLE table_name_49 (purpose VARCHAR, name VARCHAR)[/INST]SELECT purpose FROM table_name_49 WHERE name = "oak"</s>
CREATE TABLE table_name_69 (tied VARCHAR, mountain_west VARCHAR, years VARCHAR)
SELECT COUNT(tied) FROM table_name_69 WHERE mountain_west = "air force" AND years > 57
How many games tied for the air force with over 57 years participating?
<s>[INST]How many games tied for the air force with over 57 years participating? Context: CREATE TABLE table_name_69 (tied VARCHAR, mountain_west VARCHAR, years VARCHAR)[/INST]SELECT COUNT(tied) FROM table_name_69 WHERE mountain_west = "air force" AND years > 57</s>
CREATE TABLE table_name_79 (nationality VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
SELECT nationality FROM table_name_79 WHERE nba_years_[a_] = "1" AND previous_team = "seattle supersonics"
What is Nationality, when NBA years [a ] is "1", and when Previous Team is "Seattle Supersonics"?
<s>[INST]What is Nationality, when NBA years [a ] is "1", and when Previous Team is "Seattle Supersonics"? Context: CREATE TABLE table_name_79 (nationality VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)[/INST]SELECT nationality FROM table_name_79 WHERE nba_years_[a_] = "1" AND previous_team = "seattle ...
CREATE TABLE table_name_81 (Id VARCHAR)
SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a"
What is 2009, when 2004 is 2R, and when 1993 is A?
<s>[INST]What is 2009, when 2004 is 2R, and when 1993 is A? Context: CREATE TABLE table_name_81 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a"</s>
CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_67 WHERE date = "february 10"
What home has February 10 as the date?
<s>[INST]What home has February 10 as the date? Context: CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_67 WHERE date = "february 10"</s>
CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, chassis VARCHAR)
SELECT AVG(year) FROM table_name_88 WHERE points = 0 AND chassis = "toleman tg181"
Which year has a total of 0 points and a chassis of Toleman tg181?
<s>[INST]Which year has a total of 0 points and a chassis of Toleman tg181? Context: CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, chassis VARCHAR)[/INST]SELECT AVG(year) FROM table_name_88 WHERE points = 0 AND chassis = "toleman tg181"</s>
CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_48 WHERE date = "september 1"
What was the losing score on September 1?
<s>[INST]What was the losing score on September 1? Context: CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_48 WHERE date = "september 1"</s>