context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)
SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed
Show the ids of all employees who have authorized destruction.
<s>[INST]Show the ids of all employees who have authorized destruction. Context: CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)[/INST]SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed</s>
CREATE TABLE table_name_2 (winning_score VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_2 WHERE date = "may 29, 1977"
What was the Winning Score on May 29, 1977?
<s>[INST]What was the Winning Score on May 29, 1977? Context: CREATE TABLE table_name_2 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_2 WHERE date = "may 29, 1977"</s>
CREATE TABLE table_name_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_31 WHERE gold > 0 AND bronze > 1
Gold larger than 0, and a Bronze larger than 1 includes what total number of silver?
<s>[INST]Gold larger than 0, and a Bronze larger than 1 includes what total number of silver? Context: CREATE TABLE table_name_31 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_31 WHERE gold > 0 AND bronze > 1</s>
CREATE TABLE table_name_96 (official_itv1_rating VARCHAR, episode VARCHAR)
SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 4"
What is the Official ITV1 rating for auditions 4?
<s>[INST]What is the Official ITV1 rating for auditions 4? Context: CREATE TABLE table_name_96 (official_itv1_rating VARCHAR, episode VARCHAR)[/INST]SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 4"</s>
CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)
SELECT channel_tv___dt__ FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose"
Which channel tv (dt) plays in San Francisco - Oakland - San Jose?
<s>[INST]Which channel tv (dt) plays in San Francisco - Oakland - San Jose? Context: CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)[/INST]SELECT channel_tv___dt__ FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose"</s>
CREATE TABLE table_name_90 (gain VARCHAR, avg_g VARCHAR, long VARCHAR, name VARCHAR)
SELECT COUNT(gain) FROM table_name_90 WHERE long < 4 AND name = "brandon mcrae" AND avg_g < -0.1
What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than -0.1?
<s>[INST]What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than -0.1? Context: CREATE TABLE table_name_90 (gain VARCHAR, avg_g VARCHAR, long VARCHAR, name VARCHAR)[/INST]SELECT COUNT(gain) FROM table_name_90 WHERE long < 4 AND name = "brandon mcrae" AND avg_g < -0.1</s>
CREATE TABLE table_name_73 (bask INTEGER, indoor_track VARCHAR, swimming VARCHAR)
SELECT MIN(bask) FROM table_name_73 WHERE indoor_track = "0" AND swimming = "5"
Which Bask has an Indoor track of 0, and a Swimming of 5?
<s>[INST]Which Bask has an Indoor track of 0, and a Swimming of 5? Context: CREATE TABLE table_name_73 (bask INTEGER, indoor_track VARCHAR, swimming VARCHAR)[/INST]SELECT MIN(bask) FROM table_name_73 WHERE indoor_track = "0" AND swimming = "5"</s>
CREATE TABLE table_name_19 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)
SELECT season FROM table_name_19 WHERE acquisition_via = "trade" AND school_club_team = "east"
What season did School/Club Team, East have an Acquisition via of trade?
<s>[INST]What season did School/Club Team, East have an Acquisition via of trade? Context: CREATE TABLE table_name_19 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)[/INST]SELECT season FROM table_name_19 WHERE acquisition_via = "trade" AND school_club_team = "east"</s>
CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_95 WHERE course = "florence to genoa"
Who is the winner of the Florence to Genoa course?
<s>[INST]Who is the winner of the Florence to Genoa course? Context: CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)[/INST]SELECT winner FROM table_name_95 WHERE course = "florence to genoa"</s>
CREATE TABLE course (title VARCHAR, dept_name VARCHAR)
SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology'
Find the title of course that is provided by Statistics but not Psychology departments.
<s>[INST]Find the title of course that is provided by Statistics but not Psychology departments. Context: CREATE TABLE course (title VARCHAR, dept_name VARCHAR)[/INST]SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology'</s>
CREATE TABLE table_26168687_5 (no_in_season VARCHAR, vessel_operator VARCHAR)
SELECT COUNT(no_in_season) FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"
Name the number of season for beluga shipping
<s>[INST]Name the number of season for beluga shipping Context: CREATE TABLE table_26168687_5 (no_in_season VARCHAR, vessel_operator VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_26168687_5 WHERE vessel_operator = "Beluga Shipping"</s>
CREATE TABLE table_name_1 (race VARCHAR, date VARCHAR)
SELECT race FROM table_name_1 WHERE date = "04-25-2008"
What race happened on 04-25-2008?
<s>[INST]What race happened on 04-25-2008? Context: CREATE TABLE table_name_1 (race VARCHAR, date VARCHAR)[/INST]SELECT race FROM table_name_1 WHERE date = "04-25-2008"</s>
CREATE TABLE table_1341577_22 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1341577_22 WHERE first_elected = 1952
What is the district for 1952?
<s>[INST]What is the district for 1952? Context: CREATE TABLE table_1341577_22 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_1341577_22 WHERE first_elected = 1952</s>
CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "794(86%)"
What was the country in which the agricultural use (m 3 /p/yr)(in %) was 794(86%)?
<s>[INST]What was the country in which the agricultural use (m 3 /p/yr)(in %) was 794(86%)? Context: CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)[/INST]SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "794(86%)"</s>
CREATE TABLE table_name_48 (enrollment INTEGER, location VARCHAR, mascot VARCHAR)
SELECT MAX(enrollment) FROM table_name_48 WHERE location = "lagrange" AND mascot = "panthers"
What is the highest enrollment in Lagrange where the mascot is panthers?
<s>[INST]What is the highest enrollment in Lagrange where the mascot is panthers? Context: CREATE TABLE table_name_48 (enrollment INTEGER, location VARCHAR, mascot VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_name_48 WHERE location = "lagrange" AND mascot = "panthers"</s>
CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)
SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4
how many airport with rank being 4
<s>[INST] how many airport with rank being 4 Context: CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4</s>
CREATE TABLE table_25831483_1 (actor_actress VARCHAR, first_appearance VARCHAR)
SELECT actor_actress FROM table_25831483_1 WHERE first_appearance = "3 June 2007"
Who was the actor/actress with a first appearance is 3 june 2007?
<s>[INST]Who was the actor/actress with a first appearance is 3 june 2007? Context: CREATE TABLE table_25831483_1 (actor_actress VARCHAR, first_appearance VARCHAR)[/INST]SELECT actor_actress FROM table_25831483_1 WHERE first_appearance = "3 June 2007"</s>
CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Gomorra"
Who directed the film Gomorra?
<s>[INST]Who directed the film Gomorra? Context: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Gomorra"</s>
CREATE TABLE table_134729_3 (target_city__market VARCHAR, city_of_license VARCHAR)
SELECT target_city__market FROM table_134729_3 WHERE city_of_license = "Wessington Springs"
What market is Wessington Springs in
<s>[INST]What market is Wessington Springs in Context: CREATE TABLE table_134729_3 (target_city__market VARCHAR, city_of_license VARCHAR)[/INST]SELECT target_city__market FROM table_134729_3 WHERE city_of_license = "Wessington Springs"</s>
CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_64 WHERE date = "february 26"
What is the Record of the February 26 date?
<s>[INST]What is the Record of the February 26 date? Context: CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_64 WHERE date = "february 26"</s>
CREATE TABLE table_name_80 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_80 WHERE score = "4–6, 6–4, 6–2"
Who did thomaz bellucci play against when the score was 4–6, 6–4, 6–2?
<s>[INST]Who did thomaz bellucci play against when the score was 4–6, 6–4, 6–2? Context: CREATE TABLE table_name_80 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_80 WHERE score = "4–6, 6–4, 6–2"</s>
CREATE TABLE table_name_45 (wins INTEGER, team VARCHAR, appearances VARCHAR)
SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 1
With Appearances larger than 1, what is the Wins for the Reno Aces Team?
<s>[INST]With Appearances larger than 1, what is the Wins for the Reno Aces Team? Context: CREATE TABLE table_name_45 (wins INTEGER, team VARCHAR, appearances VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 1</s>
CREATE TABLE table_26032940_2 (movie_title_and_year VARCHAR, main_cast VARCHAR)
SELECT movie_title_and_year FROM table_26032940_2 WHERE main_cast = "Dana Wynter , Mel Ferrer , Theodore Bikel"
What movie did dana wynter , mel ferrer , theodore bikel star in?
<s>[INST]What movie did dana wynter , mel ferrer , theodore bikel star in? Context: CREATE TABLE table_26032940_2 (movie_title_and_year VARCHAR, main_cast VARCHAR)[/INST]SELECT movie_title_and_year FROM table_26032940_2 WHERE main_cast = "Dana Wynter , Mel Ferrer , Theodore Bikel"</s>
CREATE TABLE table_name_56 (rank INTEGER, name VARCHAR, places VARCHAR)
SELECT AVG(rank) FROM table_name_56 WHERE name = "wolfgang schwarz" AND places > 13
What was the average rank of Wolfgang Schwarz with greater than 13 places?
<s>[INST]What was the average rank of Wolfgang Schwarz with greater than 13 places? Context: CREATE TABLE table_name_56 (rank INTEGER, name VARCHAR, places VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_56 WHERE name = "wolfgang schwarz" AND places > 13</s>
CREATE TABLE table_name_98 (usual_translation VARCHAR, date_³ VARCHAR)
SELECT usual_translation FROM table_name_98 WHERE date_³ = "jun 21"
WHICH Usual translation is on jun 21?
<s>[INST]WHICH Usual translation is on jun 21? Context: CREATE TABLE table_name_98 (usual_translation VARCHAR, date_³ VARCHAR)[/INST]SELECT usual_translation FROM table_name_98 WHERE date_³ = "jun 21"</s>
CREATE TABLE table_name_8 (wins INTEGER, earnings__$__ INTEGER)
SELECT SUM(wins) FROM table_name_8 WHERE earnings__$__ > 720 OFFSET 134
How many wins do the players that earned more than 720,134 have?
<s>[INST]How many wins do the players that earned more than 720,134 have? Context: CREATE TABLE table_name_8 (wins INTEGER, earnings__$__ INTEGER)[/INST]SELECT SUM(wins) FROM table_name_8 WHERE earnings__$__ > 720 OFFSET 134</s>
CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma"
Name the simplified charaacters being hsin-yüan … i-ma
<s>[INST]Name the simplified charaacters being hsin-yüan … i-ma Context: CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)[/INST]SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma"</s>
CREATE TABLE table_261222_1 (area__km_2__ VARCHAR, population__2010_ VARCHAR)
SELECT area__km_2__ FROM table_261222_1 WHERE population__2010_ = 153085
What is the area (km2) for the place with a 2010 population of 153085?
<s>[INST]What is the area (km2) for the place with a 2010 population of 153085? Context: CREATE TABLE table_261222_1 (area__km_2__ VARCHAR, population__2010_ VARCHAR)[/INST]SELECT area__km_2__ FROM table_261222_1 WHERE population__2010_ = 153085</s>
CREATE TABLE table_name_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR)
SELECT COUNT(converted) FROM table_name_71 WHERE number = "35" AND withdrawn < 1952
How much Converted has a Number of 35, and a Withdrawn smaller than 1952?
<s>[INST]How much Converted has a Number of 35, and a Withdrawn smaller than 1952? Context: CREATE TABLE table_name_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR)[/INST]SELECT COUNT(converted) FROM table_name_71 WHERE number = "35" AND withdrawn < 1952</s>
CREATE TABLE table_2226817_6 (no_in_series VARCHAR, original_air_date VARCHAR)
SELECT COUNT(no_in_series) FROM table_2226817_6 WHERE original_air_date = "October 28, 1990"
How many series numbers do the episodes originally aired on October 28, 1990?
<s>[INST]How many series numbers do the episodes originally aired on October 28, 1990? Context: CREATE TABLE table_2226817_6 (no_in_series VARCHAR, original_air_date VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_2226817_6 WHERE original_air_date = "October 28, 1990"</s>
CREATE TABLE table_name_93 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR)
SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700"
What would the LCD screen size and pixels be for the coolpix 5700?
<s>[INST]What would the LCD screen size and pixels be for the coolpix 5700? Context: CREATE TABLE table_name_93 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR)[/INST]SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700"</s>
CREATE TABLE table_name_88 (place VARCHAR, event VARCHAR)
SELECT place FROM table_name_88 WHERE event = "half marathon"
What is the Place of the half marathon Event?
<s>[INST]What is the Place of the half marathon Event? Context: CREATE TABLE table_name_88 (place VARCHAR, event VARCHAR)[/INST]SELECT place FROM table_name_88 WHERE event = "half marathon"</s>
CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2
How many viewers tuned in for season 2?
<s>[INST]How many viewers tuned in for season 2? Context: CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2</s>
CREATE TABLE table_name_17 (mark VARCHAR, athlete VARCHAR)
SELECT mark FROM table_name_17 WHERE athlete = "heike drechsler"
Which Mark has an Athlete of heike drechsler?
<s>[INST]Which Mark has an Athlete of heike drechsler? Context: CREATE TABLE table_name_17 (mark VARCHAR, athlete VARCHAR)[/INST]SELECT mark FROM table_name_17 WHERE athlete = "heike drechsler"</s>
CREATE TABLE table_name_29 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_29 WHERE score = 68 - 67 - 75 = 210
Who is the player with a 68-67-75=210 score?
<s>[INST]Who is the player with a 68-67-75=210 score? Context: CREATE TABLE table_name_29 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_29 WHERE score = 68 - 67 - 75 = 210</s>
CREATE TABLE table_26826304_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_26826304_1 WHERE production_code = "5AKY04"
Who was the writer of the episode with a production code of 5aky04?
<s>[INST]Who was the writer of the episode with a production code of 5aky04? Context: CREATE TABLE table_26826304_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_26826304_1 WHERE production_code = "5AKY04"</s>
CREATE TABLE table_name_8 (against INTEGER, losses VARCHAR, draws VARCHAR)
SELECT SUM(against) FROM table_name_8 WHERE losses = 5 AND draws < 0
What is the sum of Against values for teams with 5 losses and 0 draws?
<s>[INST]What is the sum of Against values for teams with 5 losses and 0 draws? Context: CREATE TABLE table_name_8 (against INTEGER, losses VARCHAR, draws VARCHAR)[/INST]SELECT SUM(against) FROM table_name_8 WHERE losses = 5 AND draws < 0</s>
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey"
If the height is 185cm and the home team is Heaton Mersey, what is the date of birth?
<s>[INST]If the height is 185cm and the home team is Heaton Mersey, what is the date of birth? Context: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)[/INST]SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey"</s>
CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, election_date VARCHAR)
SELECT percentage_of_votes FROM table_13746866_2 WHERE election_date = 1981
what's the percentage of votes with election date being 1981
<s>[INST]what's the percentage of votes with election date being 1981 Context: CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, election_date VARCHAR)[/INST]SELECT percentage_of_votes FROM table_13746866_2 WHERE election_date = 1981</s>
CREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states"
Which united states player had a To par of 12?
<s>[INST]Which united states player had a To par of 12? Context: CREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states"</s>
CREATE TABLE table_12834315_5 (barrel_profile VARCHAR, name VARCHAR)
SELECT barrel_profile FROM table_12834315_5 WHERE name = "Gas Piston Carbine"
What is the barrell profile that goes with the gas piston carbine?
<s>[INST]What is the barrell profile that goes with the gas piston carbine? Context: CREATE TABLE table_12834315_5 (barrel_profile VARCHAR, name VARCHAR)[/INST]SELECT barrel_profile FROM table_12834315_5 WHERE name = "Gas Piston Carbine"</s>
CREATE TABLE table_name_73 (minutes INTEGER, rank VARCHAR, club VARCHAR)
SELECT SUM(minutes) FROM table_name_73 WHERE rank > 7 AND club = "real madrid"
What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger?
<s>[INST]What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger? Context: CREATE TABLE table_name_73 (minutes INTEGER, rank VARCHAR, club VARCHAR)[/INST]SELECT SUM(minutes) FROM table_name_73 WHERE rank > 7 AND club = "real madrid"</s>
CREATE TABLE table_name_14 (Id VARCHAR)
SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359
What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?
<s>[INST]What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359? Context: CREATE TABLE table_name_14 (Id VARCHAR)[/INST]SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359</s>
CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR, points VARCHAR, date VARCHAR)
SELECT MAX(game) FROM table_name_24 WHERE points = 16 AND date = "november 11, 2008" AND attendance > 19 OFFSET 289
What is the highest value for Game, when Points is 16, when Date is November 11, 2008, and when Attendance is greater than 19,289?
<s>[INST]What is the highest value for Game, when Points is 16, when Date is November 11, 2008, and when Attendance is greater than 19,289? Context: CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR, points VARCHAR, date VARCHAR)[/INST]SELECT MAX(game) FROM table_name_24 WHERE points = 16 AND date = "novembe...
CREATE TABLE table_name_52 (manufacturer VARCHAR, year_withdrawn VARCHAR)
SELECT manufacturer FROM table_name_52 WHERE year_withdrawn = 1927
Who manufactured the vehicle that was withdrawn in 1927?
<s>[INST]Who manufactured the vehicle that was withdrawn in 1927? Context: CREATE TABLE table_name_52 (manufacturer VARCHAR, year_withdrawn VARCHAR)[/INST]SELECT manufacturer FROM table_name_52 WHERE year_withdrawn = 1927</s>
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"
what tournament happened on may 2, 2011?
<s>[INST]what tournament happened on may 2, 2011? Context: CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"</s>
CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR)
SELECT COUNT(year) FROM table_name_94 WHERE title = "drop dead"
How many years was the title drop dead?
<s>[INST]How many years was the title drop dead? Context: CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_94 WHERE title = "drop dead"</s>
CREATE TABLE table_1341897_3 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341897_3 WHERE incumbent = "Albert Rains"
What district is incumbent albert rains from?
<s>[INST]What district is incumbent albert rains from? Context: CREATE TABLE table_1341897_3 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341897_3 WHERE incumbent = "Albert Rains"</s>
CREATE TABLE table_name_90 (provider VARCHAR, transmission VARCHAR, free_or_pay VARCHAR, years VARCHAR)
SELECT provider FROM table_name_90 WHERE free_or_pay = "pay" AND years = "2006–" AND transmission = "iptv and digital terrestrial"
Name the Provider that has a pay in 2006–, and a Transmission of iptv and digital terrestrial?
<s>[INST]Name the Provider that has a pay in 2006–, and a Transmission of iptv and digital terrestrial? Context: CREATE TABLE table_name_90 (provider VARCHAR, transmission VARCHAR, free_or_pay VARCHAR, years VARCHAR)[/INST]SELECT provider FROM table_name_90 WHERE free_or_pay = "pay" AND years = "2006–" AND transmissio...
CREATE TABLE table_21721351_18 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_21721351_18 WHERE player = "David Grannis"
What is the pick # for player david grannis?
<s>[INST]What is the pick # for player david grannis? Context: CREATE TABLE table_21721351_18 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_21721351_18 WHERE player = "David Grannis"</s>
CREATE TABLE table_26824484_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_26824484_1 WHERE production_code = "3AKY05"
What date did the episode with production code 3aky05 air?
<s>[INST]What date did the episode with production code 3aky05 air? Context: CREATE TABLE table_26824484_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_26824484_1 WHERE production_code = "3AKY05"</s>
CREATE TABLE table_name_56 (points_ VARCHAR, sets_ INTEGER)
SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51
What is the total number of Points- when the Sets- is larger than 51?
<s>[INST]What is the total number of Points- when the Sets- is larger than 51? Context: CREATE TABLE table_name_56 (points_ VARCHAR, sets_ INTEGER)[/INST]SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51</s>
CREATE TABLE table_name_69 (coach VARCHAR, location VARCHAR)
SELECT coach FROM table_name_69 WHERE location = "oakden"
Who is the coach located in Oakden?
<s>[INST]Who is the coach located in Oakden? Context: CREATE TABLE table_name_69 (coach VARCHAR, location VARCHAR)[/INST]SELECT coach FROM table_name_69 WHERE location = "oakden"</s>
CREATE TABLE table_30008638_1 (miss_air INTEGER)
SELECT MIN(miss_air) FROM table_30008638_1
What is the least amount of Miss Airs any country has had?
<s>[INST]What is the least amount of Miss Airs any country has had? Context: CREATE TABLE table_30008638_1 (miss_air INTEGER)[/INST]SELECT MIN(miss_air) FROM table_30008638_1</s>
CREATE TABLE job_history (employee_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR)
SELECT * FROM employees WHERE NOT employee_id IN (SELECT employee_id FROM job_history)
display all the information of those employees who did not have any job in the past.
<s>[INST]display all the information of those employees who did not have any job in the past. Context: CREATE TABLE job_history (employee_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR)[/INST]SELECT * FROM employees WHERE NOT employee_id IN (SELECT employee_id FROM job_history)</s>
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_99 WHERE year = "2008"
What was the result in 2008?
<s>[INST]What was the result in 2008? Context: CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_99 WHERE year = "2008"</s>
CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_4 WHERE date = "december 3"
Tell me the score for december 3
<s>[INST]Tell me the score for december 3 Context: CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_4 WHERE date = "december 3"</s>
CREATE TABLE table_21576644_2 (season VARCHAR, mens_2nd_xi VARCHAR)
SELECT season FROM table_21576644_2 WHERE mens_2nd_xi = "5th, South Western District 2"
When 5th, south western district 2 is the mens 2nd xi what is the season?
<s>[INST]When 5th, south western district 2 is the mens 2nd xi what is the season? Context: CREATE TABLE table_21576644_2 (season VARCHAR, mens_2nd_xi VARCHAR)[/INST]SELECT season FROM table_21576644_2 WHERE mens_2nd_xi = "5th, South Western District 2"</s>
CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR)
SELECT ratt FROM table_name_72 WHERE year = "1988"
What is the RAtt in the year 1988?
<s>[INST]What is the RAtt in the year 1988? Context: CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR)[/INST]SELECT ratt FROM table_name_72 WHERE year = "1988"</s>
CREATE TABLE table_name_61 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_61 WHERE bronze > 1 AND silver > 1 AND rank = "total"
How many golds have a bronze greater than 1, a silver greater than 1, with total as the rank?
<s>[INST]How many golds have a bronze greater than 1, a silver greater than 1, with total as the rank? Context: CREATE TABLE table_name_61 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_61 WHERE bronze > 1 AND silver > 1 AND rank = "total"</s>
CREATE TABLE table_25030512_24 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_25030512_24 WHERE incumbent = "Barney Frank"
Name the result for barney frank
<s>[INST]Name the result for barney frank Context: CREATE TABLE table_25030512_24 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_25030512_24 WHERE incumbent = "Barney Frank"</s>
CREATE TABLE table_name_32 (rank INTEGER, prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR)
SELECT SUM(rank) FROM table_name_32 WHERE col__m_ = 0 AND peak = "aoraki/mount cook" AND prominence__m_ > 3 OFFSET 755
Which Rank has a Col (m) of 0, and a Peak of aoraki/mount cook, and a Prominence (m) larger than 3,755?
<s>[INST]Which Rank has a Col (m) of 0, and a Peak of aoraki/mount cook, and a Prominence (m) larger than 3,755? Context: CREATE TABLE table_name_32 (rank INTEGER, prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_32 WHERE col__m_ = 0 AND peak = "aoraki/mount cook" AND promin...
CREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR)
SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"
Which young classification has an aggressive rider of Tim Johnson?
<s>[INST]Which young classification has an aggressive rider of Tim Johnson? Context: CREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR)[/INST]SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"</s>
CREATE TABLE table_name_6 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_6 WHERE to_par < 13 AND player = "wayne grady"
What country has a to par less than 13, with wayne grady as the player?
<s>[INST]What country has a to par less than 13, with wayne grady as the player? Context: CREATE TABLE table_name_6 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_6 WHERE to_par < 13 AND player = "wayne grady"</s>
CREATE TABLE table_name_11 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_11 WHERE away_team = "millwall"
Who was the home team when millwall was the away team?
<s>[INST]Who was the home team when millwall was the away team? Context: CREATE TABLE table_name_11 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_11 WHERE away_team = "millwall"</s>
CREATE TABLE table_name_58 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)
SELECT SUM(place) FROM table_name_58 WHERE ties > 0 AND points = "7 qc" AND losses > 2
Name the sum of place with ties larger than 0 and point sof 7 qc and losses more than 2
<s>[INST]Name the sum of place with ties larger than 0 and point sof 7 qc and losses more than 2 Context: CREATE TABLE table_name_58 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)[/INST]SELECT SUM(place) FROM table_name_58 WHERE ties > 0 AND points = "7 qc" AND losses > 2</s>
CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "9 games (28,595 avg.)"
What record was set when the result/game was equal to 9 games (28,595 avg.)
<s>[INST]What record was set when the result/game was equal to 9 games (28,595 avg.) Context: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)[/INST]SELECT type_of_record FROM table_21436373_8 WHERE result_games = "9 games (28,595 avg.)"</s>
CREATE TABLE table_name_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR)
SELECT fineness FROM table_name_11 WHERE year = 2008 AND reverse = "chinese cuju sport"
What is the fineness of the 2008 chinese cuju sport Reverse?
<s>[INST]What is the fineness of the 2008 chinese cuju sport Reverse? Context: CREATE TABLE table_name_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR)[/INST]SELECT fineness FROM table_name_11 WHERE year = 2008 AND reverse = "chinese cuju sport"</s>
CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_48 WHERE score = "6–4, 6–3"
Which date has a Score of 6–4, 6–3?
<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>
CREATE TABLE table_name_1 (legs_lost VARCHAR, played VARCHAR)
SELECT COUNT(3 AS _dart_average) FROM table_name_1 WHERE legs_lost > 41 AND played > 7
What is the total number of 3-dart average when legs lost is larger than 41, and played is larger than 7?
<s>[INST]What is the total number of 3-dart average when legs lost is larger than 41, and played is larger than 7? Context: CREATE TABLE table_name_1 (legs_lost VARCHAR, played VARCHAR)[/INST]SELECT COUNT(3 AS _dart_average) FROM table_name_1 WHERE legs_lost > 41 AND played > 7</s>
CREATE TABLE table_name_39 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_39 WHERE rank = 3 AND silver > 0
Which Bronze has a Rank of 3, and a Silver larger than 0?
<s>[INST]Which Bronze has a Rank of 3, and a Silver larger than 0? Context: CREATE TABLE table_name_39 (bronze INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_39 WHERE rank = 3 AND silver > 0</s>
CREATE TABLE table_17080868_8 (location_attendance VARCHAR, game VARCHAR)
SELECT location_attendance FROM table_17080868_8 WHERE game = 54
54 is the game where location attendance are.
<s>[INST]54 is the game where location attendance are. Context: CREATE TABLE table_17080868_8 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT location_attendance FROM table_17080868_8 WHERE game = 54</s>
CREATE TABLE table_1277350_3 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
SELECT saturday_shani__saturn_ FROM table_1277350_3 WHERE sunday_surya__the_sun_ = "ஞாயிற்று கிழமை Nyāyitru kizhamai"
In the system where Sunday is ஞாயிற்று கிழமை nyāyitru kizhamai, what is Saturday?
<s>[INST]In the system where Sunday is ஞாயிற்று கிழமை nyāyitru kizhamai, what is Saturday? Context: CREATE TABLE table_1277350_3 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)[/INST]SELECT saturday_shani__saturn_ FROM table_1277350_3 WHERE sunday_surya__the_sun_ = "ஞாயிற்று கிழமை Nyāyitru kizhamai"</...
CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER)
SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0
How many wins of average has cuts made less than 0?
<s>[INST]How many wins of average has cuts made less than 0? Context: CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER)[/INST]SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0</s>
CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)
SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner"
Name the min total pts for team dennis conner
<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>
CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, rank VARCHAR)
SELECT AVG(silver) FROM table_name_49 WHERE total < 3 AND rank > 9
How many silver medals were won with a total medal of 3 and a rank above 9?
<s>[INST]How many silver medals were won with a total medal of 3 and a rank above 9? Context: CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, rank VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_49 WHERE total < 3 AND rank > 9</s>
CREATE TABLE table_2651755_1 (democratic_coalition VARCHAR, together_we_can_do_more VARCHAR)
SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = "Sergio Castro ( PC )"
What is the democratic coalation when together we can do more is sergio castro ( pc )?
<s>[INST]What is the democratic coalation when together we can do more is sergio castro ( pc )? Context: CREATE TABLE table_2651755_1 (democratic_coalition VARCHAR, together_we_can_do_more VARCHAR)[/INST]SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = "Sergio Castro ( PC )"</s>
CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4
What is the smallest number of bronze medals with more than 4 gold medals?
<s>[INST]What is the smallest number of bronze medals with more than 4 gold medals? Context: CREATE TABLE table_name_7 (bronze INTEGER, gold INTEGER)[/INST]SELECT MIN(bronze) FROM table_name_7 WHERE gold > 4</s>
CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_56 WHERE player = "jack nicklaus"
What is Country, when Player is "Jack Nicklaus"?
<s>[INST]What is Country, when Player is "Jack Nicklaus"? Context: CREATE TABLE table_name_56 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_56 WHERE player = "jack nicklaus"</s>
CREATE TABLE table_name_5 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win__percentage < 31.25
Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches?
<s>[INST]Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches? Context: CREATE TABLE table_name_5 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win...
CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR)
SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1"
What was the total number of episodes that had a 3-1 vote?
<s>[INST]What was the total number of episodes that had a 3-1 vote? Context: CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR)[/INST]SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1"</s>
CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_77 WHERE date = "october 28, 2001"
Who is the opponent on October 28, 2001?
<s>[INST]Who is the opponent on October 28, 2001? Context: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_77 WHERE date = "october 28, 2001"</s>
CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR)
SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963"
What's the total power of the unit whose construction finished on 14.06.1963?
<s>[INST]What's the total power of the unit whose construction finished on 14.06.1963? Context: CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR)[/INST]SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963"</s>
CREATE TABLE table_name_8 (rider VARCHAR, rank VARCHAR, time VARCHAR)
SELECT rider FROM table_name_8 WHERE rank < 5 AND time = "31’ 03.093"
Rank smaller than 5, and a Time of 31’ 03.093 is what rider?
<s>[INST]Rank smaller than 5, and a Time of 31’ 03.093 is what rider? Context: CREATE TABLE table_name_8 (rider VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT rider FROM table_name_8 WHERE rank < 5 AND time = "31’ 03.093"</s>
CREATE TABLE table_name_2 (bronze VARCHAR, sport VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_2 WHERE total > 2 AND gold = 0 AND sport = "athletics"
When athletics has a total more than 2 and 0 gold, what is the total number of bronze?
<s>[INST]When athletics has a total more than 2 and 0 gold, what is the total number of bronze? Context: CREATE TABLE table_name_2 (bronze VARCHAR, sport VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_2 WHERE total > 2 AND gold = 0 AND sport = "athletics"</s>
CREATE TABLE table_name_24 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_24 WHERE home_team = "fitzroy"
What is the highest crowd when fitzroy is the home team?
<s>[INST]What is the highest crowd when fitzroy is the home team? Context: CREATE TABLE table_name_24 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_24 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"
What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
<s>[INST]What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011? Context: CREATE TABLE table_name_32 (tournament VARCHAR)[/INST]SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters"</s>
CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR)
SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008"
Which Week has an Air Date of august 30, 2008?
<s>[INST]Which Week has an Air Date of august 30, 2008? Context: CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR)[/INST]SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008"</s>
CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_43 WHERE date = "july 17, 1999"
Where was the match held on July 17, 1999?
<s>[INST]Where was the match held on July 17, 1999? Context: CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_43 WHERE date = "july 17, 1999"</s>
CREATE TABLE table_name_98 (hazmat VARCHAR, type VARCHAR, tankers VARCHAR)
SELECT hazmat FROM table_name_98 WHERE type = "rural" AND tankers = 1
What is the Hazmat, when the Type is Rural, and when the number of Tankers is 1?
<s>[INST]What is the Hazmat, when the Type is Rural, and when the number of Tankers is 1? Context: CREATE TABLE table_name_98 (hazmat VARCHAR, type VARCHAR, tankers VARCHAR)[/INST]SELECT hazmat FROM table_name_98 WHERE type = "rural" AND tankers = 1</s>
CREATE TABLE table_name_82 (number VARCHAR, name VARCHAR)
SELECT number FROM table_name_82 WHERE name = "rashad mccants"
What number was Rashad McCants?
<s>[INST]What number was Rashad McCants? Context: CREATE TABLE table_name_82 (number VARCHAR, name VARCHAR)[/INST]SELECT number FROM table_name_82 WHERE name = "rashad mccants"</s>
CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR)
SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4
What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4?
<s>[INST]What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4? Context: CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR)[/INST]SELECT AVG(pct) FROM table_name_51 WHERE state_cham...
CREATE TABLE Student (advisor VARCHAR)
SELECT COUNT(DISTINCT advisor) FROM Student
How many different advisors are listed?
<s>[INST]How many different advisors are listed? Context: CREATE TABLE Student (advisor VARCHAR)[/INST]SELECT COUNT(DISTINCT advisor) FROM Student</s>
CREATE TABLE table_11803648_17 (overall INTEGER)
SELECT MIN(overall) FROM table_11803648_17
HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?
<s>[INST]HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON? Context: CREATE TABLE table_11803648_17 (overall INTEGER)[/INST]SELECT MIN(overall) FROM table_11803648_17</s>
CREATE TABLE table_name_32 (round VARCHAR, home_team VARCHAR)
SELECT round FROM table_name_32 WHERE home_team = "pohang steelers"
What round did the home team Pohang Steelers play?
<s>[INST]What round did the home team Pohang Steelers play? Context: CREATE TABLE table_name_32 (round VARCHAR, home_team VARCHAR)[/INST]SELECT round FROM table_name_32 WHERE home_team = "pohang steelers"</s>
CREATE TABLE table_name_2 (writer VARCHAR, company VARCHAR, title VARCHAR)
SELECT writer FROM table_name_2 WHERE company = "bbv" AND title = "the year of the cat"
Who was the writer of The Year of the Cat from the BBV?
<s>[INST]Who was the writer of The Year of the Cat from the BBV? Context: CREATE TABLE table_name_2 (writer VARCHAR, company VARCHAR, title VARCHAR)[/INST]SELECT writer FROM table_name_2 WHERE company = "bbv" AND title = "the year of the cat"</s>
CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR)
SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002"
What television network, founded in 2002, has a community type of network?
<s>[INST]What television network, founded in 2002, has a community type of network? Context: CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR)[/INST]SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002"</s>
CREATE TABLE table_name_77 (round INTEGER, opponent VARCHAR)
SELECT MAX(round) FROM table_name_77 WHERE opponent = "jr schumacher"
What is the highest round reached by an oppo ent of JR schumacher?
<s>[INST]What is the highest round reached by an oppo ent of JR schumacher? Context: CREATE TABLE table_name_77 (round INTEGER, opponent VARCHAR)[/INST]SELECT MAX(round) FROM table_name_77 WHERE opponent = "jr schumacher"</s>
CREATE TABLE table_25926120_3 (name_of_film VARCHAR, language VARCHAR)
SELECT COUNT(name_of_film) FROM table_25926120_3 WHERE language = "Hindi"
How many films were in hindi?
<s>[INST]How many films were in hindi? Context: CREATE TABLE table_25926120_3 (name_of_film VARCHAR, language VARCHAR)[/INST]SELECT COUNT(name_of_film) FROM table_25926120_3 WHERE language = "Hindi"</s>
CREATE TABLE table_name_92 (texas VARCHAR, north_dakota VARCHAR)
SELECT texas FROM table_name_92 WHERE north_dakota = "johnson"
What Texas has Johnson from Nort Dakota?
<s>[INST]What Texas has Johnson from Nort Dakota? Context: CREATE TABLE table_name_92 (texas VARCHAR, north_dakota VARCHAR)[/INST]SELECT texas FROM table_name_92 WHERE north_dakota = "johnson"</s>