context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_11318462_5 (crew VARCHAR, open_1st_viii VARCHAR, u15_3rd_iv VARCHAR, u15_1st_iv VARCHAR)
SELECT COUNT(crew) FROM table_11318462_5 WHERE u15_3rd_iv = "BGS" AND u15_1st_iv = "ACGS" AND open_1st_viii = "ACGS"
how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs
<s>[INST]how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs Context: CREATE TABLE table_11318462_5 (crew VARCHAR, open_1st_viii VARCHAR, u15_3rd_iv VARCHAR, u15_1st_iv VARCHAR)[/INST]SELECT COUNT(crew) FROM table_11318462_5 WHERE u15_3rd_iv = "BGS" AND u15_1st_iv = "ACGS" AND ...
CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990
Show publishers with a book published in 1989 and a book in 1990.
<s>[INST]Show publishers with a book published in 1989 and a book in 1990. Context: CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)[/INST]SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990</s>
CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_27700375_10 WHERE date = "March 14"
who had high points on march 14?
<s>[INST]who had high points on march 14? Context: CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_27700375_10 WHERE date = "March 14"</s>
CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR)
SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983
What is the average pots of Alfa Romeo v12 after 1983?
<s>[INST]What is the average pots of Alfa Romeo v12 after 1983? Context: CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR)[/INST]SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983</s>
CREATE TABLE table_name_29 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_29 WHERE player = "mathieu garon"
What round has mathieu garon as the player?
<s>[INST]What round has mathieu garon as the player? Context: CREATE TABLE table_name_29 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_29 WHERE player = "mathieu garon"</s>
CREATE TABLE table_name_15 (londonborough VARCHAR, dialcode VARCHAR)
SELECT londonborough FROM table_name_15 WHERE dialcode = "01992"
What Londongborough has a Dialcode of 01992?
<s>[INST]What Londongborough has a Dialcode of 01992? Context: CREATE TABLE table_name_15 (londonborough VARCHAR, dialcode VARCHAR)[/INST]SELECT londonborough FROM table_name_15 WHERE dialcode = "01992"</s>
CREATE TABLE table_name_80 (wins INTEGER, team VARCHAR)
SELECT AVG(wins) FROM table_name_80 WHERE team = "great britain"
What are the average wins that have great britain as the team?
<s>[INST]What are the average wins that have great britain as the team? Context: CREATE TABLE table_name_80 (wins INTEGER, team VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_80 WHERE team = "great britain"</s>
CREATE TABLE table_name_56 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_56 WHERE date = "april 2"
Who was the opponent on April 2?
<s>[INST]Who was the opponent on April 2? Context: CREATE TABLE table_name_56 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_56 WHERE date = "april 2"</s>
CREATE TABLE table_name_40 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_name_40 WHERE opponent = "atlético choloma"
What was the final score when the opponent was Atlético Choloma?
<s>[INST]What was the final score when the opponent was Atlético Choloma? Context: CREATE TABLE table_name_40 (final_score VARCHAR, opponent VARCHAR)[/INST]SELECT final_score FROM table_name_40 WHERE opponent = "atlético choloma"</s>
CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR)
SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8
Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8?
<s>[INST]Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8? Context: CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR)[/INST]SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8</s>
CREATE TABLE table_name_1 (film VARCHAR, year INTEGER)
SELECT film FROM table_name_1 WHERE year < 2002
Which film was made before 2002?
<s>[INST]Which film was made before 2002? Context: CREATE TABLE table_name_1 (film VARCHAR, year INTEGER)[/INST]SELECT film FROM table_name_1 WHERE year < 2002</s>
CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR)
SELECT position FROM table_22603701_1 WHERE college = "Menlo college"
What are the positions for Menlo College?
<s>[INST]What are the positions for Menlo College? Context: CREATE TABLE table_22603701_1 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_22603701_1 WHERE college = "Menlo college"</s>
CREATE TABLE table_name_43 (round VARCHAR, location VARCHAR)
SELECT round FROM table_name_43 WHERE location = "palavas-les-flots , herault , france"
What round was held in palavas-les-flots , herault , france?
<s>[INST]What round was held in palavas-les-flots , herault , france? Context: CREATE TABLE table_name_43 (round VARCHAR, location VARCHAR)[/INST]SELECT round FROM table_name_43 WHERE location = "palavas-les-flots , herault , france"</s>
CREATE TABLE table_name_95 (date VARCHAR, centerfold_model VARCHAR)
SELECT date FROM table_name_95 WHERE centerfold_model = "pilar lastra"
When has a Centerfold model of pilar lastra?
<s>[INST]When has a Centerfold model of pilar lastra? Context: CREATE TABLE table_name_95 (date VARCHAR, centerfold_model VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE centerfold_model = "pilar lastra"</s>
CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_50 WHERE venue = "kardinia park"
what is the lowest crowd at kardinia park
<s>[INST]what is the lowest crowd at kardinia park Context: CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_50 WHERE venue = "kardinia park"</s>
CREATE TABLE mountain (Range VARCHAR)
SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1
Show the range that has the most number of mountains.
<s>[INST]Show the range that has the most number of mountains. Context: CREATE TABLE mountain (Range VARCHAR)[/INST]SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_88 (points_for VARCHAR, club VARCHAR, losing_bonus VARCHAR, lost VARCHAR)
SELECT points_for FROM table_name_88 WHERE losing_bonus = "2" AND lost = "8" AND club = "rhyl and district rfc"
What is Points For, when Losing Bonus is "2", when Lost is "8", and when Club is "Rhyl And District RFC"?
<s>[INST]What is Points For, when Losing Bonus is "2", when Lost is "8", and when Club is "Rhyl And District RFC"? Context: CREATE TABLE table_name_88 (points_for VARCHAR, club VARCHAR, losing_bonus VARCHAR, lost VARCHAR)[/INST]SELECT points_for FROM table_name_88 WHERE losing_bonus = "2" AND lost = "8" AND club = "rhy...
CREATE TABLE table_name_85 (venue VARCHAR, scored INTEGER)
SELECT venue FROM table_name_85 WHERE scored > 1
Where was the game with a higher score than 1 played?
<s>[INST]Where was the game with a higher score than 1 played? Context: CREATE TABLE table_name_85 (venue VARCHAR, scored INTEGER)[/INST]SELECT venue FROM table_name_85 WHERE scored > 1</s>
CREATE TABLE table_name_31 (second VARCHAR, fourth VARCHAR)
SELECT second FROM table_name_31 WHERE fourth = "isabelle brayley"
Who was in Second Place with Isabelle Brayley came in Fourth?
<s>[INST]Who was in Second Place with Isabelle Brayley came in Fourth? Context: CREATE TABLE table_name_31 (second VARCHAR, fourth VARCHAR)[/INST]SELECT second FROM table_name_31 WHERE fourth = "isabelle brayley"</s>
CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242
What is Arkansas State's total pick number with an overal lower than 242?
<s>[INST]What is Arkansas State's total pick number with an overal lower than 242? Context: CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242</s>
CREATE TABLE table_name_82 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_82 WHERE tie_no = "30"
What is Score, when Tie No is "30"?
<s>[INST]What is Score, when Tie No is "30"? Context: CREATE TABLE table_name_82 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_82 WHERE tie_no = "30"</s>
CREATE TABLE CAR_MAKERS (Country VARCHAR); CREATE TABLE COUNTRIES (CountryName VARCHAR, CountryId VARCHAR)
SELECT T1.CountryName, T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.CountryId HAVING COUNT(*) >= 1
What are the countries having at least one car maker? List name and id.
<s>[INST]What are the countries having at least one car maker? List name and id. Context: CREATE TABLE CAR_MAKERS (Country VARCHAR); CREATE TABLE COUNTRIES (CountryName VARCHAR, CountryId VARCHAR)[/INST]SELECT T1.CountryName, T1.CountryId FROM COUNTRIES AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY ...
CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
Tell me the chassis for team tissot ensign and driver of brett lunger
<s>[INST]Tell me the chassis for team tissot ensign and driver of brett lunger Context: CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)[/INST]SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"</s>
CREATE TABLE table_1984697_53 (city___town VARCHAR, school VARCHAR)
SELECT city___town FROM table_1984697_53 WHERE school = "Bloomington High school North"
Where is Bloomington High School North?
<s>[INST]Where is Bloomington High School North? Context: CREATE TABLE table_1984697_53 (city___town VARCHAR, school VARCHAR)[/INST]SELECT city___town FROM table_1984697_53 WHERE school = "Bloomington High school North"</s>
CREATE TABLE table_name_48 (dennis_kucinich VARCHAR, classification VARCHAR)
SELECT dennis_kucinich FROM table_name_48 WHERE classification = "democrat"
What is Dennis Kucinich, when Classification is "Democrat"?
<s>[INST]What is Dennis Kucinich, when Classification is "Democrat"? Context: CREATE TABLE table_name_48 (dennis_kucinich VARCHAR, classification VARCHAR)[/INST]SELECT dennis_kucinich FROM table_name_48 WHERE classification = "democrat"</s>
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_41 WHERE date = "july 19"
What is the record of the cubs on July 19?
<s>[INST]What is the record of the cubs on July 19? Context: CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_41 WHERE date = "july 19"</s>
CREATE TABLE table_25561560_2 (skipper VARCHAR, sail_number VARCHAR)
SELECT skipper FROM table_25561560_2 WHERE sail_number = "AUS60000"
what skipper has the sail number aus60000?
<s>[INST]what skipper has the sail number aus60000? Context: CREATE TABLE table_25561560_2 (skipper VARCHAR, sail_number VARCHAR)[/INST]SELECT skipper FROM table_25561560_2 WHERE sail_number = "AUS60000"</s>
CREATE TABLE table_name_79 (pl_gp VARCHAR, reg_gp INTEGER)
SELECT COUNT(pl_gp) FROM table_name_79 WHERE reg_gp > 3
What is the total PI GP that a Reg GP has larger than 3?
<s>[INST]What is the total PI GP that a Reg GP has larger than 3? Context: CREATE TABLE table_name_79 (pl_gp VARCHAR, reg_gp INTEGER)[/INST]SELECT COUNT(pl_gp) FROM table_name_79 WHERE reg_gp > 3</s>
CREATE TABLE table_name_28 (rounds VARCHAR, team VARCHAR, drivers VARCHAR)
SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash"
What rounds did RML Racing Silverline and James Nash compete?
<s>[INST]What rounds did RML Racing Silverline and James Nash compete? Context: CREATE TABLE table_name_28 (rounds VARCHAR, team VARCHAR, drivers VARCHAR)[/INST]SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash"</s>
CREATE TABLE table_15851155_1 (enrollment INTEGER, school VARCHAR)
SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana"
Name the minimum enrollment for montana tech of the university of montana
<s>[INST]Name the minimum enrollment for montana tech of the university of montana Context: CREATE TABLE table_15851155_1 (enrollment INTEGER, school VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana"</s>
CREATE TABLE table_name_27 (rank INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(rank) FROM table_name_27 WHERE nation = "east germany" AND silver > 1
what is the average rank when the nation is east germany and silver is more than 1?
<s>[INST]what is the average rank when the nation is east germany and silver is more than 1? Context: CREATE TABLE table_name_27 (rank INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_27 WHERE nation = "east germany" AND silver > 1</s>
CREATE TABLE table_name_88 (player VARCHAR, hometown_school VARCHAR)
SELECT player FROM table_name_88 WHERE hometown_school = "upland high school"
WHAT PLAYER HAS UPLAND HIGH SCHOOL?
<s>[INST]WHAT PLAYER HAS UPLAND HIGH SCHOOL? Context: CREATE TABLE table_name_88 (player VARCHAR, hometown_school VARCHAR)[/INST]SELECT player FROM table_name_88 WHERE hometown_school = "upland high school"</s>
CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"
When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?
<s>[INST]When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have? Context: CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)[/INST]SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"</s>
CREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER)
SELECT MIN(total_min_2_medals_) FROM table_22355_23
What is the least amount of total medals won?
<s>[INST]What is the least amount of total medals won? Context: CREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER)[/INST]SELECT MIN(total_min_2_medals_) FROM table_22355_23</s>
CREATE TABLE table_30007801_1 (country_territory VARCHAR)
SELECT COUNT(1 AS st_runner_up) FROM table_30007801_1 WHERE country_territory = "Jamaica"
What is the number of 1st runner up values for Jamaica?
<s>[INST]What is the number of 1st runner up values for Jamaica? Context: CREATE TABLE table_30007801_1 (country_territory VARCHAR)[/INST]SELECT COUNT(1 AS st_runner_up) FROM table_30007801_1 WHERE country_territory = "Jamaica"</s>
CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_9 WHERE date = "april 9, 2008"
What was the record for the game on April 9, 2008?
<s>[INST]What was the record for the game on April 9, 2008? Context: CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_9 WHERE date = "april 9, 2008"</s>
CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_7 WHERE record = "7-15"
What was the smallest attendance at a game when the record was 7-15?
<s>[INST]What was the smallest attendance at a game when the record was 7-15? Context: CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_7 WHERE record = "7-15"</s>
CREATE TABLE table_11960944_6 (date VARCHAR, game VARCHAR)
SELECT date FROM table_11960944_6 WHERE game = 57
What date was game 57 held on?
<s>[INST]What date was game 57 held on? Context: CREATE TABLE table_11960944_6 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_11960944_6 WHERE game = 57</s>
CREATE TABLE table_name_86 (tv_time VARCHAR, attendance VARCHAR)
SELECT tv_time FROM table_name_86 WHERE attendance = "60,894"
Tell me the tv time for attendance of 60,894
<s>[INST]Tell me the tv time for attendance of 60,894 Context: CREATE TABLE table_name_86 (tv_time VARCHAR, attendance VARCHAR)[/INST]SELECT tv_time FROM table_name_86 WHERE attendance = "60,894"</s>
CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR)
SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5
What is the average events where the rank is smaller than 2 and wins are smaller than 5?
<s>[INST]What is the average events where the rank is smaller than 2 and wins are smaller than 5? Context: CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR)[/INST]SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5</s>
CREATE TABLE table_name_78 (county VARCHAR, population_rank VARCHAR)
SELECT county FROM table_name_78 WHERE population_rank = 205
What county is the town with a rank of 205 located in?
<s>[INST]What county is the town with a rank of 205 located in? Context: CREATE TABLE table_name_78 (county VARCHAR, population_rank VARCHAR)[/INST]SELECT county FROM table_name_78 WHERE population_rank = 205</s>
CREATE TABLE table_name_95 (sweet_sixteen VARCHAR, conference VARCHAR)
SELECT sweet_sixteen FROM table_name_95 WHERE conference = "colonial"
What Sweet Sixteen team is in the Colonial conference?
<s>[INST]What Sweet Sixteen team is in the Colonial conference? Context: CREATE TABLE table_name_95 (sweet_sixteen VARCHAR, conference VARCHAR)[/INST]SELECT sweet_sixteen FROM table_name_95 WHERE conference = "colonial"</s>
CREATE TABLE table_name_42 (player VARCHAR, year_s__won VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_42 WHERE year_s__won < 1961 AND to_par = 6
What is Player, when Year(s) Won is before 1961, and when To Par is 6?
<s>[INST]What is Player, when Year(s) Won is before 1961, and when To Par is 6? Context: CREATE TABLE table_name_42 (player VARCHAR, year_s__won VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE year_s__won < 1961 AND to_par = 6</s>
CREATE TABLE table_name_88 (start_address VARCHAR, size_of_network_number_bit_field VARCHAR)
SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = "16"
What is the start address when the network number bit field is 16?
<s>[INST]What is the start address when the network number bit field is 16? Context: CREATE TABLE table_name_88 (start_address VARCHAR, size_of_network_number_bit_field VARCHAR)[/INST]SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = "16"</s>
CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR)
SELECT coach FROM table_name_33 WHERE losses = 215
Who was the coach who had 215 losses?
<s>[INST]Who was the coach who had 215 losses? Context: CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR)[/INST]SELECT coach FROM table_name_33 WHERE losses = 215</s>
CREATE TABLE table_11964047_6 (leading_scorer VARCHAR, _number VARCHAR)
SELECT leading_scorer FROM table_11964047_6 WHERE _number = 26
Who was the leading scorer in Game #26?
<s>[INST]Who was the leading scorer in Game #26? Context: CREATE TABLE table_11964047_6 (leading_scorer VARCHAR, _number VARCHAR)[/INST]SELECT leading_scorer FROM table_11964047_6 WHERE _number = 26</s>
CREATE TABLE table_name_92 (winner VARCHAR)
SELECT 2 AS nd_leg FROM table_name_92 WHERE winner = "san pedro"
What is the 2nd leg when San Pedro was the winner?
<s>[INST]What is the 2nd leg when San Pedro was the winner? Context: CREATE TABLE table_name_92 (winner VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_92 WHERE winner = "san pedro"</s>
CREATE TABLE table_name_7 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE home_team = "fitzroy"
In fitzroy's match where they were the home team, how much did they score?
<s>[INST]In fitzroy's match where they were the home team, how much did they score? Context: CREATE TABLE table_name_7 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_7 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_45 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_45 WHERE place = "t5" AND player = "ed sneed"
What is the to par of player ed sneed, who has a t5 place?
<s>[INST]What is the to par of player ed sneed, who has a t5 place? Context: CREATE TABLE table_name_45 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_45 WHERE place = "t5" AND player = "ed sneed"</s>
CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)
SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo"
What is the release date of the album written by Goss, James James Goss under Audiogo?
<s>[INST]What is the release date of the album written by Goss, James James Goss under Audiogo? Context: CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)[/INST]SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo"</s>
CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_92 WHERE date = "april 24"
What scored is recorded on April 24?
<s>[INST]What scored is recorded on April 24? Context: CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE date = "april 24"</s>
CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517"
What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517?
<s>[INST]What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517? Context: CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR)[/INST]SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517"</s>
CREATE TABLE table_11964047_5 (score VARCHAR, record VARCHAR)
SELECT score FROM table_11964047_5 WHERE record = "0–2"
what's the score where record is 0–2
<s>[INST] what's the score where record is 0–2 Context: CREATE TABLE table_11964047_5 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_11964047_5 WHERE record = "0–2"</s>
CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards"
What Record has an Opponent of vs washington wizards?
<s>[INST]What Record has an Opponent of vs washington wizards? Context: CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards"</s>
CREATE TABLE table_name_18 (lost INTEGER, points VARCHAR, drawn VARCHAR)
SELECT SUM(lost) FROM table_name_18 WHERE points > 16 AND drawn < 1
What's the lost when there were more than 16 points and had a drawn less than 1?
<s>[INST]What's the lost when there were more than 16 points and had a drawn less than 1? Context: CREATE TABLE table_name_18 (lost INTEGER, points VARCHAR, drawn VARCHAR)[/INST]SELECT SUM(lost) FROM table_name_18 WHERE points > 16 AND drawn < 1</s>
CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_name_22 WHERE surface = "grass" AND opponents_in_the_final = "jürgen melzer philipp petzschner"
Name the partner for surface of grass and opponents of jürgen melzer philipp petzschner
<s>[INST]Name the partner for surface of grass and opponents of jürgen melzer philipp petzschner Context: CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_22 WHERE surface = "grass" AND opponents_in_the_final = "jürgen melzer philipp petz...
CREATE TABLE table_17344582_11 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT high_assists FROM table_17344582_11 WHERE high_rebounds = "K. McHale (10)"
List of high assists with high rebounds for k. mchale (10)
<s>[INST]List of high assists with high rebounds for k. mchale (10) Context: CREATE TABLE table_17344582_11 (high_assists VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_assists FROM table_17344582_11 WHERE high_rebounds = "K. McHale (10)"</s>
CREATE TABLE table_name_2 (round VARCHAR, result VARCHAR, venue VARCHAR)
SELECT round FROM table_name_2 WHERE result = "2-1" AND venue = "a"
What round has 2-1 as the result, and A as the venue?
<s>[INST]What round has 2-1 as the result, and A as the venue? Context: CREATE TABLE table_name_2 (round VARCHAR, result VARCHAR, venue VARCHAR)[/INST]SELECT round FROM table_name_2 WHERE result = "2-1" AND venue = "a"</s>
CREATE TABLE table_name_21 (winner VARCHAR, trainer VARCHAR)
SELECT winner FROM table_name_21 WHERE trainer = "no race"
What horse won with a trainer of "no race"?
<s>[INST]What horse won with a trainer of "no race"? Context: CREATE TABLE table_name_21 (winner VARCHAR, trainer VARCHAR)[/INST]SELECT winner FROM table_name_21 WHERE trainer = "no race"</s>
CREATE TABLE table_name_49 (ring_name VARCHAR, stable VARCHAR, birthplace VARCHAR)
SELECT ring_name FROM table_name_49 WHERE stable = "kasugano" AND birthplace = "z mtskheta , georgia"
What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia?
<s>[INST]What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia? Context: CREATE TABLE table_name_49 (ring_name VARCHAR, stable VARCHAR, birthplace VARCHAR)[/INST]SELECT ring_name FROM table_name_49 WHERE stable = "kasugano" AND birthplace = "z mtskheta , georgia"</s>
CREATE TABLE table_name_22 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_22 WHERE laps > 9 AND grid = 7
What driver raced for more than 9 laps on grid 7?
<s>[INST]What driver raced for more than 9 laps on grid 7? Context: CREATE TABLE table_name_22 (driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_22 WHERE laps > 9 AND grid = 7</s>
CREATE TABLE table_14390413_1 (team VARCHAR)
SELECT 1991 AS _1992 FROM table_14390413_1 WHERE team = "River Plate"
Name the 1991-1992 for river plate
<s>[INST]Name the 1991-1992 for river plate Context: CREATE TABLE table_14390413_1 (team VARCHAR)[/INST]SELECT 1991 AS _1992 FROM table_14390413_1 WHERE team = "River Plate"</s>
CREATE TABLE table_name_60 (monarch VARCHAR, status VARCHAR)
SELECT monarch FROM table_name_60 WHERE status = "succession unclear 1100-1103"
Which Monarch has succession unclear 1100-1103 as his Status?
<s>[INST]Which Monarch has succession unclear 1100-1103 as his Status? Context: CREATE TABLE table_name_60 (monarch VARCHAR, status VARCHAR)[/INST]SELECT monarch FROM table_name_60 WHERE status = "succession unclear 1100-1103"</s>
CREATE TABLE table_26416704_2 (status VARCHAR, incumbent VARCHAR)
SELECT status FROM table_26416704_2 WHERE incumbent = "Margaret Kaiser"
What was the status of the election featuring incumbent margaret kaiser?
<s>[INST]What was the status of the election featuring incumbent margaret kaiser? Context: CREATE TABLE table_26416704_2 (status VARCHAR, incumbent VARCHAR)[/INST]SELECT status FROM table_26416704_2 WHERE incumbent = "Margaret Kaiser"</s>
CREATE TABLE music_festival (Date_of_ceremony VARCHAR, RESULT VARCHAR)
SELECT Date_of_ceremony, RESULT FROM music_festival
Return the dates of ceremony and the results of all music festivals
<s>[INST]Return the dates of ceremony and the results of all music festivals Context: CREATE TABLE music_festival (Date_of_ceremony VARCHAR, RESULT VARCHAR)[/INST]SELECT Date_of_ceremony, RESULT FROM music_festival</s>
CREATE TABLE table_name_47 (silver INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_47 WHERE nation = "mexico" AND total > 1
How much Silver has a Nation of mexico, and a Total larger than 1?
<s>[INST]How much Silver has a Nation of mexico, and a Total larger than 1? Context: CREATE TABLE table_name_47 (silver INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_47 WHERE nation = "mexico" AND total > 1</s>
CREATE TABLE table_29141354_7 (scores VARCHAR, andrew_and_jacks_guest VARCHAR)
SELECT scores FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Matt Smith"
What was the score for the episode with Matt Smith as Andrew and Jack's guest?
<s>[INST]What was the score for the episode with Matt Smith as Andrew and Jack's guest? Context: CREATE TABLE table_29141354_7 (scores VARCHAR, andrew_and_jacks_guest VARCHAR)[/INST]SELECT scores FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Matt Smith"</s>
CREATE TABLE table_name_12 (size_of_rest_bit_field VARCHAR, leading_bits VARCHAR, start_address VARCHAR)
SELECT size_of_rest_bit_field FROM table_name_12 WHERE leading_bits > 110 AND start_address = "224.0.0.0"
What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0?
<s>[INST]What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0? Context: CREATE TABLE table_name_12 (size_of_rest_bit_field VARCHAR, leading_bits VARCHAR, start_address VARCHAR)[/INST]SELECT size_of_rest_bit_field FROM table_name_12 WHERE leading_bits > 110 AN...
CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk"
Who is the partner when the opponents in the final is stephanie dubois olga savchuk?
<s>[INST]Who is the partner when the opponents in the final is stephanie dubois olga savchuk? Context: CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk"</s>
CREATE TABLE table_name_31 (days_of_the_week VARCHAR, time_of_broadcast VARCHAR)
SELECT days_of_the_week FROM table_name_31 WHERE time_of_broadcast = "january–february, june 2002"
Which Days of the week has a Time of broadcast in january–february, june 2002?
<s>[INST]Which Days of the week has a Time of broadcast in january–february, june 2002? Context: CREATE TABLE table_name_31 (days_of_the_week VARCHAR, time_of_broadcast VARCHAR)[/INST]SELECT days_of_the_week FROM table_name_31 WHERE time_of_broadcast = "january–february, june 2002"</s>
CREATE TABLE table_name_84 (season VARCHAR, level VARCHAR, points VARCHAR)
SELECT season FROM table_name_84 WHERE level = "2nd" AND points = 29
What season has a Level of 2nd, 29 points?
<s>[INST]What season has a Level of 2nd, 29 points? Context: CREATE TABLE table_name_84 (season VARCHAR, level VARCHAR, points VARCHAR)[/INST]SELECT season FROM table_name_84 WHERE level = "2nd" AND points = 29</s>
CREATE TABLE table_name_33 (purse VARCHAR, date VARCHAR)
SELECT purse FROM table_name_33 WHERE date = "january 3, 2010"
What is the Purse on January 3, 2010?
<s>[INST]What is the Purse on January 3, 2010? Context: CREATE TABLE table_name_33 (purse VARCHAR, date VARCHAR)[/INST]SELECT purse FROM table_name_33 WHERE date = "january 3, 2010"</s>
CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_70 WHERE away_team = "hawthorn"
What is the Home team score when away team is hawthorn?
<s>[INST]What is the Home team score when away team is hawthorn? Context: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_70 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_1773908_3 (provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)
SELECT COUNT(provider) FROM table_1773908_3 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1024
How many providers are there where the resale category is yes and bandwith is up is 1024?
<s>[INST]How many providers are there where the resale category is yes and bandwith is up is 1024? Context: CREATE TABLE table_1773908_3 (provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)[/INST]SELECT COUNT(provider) FROM table_1773908_3 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1024</s>
CREATE TABLE table_255205_1 (founded VARCHAR, nickname VARCHAR)
SELECT COUNT(founded) FROM table_255205_1 WHERE nickname = "Beavers"
How many times this institution was founded that was nicknamed Beavers?
<s>[INST]How many times this institution was founded that was nicknamed Beavers? Context: CREATE TABLE table_255205_1 (founded VARCHAR, nickname VARCHAR)[/INST]SELECT COUNT(founded) FROM table_255205_1 WHERE nickname = "Beavers"</s>
CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english"
Return the names of singers who are from UK and released an English song.
<s>[INST]Return the names of singers who are from UK and released an English song. Context: CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)[/INST]SELECT artist_name FROM artist WHERE country = "UK" INTERSEC...
CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR)
SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current"
What is the Birth Name of the Archbishop with a Current End of Reign?
<s>[INST]What is the Birth Name of the Archbishop with a Current End of Reign? Context: CREATE TABLE table_name_34 (Birth VARCHAR, end_of_reign VARCHAR)[/INST]SELECT Birth AS name FROM table_name_34 WHERE end_of_reign = "current"</s>
CREATE TABLE table_name_18 (torque VARCHAR, power VARCHAR, trim VARCHAR)
SELECT torque FROM table_name_18 WHERE power = "hp (kw)" AND trim = "xr (2009)"
What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6
<s>[INST]What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6 Context: CREATE TABLE table_name_18 (torque VARCHAR, power VARCHAR, trim VARCHAR)[/INST]SELECT torque FROM table_name_18 WHERE power = "hp (kw)" AND trim = "xr (2009)"</s>
CREATE TABLE table_name_35 (goal_difference VARCHAR, position VARCHAR)
SELECT goal_difference FROM table_name_35 WHERE position = 15
What is the goal difference number with a position of 15?
<s>[INST]What is the goal difference number with a position of 15? Context: CREATE TABLE table_name_35 (goal_difference VARCHAR, position VARCHAR)[/INST]SELECT goal_difference FROM table_name_35 WHERE position = 15</s>
CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"
Name the circuit for darracq and name of cuban race
<s>[INST]Name the circuit for darracq and name of cuban race Context: CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)[/INST]SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race"</s>
CREATE TABLE table_23281862_6 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT high_rebounds FROM table_23281862_6 WHERE high_points = "Carl Landry (23)"
Who did the high rebounds in the game where Carl Landry (23) did the most high points?
<s>[INST]Who did the high rebounds in the game where Carl Landry (23) did the most high points? Context: CREATE TABLE table_23281862_6 (high_rebounds VARCHAR, high_points VARCHAR)[/INST]SELECT high_rebounds FROM table_23281862_6 WHERE high_points = "Carl Landry (23)"</s>
CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974
How many republican incumbents first elected in 1974?
<s>[INST]How many republican incumbents first elected in 1974? Context: CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974</s>
CREATE TABLE table_2869837_1 (last_final INTEGER, last_title VARCHAR)
SELECT MAX(last_final) FROM table_2869837_1 WHERE last_title = "1994"
What is the latest year of last final for the club whose last title was in 1994?
<s>[INST]What is the latest year of last final for the club whose last title was in 1994? Context: CREATE TABLE table_2869837_1 (last_final INTEGER, last_title VARCHAR)[/INST]SELECT MAX(last_final) FROM table_2869837_1 WHERE last_title = "1994"</s>
CREATE TABLE table_20236726_2 (builder VARCHAR, wd_no VARCHAR)
SELECT builder FROM table_20236726_2 WHERE wd_no = 22
Name the builder for wd number being 22
<s>[INST]Name the builder for wd number being 22 Context: CREATE TABLE table_20236726_2 (builder VARCHAR, wd_no VARCHAR)[/INST]SELECT builder FROM table_20236726_2 WHERE wd_no = 22</s>
CREATE TABLE table_name_23 (rating VARCHAR, viewers__households_in_millions_ VARCHAR)
SELECT rating FROM table_name_23 WHERE viewers__households_in_millions_ = "18.17"
What was the rating of the season that had 18.17 million household viewers?
<s>[INST]What was the rating of the season that had 18.17 million household viewers? Context: CREATE TABLE table_name_23 (rating VARCHAR, viewers__households_in_millions_ VARCHAR)[/INST]SELECT rating FROM table_name_23 WHERE viewers__households_in_millions_ = "18.17"</s>
CREATE TABLE table_name_19 (nov_2012 VARCHAR, jun_2013 VARCHAR, aug_2011 VARCHAR)
SELECT COUNT(nov_2012) FROM table_name_19 WHERE jun_2013 > 542 AND aug_2011 > 935
What is the total number with Nov 2012 with a Jun 2013 larger than 542, and a Aug 2011 more than 935?
<s>[INST]What is the total number with Nov 2012 with a Jun 2013 larger than 542, and a Aug 2011 more than 935? Context: CREATE TABLE table_name_19 (nov_2012 VARCHAR, jun_2013 VARCHAR, aug_2011 VARCHAR)[/INST]SELECT COUNT(nov_2012) FROM table_name_19 WHERE jun_2013 > 542 AND aug_2011 > 935</s>
CREATE TABLE table_name_18 (owner_operator VARCHAR, from_to VARCHAR)
SELECT owner_operator FROM table_name_18 WHERE from_to = "kambalda to esperance"
Who is the owner/operator of the line from Kambalda to Esperance?
<s>[INST]Who is the owner/operator of the line from Kambalda to Esperance? Context: CREATE TABLE table_name_18 (owner_operator VARCHAR, from_to VARCHAR)[/INST]SELECT owner_operator FROM table_name_18 WHERE from_to = "kambalda to esperance"</s>
CREATE TABLE table_name_68 (rank INTEGER, total INTEGER)
SELECT MAX(rank) FROM table_name_68 WHERE total < 1
what is the highest rank with a total less than 1?
<s>[INST]what is the highest rank with a total less than 1? Context: CREATE TABLE table_name_68 (rank INTEGER, total INTEGER)[/INST]SELECT MAX(rank) FROM table_name_68 WHERE total < 1</s>
CREATE TABLE table_18703133_6 (losses VARCHAR, team VARCHAR)
SELECT losses FROM table_18703133_6 WHERE team = "Tembetary"
How many losses are there for team tembetary?
<s>[INST]How many losses are there for team tembetary? Context: CREATE TABLE table_18703133_6 (losses VARCHAR, team VARCHAR)[/INST]SELECT losses FROM table_18703133_6 WHERE team = "Tembetary"</s>
CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)
SELECT termination_of_mission FROM table_name_37 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "reynold e. carlson"
What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson?
<s>[INST]What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson? Context: CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)[/INST]SELECT termination_of_mission FROM table_name_37 WHERE t...
CREATE TABLE table_name_25 (incorporated INTEGER, company VARCHAR)
SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters"
What is the average incorporataed year of the Air India Charters company?
<s>[INST]What is the average incorporataed year of the Air India Charters company? Context: CREATE TABLE table_name_25 (incorporated INTEGER, company VARCHAR)[/INST]SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters"</s>
CREATE TABLE table_name_45 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_45 WHERE pick = 36
What position did pick 36 play?
<s>[INST]What position did pick 36 play? Context: CREATE TABLE table_name_45 (position VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_45 WHERE pick = 36</s>
CREATE TABLE table_name_27 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_27 WHERE year < 2005 AND position = "10th (sf)"
What Venue is listed that has a Year smaller than 2005 and a Position of 10th (sf)?
<s>[INST]What Venue is listed that has a Year smaller than 2005 and a Position of 10th (sf)? Context: CREATE TABLE table_name_27 (venue VARCHAR, year VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_27 WHERE year < 2005 AND position = "10th (sf)"</s>
CREATE TABLE table_name_6 (founded INTEGER, affiliation VARCHAR)
SELECT MAX(founded) FROM table_name_6 WHERE affiliation = "private/methodist"
Name the Founded which has a Affiliation of private/methodist?
<s>[INST]Name the Founded which has a Affiliation of private/methodist? Context: CREATE TABLE table_name_6 (founded INTEGER, affiliation VARCHAR)[/INST]SELECT MAX(founded) FROM table_name_6 WHERE affiliation = "private/methodist"</s>
CREATE TABLE table_1058787_1 (significant_relationship VARCHAR, virtues VARCHAR)
SELECT COUNT(significant_relationship) FROM table_1058787_1 WHERE virtues = "Will"
How many significant relationships list Will as a virtue?
<s>[INST]How many significant relationships list Will as a virtue? Context: CREATE TABLE table_1058787_1 (significant_relationship VARCHAR, virtues VARCHAR)[/INST]SELECT COUNT(significant_relationship) FROM table_1058787_1 WHERE virtues = "Will"</s>
CREATE TABLE table_name_62 (notes VARCHAR, distance VARCHAR, location VARCHAR)
SELECT notes FROM table_name_62 WHERE distance > 7 AND location = "aplin"
Which Notes have a Distance larger than 7, and a Location of aplin?
<s>[INST]Which Notes have a Distance larger than 7, and a Location of aplin? Context: CREATE TABLE table_name_62 (notes VARCHAR, distance VARCHAR, location VARCHAR)[/INST]SELECT notes FROM table_name_62 WHERE distance > 7 AND location = "aplin"</s>
CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = "athletics" AND record = "9-12"
How many people attended the game against athletics with the record of 9-12?
<s>[INST]How many people attended the game against athletics with the record of 9-12? Context: CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = "athletics" AND record = "9-12"</s>
CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR)
SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy"
Which task had Cathy as the hand grenade user?
<s>[INST]Which task had Cathy as the hand grenade user? Context: CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR)[/INST]SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy"</s>
CREATE TABLE table_name_8 (championship VARCHAR, opponent VARCHAR)
SELECT championship FROM table_name_8 WHERE opponent = "richard fromberg"
What was the championship during the match with the opponent of richard fromberg?
<s>[INST]What was the championship during the match with the opponent of richard fromberg? Context: CREATE TABLE table_name_8 (championship VARCHAR, opponent VARCHAR)[/INST]SELECT championship FROM table_name_8 WHERE opponent = "richard fromberg"</s>
CREATE TABLE Movie (director VARCHAR)
SELECT director FROM Movie GROUP BY director HAVING COUNT(*) = 1
What are the names of the directors who made exactly one movie?
<s>[INST]What are the names of the directors who made exactly one movie? Context: CREATE TABLE Movie (director VARCHAR)[/INST]SELECT director FROM Movie GROUP BY director HAVING COUNT(*) = 1</s>