context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
SELECT award FROM table_name_27 WHERE result = "won" AND category = "most popular star" AND year = 2007
For the category of most popular star with a result of won for 2007, what was the award?
<s>[INST]For the category of most popular star with a result of won for 2007, what was the award? Context: CREATE TABLE table_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_27 WHERE result = "won" AND category = "most popular star" AND year = 2007</s>
CREATE TABLE table_name_42 (position VARCHAR, first_election VARCHAR, name VARCHAR)
SELECT position FROM table_name_42 WHERE first_election = "2003" AND name = "william d. euille"
What Position does First Elected in 2003 William D. Euille hold ?
<s>[INST]What Position does First Elected in 2003 William D. Euille hold ? Context: CREATE TABLE table_name_42 (position VARCHAR, first_election VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_42 WHERE first_election = "2003" AND name = "william d. euille"</s>
CREATE TABLE table_name_81 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_81 WHERE visitor = "kings"
Name the home with visitor of kings
<s>[INST]Name the home with visitor of kings Context: CREATE TABLE table_name_81 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_81 WHERE visitor = "kings"</s>
CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_singles VARCHAR)
SELECT men_doubles FROM table_14903355_2 WHERE womens_singles = "Els Baert"
Name the men doubles for els baert
<s>[INST]Name the men doubles for els baert Context: CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_singles VARCHAR)[/INST]SELECT men_doubles FROM table_14903355_2 WHERE womens_singles = "Els Baert"</s>
CREATE TABLE table_22879323_6 (high_assists VARCHAR, record VARCHAR)
SELECT high_assists FROM table_22879323_6 WHERE record = "2-29"
When the record was 2-29 who had the most assists?
<s>[INST]When the record was 2-29 who had the most assists? Context: CREATE TABLE table_22879323_6 (high_assists VARCHAR, record VARCHAR)[/INST]SELECT high_assists FROM table_22879323_6 WHERE record = "2-29"</s>
CREATE TABLE table_name_34 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_34 WHERE total > 293 AND year_s__won = "1989"
What golfer has a greater than 293 total, and won in 1989?
<s>[INST]What golfer has a greater than 293 total, and won in 1989? Context: CREATE TABLE table_name_34 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_34 WHERE total > 293 AND year_s__won = "1989"</s>
CREATE TABLE table_name_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR)
SELECT office FROM table_name_2 WHERE party = "dem" AND first_elected = "1991†"
Which Office has a Party of dem, and a First Elected of 1991†?
<s>[INST]Which Office has a Party of dem, and a First Elected of 1991†? Context: CREATE TABLE table_name_2 (office VARCHAR, party VARCHAR, first_elected VARCHAR)[/INST]SELECT office FROM table_name_2 WHERE party = "dem" AND first_elected = "1991†"</s>
CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT score FROM table_name_23 WHERE surface = "clay" AND partner = "remi tezuka"
What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay surface?
<s>[INST]What was the score of the final in which Melanie South played with partner Remi Tezuka on a clay surface? Context: CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_23 WHERE surface = "clay" AND partner = "remi tezuka"</s>
CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR)
SELECT MIN(figures) FROM table_name_24 WHERE free = 556
What is the lowest figure score when the free is 556?
<s>[INST]What is the lowest figure score when the free is 556? Context: CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR)[/INST]SELECT MIN(figures) FROM table_name_24 WHERE free = 556</s>
CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_11 WHERE attendance = "70,724"
Who did the Texans play when there were 70,724 people in attendance?
<s>[INST]Who did the Texans play when there were 70,724 people in attendance? Context: CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_11 WHERE attendance = "70,724"</s>
CREATE TABLE table_name_30 (class VARCHAR, year VARCHAR, points VARCHAR)
SELECT class FROM table_name_30 WHERE year > 1958 AND points = 4
What is the Class for a year later than 1958, with 4 points?
<s>[INST]What is the Class for a year later than 1958, with 4 points? Context: CREATE TABLE table_name_30 (class VARCHAR, year VARCHAR, points VARCHAR)[/INST]SELECT class FROM table_name_30 WHERE year > 1958 AND points = 4</s>
CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)
SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0"
What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill?
<s>[INST]What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill? Context: CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)[/INST]SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0"</s>
CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"
Who was the incumbent when ran william b. oliver (d) unopposed?
<s>[INST]Who was the incumbent when ran william b. oliver (d) unopposed? Context: CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"</s>
CREATE TABLE table_name_30 (semi_finalists VARCHAR, week VARCHAR)
SELECT semi_finalists FROM table_name_30 WHERE week = "may 15"
Which Semi finalists had a Week of may 15?
<s>[INST]Which Semi finalists had a Week of may 15? Context: CREATE TABLE table_name_30 (semi_finalists VARCHAR, week VARCHAR)[/INST]SELECT semi_finalists FROM table_name_30 WHERE week = "may 15"</s>
CREATE TABLE table_name_44 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_44 WHERE date = "january 26, 2006"
What is the result of the match on January 26, 2006?
<s>[INST]What is the result of the match on January 26, 2006? Context: CREATE TABLE table_name_44 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_44 WHERE date = "january 26, 2006"</s>
CREATE TABLE table_name_16 (date_of_release VARCHAR, title VARCHAR)
SELECT date_of_release FROM table_name_16 WHERE title = "twenty"
When was twenty released?
<s>[INST]When was twenty released? Context: CREATE TABLE table_name_16 (date_of_release VARCHAR, title VARCHAR)[/INST]SELECT date_of_release FROM table_name_16 WHERE title = "twenty"</s>
CREATE TABLE table_name_50 (runner_s__up VARCHAR, premiered VARCHAR)
SELECT runner_s__up FROM table_name_50 WHERE premiered = "march 25, 2002"
Who was the runner-up for the show that premiered on March 25, 2002?
<s>[INST]Who was the runner-up for the show that premiered on March 25, 2002? Context: CREATE TABLE table_name_50 (runner_s__up VARCHAR, premiered VARCHAR)[/INST]SELECT runner_s__up FROM table_name_50 WHERE premiered = "march 25, 2002"</s>
CREATE TABLE table_2876467_3 (second_place INTEGER, region_represented VARCHAR)
SELECT MAX(second_place) FROM table_2876467_3 WHERE region_represented = "Tajikistan"
What is the maximum number of 2nd places for Tajikistan?
<s>[INST]What is the maximum number of 2nd places for Tajikistan? Context: CREATE TABLE table_2876467_3 (second_place INTEGER, region_represented VARCHAR)[/INST]SELECT MAX(second_place) FROM table_2876467_3 WHERE region_represented = "Tajikistan"</s>
CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR, player VARCHAR)
SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos"
What is Far Eastern College Johnny Abarrientos' Pick number?
<s>[INST]What is Far Eastern College Johnny Abarrientos' Pick number? Context: CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos"</s>
CREATE TABLE table_name_98 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_98 WHERE tournament = "wgc-accenture match play championship"
What is the margin of victory in WGC-Accenture Match Play Championship?
<s>[INST]What is the margin of victory in WGC-Accenture Match Play Championship? Context: CREATE TABLE table_name_98 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_98 WHERE tournament = "wgc-accenture match play championship"</s>
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)
SELECT proto_austronesian FROM table_15568886_14 WHERE proto_oceanic = "*pine, *papine"
Name the proto-austrronesian for *pine, *papine
<s>[INST]Name the proto-austrronesian for *pine, *papine Context: CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)[/INST]SELECT proto_austronesian FROM table_15568886_14 WHERE proto_oceanic = "*pine, *papine"</s>
CREATE TABLE table_name_31 (total INTEGER, league_cup INTEGER)
SELECT SUM(total) FROM table_name_31 WHERE league_cup < 0
League Cup smaller than 0 is what sum of the total?
<s>[INST]League Cup smaller than 0 is what sum of the total? Context: CREATE TABLE table_name_31 (total INTEGER, league_cup INTEGER)[/INST]SELECT SUM(total) FROM table_name_31 WHERE league_cup < 0</s>
CREATE TABLE table_name_33 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_33 WHERE format = "stereo lp"
What was the date for a catalog formatted in stereo LP?
<s>[INST]What was the date for a catalog formatted in stereo LP? Context: CREATE TABLE table_name_33 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE format = "stereo lp"</s>
CREATE TABLE table_25987797_1 (location VARCHAR, school VARCHAR)
SELECT location FROM table_25987797_1 WHERE school = "Lucas"
What is the name of the school in Lucas ?
<s>[INST]What is the name of the school in Lucas ? Context: CREATE TABLE table_25987797_1 (location VARCHAR, school VARCHAR)[/INST]SELECT location FROM table_25987797_1 WHERE school = "Lucas"</s>
CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR)
SELECT MAX(points) FROM table_name_88 WHERE difference = "1" AND drawn = 0
What is the high point total associated with a difference of 1 and 0 draws?
<s>[INST]What is the high point total associated with a difference of 1 and 0 draws? Context: CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR)[/INST]SELECT MAX(points) FROM table_name_88 WHERE difference = "1" AND drawn = 0</s>
CREATE TABLE table_name_93 (position VARCHAR, wins VARCHAR, season VARCHAR)
SELECT position FROM table_name_93 WHERE wins = "1" AND season = "2009"
What was his position in 2009 with 1 win?
<s>[INST]What was his position in 2009 with 1 win? Context: CREATE TABLE table_name_93 (position VARCHAR, wins VARCHAR, season VARCHAR)[/INST]SELECT position FROM table_name_93 WHERE wins = "1" AND season = "2009"</s>
CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_73 WHERE home_team = "wycombe wanderers"
What was the score for the game where the home team was Wycombe Wanderers?
<s>[INST]What was the score for the game where the home team was Wycombe Wanderers? Context: CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_73 WHERE home_team = "wycombe wanderers"</s>
CREATE TABLE table_name_61 (kicks VARCHAR, games VARCHAR)
SELECT kicks FROM table_name_61 WHERE games = "7"
How many kicks did he get in the year when he played 7 games?
<s>[INST]How many kicks did he get in the year when he played 7 games? Context: CREATE TABLE table_name_61 (kicks VARCHAR, games VARCHAR)[/INST]SELECT kicks FROM table_name_61 WHERE games = "7"</s>
CREATE TABLE table_name_75 (points INTEGER, difference VARCHAR, lost VARCHAR)
SELECT SUM(points) FROM table_name_75 WHERE difference = "13" AND lost > 3
What was the total number of Points when the value Difference was 13, and when the value Lost was greater than 3?
<s>[INST]What was the total number of Points when the value Difference was 13, and when the value Lost was greater than 3? Context: CREATE TABLE table_name_75 (points INTEGER, difference VARCHAR, lost VARCHAR)[/INST]SELECT SUM(points) FROM table_name_75 WHERE difference = "13" AND lost > 3</s>
CREATE TABLE table_28089666_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_28089666_1 WHERE production_code = "5.05"
What original air date was the episode with production code of 5.05?
<s>[INST]What original air date was the episode with production code of 5.05? Context: CREATE TABLE table_28089666_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_28089666_1 WHERE production_code = "5.05"</s>
CREATE TABLE table_name_41 (engine VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_41 WHERE chassis = "lotus 49c"
Which engine has a Lotus 49c chassis?
<s>[INST]Which engine has a Lotus 49c chassis? Context: CREATE TABLE table_name_41 (engine VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_41 WHERE chassis = "lotus 49c"</s>
CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_32 WHERE notes = "am"
Which venue has a note of AM?
<s>[INST]Which venue has a note of AM? Context: CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)[/INST]SELECT venue FROM table_name_32 WHERE notes = "am"</s>
CREATE TABLE table_name_42 (name VARCHAR, moving_from VARCHAR, type VARCHAR)
SELECT name FROM table_name_42 WHERE moving_from = "treviso" AND type = "loan return"
Who is moving from Treviso with a loan return?
<s>[INST]Who is moving from Treviso with a loan return? Context: CREATE TABLE table_name_42 (name VARCHAR, moving_from VARCHAR, type VARCHAR)[/INST]SELECT name FROM table_name_42 WHERE moving_from = "treviso" AND type = "loan return"</s>
CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR)
SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice"
What are all the week # where subject matter is auditioner's choice
<s>[INST]What are all the week # where subject matter is auditioner's choice Context: CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR)[/INST]SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice"</s>
CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_94 WHERE record = "0-12"
What was the opponent of the game when the reocrd was 0-12?
<s>[INST]What was the opponent of the game when the reocrd was 0-12? Context: CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_94 WHERE record = "0-12"</s>
CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf"
List all candidates in the democratic party where the election had the incumbent Frank Chelf running.
<s>[INST]List all candidates in the democratic party where the election had the incumbent Frank Chelf running. Context: CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf"</s>
CREATE TABLE table_name_25 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_25 WHERE date = "22 september"
What report happened on 22 september?
<s>[INST]What report happened on 22 september? Context: CREATE TABLE table_name_25 (report VARCHAR, date VARCHAR)[/INST]SELECT report FROM table_name_25 WHERE date = "22 september"</s>
CREATE TABLE table_name_70 (event VARCHAR, round VARCHAR, record VARCHAR)
SELECT event FROM table_name_70 WHERE round = "1" AND record = "2–0"
Which Event has a Round of 1, and a Record of 2–0?
<s>[INST]Which Event has a Round of 1, and a Record of 2–0? Context: CREATE TABLE table_name_70 (event VARCHAR, round VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_70 WHERE round = "1" AND record = "2–0"</s>
CREATE TABLE table_10568553_1 (street_names VARCHAR, milepost VARCHAR)
SELECT street_names FROM table_10568553_1 WHERE milepost = "12.2"
Which street is 12.2 miles long?
<s>[INST]Which street is 12.2 miles long? Context: CREATE TABLE table_10568553_1 (street_names VARCHAR, milepost VARCHAR)[/INST]SELECT street_names FROM table_10568553_1 WHERE milepost = "12.2"</s>
CREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR)
SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469
How many vap values are associated with 140469 valid votes?
<s>[INST]How many vap values are associated with 140469 valid votes? Context: CREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR)[/INST]SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469</s>
CREATE TABLE table_name_2 (no_result VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT no_result FROM table_name_2 WHERE wins < 2 AND losses > 1
WHAT kind of No Result has Wins smaller than 2, and Losses larger than 1?
<s>[INST]WHAT kind of No Result has Wins smaller than 2, and Losses larger than 1? Context: CREATE TABLE table_name_2 (no_result VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT no_result FROM table_name_2 WHERE wins < 2 AND losses > 1</s>
CREATE TABLE table_name_7 (nation VARCHAR, cyclist VARCHAR)
SELECT nation FROM table_name_7 WHERE cyclist = "danilo di luca"
Which nation is Danilo di Luca from?
<s>[INST]Which nation is Danilo di Luca from? Context: CREATE TABLE table_name_7 (nation VARCHAR, cyclist VARCHAR)[/INST]SELECT nation FROM table_name_7 WHERE cyclist = "danilo di luca"</s>
CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_57 WHERE date = "april 1"
What was the record on April 1?
<s>[INST]What was the record on April 1? Context: CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE date = "april 1"</s>
CREATE TABLE table_22962745_12 (league_finish VARCHAR, w VARCHAR)
SELECT league_finish FROM table_22962745_12 WHERE w = 11
Name the league finish for w being 11
<s>[INST]Name the league finish for w being 11 Context: CREATE TABLE table_22962745_12 (league_finish VARCHAR, w VARCHAR)[/INST]SELECT league_finish FROM table_22962745_12 WHERE w = 11</s>
CREATE TABLE table_name_45 (weight VARCHAR, name VARCHAR)
SELECT weight FROM table_name_45 WHERE name = "billy miller category:articles with hcards"
What is the Weight for the Name Billy Miller Category:Articles with hcards?
<s>[INST]What is the Weight for the Name Billy Miller Category:Articles with hcards? Context: CREATE TABLE table_name_45 (weight VARCHAR, name VARCHAR)[/INST]SELECT weight FROM table_name_45 WHERE name = "billy miller category:articles with hcards"</s>
CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_1 WHERE date = "february 12"
which opponent is from February 12?
<s>[INST]which opponent is from February 12? Context: CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_1 WHERE date = "february 12"</s>
CREATE TABLE table_name_81 (frequency VARCHAR, power VARCHAR)
SELECT frequency FROM table_name_81 WHERE power = "900w"
What is the frequency with 900w power?
<s>[INST]What is the frequency with 900w power? Context: CREATE TABLE table_name_81 (frequency VARCHAR, power VARCHAR)[/INST]SELECT frequency FROM table_name_81 WHERE power = "900w"</s>
CREATE TABLE table_17323042_6 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_17323042_6 WHERE date = "December 17"
Who had the high points on December 17?
<s>[INST]Who had the high points on December 17? Context: CREATE TABLE table_17323042_6 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17323042_6 WHERE date = "December 17"</s>
CREATE TABLE table_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT player FROM table_2850912_12 WHERE college_junior_club_team = "Brynäs IF (Sweden)"
List the players for team brynäs if (sweden).
<s>[INST]List the players for team brynäs if (sweden). Context: CREATE TABLE table_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT player FROM table_2850912_12 WHERE college_junior_club_team = "Brynäs IF (Sweden)"</s>
CREATE TABLE table_name_31 (written_by VARCHAR, originalairdate VARCHAR)
SELECT written_by FROM table_name_31 WHERE originalairdate = "25 april 1993"
What is Written By, when Originalairdate is 25 April 1993?
<s>[INST]What is Written By, when Originalairdate is 25 April 1993? Context: CREATE TABLE table_name_31 (written_by VARCHAR, originalairdate VARCHAR)[/INST]SELECT written_by FROM table_name_31 WHERE originalairdate = "25 april 1993"</s>
CREATE TABLE table_name_39 (city VARCHAR, results¹ VARCHAR)
SELECT city FROM table_name_39 WHERE results¹ = "1:2"
What City had Results¹ of 1:2?
<s>[INST]What City had Results¹ of 1:2? Context: CREATE TABLE table_name_39 (city VARCHAR, results¹ VARCHAR)[/INST]SELECT city FROM table_name_39 WHERE results¹ = "1:2"</s>
CREATE TABLE table_name_52 (sspec_number VARCHAR, frequency VARCHAR)
SELECT sspec_number FROM table_name_52 WHERE frequency = "1ghz"
What is the sSpec Number of the model with a 1ghz frequency?
<s>[INST]What is the sSpec Number of the model with a 1ghz frequency? Context: CREATE TABLE table_name_52 (sspec_number VARCHAR, frequency VARCHAR)[/INST]SELECT sspec_number FROM table_name_52 WHERE frequency = "1ghz"</s>
CREATE TABLE table_name_39 (competition VARCHAR, man_of_the_match VARCHAR)
SELECT competition FROM table_name_39 WHERE man_of_the_match = "rick plant"
Rick Plant was the man of the match in what competition?
<s>[INST]Rick Plant was the man of the match in what competition? Context: CREATE TABLE table_name_39 (competition VARCHAR, man_of_the_match VARCHAR)[/INST]SELECT competition FROM table_name_39 WHERE man_of_the_match = "rick plant"</s>
CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, country VARCHAR)
SELECT remittances_2010 FROM table_2941963_1 WHERE country = "Nigeria"
how many remittances in 2010 for nigeria?
<s>[INST]how many remittances in 2010 for nigeria? Context: CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, country VARCHAR)[/INST]SELECT remittances_2010 FROM table_2941963_1 WHERE country = "Nigeria"</s>
CREATE TABLE table_2263152_1 (release_date VARCHAR, version VARCHAR)
SELECT release_date FROM table_2263152_1 WHERE version = "1.5a"
With the version of 1.5a, what is the release date?
<s>[INST]With the version of 1.5a, what is the release date? Context: CREATE TABLE table_2263152_1 (release_date VARCHAR, version VARCHAR)[/INST]SELECT release_date FROM table_2263152_1 WHERE version = "1.5a"</s>
CREATE TABLE table_1342256_6 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_1342256_6 WHERE first_elected = "1926"
what's the party with first elected being 1926
<s>[INST]what's the party with first elected being 1926 Context: CREATE TABLE table_1342256_6 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_1342256_6 WHERE first_elected = "1926"</s>
CREATE TABLE table_13505192_3 (production_code INTEGER, season_number VARCHAR)
SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 8
What is the production code for season episode 8?
<s>[INST]What is the production code for season episode 8? Context: CREATE TABLE table_13505192_3 (production_code INTEGER, season_number VARCHAR)[/INST]SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 8</s>
CREATE TABLE table_10812938_3 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_10812938_3 WHERE cfl_team = "Winnipeg Blue Bombers"
What is the position for the player with cfl team Winnipeg blue bombers?
<s>[INST]What is the position for the player with cfl team Winnipeg blue bombers? Context: CREATE TABLE table_10812938_3 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_10812938_3 WHERE cfl_team = "Winnipeg Blue Bombers"</s>
CREATE TABLE table_12834315_1 (muzzle_device VARCHAR, hand_guards VARCHAR)
SELECT muzzle_device FROM table_12834315_1 WHERE hand_guards = "Round"
What's the type of muzzle devices on the models with round hand guards?
<s>[INST]What's the type of muzzle devices on the models with round hand guards? Context: CREATE TABLE table_12834315_1 (muzzle_device VARCHAR, hand_guards VARCHAR)[/INST]SELECT muzzle_device FROM table_12834315_1 WHERE hand_guards = "Round"</s>
CREATE TABLE table_name_95 (studio VARCHAR, director_s_ VARCHAR)
SELECT studio FROM table_name_95 WHERE director_s_ = "john lasseter and andrew stanton"
What studio has directors John Lasseter and Andrew Stanton?
<s>[INST]What studio has directors John Lasseter and Andrew Stanton? Context: CREATE TABLE table_name_95 (studio VARCHAR, director_s_ VARCHAR)[/INST]SELECT studio FROM table_name_95 WHERE director_s_ = "john lasseter and andrew stanton"</s>
CREATE TABLE table_21092427_1 (result VARCHAR, record VARCHAR)
SELECT result FROM table_21092427_1 WHERE record = "9-1"
Name the result for 9-1 record
<s>[INST]Name the result for 9-1 record Context: CREATE TABLE table_21092427_1 (result VARCHAR, record VARCHAR)[/INST]SELECT result FROM table_21092427_1 WHERE record = "9-1"</s>
CREATE TABLE table_name_99 (max_pressure VARCHAR, muzzle_energy VARCHAR)
SELECT max_pressure FROM table_name_99 WHERE muzzle_energy = "468ft•lbf (634 j)"
What is the max pressure for the 468ft•lbf (634 j) muzzle energy?
<s>[INST]What is the max pressure for the 468ft•lbf (634 j) muzzle energy? Context: CREATE TABLE table_name_99 (max_pressure VARCHAR, muzzle_energy VARCHAR)[/INST]SELECT max_pressure FROM table_name_99 WHERE muzzle_energy = "468ft•lbf (634 j)"</s>
CREATE TABLE table_name_35 (reg_gp VARCHAR, player VARCHAR)
SELECT COUNT(reg_gp) FROM table_name_35 WHERE player = "mattias ohlund"
How many reg GP for mattias ohlund?
<s>[INST]How many reg GP for mattias ohlund? Context: CREATE TABLE table_name_35 (reg_gp VARCHAR, player VARCHAR)[/INST]SELECT COUNT(reg_gp) FROM table_name_35 WHERE player = "mattias ohlund"</s>
CREATE TABLE table_21977627_1 (no INTEGER, chassis VARCHAR)
SELECT MIN(no) FROM table_21977627_1 WHERE chassis = "Maserati 4CL"
The Maserati 4cl's minimum no was?
<s>[INST]The Maserati 4cl's minimum no was? Context: CREATE TABLE table_21977627_1 (no INTEGER, chassis VARCHAR)[/INST]SELECT MIN(no) FROM table_21977627_1 WHERE chassis = "Maserati 4CL"</s>
CREATE TABLE table_name_50 (rounds VARCHAR, tyre VARCHAR, engine_† VARCHAR)
SELECT rounds FROM table_name_50 WHERE tyre = "b" AND engine_† = "ferrari 053"
What are the rounds for the B tyres and Ferrari 053 engine +?
<s>[INST]What are the rounds for the B tyres and Ferrari 053 engine +? Context: CREATE TABLE table_name_50 (rounds VARCHAR, tyre VARCHAR, engine_† VARCHAR)[/INST]SELECT rounds FROM table_name_50 WHERE tyre = "b" AND engine_† = "ferrari 053"</s>
CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR)
SELECT bulletins_to_all_contacts FROM table_name_43 WHERE transport_layer_security = "no" AND license = "proprietary" AND creator = "microsoft"
Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security?
<s>[INST]Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security? Context: CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR)[/INST]SELECT bulletins_to_all_contacts FROM table...
CREATE TABLE table_name_33 (season VARCHAR, location VARCHAR, winners VARCHAR)
SELECT season FROM table_name_33 WHERE location = "athens" AND winners = "panathinaikos"
Which season's winner is Panathinaikos and is located in Athens?
<s>[INST]Which season's winner is Panathinaikos and is located in Athens? Context: CREATE TABLE table_name_33 (season VARCHAR, location VARCHAR, winners VARCHAR)[/INST]SELECT season FROM table_name_33 WHERE location = "athens" AND winners = "panathinaikos"</s>
CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR)
SELECT location FROM table_22670216_1 WHERE winning_driver = "Bill Vukovich II"
What is the location is the winning driver is Bill Vukovich II?
<s>[INST]What is the location is the winning driver is Bill Vukovich II? Context: CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR)[/INST]SELECT location FROM table_22670216_1 WHERE winning_driver = "Bill Vukovich II"</s>
CREATE TABLE table_name_11 (final VARCHAR, no5 VARCHAR)
SELECT final FROM table_name_11 WHERE no5 = "simara"
What is the final result of the team that has Simara as No.5?
<s>[INST]What is the final result of the team that has Simara as No.5? Context: CREATE TABLE table_name_11 (final VARCHAR, no5 VARCHAR)[/INST]SELECT final FROM table_name_11 WHERE no5 = "simara"</s>
CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_81 WHERE record = "16-8-4"
What is the score of the game where the Rangers record was 16-8-4?
<s>[INST]What is the score of the game where the Rangers record was 16-8-4? Context: CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE record = "16-8-4"</s>
CREATE TABLE table_name_75 (bronze INTEGER, country VARCHAR, total VARCHAR)
SELECT SUM(bronze) FROM table_name_75 WHERE country = "malaysia" AND total < 2644
Which Bronze has a Country of malaysia, and a Total smaller than 2644?
<s>[INST]Which Bronze has a Country of malaysia, and a Total smaller than 2644? Context: CREATE TABLE table_name_75 (bronze INTEGER, country VARCHAR, total VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_75 WHERE country = "malaysia" AND total < 2644</s>
CREATE TABLE table_name_94 (result VARCHAR, association VARCHAR)
SELECT result FROM table_name_94 WHERE association = "primetime emmy awards"
Tell me the result for primetime emmy awards
<s>[INST]Tell me the result for primetime emmy awards Context: CREATE TABLE table_name_94 (result VARCHAR, association VARCHAR)[/INST]SELECT result FROM table_name_94 WHERE association = "primetime emmy awards"</s>
CREATE TABLE table_name_66 (nickname VARCHAR, founded VARCHAR)
SELECT nickname FROM table_name_66 WHERE founded = 1954
Which Nickname has Founded of 1954?
<s>[INST]Which Nickname has Founded of 1954? Context: CREATE TABLE table_name_66 (nickname VARCHAR, founded VARCHAR)[/INST]SELECT nickname FROM table_name_66 WHERE founded = 1954</s>
CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, number_of_screening VARCHAR)
SELECT award_winning_film FROM table_18220102_1 WHERE number_of_screening = "50 films 50 televised"
Which award-winning film has a screening number of 50 films 50 televised?
<s>[INST]Which award-winning film has a screening number of 50 films 50 televised? Context: CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, number_of_screening VARCHAR)[/INST]SELECT award_winning_film FROM table_18220102_1 WHERE number_of_screening = "50 films 50 televised"</s>
CREATE TABLE table_29281529_2 (iron_chef VARCHAR, challenger VARCHAR)
SELECT iron_chef FROM table_29281529_2 WHERE challenger = "Herb Faust"
Who was the iron chef when herb Faust was the challenger?
<s>[INST]Who was the iron chef when herb Faust was the challenger? Context: CREATE TABLE table_29281529_2 (iron_chef VARCHAR, challenger VARCHAR)[/INST]SELECT iron_chef FROM table_29281529_2 WHERE challenger = "Herb Faust"</s>
CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "may 12"
What is the team's record on may 12 when they play the giants?
<s>[INST]What is the team's record on may 12 when they play the giants? Context: CREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "may 12"</s>
CREATE TABLE table_name_28 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (24)"
What is the Visitor with a Leading scorer with rudy gay (24)?
<s>[INST]What is the Visitor with a Leading scorer with rudy gay (24)? Context: CREATE TABLE table_name_28 (visitor VARCHAR, leading_scorer VARCHAR)[/INST]SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (24)"</s>
CREATE TABLE table_name_15 (gender VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT gender FROM table_name_15 WHERE authority = "integrated" AND roll = 142
What was the gender for the integrated authority with a roll of 142?
<s>[INST]What was the gender for the integrated authority with a roll of 142? Context: CREATE TABLE table_name_15 (gender VARCHAR, authority VARCHAR, roll VARCHAR)[/INST]SELECT gender FROM table_name_15 WHERE authority = "integrated" AND roll = 142</s>
CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course VARCHAR, Course_ID VARCHAR)
SELECT T3.Name, T2.Course FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID ORDER BY T3.Name
Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.
<s>[INST]Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name. Context: CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course VARCHAR, Course_ID VARCHAR)...
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR)
SELECT AVG(T1.age), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_name
Find the average age of students living in each dorm and the name of dorm.
<s>[INST]Find the average age of students living in each dorm and the name of dorm. Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR)[/INST]SELECT AVG(T1.age), T3.dorm_name FROM student AS T1 JOIN live...
CREATE TABLE table_name_8 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_8 WHERE points = 8
What company made the chassis when there were 8 points?
<s>[INST]What company made the chassis when there were 8 points? Context: CREATE TABLE table_name_8 (chassis VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_8 WHERE points = 8</s>
CREATE TABLE table_name_11 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_11 WHERE grid < 17 AND laps < 52 AND driver = "olivier panis"
Which Constructor has a Grid less than 17, Laps under 52, and Olivier Panis as the Driver?
<s>[INST]Which Constructor has a Grid less than 17, Laps under 52, and Olivier Panis as the Driver? Context: CREATE TABLE table_name_11 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT constructor FROM table_name_11 WHERE grid < 17 AND laps < 52 AND driver = "olivier panis"</s>
CREATE TABLE table_name_86 (title VARCHAR, content VARCHAR, translation VARCHAR)
SELECT title FROM table_name_86 WHERE content = "mysticism, spiritualism" AND translation = "the minaret of light"
Which title has content including mysticism, spiritualism, and a translation of the minaret of light?
<s>[INST]Which title has content including mysticism, spiritualism, and a translation of the minaret of light? Context: CREATE TABLE table_name_86 (title VARCHAR, content VARCHAR, translation VARCHAR)[/INST]SELECT title FROM table_name_86 WHERE content = "mysticism, spiritualism" AND translation = "the minaret of light...
CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)
SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1 AND name = "per cock-clausen"
Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen?
<s>[INST]Can you tell me the Placings that hasthe Free smaller than 524.3, and the Total smaller than 1170.1, and the Name of per cock-clausen? Context: CREATE TABLE table_name_34 (placings VARCHAR, name VARCHAR, free VARCHAR, total VARCHAR)[/INST]SELECT placings FROM table_name_34 WHERE free < 524.3 AND total < 1170.1...
CREATE TABLE table_25851971_1 (no INTEGER, written_by VARCHAR)
SELECT MIN(no) FROM table_25851971_1 WHERE written_by = "Anthony Sparks"
What episode number was written by Anthony Sparks?
<s>[INST]What episode number was written by Anthony Sparks? Context: CREATE TABLE table_25851971_1 (no INTEGER, written_by VARCHAR)[/INST]SELECT MIN(no) FROM table_25851971_1 WHERE written_by = "Anthony Sparks"</s>
CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927
Who won in 1927
<s>[INST]Who won in 1927 Context: CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927</s>
CREATE TABLE table_name_6 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_6 WHERE player = "grant long"
In what Round was Grant Long Drafted?
<s>[INST]In what Round was Grant Long Drafted? Context: CREATE TABLE table_name_6 (round INTEGER, player VARCHAR)[/INST]SELECT MIN(round) FROM table_name_6 WHERE player = "grant long"</s>
CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR)
SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Beasts"
What is the pinyin for explaining beasts?
<s>[INST]What is the pinyin for explaining beasts? Context: CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR)[/INST]SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Beasts"</s>
CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)
SELECT height FROM table_28062822_3 WHERE represent = 6
What was the height of representative #6?
<s>[INST]What was the height of representative #6? Context: CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)[/INST]SELECT height FROM table_28062822_3 WHERE represent = 6</s>
CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR)
SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.4"
What is the area of the place that has a population density of 331.4?
<s>[INST]What is the area of the place that has a population density of 331.4? Context: CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR)[/INST]SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.4"</s>
CREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR)
SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"
Who is at rank 13 with 23 total points?
<s>[INST]Who is at rank 13 with 23 total points? Context: CREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR)[/INST]SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"</s>
CREATE TABLE table_name_29 (match_report VARCHAR, opponents VARCHAR, venue VARCHAR)
SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium"
What is the match report for the game played at forthbank stadium against stirling albion?
<s>[INST]What is the match report for the game played at forthbank stadium against stirling albion? Context: CREATE TABLE table_name_29 (match_report VARCHAR, opponents VARCHAR, venue VARCHAR)[/INST]SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium"</s>
CREATE TABLE table_name_47 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
SELECT railway_number_s_ FROM table_name_47 WHERE year_s__of_manufacture = "1905–1906"
What are the railway number(s) for year(s) of manufacture of 1905–1906?
<s>[INST]What are the railway number(s) for year(s) of manufacture of 1905–1906? Context: CREATE TABLE table_name_47 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)[/INST]SELECT railway_number_s_ FROM table_name_47 WHERE year_s__of_manufacture = "1905–1906"</s>
CREATE TABLE table_name_85 (manufacturer VARCHAR, quantity VARCHAR, lmmr_name VARCHAR)
SELECT manufacturer FROM table_name_85 WHERE quantity = 1 AND lmmr_name = "great mountain"
Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain?
<s>[INST]Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain? Context: CREATE TABLE table_name_85 (manufacturer VARCHAR, quantity VARCHAR, lmmr_name VARCHAR)[/INST]SELECT manufacturer FROM table_name_85 WHERE quantity = 1 AND lmmr_name = "great mountain"</s>
CREATE TABLE company (headquarters VARCHAR)
SELECT headquarters, COUNT(*) FROM company GROUP BY headquarters
List all headquarters and the number of companies in each headquarter.
<s>[INST]List all headquarters and the number of companies in each headquarter. Context: CREATE TABLE company (headquarters VARCHAR)[/INST]SELECT headquarters, COUNT(*) FROM company GROUP BY headquarters</s>
CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR, facID VARCHAR)
SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID GROUP BY T1.FacID ORDER BY COUNT(*) DESC LIMIT 1
What is the first and last name of the faculty participating in the most activities?
<s>[INST]What is the first and last name of the faculty participating in the most activities? Context: CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR, facID VARCHAR)[/INST]SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in A...
CREATE TABLE table_name_31 (class VARCHAR, vehicle VARCHAR, year VARCHAR)
SELECT class FROM table_name_31 WHERE vehicle = "nissan" AND year = 2007
Which class had a vehicle of Nissan in 2007?
<s>[INST]Which class had a vehicle of Nissan in 2007? Context: CREATE TABLE table_name_31 (class VARCHAR, vehicle VARCHAR, year VARCHAR)[/INST]SELECT class FROM table_name_31 WHERE vehicle = "nissan" AND year = 2007</s>
CREATE TABLE Research_Staff (staff_details VARCHAR)
SELECT staff_details FROM Research_Staff ORDER BY staff_details
List the research staff details, and order in ascending order.
<s>[INST]List the research staff details, and order in ascending order. Context: CREATE TABLE Research_Staff (staff_details VARCHAR)[/INST]SELECT staff_details FROM Research_Staff ORDER BY staff_details</s>
CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_86 WHERE score = 73 - 69 - 68 = 210
What place had a score of 73-69-68=210?
<s>[INST]What place had a score of 73-69-68=210? Context: CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_86 WHERE score = 73 - 69 - 68 = 210</s>
CREATE TABLE table_name_3 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)"
Which Attendance is the highest one that has a Loss of batista (4-5)?
<s>[INST]Which Attendance is the highest one that has a Loss of batista (4-5)? Context: CREATE TABLE table_name_3 (attendance INTEGER, loss VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)"</s>