context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_92 (year INTEGER, result VARCHAR, nation VARCHAR, championship VARCHAR, event VARCHAR)
SELECT MAX(year) FROM table_name_92 WHERE championship = "olympics" AND event = "men's eight" AND nation = "canada" AND result = "silver"
What year was olympics, Canada and the Men's Eight Event ended with a silver medal?
<s>[INST]What year was olympics, Canada and the Men's Eight Event ended with a silver medal? Context: CREATE TABLE table_name_92 (year INTEGER, result VARCHAR, nation VARCHAR, championship VARCHAR, event VARCHAR)[/INST]SELECT MAX(year) FROM table_name_92 WHERE championship = "olympics" AND event = "men's eight" AND nation = "canada" AND result = "silver"</s>
CREATE TABLE table_name_2 (county VARCHAR, chinese VARCHAR)
SELECT county FROM table_name_2 WHERE chinese = "新竹"
Which County has a Chinese of 新竹?
<s>[INST]Which County has a Chinese of 新竹? Context: CREATE TABLE table_name_2 (county VARCHAR, chinese VARCHAR)[/INST]SELECT county FROM table_name_2 WHERE chinese = "新竹"</s>
CREATE TABLE table_name_6 (lane VARCHAR, nationality VARCHAR)
SELECT lane FROM table_name_6 WHERE nationality = "zambia"
Which lane did the athlete from Zambia swim in?
<s>[INST]Which lane did the athlete from Zambia swim in? Context: CREATE TABLE table_name_6 (lane VARCHAR, nationality VARCHAR)[/INST]SELECT lane FROM table_name_6 WHERE nationality = "zambia"</s>
CREATE TABLE table_name_90 (entrants INTEGER, winner VARCHAR)
SELECT MIN(entrants) FROM table_name_90 WHERE winner = "grant hinkle"
What was the fewest entrants in an event won by Grant Hinkle?
<s>[INST]What was the fewest entrants in an event won by Grant Hinkle? Context: CREATE TABLE table_name_90 (entrants INTEGER, winner VARCHAR)[/INST]SELECT MIN(entrants) FROM table_name_90 WHERE winner = "grant hinkle"</s>
CREATE TABLE table_21796261_4 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_21796261_4 WHERE date = "July 10"
How many people were present at the July 10 game?
<s>[INST]How many people were present at the July 10 game? Context: CREATE TABLE table_21796261_4 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_21796261_4 WHERE date = "July 10"</s>
CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR)
SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 14
What was the position for team corinthians with over 14 against?
<s>[INST]What was the position for team corinthians with over 14 against? Context: CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR)[/INST]SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 14</s>
CREATE TABLE table_name_23 (film VARCHAR, category VARCHAR, lost_to VARCHAR)
SELECT film FROM table_name_23 WHERE category = "best actress – musical or comedy" AND lost_to = "nicole kidman ( moulin rouge! )"
which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )?
<s>[INST]which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )? Context: CREATE TABLE table_name_23 (film VARCHAR, category VARCHAR, lost_to VARCHAR)[/INST]SELECT film FROM table_name_23 WHERE category = "best actress – musical or comedy" AND lost_to = "nicole kidman ( moulin rouge! )"</s>
CREATE TABLE table_name_28 (height_ft___m VARCHAR, year VARCHAR, name VARCHAR)
SELECT height_ft___m FROM table_name_28 WHERE year > 1983 AND name = "phoenix tower"
What is the height that has a year after 1983 and is named Phoenix Tower?
<s>[INST]What is the height that has a year after 1983 and is named Phoenix Tower? Context: CREATE TABLE table_name_28 (height_ft___m VARCHAR, year VARCHAR, name VARCHAR)[/INST]SELECT height_ft___m FROM table_name_28 WHERE year > 1983 AND name = "phoenix tower"</s>
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders"
What is the record of Jeremija Sanders' opponent?
<s>[INST]What is the record of Jeremija Sanders' opponent? Context: CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders"</s>
CREATE TABLE table_name_51 (rank INTEGER, total VARCHAR, gold VARCHAR)
SELECT AVG(rank) FROM table_name_51 WHERE total < 24 AND gold > 7
What is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals?
<s>[INST]What is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals? Context: CREATE TABLE table_name_51 (rank INTEGER, total VARCHAR, gold VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_51 WHERE total < 24 AND gold > 7</s>
CREATE TABLE table_name_40 (car__number INTEGER, sponsor VARCHAR)
SELECT MAX(car__number) FROM table_name_40 WHERE sponsor = "post-it / national guard"
What is the highest car number sponsored by Post-It / National Guard?
<s>[INST]What is the highest car number sponsored by Post-It / National Guard? Context: CREATE TABLE table_name_40 (car__number INTEGER, sponsor VARCHAR)[/INST]SELECT MAX(car__number) FROM table_name_40 WHERE sponsor = "post-it / national guard"</s>
CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR)
SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)"
What is the average Margin that has a Round of 13. (h)?
<s>[INST]What is the average Margin that has a Round of 13. (h)? Context: CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR)[/INST]SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)"</s>
CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"
Name the Winning driver of mercedes on 22 august?
<s>[INST]Name the Winning driver of mercedes on 22 august? Context: CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)[/INST]SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"</s>
CREATE TABLE table_name_30 (league VARCHAR, total INTEGER)
SELECT COUNT(league) AS Cup FROM table_name_30 WHERE total < 1
What's the total for a league cup less than 1?
<s>[INST]What's the total for a league cup less than 1? Context: CREATE TABLE table_name_30 (league VARCHAR, total INTEGER)[/INST]SELECT COUNT(league) AS Cup FROM table_name_30 WHERE total < 1</s>
CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_50 WHERE country = "united states" AND place = "t1" AND score = 76 - 68 = 144
What is the to par of the player from the United States with a place of t1 and a 76-68=144 score?
<s>[INST]What is the to par of the player from the United States with a place of t1 and a 76-68=144 score? Context: CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_50 WHERE country = "united states" AND place = "t1" AND score = 76 - 68 = 144</s>
CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR)
SELECT T2.name, COUNT(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id
Show the stadium name and the number of concerts in each stadium.
<s>[INST]Show the stadium name and the number of concerts in each stadium. Context: CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR)[/INST]SELECT T2.name, COUNT(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id</s>
CREATE TABLE table_name_17 (result VARCHAR, venue VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_17 WHERE venue = "n" AND attendance > 20 OFFSET 664
I want to see the result for venue of n and attendance more than 20,664
<s>[INST]I want to see the result for venue of n and attendance more than 20,664 Context: CREATE TABLE table_name_17 (result VARCHAR, venue VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_17 WHERE venue = "n" AND attendance > 20 OFFSET 664</s>
CREATE TABLE table_19068566_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_19068566_1 WHERE production_code = "3T7461"
When 3t7461 is the production code who is the director?
<s>[INST]When 3t7461 is the production code who is the director? Context: CREATE TABLE table_19068566_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_19068566_1 WHERE production_code = "3T7461"</s>
CREATE TABLE table_name_19 (finish VARCHAR, total VARCHAR, player VARCHAR)
SELECT finish FROM table_name_19 WHERE total = 292 AND player = "david graham"
What were the finishes by David Graham with totals lower than 292?
<s>[INST]What were the finishes by David Graham with totals lower than 292? Context: CREATE TABLE table_name_19 (finish VARCHAR, total VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_19 WHERE total = 292 AND player = "david graham"</s>
CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "john mahaffey"
What is Score, when Country is "United States", and when Player is "John Mahaffey"?
<s>[INST]What is Score, when Country is "United States", and when Player is "John Mahaffey"? Context: CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_13 WHERE country = "united states" AND player = "john mahaffey"</s>
CREATE TABLE table_name_59 (location VARCHAR, college_name VARCHAR)
SELECT location FROM table_name_59 WHERE college_name = "kanyakumari government medical college"
What is the location of the kanyakumari government medical college?
<s>[INST]What is the location of the kanyakumari government medical college? Context: CREATE TABLE table_name_59 (location VARCHAR, college_name VARCHAR)[/INST]SELECT location FROM table_name_59 WHERE college_name = "kanyakumari government medical college"</s>
CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)
SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002
In what award show was Bad Girls nominated for Best Loved Drama in 2002?
<s>[INST]In what award show was Bad Girls nominated for Best Loved Drama in 2002? Context: CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002</s>
CREATE TABLE table_name_84 (copa_libertadores_1996 VARCHAR, copa_conmebol_1996 VARCHAR)
SELECT copa_libertadores_1996 FROM table_name_84 WHERE copa_conmebol_1996 = "quarterfinals"
What is the copa libertadores 1996 result of the team with a copa conmebol 1996 result of quarterfinals?
<s>[INST]What is the copa libertadores 1996 result of the team with a copa conmebol 1996 result of quarterfinals? Context: CREATE TABLE table_name_84 (copa_libertadores_1996 VARCHAR, copa_conmebol_1996 VARCHAR)[/INST]SELECT copa_libertadores_1996 FROM table_name_84 WHERE copa_conmebol_1996 = "quarterfinals"</s>
CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
SELECT play_by_play FROM table_name_61 WHERE network = "abc" AND year > 1998
Who was the play by play commentator for ABC after 1998?
<s>[INST]Who was the play by play commentator for ABC after 1998? Context: CREATE TABLE table_name_61 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)[/INST]SELECT play_by_play FROM table_name_61 WHERE network = "abc" AND year > 1998</s>
CREATE TABLE table_name_7 (producer_s_ VARCHAR, track VARCHAR)
SELECT producer_s_ FROM table_name_7 WHERE track = 7
Who produced track 7?
<s>[INST]Who produced track 7? Context: CREATE TABLE table_name_7 (producer_s_ VARCHAR, track VARCHAR)[/INST]SELECT producer_s_ FROM table_name_7 WHERE track = 7</s>
CREATE TABLE table_name_2 (player VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
SELECT player FROM table_name_2 WHERE pick > 24 AND nba_years_[a_] = "9"
What is Player, when Pick is greater than 24, and when NBA years [a ] is "9"?
<s>[INST]What is Player, when Pick is greater than 24, and when NBA years [a ] is "9"? Context: CREATE TABLE table_name_2 (player VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)[/INST]SELECT player FROM table_name_2 WHERE pick > 24 AND nba_years_[a_] = "9"</s>
CREATE TABLE table_21632864_1 (fourth_place VARCHAR, regional VARCHAR)
SELECT COUNT(fourth_place) FROM table_21632864_1 WHERE regional = "Shikoku"
how many persons got the fourth position when the regional was shikoku?
<s>[INST]how many persons got the fourth position when the regional was shikoku? Context: CREATE TABLE table_21632864_1 (fourth_place VARCHAR, regional VARCHAR)[/INST]SELECT COUNT(fourth_place) FROM table_21632864_1 WHERE regional = "Shikoku"</s>
CREATE TABLE table_name_18 (lexton_plains VARCHAR, wins VARCHAR, against VARCHAR)
SELECT lexton_plains FROM table_name_18 WHERE wins < 9 AND against < 1593
What team has fewer than 9 wins and less than 1593 against?
<s>[INST]What team has fewer than 9 wins and less than 1593 against? Context: CREATE TABLE table_name_18 (lexton_plains VARCHAR, wins VARCHAR, against VARCHAR)[/INST]SELECT lexton_plains FROM table_name_18 WHERE wins < 9 AND against < 1593</s>
CREATE TABLE table_name_21 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad"
In the final against Ashley Harkleroad what was the score?
<s>[INST]In the final against Ashley Harkleroad what was the score? Context: CREATE TABLE table_name_21 (score VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad"</s>
CREATE TABLE table_name_92 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_92 WHERE date = "september 20, 1992"
Which Opponent has a Date of september 20, 1992?
<s>[INST]Which Opponent has a Date of september 20, 1992? Context: CREATE TABLE table_name_92 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_92 WHERE date = "september 20, 1992"</s>
CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_51 WHERE record = "45–21–4"
Which Opponent has a Record of 45–21–4?
<s>[INST]Which Opponent has a Record of 45–21–4? Context: CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_51 WHERE record = "45–21–4"</s>
CREATE TABLE table_name_2 (tries_for VARCHAR, club VARCHAR)
SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc"
How many tries for does waunarlwydd rfc have ?
<s>[INST]How many tries for does waunarlwydd rfc have ? Context: CREATE TABLE table_name_2 (tries_for VARCHAR, club VARCHAR)[/INST]SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc"</s>
CREATE TABLE table_name_67 (team VARCHAR, pick VARCHAR)
SELECT team FROM table_name_67 WHERE pick = 40
What Team has a Pick of 40?
<s>[INST]What Team has a Pick of 40? Context: CREATE TABLE table_name_67 (team VARCHAR, pick VARCHAR)[/INST]SELECT team FROM table_name_67 WHERE pick = 40</s>
CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR)
SELECT _number FROM table_2950964_5 WHERE title = "The Empty House"
The Empty House audiobook has what #?
<s>[INST]The Empty House audiobook has what #? Context: CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR)[/INST]SELECT _number FROM table_2950964_5 WHERE title = "The Empty House"</s>
CREATE TABLE table_27117365_1 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_27117365_1 WHERE no_in_season = 10
What's the title in the number 10 in the season?
<s>[INST]What's the title in the number 10 in the season? Context: CREATE TABLE table_27117365_1 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT title FROM table_27117365_1 WHERE no_in_season = 10</s>
CREATE TABLE table_17120964_9 (venue VARCHAR, attendance VARCHAR)
SELECT venue FROM table_17120964_9 WHERE attendance = "702"
where was the venue where the attendance was 702?
<s>[INST]where was the venue where the attendance was 702? Context: CREATE TABLE table_17120964_9 (venue VARCHAR, attendance VARCHAR)[/INST]SELECT venue FROM table_17120964_9 WHERE attendance = "702"</s>
CREATE TABLE table_21796261_4 (record VARCHAR, location VARCHAR)
SELECT record FROM table_21796261_4 WHERE location = "BC Place Stadium"
What's the record achieved in the gamed played at BC Place Stadium?
<s>[INST]What's the record achieved in the gamed played at BC Place Stadium? Context: CREATE TABLE table_21796261_4 (record VARCHAR, location VARCHAR)[/INST]SELECT record FROM table_21796261_4 WHERE location = "BC Place Stadium"</s>
CREATE TABLE table_name_71 (Id VARCHAR)
SELECT 2009 FROM table_name_71 WHERE 2011 = "sf"
Which 2009 had a 2011 of SF?
<s>[INST]Which 2009 had a 2011 of SF? Context: CREATE TABLE table_name_71 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_71 WHERE 2011 = "sf"</s>
CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR)
SELECT highest_elevation FROM table_name_7 WHERE highest_point = "schnebelhorn"
What is the highest elevation for the highest point of Schnebelhorn?
<s>[INST]What is the highest elevation for the highest point of Schnebelhorn? Context: CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR)[/INST]SELECT highest_elevation FROM table_name_7 WHERE highest_point = "schnebelhorn"</s>
CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR)
SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Rochelle Romero Ong"
Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?
<s>[INST]Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong? Context: CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR)[/INST]SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Rochelle Romero Ong"</s>
CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_92 WHERE record = "67-58"
On which date did the Indians have a record of 67-58
<s>[INST]On which date did the Indians have a record of 67-58 Context: CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE record = "67-58"</s>
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR)
SELECT T1.first_name, T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id
Display the first name and department name for each employee.
<s>[INST]Display the first name and department name for each employee. Context: CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR)[/INST]SELECT T1.first_name, T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id</s>
CREATE TABLE table_17356106_1 (original_air_date VARCHAR, series__number VARCHAR)
SELECT original_air_date FROM table_17356106_1 WHERE series__number = 256
For series number 256, what was the original air date?
<s>[INST]For series number 256, what was the original air date? Context: CREATE TABLE table_17356106_1 (original_air_date VARCHAR, series__number VARCHAR)[/INST]SELECT original_air_date FROM table_17356106_1 WHERE series__number = 256</s>
CREATE TABLE table_name_65 (diameter__km_ VARCHAR, longitude VARCHAR)
SELECT diameter__km_ FROM table_name_65 WHERE longitude = "8.0e"
How long is the diameter that has a longitude of 8.0e?
<s>[INST]How long is the diameter that has a longitude of 8.0e? Context: CREATE TABLE table_name_65 (diameter__km_ VARCHAR, longitude VARCHAR)[/INST]SELECT diameter__km_ FROM table_name_65 WHERE longitude = "8.0e"</s>
CREATE TABLE table_name_42 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_42 WHERE visitor = "pittsburgh"
What was the score when Pittsburgh was the visitor?
<s>[INST]What was the score when Pittsburgh was the visitor? Context: CREATE TABLE table_name_42 (score VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_42 WHERE visitor = "pittsburgh"</s>
CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, production_code VARCHAR)
SELECT introductory_phrase FROM table_25691838_8 WHERE production_code = 6101
What was the introductory phrase on the episode production code 6101?
<s>[INST]What was the introductory phrase on the episode production code 6101? Context: CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, production_code VARCHAR)[/INST]SELECT introductory_phrase FROM table_25691838_8 WHERE production_code = 6101</s>
CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_27 WHERE best = "1:27.642"
What is Qual 2, when Best is 1:27.642?
<s>[INST]What is Qual 2, when Best is 1:27.642? Context: CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR)[/INST]SELECT qual_2 FROM table_name_27 WHERE best = "1:27.642"</s>
CREATE TABLE table_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR)
SELECT challengers__female_ FROM table_24051050_1 WHERE episode = 28
Which female challengers featured in episode 28?
<s>[INST]Which female challengers featured in episode 28? Context: CREATE TABLE table_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR)[/INST]SELECT challengers__female_ FROM table_24051050_1 WHERE episode = 28</s>
CREATE TABLE table_name_81 (opponents VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_81 WHERE partner = "michelle strebel"
Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel?
<s>[INST]Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel? Context: CREATE TABLE table_name_81 (opponents VARCHAR, partner VARCHAR)[/INST]SELECT opponents FROM table_name_81 WHERE partner = "michelle strebel"</s>
CREATE TABLE table_23429629_4 (act VARCHAR, place_came VARCHAR)
SELECT act FROM table_23429629_4 WHERE place_came = "1st Place (Won the Series)"
During the 1st Place (Won the Series), who was the act?
<s>[INST]During the 1st Place (Won the Series), who was the act? Context: CREATE TABLE table_23429629_4 (act VARCHAR, place_came VARCHAR)[/INST]SELECT act FROM table_23429629_4 WHERE place_came = "1st Place (Won the Series)"</s>
CREATE TABLE table_name_18 (year_made VARCHAR, wheel_arrangement VARCHAR)
SELECT COUNT(year_made) FROM table_name_18 WHERE wheel_arrangement = "0-4-0t"
What is the sum number of years where the wheel arrangement of 0-4-0t?
<s>[INST]What is the sum number of years where the wheel arrangement of 0-4-0t? Context: CREATE TABLE table_name_18 (year_made VARCHAR, wheel_arrangement VARCHAR)[/INST]SELECT COUNT(year_made) FROM table_name_18 WHERE wheel_arrangement = "0-4-0t"</s>
CREATE TABLE table_name_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR)
SELECT multiplier FROM table_name_98 WHERE front_side_bus = "200 mhz" AND frequency = "1200 mhz"
Which Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mhz?
<s>[INST]Which Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mhz? Context: CREATE TABLE table_name_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR)[/INST]SELECT multiplier FROM table_name_98 WHERE front_side_bus = "200 mhz" AND frequency = "1200 mhz"</s>
CREATE TABLE table_name_98 (opponent VARCHAR, year VARCHAR)
SELECT opponent FROM table_name_98 WHERE year = 1976
Who is the opponent in 1976?
<s>[INST]Who is the opponent in 1976? Context: CREATE TABLE table_name_98 (opponent VARCHAR, year VARCHAR)[/INST]SELECT opponent FROM table_name_98 WHERE year = 1976</s>
CREATE TABLE table_name_20 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne"
What was Melbourne's away team score?
<s>[INST]What was Melbourne's away team score? Context: CREATE TABLE table_name_20 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne"</s>
CREATE TABLE table_26615633_1 (species VARCHAR, jewel VARCHAR)
SELECT species FROM table_26615633_1 WHERE jewel = "Coal"
What is the species when jewel is coal?
<s>[INST]What is the species when jewel is coal? Context: CREATE TABLE table_26615633_1 (species VARCHAR, jewel VARCHAR)[/INST]SELECT species FROM table_26615633_1 WHERE jewel = "Coal"</s>
CREATE TABLE table_22580855_1 (production_code INTEGER)
SELECT MAX(production_code) FROM table_22580855_1
which is the biggest production code?
<s>[INST]which is the biggest production code? Context: CREATE TABLE table_22580855_1 (production_code INTEGER)[/INST]SELECT MAX(production_code) FROM table_22580855_1</s>
CREATE TABLE table_name_51 (losses VARCHAR, south_west_dfl VARCHAR, against VARCHAR)
SELECT COUNT(losses) FROM table_name_51 WHERE south_west_dfl = "coleraine" AND against < 891
How many Losses have South West DFL of coleraine, and an Against smaller than 891?
<s>[INST]How many Losses have South West DFL of coleraine, and an Against smaller than 891? Context: CREATE TABLE table_name_51 (losses VARCHAR, south_west_dfl VARCHAR, against VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_51 WHERE south_west_dfl = "coleraine" AND against < 891</s>
CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_48 WHERE date = "august 12"
Who did they play on August 12?
<s>[INST]Who did they play on August 12? Context: CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_48 WHERE date = "august 12"</s>
CREATE TABLE table_name_12 (outcome VARCHAR, event VARCHAR, venue VARCHAR)
SELECT outcome FROM table_name_12 WHERE event = "singles" AND venue = "london, england"
What is the Outcome of the Singles Event in London, England?
<s>[INST]What is the Outcome of the Singles Event in London, England? Context: CREATE TABLE table_name_12 (outcome VARCHAR, event VARCHAR, venue VARCHAR)[/INST]SELECT outcome FROM table_name_12 WHERE event = "singles" AND venue = "london, england"</s>
CREATE TABLE table_name_30 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3
Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
<s>[INST]Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3? Context: CREATE TABLE table_name_30 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3</s>
CREATE TABLE table_name_23 (accolade VARCHAR, rank VARCHAR)
SELECT accolade FROM table_name_23 WHERE rank = 497
What's the accolade for the rank of 497?
<s>[INST]What's the accolade for the rank of 497? Context: CREATE TABLE table_name_23 (accolade VARCHAR, rank VARCHAR)[/INST]SELECT accolade FROM table_name_23 WHERE rank = 497</s>
CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_23612439_2 WHERE date = "July 16"
What is the final score when July 16 is the date?
<s>[INST]What is the final score when July 16 is the date? Context: CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_23612439_2 WHERE date = "July 16"</s>
CREATE TABLE table_name_84 (venue VARCHAR, result VARCHAR, goals VARCHAR)
SELECT venue FROM table_name_84 WHERE result = "w" AND goals = "deacon 5/5"
Which venue has a Result of w, and a Goal of deacon 5/5?
<s>[INST]Which venue has a Result of w, and a Goal of deacon 5/5? Context: CREATE TABLE table_name_84 (venue VARCHAR, result VARCHAR, goals VARCHAR)[/INST]SELECT venue FROM table_name_84 WHERE result = "w" AND goals = "deacon 5/5"</s>
CREATE TABLE table_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR)
SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "Chandra"
What is the transcription of the sanskrit word chandra?
<s>[INST]What is the transcription of the sanskrit word chandra? Context: CREATE TABLE table_180802_3 (transcription VARCHAR, sanskrit_word VARCHAR)[/INST]SELECT transcription FROM table_180802_3 WHERE sanskrit_word = "Chandra"</s>
CREATE TABLE table_name_45 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
SELECT city___state FROM table_name_45 WHERE winner = "darren hossack" AND circuit = "phillip island grand prix circuit"
What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?
<s>[INST]What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit? Context: CREATE TABLE table_name_45 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)[/INST]SELECT city___state FROM table_name_45 WHERE winner = "darren hossack" AND circuit = "phillip island grand prix circuit"</s>
CREATE TABLE table_name_65 (the_kennel_club__uk__toy_group VARCHAR, american_kennel_club_toy_group VARCHAR)
SELECT the_kennel_club__uk__toy_group FROM table_name_65 WHERE american_kennel_club_toy_group = "shih-tzu"
What is the Kennel Club (UK) Toy Group with the shih-tzu as the American Kennel Club Toy Group breed?
<s>[INST]What is the Kennel Club (UK) Toy Group with the shih-tzu as the American Kennel Club Toy Group breed? Context: CREATE TABLE table_name_65 (the_kennel_club__uk__toy_group VARCHAR, american_kennel_club_toy_group VARCHAR)[/INST]SELECT the_kennel_club__uk__toy_group FROM table_name_65 WHERE american_kennel_club_toy_group = "shih-tzu"</s>
CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)
SELECT city FROM table_27378582_1 WHERE enrollment = 19900
Name the city for enrollment being 19900
<s>[INST]Name the city for enrollment being 19900 Context: CREATE TABLE table_27378582_1 (city VARCHAR, enrollment VARCHAR)[/INST]SELECT city FROM table_27378582_1 WHERE enrollment = 19900</s>
CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_31 WHERE name = "alexander wronski"
What is Alexander Wronski's Position?
<s>[INST]What is Alexander Wronski's Position? Context: CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_31 WHERE name = "alexander wronski"</s>
CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_66 WHERE date = "november 15"
what is the score on november 15
<s>[INST]what is the score on november 15 Context: CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE date = "november 15"</s>
CREATE TABLE table_name_10 (population__hab_ VARCHAR, distance_medellín_downtown___km__ VARCHAR)
SELECT population__hab_ FROM table_name_10 WHERE distance_medellín_downtown___km__ = "* dane"
What is the population (hab) when the distance medellin downtown (km) is * dane?
<s>[INST]What is the population (hab) when the distance medellin downtown (km) is * dane? Context: CREATE TABLE table_name_10 (population__hab_ VARCHAR, distance_medellín_downtown___km__ VARCHAR)[/INST]SELECT population__hab_ FROM table_name_10 WHERE distance_medellín_downtown___km__ = "* dane"</s>
CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR)
SELECT reward FROM table_24122653_2 WHERE eliminated = "Peterson"
What is the reward for the elimination of Peterson?
<s>[INST]What is the reward for the elimination of Peterson? Context: CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR)[/INST]SELECT reward FROM table_24122653_2 WHERE eliminated = "Peterson"</s>
CREATE TABLE table_name_80 (wins VARCHAR, podiums VARCHAR, f_laps VARCHAR)
SELECT wins FROM table_name_80 WHERE podiums = "2" AND f_laps = "2"
If Podiums is 2 and F/Laps are 2, what are the wins?
<s>[INST]If Podiums is 2 and F/Laps are 2, what are the wins? Context: CREATE TABLE table_name_80 (wins VARCHAR, podiums VARCHAR, f_laps VARCHAR)[/INST]SELECT wins FROM table_name_80 WHERE podiums = "2" AND f_laps = "2"</s>
CREATE TABLE table_name_48 (snatch VARCHAR, total__kg_ VARCHAR, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT COUNT(snatch) FROM table_name_48 WHERE clean_ & _jerk < 142.5 AND bodyweight < 55.58 AND total__kg_ > 210
How many people have a Clean & jerk smaller than 142.5, a Bodyweight smaller than 55.58, and a Total (kg) larger than 210?
<s>[INST]How many people have a Clean & jerk smaller than 142.5, a Bodyweight smaller than 55.58, and a Total (kg) larger than 210? Context: CREATE TABLE table_name_48 (snatch VARCHAR, total__kg_ VARCHAR, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT COUNT(snatch) FROM table_name_48 WHERE clean_ & _jerk < 142.5 AND bodyweight < 55.58 AND total__kg_ > 210</s>
CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,2012"
Who directed the episode that aired on july15,2012?
<s>[INST]Who directed the episode that aired on july15,2012? Context: CREATE TABLE table_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT directed_by FROM table_20704243_6 WHERE original_air_date = "July15,2012"</s>
CREATE TABLE table_20095300_1 (colours VARCHAR, jockey VARCHAR)
SELECT colours FROM table_20095300_1 WHERE jockey = "Andrew McNamara"
What are Andrew McNamara's colors?
<s>[INST]What are Andrew McNamara's colors? Context: CREATE TABLE table_20095300_1 (colours VARCHAR, jockey VARCHAR)[/INST]SELECT colours FROM table_20095300_1 WHERE jockey = "Andrew McNamara"</s>
CREATE TABLE table_150340_3 (rank INTEGER, country VARCHAR)
SELECT MIN(rank) FROM table_150340_3 WHERE country = "Puerto Rico"
What is the lowest rank for puerto rico?
<s>[INST]What is the lowest rank for puerto rico? Context: CREATE TABLE table_150340_3 (rank INTEGER, country VARCHAR)[/INST]SELECT MIN(rank) FROM table_150340_3 WHERE country = "Puerto Rico"</s>
CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993"
What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993?
<s>[INST]What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? Context: CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993"</s>
CREATE TABLE table_name_1 (results VARCHAR, style VARCHAR)
SELECT results FROM table_name_1 WHERE style = "contemporary jazz"
What was the result of the dance which had a style of contemporary jazz?
<s>[INST]What was the result of the dance which had a style of contemporary jazz? Context: CREATE TABLE table_name_1 (results VARCHAR, style VARCHAR)[/INST]SELECT results FROM table_name_1 WHERE style = "contemporary jazz"</s>
CREATE TABLE table_1341865_23 (first_elected VARCHAR, party VARCHAR)
SELECT first_elected FROM table_1341865_23 WHERE party = "Republican"
Name the first elected for the republican party
<s>[INST]Name the first elected for the republican party Context: CREATE TABLE table_1341865_23 (first_elected VARCHAR, party VARCHAR)[/INST]SELECT first_elected FROM table_1341865_23 WHERE party = "Republican"</s>
CREATE TABLE table_name_32 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_32 WHERE year = 1989
Who was the runner-up in 1989?
<s>[INST]Who was the runner-up in 1989? Context: CREATE TABLE table_name_32 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_32 WHERE year = 1989</s>
CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_61 WHERE loss = "cook (14–7)"
What was the record at the game with a loss of Cook (14–7)?
<s>[INST]What was the record at the game with a loss of Cook (14–7)? Context: CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_61 WHERE loss = "cook (14–7)"</s>
CREATE TABLE table_name_87 (destination VARCHAR, train_name VARCHAR)
SELECT destination FROM table_name_87 WHERE train_name = "garib nwaz exp"
What is the destination of the Garib nwaz exp train?
<s>[INST]What is the destination of the Garib nwaz exp train? Context: CREATE TABLE table_name_87 (destination VARCHAR, train_name VARCHAR)[/INST]SELECT destination FROM table_name_87 WHERE train_name = "garib nwaz exp"</s>
CREATE TABLE table_name_39 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_39 WHERE date = "december 8, 1974"
Which week was the game played on December 8, 1974?
<s>[INST]Which week was the game played on December 8, 1974? Context: CREATE TABLE table_name_39 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_39 WHERE date = "december 8, 1974"</s>
CREATE TABLE table_29296103_10 (runner_up VARCHAR, tournament VARCHAR, champion VARCHAR)
SELECT COUNT(runner_up) FROM table_29296103_10 WHERE tournament = "Cologne , Germany Carpet – $75,000 – S32/D16" AND champion = "Matt Doyle 1–6, 6–1, 6–2"
How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 when the champion was matt doyle 1–6, 6–1, 6–2?
<s>[INST]How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 when the champion was matt doyle 1–6, 6–1, 6–2? Context: CREATE TABLE table_29296103_10 (runner_up VARCHAR, tournament VARCHAR, champion VARCHAR)[/INST]SELECT COUNT(runner_up) FROM table_29296103_10 WHERE tournament = "Cologne , Germany Carpet – $75,000 – S32/D16" AND champion = "Matt Doyle 1–6, 6–1, 6–2"</s>
CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR)
SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
What is the city where the Telstra Dome is?
<s>[INST]What is the city where the Telstra Dome is? Context: CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR)[/INST]SELECT city FROM table_name_83 WHERE stadium = "telstra dome"</s>
CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_99 WHERE surface = "hard" AND score = "6–1, 6–2"
Tell me the tournament with a hard surface for 6–1, 6–2
<s>[INST]Tell me the tournament with a hard surface for 6–1, 6–2 Context: CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_99 WHERE surface = "hard" AND score = "6–1, 6–2"</s>
CREATE TABLE table_name_62 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(bronze) FROM table_name_62 WHERE gold > 1 AND rank = 2 AND silver < 12
What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12?
<s>[INST]What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? Context: CREATE TABLE table_name_62 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_62 WHERE gold > 1 AND rank = 2 AND silver < 12</s>
CREATE TABLE table_name_15 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_15 WHERE driver = "timo glock"
What is the name of the company that constructed the vehicle for Timo Glock?
<s>[INST]What is the name of the company that constructed the vehicle for Timo Glock? Context: CREATE TABLE table_name_15 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_15 WHERE driver = "timo glock"</s>
CREATE TABLE table_name_65 (ipv6_address VARCHAR, operator VARCHAR)
SELECT ipv6_address FROM table_name_65 WHERE operator = "wide project"
Which IPv6 address has an operator of Wide project?
<s>[INST]Which IPv6 address has an operator of Wide project? Context: CREATE TABLE table_name_65 (ipv6_address VARCHAR, operator VARCHAR)[/INST]SELECT ipv6_address FROM table_name_65 WHERE operator = "wide project"</s>
CREATE TABLE table_2190919_3 (avg_start VARCHAR, avg_finish VARCHAR)
SELECT avg_start FROM table_2190919_3 WHERE avg_finish = "29.0"
With an average finish of 29.0, what was the average start?
<s>[INST]With an average finish of 29.0, what was the average start? Context: CREATE TABLE table_2190919_3 (avg_start VARCHAR, avg_finish VARCHAR)[/INST]SELECT avg_start FROM table_2190919_3 WHERE avg_finish = "29.0"</s>
CREATE TABLE table_name_31 (gold INTEGER, total VARCHAR, nation VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_31 WHERE rank < 5 AND silver = 1 AND nation = "poland" AND total > 1
What is the least number of Gold for a Rank smaller than 5, and 1 silver medal for Poland with more than 1 medal in total?
<s>[INST]What is the least number of Gold for a Rank smaller than 5, and 1 silver medal for Poland with more than 1 medal in total? Context: CREATE TABLE table_name_31 (gold INTEGER, total VARCHAR, nation VARCHAR, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_31 WHERE rank < 5 AND silver = 1 AND nation = "poland" AND total > 1</s>
CREATE TABLE table_name_12 (tournament VARCHAR)
SELECT 1977 FROM table_name_12 WHERE tournament = "us open"
What is the listing for the US Open in 1977?
<s>[INST]What is the listing for the US Open in 1977? Context: CREATE TABLE table_name_12 (tournament VARCHAR)[/INST]SELECT 1977 FROM table_name_12 WHERE tournament = "us open"</s>
CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306
In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech?
<s>[INST]In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech? Context: CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306</s>
CREATE TABLE table_name_38 (place VARCHAR, downhill_points VARCHAR)
SELECT place FROM table_name_38 WHERE downhill_points = 7.73
What place is the skier with 7.73 downhill points?
<s>[INST]What place is the skier with 7.73 downhill points? Context: CREATE TABLE table_name_38 (place VARCHAR, downhill_points VARCHAR)[/INST]SELECT place FROM table_name_38 WHERE downhill_points = 7.73</s>
CREATE TABLE table_name_65 (sales__billion_ INTEGER, headquarters VARCHAR, assets__billion_$_ VARCHAR)
SELECT AVG(sales__billion_) AS $_ FROM table_name_65 WHERE headquarters = "france" AND assets__billion_$_ > 2 OFFSET 539.1
What is the average sales in billions of the company headquartered in France with more than 2,539.1 billion in assets?
<s>[INST]What is the average sales in billions of the company headquartered in France with more than 2,539.1 billion in assets? Context: CREATE TABLE table_name_65 (sales__billion_ INTEGER, headquarters VARCHAR, assets__billion_$_ VARCHAR)[/INST]SELECT AVG(sales__billion_) AS $_ FROM table_name_65 WHERE headquarters = "france" AND assets__billion_$_ > 2 OFFSET 539.1</s>
CREATE TABLE table_name_45 (category VARCHAR, country VARCHAR)
SELECT category FROM table_name_45 WHERE country = "russia"
Russia has films in which category?
<s>[INST]Russia has films in which category? Context: CREATE TABLE table_name_45 (category VARCHAR, country VARCHAR)[/INST]SELECT category FROM table_name_45 WHERE country = "russia"</s>
CREATE TABLE table_12807904_5 (points VARCHAR, points_against VARCHAR)
SELECT COUNT(points) FROM table_12807904_5 WHERE points_against = "389"
What amount of points where points were 389?
<s>[INST]What amount of points where points were 389? Context: CREATE TABLE table_12807904_5 (points VARCHAR, points_against VARCHAR)[/INST]SELECT COUNT(points) FROM table_12807904_5 WHERE points_against = "389"</s>
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT 2010 FROM table_name_51 WHERE 2006 = "w"
Which 2010 has a 2006 of w?
<s>[INST]Which 2010 has a 2006 of w? Context: CREATE TABLE table_name_51 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_51 WHERE 2006 = "w"</s>
CREATE TABLE table_name_52 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR)
SELECT directed_by FROM table_name_52 WHERE written_by = "dan serafin" AND original_airdate = "july 23, 2008"
Who directed the episode written by Dan Serafin and aired on July 23, 2008?
<s>[INST]Who directed the episode written by Dan Serafin and aired on July 23, 2008? Context: CREATE TABLE table_name_52 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR)[/INST]SELECT directed_by FROM table_name_52 WHERE written_by = "dan serafin" AND original_airdate = "july 23, 2008"</s>
CREATE TABLE table_name_13 (rank VARCHAR, silver VARCHAR)
SELECT rank FROM table_name_13 WHERE silver = 3
What is the rank for the 3 silver medals?
<s>[INST]What is the rank for the 3 silver medals? Context: CREATE TABLE table_name_13 (rank VARCHAR, silver VARCHAR)[/INST]SELECT rank FROM table_name_13 WHERE silver = 3</s>