context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_55 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_55 WHERE date = "may 7"
Who is the opponent on May 7?
<s>[INST]Who is the opponent on May 7? Context: CREATE TABLE table_name_55 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_55 WHERE date = "may 7"</s>
CREATE TABLE table_name_12 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_12 WHERE runner_s__up = "scott hoch & kenny perry"
What tournament had a runner(s)-up of Scott Hoch & Kenny Perry?
<s>[INST]What tournament had a runner(s)-up of Scott Hoch & Kenny Perry? Context: CREATE TABLE table_name_12 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_12 WHERE runner_s__up = "scott hoch & kenny perry"</s>
CREATE TABLE table_name_85 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_85 WHERE grid < 15 AND laps = 95
What was the constructor when there were 95 laps and a grid less than 15?
<s>[INST]What was the constructor when there were 95 laps and a grid less than 15? Context: CREATE TABLE table_name_85 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT constructor FROM table_name_85 WHERE grid < 15 AND laps = 95</s>
CREATE TABLE table_23284271_9 (location_attendance VARCHAR, record VARCHAR)
SELECT COUNT(location_attendance) FROM table_23284271_9 WHERE record = "45-22"
List the stadium and number of people in attendance when the team record was 45-22.
<s>[INST]List the stadium and number of people in attendance when the team record was 45-22. Context: CREATE TABLE table_23284271_9 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_23284271_9 WHERE record = "45-22"</s>
CREATE TABLE table_name_59 (developer VARCHAR, platform VARCHAR)
SELECT developer FROM table_name_59 WHERE platform = "xbox 360"
Which developer has xbox 360 as the platform?
<s>[INST]Which developer has xbox 360 as the platform? Context: CREATE TABLE table_name_59 (developer VARCHAR, platform VARCHAR)[/INST]SELECT developer FROM table_name_59 WHERE platform = "xbox 360"</s>
CREATE TABLE table_16388230_1 (ground VARCHAR, away_team VARCHAR)
SELECT ground FROM table_16388230_1 WHERE away_team = "Richmond"
The away team of Richmond played on what grounds?
<s>[INST]The away team of Richmond played on what grounds? Context: CREATE TABLE table_16388230_1 (ground VARCHAR, away_team VARCHAR)[/INST]SELECT ground FROM table_16388230_1 WHERE away_team = "Richmond"</s>
CREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR)
SELECT score FROM table_23248910_5 WHERE record = "11-3"
What was the score against the team with an 11-3 record against the Hawks?
<s>[INST]What was the score against the team with an 11-3 record against the Hawks? Context: CREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_23248910_5 WHERE record = "11-3"</s>
CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)
SELECT AVG(ranking), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name
Find the average ranking for each player and their first name.
<s>[INST]Find the average ranking for each player and their first name. Context: CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)[/INST]SELECT AVG(ranking), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name</...
CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_32 WHERE player = "rodney purvis"
Which school did player Rodney Purvis belong to?
<s>[INST]Which school did player Rodney Purvis belong to? Context: CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_32 WHERE player = "rodney purvis"</s>
CREATE TABLE table_name_22 (result VARCHAR, category VARCHAR)
SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama"
What is the result of the choice tv actor: drama category?
<s>[INST]What is the result of the choice tv actor: drama category? Context: CREATE TABLE table_name_22 (result VARCHAR, category VARCHAR)[/INST]SELECT result FROM table_name_22 WHERE category = "choice tv actor: drama"</s>
CREATE TABLE table_name_97 (perth VARCHAR, adelaide VARCHAR, sydney VARCHAR, gold_coast VARCHAR)
SELECT perth FROM table_name_97 WHERE sydney = "yes" AND gold_coast = "yes" AND adelaide = "no"
Which Perth also has Sydney yes, Gold Coast yes, and Adelaide no?
<s>[INST]Which Perth also has Sydney yes, Gold Coast yes, and Adelaide no? Context: CREATE TABLE table_name_97 (perth VARCHAR, adelaide VARCHAR, sydney VARCHAR, gold_coast VARCHAR)[/INST]SELECT perth FROM table_name_97 WHERE sydney = "yes" AND gold_coast = "yes" AND adelaide = "no"</s>
CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR, date_of_attendance VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)
SELECT T2.student_id FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "statistics" ORDER BY T2.date_of_attendance
List the id of students who attended statistics courses in the order of attendance date.
<s>[INST]List the id of students who attended statistics courses in the order of attendance date. Context: CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR, date_of_attendance VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)[/INST]SELECT T2.student_id FROM courses AS...
CREATE TABLE table_name_75 (drawn VARCHAR, goals_against VARCHAR, lost VARCHAR)
SELECT COUNT(drawn) FROM table_name_75 WHERE goals_against < 55 AND lost = 14
What is the total number drawn with goals against less than 55, and a total of 14 losses?
<s>[INST]What is the total number drawn with goals against less than 55, and a total of 14 losses? Context: CREATE TABLE table_name_75 (drawn VARCHAR, goals_against VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_name_75 WHERE goals_against < 55 AND lost = 14</s>
CREATE TABLE table_name_59 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_59 WHERE score = 68 - 70 - 69 = 207
In what place did the golfer that scored 68-70-69=207 finish?
<s>[INST]In what place did the golfer that scored 68-70-69=207 finish? Context: CREATE TABLE table_name_59 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_59 WHERE score = 68 - 70 - 69 = 207</s>
CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR)
SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia"
Which class City of license of ferrum, virginia?
<s>[INST]Which class City of license of ferrum, virginia? Context: CREATE TABLE table_name_83 (class VARCHAR, city_of_license VARCHAR)[/INST]SELECT class FROM table_name_83 WHERE city_of_license = "ferrum, virginia"</s>
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)
SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562"
Name the number of record for hp pavilion - 17,562
<s>[INST]Name the number of record for hp pavilion - 17,562 Context: CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562"</s>
CREATE TABLE table_18138132_2 (developer VARCHAR, title VARCHAR)
SELECT developer FROM table_18138132_2 WHERE title = "Windows Live Messenger"
Who is the developer for Windows live messenger?
<s>[INST]Who is the developer for Windows live messenger? Context: CREATE TABLE table_18138132_2 (developer VARCHAR, title VARCHAR)[/INST]SELECT developer FROM table_18138132_2 WHERE title = "Windows Live Messenger"</s>
CREATE TABLE table_name_20 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_20 WHERE hometown = "bay city, tx"
Who's from Bay City, TX?
<s>[INST]Who's from Bay City, TX? Context: CREATE TABLE table_name_20 (player VARCHAR, hometown VARCHAR)[/INST]SELECT player FROM table_name_20 WHERE hometown = "bay city, tx"</s>
CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = "Aberdeen"
What are flight numbers of flights arriving at City "Aberdeen"?
<s>[INST]What are flight numbers of flights arriving at City "Aberdeen"? Context: CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)[/INST]SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = "Ab...
CREATE TABLE table_name_73 (engine VARCHAR, points VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_73 WHERE points > 62 AND entrant = "rebaque"
What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque?
<s>[INST]What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque? Context: CREATE TABLE table_name_73 (engine VARCHAR, points VARCHAR, entrant VARCHAR)[/INST]SELECT engine FROM table_name_73 WHERE points > 62 AND entrant = "rebaque"</s>
CREATE TABLE table_name_52 (opinionway_5_18_09 VARCHAR, ipsos_5_16_09 VARCHAR)
SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%"
Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%?
<s>[INST]Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%? Context: CREATE TABLE table_name_52 (opinionway_5_18_09 VARCHAR, ipsos_5_16_09 VARCHAR)[/INST]SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%"</s>
CREATE TABLE table_name_54 (opponent VARCHAR, series VARCHAR)
SELECT opponent FROM table_name_54 WHERE series = "3-2"
Who was the opponent with a series of 3-2?
<s>[INST]Who was the opponent with a series of 3-2? Context: CREATE TABLE table_name_54 (opponent VARCHAR, series VARCHAR)[/INST]SELECT opponent FROM table_name_54 WHERE series = "3-2"</s>
CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)
SELECT COUNT(DISTINCT course_id) FROM course WHERE dept_name = 'Physics'
How many different courses offered by Physics department?
<s>[INST]How many different courses offered by Physics department? Context: CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)[/INST]SELECT COUNT(DISTINCT course_id) FROM course WHERE dept_name = 'Physics'</s>
CREATE TABLE table_name_26 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_26 WHERE to_par < 5 AND player = "sam snead"
What Country is Player Sam Snead with a To par of less than 5 from?
<s>[INST]What Country is Player Sam Snead with a To par of less than 5 from? Context: CREATE TABLE table_name_26 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_26 WHERE to_par < 5 AND player = "sam snead"</s>
CREATE TABLE table_name_31 (province VARCHAR, region VARCHAR, area VARCHAR)
SELECT province FROM table_name_31 WHERE region = "v valparaíso" AND area = 927.2
What province has a v valparaíso region and an area of 927.2?
<s>[INST]What province has a v valparaíso region and an area of 927.2? Context: CREATE TABLE table_name_31 (province VARCHAR, region VARCHAR, area VARCHAR)[/INST]SELECT province FROM table_name_31 WHERE region = "v valparaíso" AND area = 927.2</s>
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"
Who was the opponents in the final on January 5, 2003, on a hard surface?
<s>[INST]Who was the opponents in the final on January 5, 2003, on a hard surface? Context: CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003"</s>
CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR)
SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board"
The Rainbow District School Board is associated with what type?
<s>[INST]The Rainbow District School Board is associated with what type? Context: CREATE TABLE table_1506619_1 (type VARCHAR, school_board VARCHAR)[/INST]SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board"</s>
CREATE TABLE table_1500146_1 (delay VARCHAR, scientific_linux_release VARCHAR)
SELECT delay FROM table_1500146_1 WHERE scientific_linux_release = "5.10"
Name the delay when scientific linux release is 5.10
<s>[INST]Name the delay when scientific linux release is 5.10 Context: CREATE TABLE table_1500146_1 (delay VARCHAR, scientific_linux_release VARCHAR)[/INST]SELECT delay FROM table_1500146_1 WHERE scientific_linux_release = "5.10"</s>
CREATE TABLE table_26375386_20 (total VARCHAR, vote_percentage VARCHAR)
SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = "15.0%"
How many times was the vote percentage 15.0%?
<s>[INST]How many times was the vote percentage 15.0%? Context: CREATE TABLE table_26375386_20 (total VARCHAR, vote_percentage VARCHAR)[/INST]SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = "15.0%"</s>
CREATE TABLE table_23403578_3 (directed_by VARCHAR, prod_code VARCHAR)
SELECT directed_by FROM table_23403578_3 WHERE prod_code = "208"
Who directed the episode with production code 208?
<s>[INST]Who directed the episode with production code 208? Context: CREATE TABLE table_23403578_3 (directed_by VARCHAR, prod_code VARCHAR)[/INST]SELECT directed_by FROM table_23403578_3 WHERE prod_code = "208"</s>
CREATE TABLE table_name_74 (driver VARCHAR, entries VARCHAR)
SELECT driver FROM table_name_74 WHERE entries = 162
Which driver has 162 entries?
<s>[INST]Which driver has 162 entries? Context: CREATE TABLE table_name_74 (driver VARCHAR, entries VARCHAR)[/INST]SELECT driver FROM table_name_74 WHERE entries = 162</s>
CREATE TABLE table_12028543_3 (losingteam VARCHAR, cup_finaldate VARCHAR)
SELECT COUNT(losingteam) FROM table_12028543_3 WHERE cup_finaldate = "20 August 1989"
How many losingteams were for the cup finaldate 20 August 1989?
<s>[INST]How many losingteams were for the cup finaldate 20 August 1989? Context: CREATE TABLE table_12028543_3 (losingteam VARCHAR, cup_finaldate VARCHAR)[/INST]SELECT COUNT(losingteam) FROM table_12028543_3 WHERE cup_finaldate = "20 August 1989"</s>
CREATE TABLE table_name_73 (position VARCHAR)
SELECT 2011 FROM table_name_73 WHERE position = "male sports rep"
Who held the Male Sports Rep position in 2011?
<s>[INST]Who held the Male Sports Rep position in 2011? Context: CREATE TABLE table_name_73 (position VARCHAR)[/INST]SELECT 2011 FROM table_name_73 WHERE position = "male sports rep"</s>
CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_96 WHERE player = "thomas bjørn"
What country is player thomas bjørn from?
<s>[INST]What country is player thomas bjørn from? Context: CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_96 WHERE player = "thomas bjørn"</s>
CREATE TABLE table_13762472_3 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_13762472_3 WHERE record = "6-3"
What was the last game where the record was 6-3?
<s>[INST]What was the last game where the record was 6-3? Context: CREATE TABLE table_13762472_3 (game INTEGER, record VARCHAR)[/INST]SELECT MAX(game) FROM table_13762472_3 WHERE record = "6-3"</s>
CREATE TABLE table_13681_2 (country VARCHAR, currency_name VARCHAR)
SELECT COUNT(country) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar"
how many country with currency name being republika srpska dinar
<s>[INST] how many country with currency name being republika srpska dinar Context: CREATE TABLE table_13681_2 (country VARCHAR, currency_name VARCHAR)[/INST]SELECT COUNT(country) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar"</s>
CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_28 WHERE player = "jeff staples"
Jeff Staples player for which College, Junior or Club league?
<s>[INST]Jeff Staples player for which College, Junior or Club league? Context: CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_28 WHERE player = "jeff staples"</s>
CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR)
SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02
What is the highest population in the millions that has an influence of 1.02?
<s>[INST]What is the highest population in the millions that has an influence of 1.02? Context: CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR)[/INST]SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02</s>
CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 12"
How many pairs of numbers are under record on April 12?
<s>[INST]How many pairs of numbers are under record on April 12? Context: CREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)[/INST]SELECT COUNT(record) FROM table_13557843_8 WHERE date = "April 12"</s>
CREATE TABLE table_name_7 (score VARCHAR, series VARCHAR)
SELECT score FROM table_name_7 WHERE series = "3-2"
What was the score when the series was 3-2?
<s>[INST]What was the score when the series was 3-2? Context: CREATE TABLE table_name_7 (score VARCHAR, series VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE series = "3-2"</s>
CREATE TABLE table_14058433_4 (tries_against VARCHAR, lost VARCHAR)
SELECT COUNT(tries_against) FROM table_14058433_4 WHERE lost = "11"
how many tries against with lost being 11
<s>[INST] how many tries against with lost being 11 Context: CREATE TABLE table_14058433_4 (tries_against VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(tries_against) FROM table_14058433_4 WHERE lost = "11"</s>
CREATE TABLE table_name_78 (goals VARCHAR, assists VARCHAR, player VARCHAR)
SELECT goals FROM table_name_78 WHERE assists = "15" AND player = "joey worthen"
How many goals did Joey Worthen have when he had 15 assists?
<s>[INST]How many goals did Joey Worthen have when he had 15 assists? Context: CREATE TABLE table_name_78 (goals VARCHAR, assists VARCHAR, player VARCHAR)[/INST]SELECT goals FROM table_name_78 WHERE assists = "15" AND player = "joey worthen"</s>
CREATE TABLE table_name_48 (score VARCHAR, set_2 VARCHAR)
SELECT score FROM table_name_48 WHERE set_2 = "15:21"
What is the score for Set 2 at 15:21?
<s>[INST]What is the score for Set 2 at 15:21? Context: CREATE TABLE table_name_48 (score VARCHAR, set_2 VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE set_2 = "15:21"</s>
CREATE TABLE table_name_22 (tries_against VARCHAR, try_bonus VARCHAR, played VARCHAR, drawn VARCHAR)
SELECT tries_against FROM table_name_22 WHERE played = "22" AND drawn = "1" AND try_bonus = "13"
How many tries when 22 are played with 1 draw and a try bonus of 13?
<s>[INST]How many tries when 22 are played with 1 draw and a try bonus of 13? Context: CREATE TABLE table_name_22 (tries_against VARCHAR, try_bonus VARCHAR, played VARCHAR, drawn VARCHAR)[/INST]SELECT tries_against FROM table_name_22 WHERE played = "22" AND drawn = "1" AND try_bonus = "13"</s>
CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR)
SELECT AVG(points) FROM table_name_21 WHERE team = "minardi team usa" AND grid = 3 AND laps > 68
How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68?
<s>[INST]How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68? Context: CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR)[/INST]SELECT AVG(points) FROM table_name_21 WHERE team = "minardi team usa" AND grid = 3 AND laps > 68</s>
CREATE TABLE table_name_30 (tournament VARCHAR)
SELECT tournament FROM table_name_30 WHERE 2009 = "11"
Which tournament was on 2009 with 11?
<s>[INST]Which tournament was on 2009 with 11? Context: CREATE TABLE table_name_30 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_30 WHERE 2009 = "11"</s>
CREATE TABLE building (name VARCHAR, height_feet VARCHAR)
SELECT name FROM building ORDER BY height_feet DESC LIMIT 1
What is the name of the tallest building?
<s>[INST]What is the name of the tallest building? Context: CREATE TABLE building (name VARCHAR, height_feet VARCHAR)[/INST]SELECT name FROM building ORDER BY height_feet DESC LIMIT 1</s>
CREATE TABLE table_17311797_8 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_17311797_8 WHERE date = "February 6"
Who had the high points on February 6?
<s>[INST]Who had the high points on February 6? Context: CREATE TABLE table_17311797_8 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17311797_8 WHERE date = "February 6"</s>
CREATE TABLE table_name_91 (Id VARCHAR)
SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"
Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
<s>[INST]Which tournament in 2012 had a 2007 and 2011 finishes of "A"? Context: CREATE TABLE table_name_91 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"</s>
CREATE TABLE table_name_20 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_20 WHERE record = "34-56"
What was the loss when the record was 34-56?
<s>[INST]What was the loss when the record was 34-56? Context: CREATE TABLE table_name_20 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_20 WHERE record = "34-56"</s>
CREATE TABLE table_2241101_1 (report VARCHAR, year VARCHAR)
SELECT report FROM table_2241101_1 WHERE year = 2010
What was the report for 2010?
<s>[INST]What was the report for 2010? Context: CREATE TABLE table_2241101_1 (report VARCHAR, year VARCHAR)[/INST]SELECT report FROM table_2241101_1 WHERE year = 2010</s>
CREATE TABLE table_name_51 (wins INTEGER, poles VARCHAR, season VARCHAR)
SELECT MIN(wins) FROM table_name_51 WHERE poles = 3 AND season = "2010"
What is the fewest number of wins when he has 3 poles in 2010?
<s>[INST]What is the fewest number of wins when he has 3 poles in 2010? Context: CREATE TABLE table_name_51 (wins INTEGER, poles VARCHAR, season VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_51 WHERE poles = 3 AND season = "2010"</s>
CREATE TABLE table_name_7 (wpct VARCHAR)
SELECT wpct FROM table_name_7 WHERE "wins" = "wins"
What WPct has wins of wins?
<s>[INST]What WPct has wins of wins? Context: CREATE TABLE table_name_7 (wpct VARCHAR)[/INST]SELECT wpct FROM table_name_7 WHERE "wins" = "wins"</s>
CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR, matches VARCHAR)
SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516
What is the average goals for Jimmy Greaves, and matches more than 516?
<s>[INST]What is the average goals for Jimmy Greaves, and matches more than 516? Context: CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR, matches VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516</s>
CREATE TABLE table_name_92 (game INTEGER, score VARCHAR)
SELECT MAX(game) FROM table_name_92 WHERE score = "3–2"
Which Game is the highest one that has a Score of 3–2?
<s>[INST]Which Game is the highest one that has a Score of 3–2? Context: CREATE TABLE table_name_92 (game INTEGER, score VARCHAR)[/INST]SELECT MAX(game) FROM table_name_92 WHERE score = "3–2"</s>
CREATE TABLE table_name_31 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
SELECT episodes FROM table_name_31 WHERE rank = "senior sergeant" AND actor_actress = "rodger corser"
What Rodger Corser Episode has a Rank of senior sergeant?
<s>[INST]What Rodger Corser Episode has a Rank of senior sergeant? Context: CREATE TABLE table_name_31 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)[/INST]SELECT episodes FROM table_name_31 WHERE rank = "senior sergeant" AND actor_actress = "rodger corser"</s>
CREATE TABLE table_name_42 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_42 WHERE film_title_used_in_nomination = "children of sarajevo"
What is the Original title of Children of Sarajevo?
<s>[INST]What is the Original title of Children of Sarajevo? Context: CREATE TABLE table_name_42 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_name_42 WHERE film_title_used_in_nomination = "children of sarajevo"</s>
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR, team VARCHAR, tyres VARCHAR)
SELECT chassis FROM table_name_76 WHERE team = "bms scuderia italia" AND tyres = "g" AND engine = "ferrari 037 3.5 v12"
What Chassis did Team BMS Scuderia Italia use with G Tyres and a Ferrari 037 3.5 v12 engine?
<s>[INST]What Chassis did Team BMS Scuderia Italia use with G Tyres and a Ferrari 037 3.5 v12 engine? Context: CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR, team VARCHAR, tyres VARCHAR)[/INST]SELECT chassis FROM table_name_76 WHERE team = "bms scuderia italia" AND tyres = "g" AND engine = "ferrari 037 3....
CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2781227_7 WHERE player = "Ryan Golden"
What college team did Ryan Golden come from?
<s>[INST]What college team did Ryan Golden come from? Context: CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2781227_7 WHERE player = "Ryan Golden"</s>
CREATE TABLE table_name_17 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_17 WHERE team_2 = "fluminense (rj)"
Who is team 1 where team 2 is Fluminense (RJ)?
<s>[INST]Who is team 1 where team 2 is Fluminense (RJ)? Context: CREATE TABLE table_name_17 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_17 WHERE team_2 = "fluminense (rj)"</s>
CREATE TABLE table_name_40 (goalsagainst INTEGER, points VARCHAR, lost VARCHAR)
SELECT AVG(goalsagainst) FROM table_name_40 WHERE points = 108 AND lost < 14
Goalsagainst that has a Points of 108, and a Lost smaller than 14 has what average?
<s>[INST]Goalsagainst that has a Points of 108, and a Lost smaller than 14 has what average? Context: CREATE TABLE table_name_40 (goalsagainst INTEGER, points VARCHAR, lost VARCHAR)[/INST]SELECT AVG(goalsagainst) FROM table_name_40 WHERE points = 108 AND lost < 14</s>
CREATE TABLE table_name_78 (matches INTEGER, drawn VARCHAR, points VARCHAR, place VARCHAR)
SELECT MAX(matches) FROM table_name_78 WHERE points < 8 AND place > 13 AND drawn < 1
What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?
<s>[INST]What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1? Context: CREATE TABLE table_name_78 (matches INTEGER, drawn VARCHAR, points VARCHAR, place VARCHAR)[/INST]SELECT MAX(matches) FROM table_name_78 WHERE points < 8 AND place > 13 AND drawn...
CREATE TABLE table_name_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_26 WHERE attendance = "68,932" AND opponent = "indianapolis colts"
What week is the opponent the Indianapolis Colts with an attendance of 68,932?
<s>[INST]What week is the opponent the Indianapolis Colts with an attendance of 68,932? Context: CREATE TABLE table_name_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_26 WHERE attendance = "68,932" AND opponent = "indianapolis colts"</s>
CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR, player VARCHAR)
SELECT place FROM table_name_51 WHERE score > 68 AND player = "camilo villegas"
What place has a score greater than 68, and camilo villegas as the player?
<s>[INST]What place has a score greater than 68, and camilo villegas as the player? Context: CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_51 WHERE score > 68 AND player = "camilo villegas"</s>
CREATE TABLE table_name_74 (streak VARCHAR, game VARCHAR, date VARCHAR)
SELECT streak FROM table_name_74 WHERE game > 8 AND date = "nov 22"
What was the streak for the game after 8 on Nov 22?
<s>[INST]What was the streak for the game after 8 on Nov 22? Context: CREATE TABLE table_name_74 (streak VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT streak FROM table_name_74 WHERE game > 8 AND date = "nov 22"</s>
CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR)
SELECT COUNT(australian) FROM table_17798093_20 WHERE american = "əs"
how many endings have american pronounciation əs
<s>[INST]how many endings have american pronounciation əs Context: CREATE TABLE table_17798093_20 (australian VARCHAR, american VARCHAR)[/INST]SELECT COUNT(australian) FROM table_17798093_20 WHERE american = "əs"</s>
CREATE TABLE table_name_6 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_6 WHERE country = "fiji"
What is the score of the player from fiji?
<s>[INST]What is the score of the player from fiji? Context: CREATE TABLE table_name_6 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE country = "fiji"</s>
CREATE TABLE table_11734041_20 (position VARCHAR, player VARCHAR)
SELECT position FROM table_11734041_20 WHERE player = "Williams, Bernie Bernie Williams"
what's the position where player is williams, bernie bernie williams
<s>[INST] what's the position where player is williams, bernie bernie williams Context: CREATE TABLE table_11734041_20 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_11734041_20 WHERE player = "Williams, Bernie Bernie Williams"</s>
CREATE TABLE table_name_56 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_56 WHERE name = "orangeville"
What is the date for Orangeville?
<s>[INST]What is the date for Orangeville? Context: CREATE TABLE table_name_56 (date VARCHAR, name VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE name = "orangeville"</s>
CREATE TABLE table_15780049_6 (score VARCHAR, date VARCHAR)
SELECT score FROM table_15780049_6 WHERE date = "January 19"
What was the score of the game played on January 19?
<s>[INST]What was the score of the game played on January 19? Context: CREATE TABLE table_15780049_6 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_15780049_6 WHERE date = "January 19"</s>
CREATE TABLE table_name_39 (moving_to VARCHAR, name VARCHAR, year VARCHAR, rank VARCHAR)
SELECT moving_to FROM table_name_39 WHERE year > 2005 AND rank > 5 AND name = "ismaël bangoura"
Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to what football club?
<s>[INST]Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to what football club? Context: CREATE TABLE table_name_39 (moving_to VARCHAR, name VARCHAR, year VARCHAR, rank VARCHAR)[/INST]SELECT moving_to FROM table_name_39 WHERE year > 2005 AND rank > 5 AND name = "ismaël bangoura"</s>
CREATE TABLE table_name_78 (memory VARCHAR, part_number_s_ VARCHAR)
SELECT memory FROM table_name_78 WHERE part_number_s_ = "ct80618005844ab"
What is the memory for ct80618005844ab?
<s>[INST]What is the memory for ct80618005844ab? Context: CREATE TABLE table_name_78 (memory VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT memory FROM table_name_78 WHERE part_number_s_ = "ct80618005844ab"</s>
CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR)
SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150
What is the barony of the townland whose area is 150 acres?
<s>[INST]What is the barony of the townland whose area is 150 acres? Context: CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR)[/INST]SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150</s>
CREATE TABLE table_name_57 (drawn VARCHAR, percentage VARCHAR, lost VARCHAR)
SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses?
<s>[INST]How many matches were drawn associated with a percentage of 7.14% and more than 12 losses? Context: CREATE TABLE table_name_57 (drawn VARCHAR, percentage VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12</s>
CREATE TABLE table_name_4 (against VARCHAR, team VARCHAR, lost VARCHAR)
SELECT COUNT(against) FROM table_name_4 WHERE team = "corinthians" AND lost < 3
What is the total of all against values for the Corinthians with less than 3 lost?
<s>[INST]What is the total of all against values for the Corinthians with less than 3 lost? Context: CREATE TABLE table_name_4 (against VARCHAR, team VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_4 WHERE team = "corinthians" AND lost < 3</s>
CREATE TABLE table_1342359_5 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1342359_5 WHERE candidates = "Harry Lane Englebright (R) Unopposed"
what's the district with candidates being harry lane englebright (r) unopposed
<s>[INST]what's the district with candidates being harry lane englebright (r) unopposed Context: CREATE TABLE table_1342359_5 (district VARCHAR, candidates VARCHAR)[/INST]SELECT district FROM table_1342359_5 WHERE candidates = "Harry Lane Englebright (R) Unopposed"</s>
CREATE TABLE song (artist_name VARCHAR, rating VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.rating DESC LIMIT 3
What are the names and countries of origin for the artists who produced the top three highly rated songs.
<s>[INST]What are the names and countries of origin for the artists who produced the top three highly rated songs. Context: CREATE TABLE song (artist_name VARCHAR, rating VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)[/INST]SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1....
CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_16 WHERE venue = "arden street oval"
Who was the away team at the game held at Arden Street Oval?
<s>[INST]Who was the away team at the game held at Arden Street Oval? Context: CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_16 WHERE venue = "arden street oval"</s>
CREATE TABLE table_name_58 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_58 WHERE record = "26-24-9"
What is the lowest game number when the record was 26-24-9?
<s>[INST]What is the lowest game number when the record was 26-24-9? Context: CREATE TABLE table_name_58 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_58 WHERE record = "26-24-9"</s>
CREATE TABLE player (POSITION VARCHAR, points INTEGER)
SELECT COUNT(*), POSITION FROM player WHERE points < 30 GROUP BY POSITION
find the number of players whose points are lower than 30 in each position.
<s>[INST]find the number of players whose points are lower than 30 in each position. Context: CREATE TABLE player (POSITION VARCHAR, points INTEGER)[/INST]SELECT COUNT(*), POSITION FROM player WHERE points < 30 GROUP BY POSITION</s>
CREATE TABLE table_name_84 (mark VARCHAR, athlete VARCHAR)
SELECT mark FROM table_name_84 WHERE athlete = "tatyana lebedeva"
Which Mark has an Athlete of tatyana lebedeva?
<s>[INST]Which Mark has an Athlete of tatyana lebedeva? Context: CREATE TABLE table_name_84 (mark VARCHAR, athlete VARCHAR)[/INST]SELECT mark FROM table_name_84 WHERE athlete = "tatyana lebedeva"</s>
CREATE TABLE table_name_60 (result VARCHAR, hometown VARCHAR)
SELECT result FROM table_name_60 WHERE hometown = "chicago, illinois"
What is the result for Chicago, Illinois?
<s>[INST]What is the result for Chicago, Illinois? Context: CREATE TABLE table_name_60 (result VARCHAR, hometown VARCHAR)[/INST]SELECT result FROM table_name_60 WHERE hometown = "chicago, illinois"</s>
CREATE TABLE table_name_32 (designated_grand_prix VARCHAR, track VARCHAR)
SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers"
What grand prix was held at Granollers?
<s>[INST]What grand prix was held at Granollers? Context: CREATE TABLE table_name_32 (designated_grand_prix VARCHAR, track VARCHAR)[/INST]SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers"</s>
CREATE TABLE table_17814458_1 (slope_length INTEGER, type VARCHAR)
SELECT MIN(slope_length) FROM table_17814458_1 WHERE type = "gondola"
Name the slope length for gondola
<s>[INST]Name the slope length for gondola Context: CREATE TABLE table_17814458_1 (slope_length INTEGER, type VARCHAR)[/INST]SELECT MIN(slope_length) FROM table_17814458_1 WHERE type = "gondola"</s>
CREATE TABLE table_name_47 (yards INTEGER, rating VARCHAR, games VARCHAR)
SELECT MAX(yards) FROM table_name_47 WHERE rating > 52.8 AND games > 13
What is the highest yards for a rating larger than 52.8 and more than 13 games?
<s>[INST]What is the highest yards for a rating larger than 52.8 and more than 13 games? Context: CREATE TABLE table_name_47 (yards INTEGER, rating VARCHAR, games VARCHAR)[/INST]SELECT MAX(yards) FROM table_name_47 WHERE rating > 52.8 AND games > 13</s>
CREATE TABLE table_name_15 (year INTEGER, death_toll VARCHAR, cause VARCHAR, colliery VARCHAR)
SELECT MIN(year) FROM table_name_15 WHERE cause = "gas explosion" AND colliery = "tylorstown colliery" AND death_toll > 57
Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?
<s>[INST]Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57? Context: CREATE TABLE table_name_15 (year INTEGER, death_toll VARCHAR, cause VARCHAR, colliery VARCHAR)[/INST]SELECT MIN(year) FROM table_name_15 WHERE cause = "gas explosion" AND colliery = "tylors...
CREATE TABLE table_name_33 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_33 WHERE laps > 72 AND driver = "eddie irvine"
who is the constructor when the laps is more than 72 and the driver is eddie irvine?
<s>[INST]who is the constructor when the laps is more than 72 and the driver is eddie irvine? Context: CREATE TABLE table_name_33 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_33 WHERE laps > 72 AND driver = "eddie irvine"</s>
CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)
SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White"
What is the mascot for the school founded in 1923 with the school colors of blue, red & white?
<s>[INST]What is the mascot for the school founded in 1923 with the school colors of blue, red & white? Context: CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)[/INST]SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White"</s>
CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)
SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco"
What is the total number of Distance ( ly ), when Constellation is "Draco"?
<s>[INST]What is the total number of Distance ( ly ), when Constellation is "Draco"? Context: CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)[/INST]SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco"</s>
CREATE TABLE table_name_60 (long VARCHAR, car VARCHAR)
SELECT long FROM table_name_60 WHERE car = 26
What is the long for the player with 26 carries?
<s>[INST]What is the long for the player with 26 carries? Context: CREATE TABLE table_name_60 (long VARCHAR, car VARCHAR)[/INST]SELECT long FROM table_name_60 WHERE car = 26</s>
CREATE TABLE table_1046454_1 (playoffs VARCHAR, regular_season VARCHAR)
SELECT COUNT(playoffs) FROM table_1046454_1 WHERE regular_season = "6th, Southwest"
what is the total number of playoffs where regular season is 6th, southwest
<s>[INST]what is the total number of playoffs where regular season is 6th, southwest Context: CREATE TABLE table_1046454_1 (playoffs VARCHAR, regular_season VARCHAR)[/INST]SELECT COUNT(playoffs) FROM table_1046454_1 WHERE regular_season = "6th, Southwest"</s>
CREATE TABLE table_name_72 (completions VARCHAR, team VARCHAR, yards VARCHAR)
SELECT completions FROM table_name_72 WHERE team = "iowa" AND yards = "45"
What were the number of completions for James Vanderberg on Iowa when his yards were 45?
<s>[INST]What were the number of completions for James Vanderberg on Iowa when his yards were 45? Context: CREATE TABLE table_name_72 (completions VARCHAR, team VARCHAR, yards VARCHAR)[/INST]SELECT completions FROM table_name_72 WHERE team = "iowa" AND yards = "45"</s>
CREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)
SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the nurse has the most appointments?
<s>[INST]What is the name of the nurse has the most appointments? Context: CREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)[/INST]SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT ...
CREATE TABLE Catalog_Structure (catalog_level_name VARCHAR, catalog_level_number INTEGER)
SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10
Find the name and level of catalog structure with level between 5 and 10.
<s>[INST]Find the name and level of catalog structure with level between 5 and 10. Context: CREATE TABLE Catalog_Structure (catalog_level_name VARCHAR, catalog_level_number INTEGER)[/INST]SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10</s>
CREATE TABLE table_name_93 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_93 WHERE name = "chris hanburger"
What was Chris Hanburger's position?
<s>[INST]What was Chris Hanburger's position? Context: CREATE TABLE table_name_93 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_93 WHERE name = "chris hanburger"</s>
CREATE TABLE table_name_79 (winning_constructor VARCHAR, winning_driver VARCHAR)
SELECT winning_constructor FROM table_name_79 WHERE winning_driver = "riccardo patrese"
Who is the winner constructor with driver riccardo patrese?
<s>[INST]Who is the winner constructor with driver riccardo patrese? Context: CREATE TABLE table_name_79 (winning_constructor VARCHAR, winning_driver VARCHAR)[/INST]SELECT winning_constructor FROM table_name_79 WHERE winning_driver = "riccardo patrese"</s>
CREATE TABLE ship (lost_in_battle VARCHAR, location VARCHAR); CREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR); CREATE TABLE battle (name VARCHAR, result VARCHAR, bulgarian_commander VARCHAR, id VARCHAR)
SELECT name, RESULT, bulgarian_commander FROM battle EXCEPT SELECT T1.name, T1.result, T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'
Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.
<s>[INST]Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'. Context: CREATE TABLE ship (lost_in_battle VARCHAR, location VARCHAR); CREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR); CREATE TABLE battle (name VARCHAR, result VARCHAR, bul...
CREATE TABLE table_2668352_5 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_2668352_5 WHERE district = "Kentucky 2"
Who is every incumbent when Kentucky 2 is the district?
<s>[INST]Who is every incumbent when Kentucky 2 is the district? Context: CREATE TABLE table_2668352_5 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_2668352_5 WHERE district = "Kentucky 2"</s>
CREATE TABLE table_name_79 (celebrity VARCHAR, finished VARCHAR)
SELECT celebrity FROM table_name_79 WHERE finished = "6th"
What celebrity finished 6th?
<s>[INST]What celebrity finished 6th? Context: CREATE TABLE table_name_79 (celebrity VARCHAR, finished VARCHAR)[/INST]SELECT celebrity FROM table_name_79 WHERE finished = "6th"</s>
CREATE TABLE table_name_96 (capacity INTEGER, stadium VARCHAR)
SELECT MIN(capacity) FROM table_name_96 WHERE stadium = "stadion mladina"
What is the lowest capacity that has stadion mladina as the stadium?
<s>[INST]What is the lowest capacity that has stadion mladina as the stadium? Context: CREATE TABLE table_name_96 (capacity INTEGER, stadium VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_96 WHERE stadium = "stadion mladina"</s>