question
stringlengths
21
201
answer
stringlengths
27
316
context
stringlengths
32
286
text
stringlengths
121
753
What Inchicore Class has a GSWR Class smaller than 268, and a Type of 0-4-2t?
SELECT inchicore_class FROM table_name_60 WHERE gswr_class < 268 AND type = "0-4-2t"
CREATE TABLE table_name_60 (inchicore_class VARCHAR, gswr_class VARCHAR, type VARCHAR)
<s>[INST] What Inchicore Class has a GSWR Class smaller than 268, and a Type of 0-4-2t? context: CREATE TABLE table_name_60 (inchicore_class VARCHAR, gswr_class VARCHAR, type VARCHAR) [/INST] SELECT inchicore_class FROM table_name_60 WHERE gswr_class < 268 AND type = "0-4-2t" </s>
Which year has a Round of 17?
SELECT year FROM table_name_2 WHERE round = "17"
CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)
<s>[INST] Which year has a Round of 17? context: CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR) [/INST] SELECT year FROM table_name_2 WHERE round = "17" </s>
What's the total built by the United Kingdom and holds 1,300 passengers?
SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300
CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)
<s>[INST] What's the total built by the United Kingdom and holds 1,300 passengers? context: CREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR) [/INST] SELECT COUNT(built) FROM table_name_68 WHERE registry = "united kingdom" AND passengers = 1 OFFSET 300 </s>
What is the average total for 0 bronze?
SELECT AVG(total) FROM table_name_98 WHERE bronze < 0
CREATE TABLE table_name_98 (total INTEGER, bronze INTEGER)
<s>[INST] What is the average total for 0 bronze? context: CREATE TABLE table_name_98 (total INTEGER, bronze INTEGER) [/INST] SELECT AVG(total) FROM table_name_98 WHERE bronze < 0 </s>
Name the most year with start more than 2
SELECT MAX(year) FROM table_name_59 WHERE start > 2
CREATE TABLE table_name_59 (year INTEGER, start INTEGER)
<s>[INST] Name the most year with start more than 2 context: CREATE TABLE table_name_59 (year INTEGER, start INTEGER) [/INST] SELECT MAX(year) FROM table_name_59 WHERE start > 2 </s>
What is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has?
SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0
CREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
<s>[INST] What is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has? context: CREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR) [/INST] SELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0 </s>
what is the production in 2010 with 2011 production of 2,240,000?
SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000"
CREATE TABLE table_name_23 (Id VARCHAR)
<s>[INST] what is the production in 2010 with 2011 production of 2,240,000? context: CREATE TABLE table_name_23 (Id VARCHAR) [/INST] SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000" </s>
When did Mathieu play against Antonio Veić?
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "antonio veić"
CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)
<s>[INST] When did Mathieu play against Antonio Veić? context: CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR) [/INST] SELECT date FROM table_name_60 WHERE opponent_in_the_final = "antonio veić" </s>
What was the date of the game where North Melbourne was the home team?
SELECT date FROM table_name_65 WHERE home_team = "north melbourne"
CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)
<s>[INST] What was the date of the game where North Melbourne was the home team? context: CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR) [/INST] SELECT date FROM table_name_65 WHERE home_team = "north melbourne" </s>
Name the number of package options for music box italia
SELECT COUNT(package_option) FROM table_15887683_10 WHERE television_service = "Music Box Italia"
CREATE TABLE table_15887683_10 (package_option VARCHAR, television_service VARCHAR)
<s>[INST] Name the number of package options for music box italia context: CREATE TABLE table_15887683_10 (package_option VARCHAR, television_service VARCHAR) [/INST] SELECT COUNT(package_option) FROM table_15887683_10 WHERE television_service = "Music Box Italia" </s>
How many weeks in total were games played at Cleveland Browns Stadium?
SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium"
CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR)
<s>[INST] How many weeks in total were games played at Cleveland Browns Stadium? context: CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR) [/INST] SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium" </s>
Was position ss from carson city high school signed?
SELECT signed FROM table_name_48 WHERE position = "ss" AND school = "carson city high school"
CREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR)
<s>[INST] Was position ss from carson city high school signed? context: CREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR) [/INST] SELECT signed FROM table_name_48 WHERE position = "ss" AND school = "carson city high school" </s>
What's the record of the game in which Carlos Delfino (17) did the most high points?
SELECT record FROM table_22871316_6 WHERE high_points = "Carlos Delfino (17)"
CREATE TABLE table_22871316_6 (record VARCHAR, high_points VARCHAR)
<s>[INST] What's the record of the game in which Carlos Delfino (17) did the most high points? context: CREATE TABLE table_22871316_6 (record VARCHAR, high_points VARCHAR) [/INST] SELECT record FROM table_22871316_6 WHERE high_points = "Carlos Delfino (17)" </s>
Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?
SELECT MIN(round) FROM table_name_6 WHERE location = "indiana, united states" AND method = "submission (guillotine choke)"
CREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR)
<s>[INST] Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)? context: CREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR) [/INST] SELECT MIN(round) FROM table_name_6 WHERE location = "indiana, united states" AND method = "submission (guillotine choke)" </s>
Who wrote the episode that was directed by Terry Ingram?
SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram"
CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR)
<s>[INST] Who wrote the episode that was directed by Terry Ingram? context: CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR) [/INST] SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram" </s>
What position has 7 as the round, with a pick # less than 214?
SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214
CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
<s>[INST] What position has 7 as the round, with a pick # less than 214? context: CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR) [/INST] SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214 </s>
When were the Avenging Angels founded?
SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels"
CREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR)
<s>[INST] When were the Avenging Angels founded? context: CREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR) [/INST] SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels" </s>
Who was the outgoing manager that was replaced by Thomas Von Heesen?
SELECT outgoing_manager FROM table_name_80 WHERE replaced_by = "thomas von heesen"
CREATE TABLE table_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR)
<s>[INST] Who was the outgoing manager that was replaced by Thomas Von Heesen? context: CREATE TABLE table_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR) [/INST] SELECT outgoing_manager FROM table_name_80 WHERE replaced_by = "thomas von heesen" </s>
What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?
SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"
CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
<s>[INST] What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl? context: CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR) [/INST] SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl" </s>
When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?
SELECT SUM(solidat__) AS °c_ FROM table_name_46 WHERE sn_sb___percentage_ = "13/17" AND liquidat__°c_ > 283
CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR)
<s>[INST] When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)? context: CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR) [/INST] SELECT SUM(solidat__) AS °c_ FROM table_name_46 WHERE sn_sb___percentage_ = "13/17" AND liquidat__°c_ > 283 </s>
Name the most against for minas gerais
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)
<s>[INST] Name the most against for minas gerais context: CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR) [/INST] SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais" </s>
Which Score has a Home team of yeovil town won 5–3 on penalties?
SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties"
CREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR)
<s>[INST] Which Score has a Home team of yeovil town won 5–3 on penalties? context: CREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR) [/INST] SELECT score FROM table_name_82 WHERE home_team = "yeovil town won 5–3 on penalties" </s>
List all every engineer's first name, last name, details and coresponding skill description.
SELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id
CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)
<s>[INST] List all every engineer's first name, last name, details and coresponding skill description. context: CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR) [/INST] SELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id </s>
What day in December was the game that resulted in a record of 6-3-1?
SELECT SUM(december) FROM table_name_64 WHERE record = "6-3-1"
CREATE TABLE table_name_64 (december INTEGER, record VARCHAR)
<s>[INST] What day in December was the game that resulted in a record of 6-3-1? context: CREATE TABLE table_name_64 (december INTEGER, record VARCHAR) [/INST] SELECT SUM(december) FROM table_name_64 WHERE record = "6-3-1" </s>
What is the s default argument without a pseudorandom number generation and no eval function?
SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = "no" AND eval_function = "no"
CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)
<s>[INST] What is the s default argument without a pseudorandom number generation and no eval function? context: CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR) [/INST] SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = "no" AND eval_function = "no" </s>
What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms?
SELECT kentucky FROM table_18461045_1 WHERE michigan = "Grosse Pointe Farms-City LL Grosse Pointe Farms"
CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR)
<s>[INST] What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms? context: CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR) [/INST] SELECT kentucky FROM table_18461045_1 WHERE michigan = "Grosse Pointe Farms-City LL Grosse Pointe Farms" </s>
On what date was the away team Bournemouth?
SELECT date FROM table_name_24 WHERE away_team = "bournemouth"
CREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR)
<s>[INST] On what date was the away team Bournemouth? context: CREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR) [/INST] SELECT date FROM table_name_24 WHERE away_team = "bournemouth" </s>
What is the sum of the prominence in m of moussa ali terara peak?
SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara"
CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR)
<s>[INST] What is the sum of the prominence in m of moussa ali terara peak? context: CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR) [/INST] SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara" </s>
What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat?
SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez"
CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)
<s>[INST] What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat? context: CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR) [/INST] SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez" </s>
Which Coach has a Runner-up of northeastern and a Score of 6–3?
SELECT coach FROM table_name_82 WHERE runner_up = "northeastern" AND score = "6–3"
CREATE TABLE table_name_82 (coach VARCHAR, runner_up VARCHAR, score VARCHAR)
<s>[INST] Which Coach has a Runner-up of northeastern and a Score of 6–3? context: CREATE TABLE table_name_82 (coach VARCHAR, runner_up VARCHAR, score VARCHAR) [/INST] SELECT coach FROM table_name_82 WHERE runner_up = "northeastern" AND score = "6–3" </s>
What is the authority who set the budget limit (£m) at 900?
SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900"
CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR)
<s>[INST] What is the authority who set the budget limit (£m) at 900? context: CREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR) [/INST] SELECT authority FROM table_25316812_1 WHERE budget_limit__£m_ = "900" </s>
What was the date of the game with a result of 3–2?
SELECT date FROM table_name_3 WHERE result = "3–2"
CREATE TABLE table_name_3 (date VARCHAR, result VARCHAR)
<s>[INST] What was the date of the game with a result of 3–2? context: CREATE TABLE table_name_3 (date VARCHAR, result VARCHAR) [/INST] SELECT date FROM table_name_3 WHERE result = "3–2" </s>
What is the place of the player with a 71-69-66=206 score?
SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206
CREATE TABLE table_name_95 (place VARCHAR, score VARCHAR)
<s>[INST] What is the place of the player with a 71-69-66=206 score? context: CREATE TABLE table_name_95 (place VARCHAR, score VARCHAR) [/INST] SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206 </s>
What's the total when the gold is less than 0 and silver is less than 1?
SELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 0
CREATE TABLE table_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR)
<s>[INST] What's the total when the gold is less than 0 and silver is less than 1? context: CREATE TABLE table_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR) [/INST] SELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 0 </s>
how many airports are there in each country?
SELECT COUNT(*), country FROM airport GROUP BY country
CREATE TABLE airport (country VARCHAR)
<s>[INST] how many airports are there in each country? context: CREATE TABLE airport (country VARCHAR) [/INST] SELECT COUNT(*), country FROM airport GROUP BY country </s>
Name the most year for brookvale oval
SELECT MAX(year) FROM table_name_93 WHERE venue = "brookvale oval"
CREATE TABLE table_name_93 (year INTEGER, venue VARCHAR)
<s>[INST] Name the most year for brookvale oval context: CREATE TABLE table_name_93 (year INTEGER, venue VARCHAR) [/INST] SELECT MAX(year) FROM table_name_93 WHERE venue = "brookvale oval" </s>
In Week 13, who was the opponent?
SELECT opponent FROM table_name_98 WHERE week = 13
CREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR)
<s>[INST] In Week 13, who was the opponent? context: CREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR) [/INST] SELECT opponent FROM table_name_98 WHERE week = 13 </s>
What is the sum of the pick of the lw position player?
SELECT SUM(pick) FROM table_name_25 WHERE position = "lw"
CREATE TABLE table_name_25 (pick INTEGER, position VARCHAR)
<s>[INST] What is the sum of the pick of the lw position player? context: CREATE TABLE table_name_25 (pick INTEGER, position VARCHAR) [/INST] SELECT SUM(pick) FROM table_name_25 WHERE position = "lw" </s>
What is the lowest To par of gary player, with more than 145 total?
SELECT MIN(to_par) FROM table_name_8 WHERE player = "gary player" AND total > 145
CREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)
<s>[INST] What is the lowest To par of gary player, with more than 145 total? context: CREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR) [/INST] SELECT MIN(to_par) FROM table_name_8 WHERE player = "gary player" AND total > 145 </s>
Tell me the date for original week less than 16 and result of l 23–22
SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"
CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)
<s>[INST] Tell me the date for original week less than 16 and result of l 23–22 context: CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR) [/INST] SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22" </s>
What was the date of appointment for paco chaparro's replacement?
SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"
CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
<s>[INST] What was the date of appointment for paco chaparro's replacement? context: CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) [/INST] SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro" </s>
What is the location for the office whose term ended December 2, 1976
SELECT location FROM table_1602620_1 WHERE term_ended = "December 2, 1976"
CREATE TABLE table_1602620_1 (location VARCHAR, term_ended VARCHAR)
<s>[INST] What is the location for the office whose term ended December 2, 1976 context: CREATE TABLE table_1602620_1 (location VARCHAR, term_ended VARCHAR) [/INST] SELECT location FROM table_1602620_1 WHERE term_ended = "December 2, 1976" </s>
What was John Hildreth's speed?
SELECT speed FROM table_name_55 WHERE rider = "john hildreth"
CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)
<s>[INST] What was John Hildreth's speed? context: CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR) [/INST] SELECT speed FROM table_name_55 WHERE rider = "john hildreth" </s>
Which Format has a Region of united states, and a Catalog of kem 072?
SELECT format FROM table_name_61 WHERE region = "united states" AND catalog = "kem 072"
CREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR)
<s>[INST] Which Format has a Region of united states, and a Catalog of kem 072? context: CREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] SELECT format FROM table_name_61 WHERE region = "united states" AND catalog = "kem 072" </s>
Show the addresses of the buildings that have apartments with more than 2 bathrooms.
SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_count > 2
CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_id VARCHAR); CREATE TABLE Apartments (building_id VARCHAR, bathroom_count INTEGER)
<s>[INST] Show the addresses of the buildings that have apartments with more than 2 bathrooms. context: CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_id VARCHAR); CREATE TABLE Apartments (building_id VARCHAR, bathroom_count INTEGER) [/INST] SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_count > 2 </s>
What is To par, when Country is "United States", and when Player is "Jay Haas"?
SELECT to_par FROM table_name_85 WHERE country = "united states" AND player = "jay haas"
CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)
<s>[INST] What is To par, when Country is "United States", and when Player is "Jay Haas"? context: CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] SELECT to_par FROM table_name_85 WHERE country = "united states" AND player = "jay haas" </s>
Find the names of departments that are either in division AS or in division EN and in Building NEB.
SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB"
CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)
<s>[INST] Find the names of departments that are either in division AS or in division EN and in Building NEB. context: CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR) [/INST] SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB" </s>
What is the average number for Black Milk?
SELECT AVG(number) FROM table_name_18 WHERE artist = "black milk"
CREATE TABLE table_name_18 (number INTEGER, artist VARCHAR)
<s>[INST] What is the average number for Black Milk? context: CREATE TABLE table_name_18 (number INTEGER, artist VARCHAR) [/INST] SELECT AVG(number) FROM table_name_18 WHERE artist = "black milk" </s>
When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?
SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.3"
CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)
<s>[INST] When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter? context: CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR) [/INST] SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = "exxon mobil 341,140.3" </s>
Find the country that has the most stadiums.
SELECT country FROM stadium GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE stadium (country VARCHAR)
<s>[INST] Find the country that has the most stadiums. context: CREATE TABLE stadium (country VARCHAR) [/INST] SELECT country FROM stadium GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 </s>
Name the brighton cast for andrew verala
SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala"
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)
<s>[INST] Name the brighton cast for andrew verala context: CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR) [/INST] SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala" </s>
Name the most goals for josep samitier
SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"
CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)
<s>[INST] Name the most goals for josep samitier context: CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR) [/INST] SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier" </s>
Name the min total pts for team dennis conner
SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner"
CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)
<s>[INST] Name the min total pts for team dennis conner context: CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR) [/INST] SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner" </s>
Name the gore number for others % being 5.3%
SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.3%"
CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)
<s>[INST] Name the gore number for others % being 5.3% context: CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR) [/INST] SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.3%" </s>
What is the percentage listed for the team who scored 63 points?
SELECT percentage FROM table_26200568_16 WHERE points_for = 63
CREATE TABLE table_26200568_16 (percentage VARCHAR, points_for VARCHAR)
<s>[INST] What is the percentage listed for the team who scored 63 points? context: CREATE TABLE table_26200568_16 (percentage VARCHAR, points_for VARCHAR) [/INST] SELECT percentage FROM table_26200568_16 WHERE points_for = 63 </s>
What is the name of the high schooler who has the greatest number of likes?
SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)
<s>[INST] What is the name of the high schooler who has the greatest number of likes? context: CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR) [/INST] SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1 </s>
How many different ranks does the Cathay Pacific Plaza 2 have?
SELECT COUNT(rank) FROM table_23759976_1 WHERE building_[a_] = "Cathay Pacific Plaza 2"
CREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)
<s>[INST] How many different ranks does the Cathay Pacific Plaza 2 have? context: CREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR) [/INST] SELECT COUNT(rank) FROM table_23759976_1 WHERE building_[a_] = "Cathay Pacific Plaza 2" </s>
what is the special edition where the english version is nick stewart?
SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart"
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)
<s>[INST] what is the special edition where the english version is nick stewart? context: CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR) [/INST] SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart" </s>
What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot?
SELECT viewers__in_millions_ FROM table_175980_2 WHERE ranking = "#51" AND timeslot = "Tuesday 9:00 p.m."
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR)
<s>[INST] What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot? context: CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR) [/INST] SELECT viewers__in_millions_ FROM table_175980_2 WHERE ranking = "#51" AND timeslot = "Tuesday 9:00 p.m." </s>
Which average lost that has a match less than 14?
SELECT AVG(lost) FROM table_name_9 WHERE match < 14
CREATE TABLE table_name_9 (lost INTEGER, match INTEGER)
<s>[INST] Which average lost that has a match less than 14? context: CREATE TABLE table_name_9 (lost INTEGER, match INTEGER) [/INST] SELECT AVG(lost) FROM table_name_9 WHERE match < 14 </s>
What day did they play the bolton wanderers with a result F–A of 1–2?
SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers"
CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)
<s>[INST] What day did they play the bolton wanderers with a result F–A of 1–2? context: CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR) [/INST] SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers" </s>
what is the location when the circuit is lowood circuit and the race is lowood trophy?
SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"
CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)
<s>[INST] what is the location when the circuit is lowood circuit and the race is lowood trophy? context: CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR) [/INST] SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy" </s>
Which owner has 84 seats?
SELECT owner FROM table_name_60 WHERE seats = 84
CREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR)
<s>[INST] Which owner has 84 seats? context: CREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR) [/INST] SELECT owner FROM table_name_60 WHERE seats = 84 </s>
What is the catalog number for the January 25, 1987 release?
SELECT catalog FROM table_name_5 WHERE date = "january 25, 1987"
CREATE TABLE table_name_5 (catalog VARCHAR, date VARCHAR)
<s>[INST] What is the catalog number for the January 25, 1987 release? context: CREATE TABLE table_name_5 (catalog VARCHAR, date VARCHAR) [/INST] SELECT catalog FROM table_name_5 WHERE date = "january 25, 1987" </s>
What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce?
SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE"
CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR)
<s>[INST] What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce? context: CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR) [/INST] SELECT codename FROM table_27329061_2 WHERE code_base = "Ubuntu 8.04" AND edition = "Fluxbox CE" </s>
What team drafted steve scifres?
SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres"
CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR)
<s>[INST] What team drafted steve scifres? context: CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR) [/INST] SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres" </s>
What is the Rank of the Athlete with a Time of 1:47.65 and in Lane 3 or larger?
SELECT MAX(rank) FROM table_name_35 WHERE time = "1:47.65" AND lane > 3
CREATE TABLE table_name_35 (rank INTEGER, time VARCHAR, lane VARCHAR)
<s>[INST] What is the Rank of the Athlete with a Time of 1:47.65 and in Lane 3 or larger? context: CREATE TABLE table_name_35 (rank INTEGER, time VARCHAR, lane VARCHAR) [/INST] SELECT MAX(rank) FROM table_name_35 WHERE time = "1:47.65" AND lane > 3 </s>
What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?
SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "6 children" AND allowed_recipients = "no data"
CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)
<s>[INST] What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients? context: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR) [/INST] SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "6 children" AND allowed_recipients = "no data" </s>
what is the average silver when the total is more than 20?
SELECT AVG(silver) FROM table_name_66 WHERE total > 20
CREATE TABLE table_name_66 (silver INTEGER, total INTEGER)
<s>[INST] what is the average silver when the total is more than 20? context: CREATE TABLE table_name_66 (silver INTEGER, total INTEGER) [/INST] SELECT AVG(silver) FROM table_name_66 WHERE total > 20 </s>
What is the description of the marketing region China?
SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = "China"
CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
<s>[INST] What is the description of the marketing region China? context: CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR) [/INST] SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = "China" </s>
What is the money for the player with a score of 68-69-67-73=277?
SELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277
CREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR)
<s>[INST] What is the money for the player with a score of 68-69-67-73=277? context: CREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR) [/INST] SELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277 </s>
How many times was player brian currie picked?
SELECT COUNT(pick__number) FROM table_26996293_7 WHERE player = "Brian Currie"
CREATE TABLE table_26996293_7 (pick__number VARCHAR, player VARCHAR)
<s>[INST] How many times was player brian currie picked? context: CREATE TABLE table_26996293_7 (pick__number VARCHAR, player VARCHAR) [/INST] SELECT COUNT(pick__number) FROM table_26996293_7 WHERE player = "Brian Currie" </s>
What is HDTV, when Television service is cartello promozionale sky hd?
SELECT hdtv FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"
CREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR)
<s>[INST] What is HDTV, when Television service is cartello promozionale sky hd? context: CREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR) [/INST] SELECT hdtv FROM table_name_95 WHERE television_service = "cartello promozionale sky hd" </s>
What batting partners batted for pakistan?
SELECT batting_partners FROM table_1670921_2 WHERE batting_team = "Pakistan"
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR)
<s>[INST] What batting partners batted for pakistan? context: CREATE TABLE table_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR) [/INST] SELECT batting_partners FROM table_1670921_2 WHERE batting_team = "Pakistan" </s>
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?
SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"
CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
<s>[INST] What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg? context: CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR) [/INST] SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg" </s>
What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification?
SELECT result FROM table_name_47 WHERE score = "1–0" AND competition = "2014 fifa world cup qualification"
CREATE TABLE table_name_47 (result VARCHAR, score VARCHAR, competition VARCHAR)
<s>[INST] What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification? context: CREATE TABLE table_name_47 (result VARCHAR, score VARCHAR, competition VARCHAR) [/INST] SELECT result FROM table_name_47 WHERE score = "1–0" AND competition = "2014 fifa world cup qualification" </s>
What are the womens singles of naoko fukuman kurumi yonao?
SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao"
CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR)
<s>[INST] What are the womens singles of naoko fukuman kurumi yonao? context: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR) [/INST] SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao" </s>
What prefix has Bromo as the group?
SELECT prefix FROM table_name_78 WHERE group = "bromo"
CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)
<s>[INST] What prefix has Bromo as the group? context: CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR) [/INST] SELECT prefix FROM table_name_78 WHERE group = "bromo" </s>
What's the sum of total where the rank is over 9 and the gold is less than 1?
SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1
CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)
<s>[INST] What's the sum of total where the rank is over 9 and the gold is less than 1? context: CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR) [/INST] SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1 </s>
On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3?
SELECT outcome FROM table_name_77 WHERE score = "7–5, 6–3" AND date = "27 july 2003"
CREATE TABLE table_name_77 (outcome VARCHAR, score VARCHAR, date VARCHAR)
<s>[INST] On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3? context: CREATE TABLE table_name_77 (outcome VARCHAR, score VARCHAR, date VARCHAR) [/INST] SELECT outcome FROM table_name_77 WHERE score = "7–5, 6–3" AND date = "27 july 2003" </s>
What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?
SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5
CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
<s>[INST] What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5? context: CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR) [/INST] SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5 </s>
Which 2011 has an Airport of bole international airport?
SELECT MAX(2011) FROM table_name_38 WHERE airport = "bole international airport"
CREATE TABLE table_name_38 (airport VARCHAR)
<s>[INST] Which 2011 has an Airport of bole international airport? context: CREATE TABLE table_name_38 (airport VARCHAR) [/INST] SELECT MAX(2011) FROM table_name_38 WHERE airport = "bole international airport" </s>
Who is the visitor at the axa sports center in round 20?
SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20
CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)
<s>[INST] Who is the visitor at the axa sports center in round 20? context: CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR) [/INST] SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20 </s>
What is the percentage for Russian?
SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian"
CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR)
<s>[INST] What is the percentage for Russian? context: CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR) [/INST] SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian" </s>
What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist?
SELECT record FROM table_name_90 WHERE round > 2 AND event = "raging wolf 6: mayhem in the mist"
CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR)
<s>[INST] What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist? context: CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR) [/INST] SELECT record FROM table_name_90 WHERE round > 2 AND event = "raging wolf 6: mayhem in the mist" </s>
What was the result of week 16?
SELECT result FROM table_name_73 WHERE week = 16
CREATE TABLE table_name_73 (result VARCHAR, week VARCHAR)
<s>[INST] What was the result of week 16? context: CREATE TABLE table_name_73 (result VARCHAR, week VARCHAR) [/INST] SELECT result FROM table_name_73 WHERE week = 16 </s>
Find the name and id of the item with the highest average rating.
SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) DESC LIMIT 1
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)
<s>[INST] Find the name and id of the item with the highest average rating. context: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) [/INST] SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) DESC LIMIT 1 </s>
How many ends won catagories are listed when there are 8 stolen ends?
SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8
CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)
<s>[INST] How many ends won catagories are listed when there are 8 stolen ends? context: CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR) [/INST] SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8 </s>
Which date has a Score of 6–4, 6–3?
SELECT date FROM table_name_48 WHERE score = "6–4, 6–3"
CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR)
<s>[INST] Which date has a Score of 6–4, 6–3? context: CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR) [/INST] SELECT date FROM table_name_48 WHERE score = "6–4, 6–3" </s>
What is the average crowd size for princes park?
SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park"
CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR)
<s>[INST] What is the average crowd size for princes park? context: CREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_97 WHERE venue = "princes park" </s>
What was the score when the Blue Jays had a record of 39-20?
SELECT score FROM table_name_56 WHERE record = "39-20"
CREATE TABLE table_name_56 (score VARCHAR, record VARCHAR)
<s>[INST] What was the score when the Blue Jays had a record of 39-20? context: CREATE TABLE table_name_56 (score VARCHAR, record VARCHAR) [/INST] SELECT score FROM table_name_56 WHERE record = "39-20" </s>
How many times did the team play charlotte?
SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte"
CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)
<s>[INST] How many times did the team play charlotte? context: CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR) [/INST] SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte" </s>
What was the Tie no when the Home team was carshalton athletic?
SELECT tie_no FROM table_name_50 WHERE home_team = "carshalton athletic"
CREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR)
<s>[INST] What was the Tie no when the Home team was carshalton athletic? context: CREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR) [/INST] SELECT tie_no FROM table_name_50 WHERE home_team = "carshalton athletic" </s>
What date did Renger Van Der Zande have the pole position at Donington Park?
SELECT date FROM table_21373283_3 WHERE pole_position = "Renger van der Zande" AND circuit = "Donington Park"
CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)
<s>[INST] What date did Renger Van Der Zande have the pole position at Donington Park? context: CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR) [/INST] SELECT date FROM table_21373283_3 WHERE pole_position = "Renger van der Zande" AND circuit = "Donington Park" </s>
Who was Class AA in School Year 1994-95?
SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"
CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)
<s>[INST] Who was Class AA in School Year 1994-95? context: CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR) [/INST] SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95" </s>
how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?
SELECT COUNT(party) FROM table_2668347_14 WHERE candidates = "Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%"
CREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR)
<s>[INST] how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%? context: CREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR) [/INST] SELECT COUNT(party) FROM table_2668347_14 WHERE candidates = "Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%" </s>
What was the outcome for the game that was played on 07-Jun-2010?
SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010"
CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR)
<s>[INST] What was the outcome for the game that was played on 07-Jun-2010? context: CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR) [/INST] SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010" </s>
Which type of locomotive was built in 1923?
SELECT type FROM table_name_46 WHERE built = 1923
CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)
<s>[INST] Which type of locomotive was built in 1923? context: CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR) [/INST] SELECT type FROM table_name_46 WHERE built = 1923 </s>
What is the average year for scatman winning?
SELECT AVG(year) FROM table_name_58 WHERE winner = "scatman"
CREATE TABLE table_name_58 (year INTEGER, winner VARCHAR)
<s>[INST] What is the average year for scatman winning? context: CREATE TABLE table_name_58 (year INTEGER, winner VARCHAR) [/INST] SELECT AVG(year) FROM table_name_58 WHERE winner = "scatman" </s>
What game was held against a team with a 6-3 record against the Cowboys?
SELECT game FROM table_22801331_1 WHERE record = "6-3"
CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR)
<s>[INST] What game was held against a team with a 6-3 record against the Cowboys? context: CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR) [/INST] SELECT game FROM table_22801331_1 WHERE record = "6-3" </s>