context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_61 (party VARCHAR, district VARCHAR, delegate VARCHAR)
SELECT party FROM table_name_61 WHERE district = 41 AND delegate = "jill p. carter"
Which party belongs to district 41, and is delegated by Jill P. Carter?
<s>[INST]Which party belongs to district 41, and is delegated by Jill P. Carter? Context: CREATE TABLE table_name_61 (party VARCHAR, district VARCHAR, delegate VARCHAR)[/INST]SELECT party FROM table_name_61 WHERE district = 41 AND delegate = "jill p. carter"</s>
CREATE TABLE table_name_72 (race VARCHAR, flap VARCHAR, podium VARCHAR, season VARCHAR)
SELECT COUNT(race) FROM table_name_72 WHERE podium > 1 AND season = "1982" AND flap < 1
Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many number of races?
<s>[INST]Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many number of races? Context: CREATE TABLE table_name_72 (race VARCHAR, flap VARCHAR, podium VARCHAR, season VARCHAR)[/INST]SELECT COUNT(race) FROM table_name_72 WHERE podium > 1 AND season = "1982" AND flap < 1</s>
CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_29 WHERE total < 285 AND to_par > 1
Total smaller than 285, and a To par larger than 1 belongs to what player?
<s>[INST]Total smaller than 285, and a To par larger than 1 belongs to what player? Context: CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_29 WHERE total < 285 AND to_par > 1</s>
CREATE TABLE table_1302886_1 (others_number INTEGER, bush_percentage VARCHAR)
SELECT MAX(others_number) FROM table_1302886_1 WHERE bush_percentage = "57.0%"
What is the others# when bush% is 57.0%?
<s>[INST]What is the others# when bush% is 57.0%? Context: CREATE TABLE table_1302886_1 (others_number INTEGER, bush_percentage VARCHAR)[/INST]SELECT MAX(others_number) FROM table_1302886_1 WHERE bush_percentage = "57.0%"</s>
CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR, points VARCHAR)
SELECT MAX(attendance) FROM table_name_13 WHERE score = "4–3" AND points < 5
Which Attendance has a Score of 4–3, and Points smaller than 5?
<s>[INST]Which Attendance has a Score of 4–3, and Points smaller than 5? Context: CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR, points VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_13 WHERE score = "4–3" AND points < 5</s>
CREATE TABLE table_name_69 (date VARCHAR)
SELECT COUNT(1 AS st_prize___) AS $__ FROM table_name_69 WHERE date = "aug 17"
How many 1st prizes have a Date of aug 17?
<s>[INST]How many 1st prizes have a Date of aug 17? Context: CREATE TABLE table_name_69 (date VARCHAR)[/INST]SELECT COUNT(1 AS st_prize___) AS $__ FROM table_name_69 WHERE date = "aug 17"</s>
CREATE TABLE table_name_44 (mark VARCHAR, lane VARCHAR, country VARCHAR)
SELECT mark FROM table_name_44 WHERE lane > 2 AND country = "bahamas"
What is Mark, when Lane is greater than 2, and when Country is Bahamas?
<s>[INST]What is Mark, when Lane is greater than 2, and when Country is Bahamas? Context: CREATE TABLE table_name_44 (mark VARCHAR, lane VARCHAR, country VARCHAR)[/INST]SELECT mark FROM table_name_44 WHERE lane > 2 AND country = "bahamas"</s>
CREATE TABLE table_18662026_10 (parallel_bars VARCHAR, floor VARCHAR, horizontal_bar VARCHAR)
SELECT parallel_bars FROM table_18662026_10 WHERE floor = "14.175" AND horizontal_bar = "N/A"
If the horizontal bar is n/a and the floor is 14.175, what is the number for the parallel bars?
<s>[INST]If the horizontal bar is n/a and the floor is 14.175, what is the number for the parallel bars? Context: CREATE TABLE table_18662026_10 (parallel_bars VARCHAR, floor VARCHAR, horizontal_bar VARCHAR)[/INST]SELECT parallel_bars FROM table_18662026_10 WHERE floor = "14.175" AND horizontal_bar = "N/A"</s>
CREATE TABLE table_name_5 (laps INTEGER, bike VARCHAR, grid VARCHAR, time VARCHAR)
SELECT SUM(laps) FROM table_name_5 WHERE grid < 28 AND time = "retirement" AND bike = "ducati 1098 f08"
What is the sum of the laps with a grid less than 28, retirement time, and a ducati 1098 f08 bikes?
<s>[INST]What is the sum of the laps with a grid less than 28, retirement time, and a ducati 1098 f08 bikes? Context: CREATE TABLE table_name_5 (laps INTEGER, bike VARCHAR, grid VARCHAR, time VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_5 WHERE grid < 28 AND time = "retirement" AND bike = "ducati 1098 f08"</s>
CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)
SELECT position FROM table_27132791_3 WHERE college = "SMU"
If the college is SMU, what is the position?
<s>[INST]If the college is SMU, what is the position? Context: CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_27132791_3 WHERE college = "SMU"</s>
CREATE TABLE table_name_23 (draw INTEGER, lost VARCHAR)
SELECT SUM(draw) FROM table_name_23 WHERE lost = 5
For entries with a lost of 5, what is the sum of the draw entry?
<s>[INST]For entries with a lost of 5, what is the sum of the draw entry? Context: CREATE TABLE table_name_23 (draw INTEGER, lost VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_23 WHERE lost = 5</s>
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE venue = "kardinia park"
What was the home team's score at kardinia park?
<s>[INST]What was the home team's score at kardinia park? Context: CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_7 WHERE venue = "kardinia park"</s>
CREATE TABLE table_name_13 (driver VARCHAR, zan_1 VARCHAR)
SELECT driver FROM table_name_13 WHERE zan_1 = "19"
What driver has 19 as the zan 1?
<s>[INST]What driver has 19 as the zan 1? Context: CREATE TABLE table_name_13 (driver VARCHAR, zan_1 VARCHAR)[/INST]SELECT driver FROM table_name_13 WHERE zan_1 = "19"</s>
CREATE TABLE table_name_45 (apparent_magnitude INTEGER, ngc_number INTEGER)
SELECT SUM(apparent_magnitude) FROM table_name_45 WHERE ngc_number > 3293
What is the total of Apparent magnitudes for an NGC number larger than 3293?
<s>[INST]What is the total of Apparent magnitudes for an NGC number larger than 3293? Context: CREATE TABLE table_name_45 (apparent_magnitude INTEGER, ngc_number INTEGER)[/INST]SELECT SUM(apparent_magnitude) FROM table_name_45 WHERE ngc_number > 3293</s>
CREATE TABLE table_name_5 (date VARCHAR, result VARCHAR, competition VARCHAR)
SELECT date FROM table_name_5 WHERE result = "w" AND competition = "1968 asian cup"
Result of w, and a Competition of 1968 asian cup happened on what date?
<s>[INST]Result of w, and a Competition of 1968 asian cup happened on what date? Context: CREATE TABLE table_name_5 (date VARCHAR, result VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_5 WHERE result = "w" AND competition = "1968 asian cup"</s>
CREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR)
SELECT T3.name, T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id ORDER BY T1.register_year
Show all member names and registered branch names sorted by register year.
<s>[INST]Show all member names and registered branch names sorted by register year. Context: CREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR)[/INST]SELECT T3...
CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING AVG(Product_Price) < 1000000
What are the product names with average product price smaller than 1000000?
<s>[INST]What are the product names with average product price smaller than 1000000? Context: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)[/INST]SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING AVG(Product_Price) < 1000000</s>
CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)
SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss"
Name the first elected for lost renomination democratic loss
<s>[INST]Name the first elected for lost renomination democratic loss Context: CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)[/INST]SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss"</s>
CREATE TABLE problems (problem_id VARCHAR, date_problem_reported INTEGER)
SELECT problem_id FROM problems WHERE date_problem_reported < "1978-06-26"
What are the ids of the problems which are reported before 1978-06-26?
<s>[INST]What are the ids of the problems which are reported before 1978-06-26? Context: CREATE TABLE problems (problem_id VARCHAR, date_problem_reported INTEGER)[/INST]SELECT problem_id FROM problems WHERE date_problem_reported < "1978-06-26"</s>
CREATE TABLE Documents_with_expenses (document_id VARCHAR, budget_type_code VARCHAR)
SELECT document_id FROM Documents_with_expenses WHERE budget_type_code = 'SF'
What are the document ids for the budget type code 'SF'?
<s>[INST]What are the document ids for the budget type code 'SF'? Context: CREATE TABLE Documents_with_expenses (document_id VARCHAR, budget_type_code VARCHAR)[/INST]SELECT document_id FROM Documents_with_expenses WHERE budget_type_code = 'SF'</s>
CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR)
SELECT race_caller FROM table_22514845_5 WHERE s_host = "Jim McKay" AND reporters = "Howard Cosell"
Name the race caller for jim mckay and howard cosell
<s>[INST]Name the race caller for jim mckay and howard cosell Context: CREATE TABLE table_22514845_5 (race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR)[/INST]SELECT race_caller FROM table_22514845_5 WHERE s_host = "Jim McKay" AND reporters = "Howard Cosell"</s>
CREATE TABLE competition (Competition_type VARCHAR, Country VARCHAR)
SELECT Competition_type, Country FROM competition
What are the types and countries of competitions?
<s>[INST]What are the types and countries of competitions? Context: CREATE TABLE competition (Competition_type VARCHAR, Country VARCHAR)[/INST]SELECT Competition_type, Country FROM competition</s>
CREATE TABLE table_name_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR)
SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded = 18 AND played < 18
What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times?
<s>[INST]What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times? Context: CREATE TABLE table_name_17 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR)[/INST]SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded...
CREATE TABLE EMPLOYEE (city VARCHAR)
SELECT COUNT(DISTINCT city) FROM EMPLOYEE
How many distinct cities does the employees live in?
<s>[INST]How many distinct cities does the employees live in? Context: CREATE TABLE EMPLOYEE (city VARCHAR)[/INST]SELECT COUNT(DISTINCT city) FROM EMPLOYEE</s>
CREATE TABLE table_name_56 (nat VARCHAR, goals INTEGER)
SELECT nat FROM table_name_56 WHERE goals > 64
What is the nationality for the player with over 64 goals?
<s>[INST]What is the nationality for the player with over 64 goals? Context: CREATE TABLE table_name_56 (nat VARCHAR, goals INTEGER)[/INST]SELECT nat FROM table_name_56 WHERE goals > 64</s>
CREATE TABLE table_19534874_2 (indoor VARCHAR, wing VARCHAR)
SELECT indoor FROM table_19534874_2 WHERE wing = "NJ"
What is the indoor number for the NJ wing/
<s>[INST]What is the indoor number for the NJ wing/ Context: CREATE TABLE table_19534874_2 (indoor VARCHAR, wing VARCHAR)[/INST]SELECT indoor FROM table_19534874_2 WHERE wing = "NJ"</s>
CREATE TABLE table_name_22 (year VARCHAR, fleet_number VARCHAR)
SELECT year FROM table_name_22 WHERE fleet_number = "603"
Which year has a fleet number of 603?
<s>[INST]Which year has a fleet number of 603? Context: CREATE TABLE table_name_22 (year VARCHAR, fleet_number VARCHAR)[/INST]SELECT year FROM table_name_22 WHERE fleet_number = "603"</s>
CREATE TABLE table_name_67 (runner_up VARCHAR, date VARCHAR)
SELECT runner_up FROM table_name_67 WHERE date = "5 aug 1990"
Who was the runner-up on 5 aug 1990?
<s>[INST]Who was the runner-up on 5 aug 1990? Context: CREATE TABLE table_name_67 (runner_up VARCHAR, date VARCHAR)[/INST]SELECT runner_up FROM table_name_67 WHERE date = "5 aug 1990"</s>
CREATE TABLE table_11964154_11 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (11)"
What was the record when the high rebounds was from Nick Collison (11)?
<s>[INST]What was the record when the high rebounds was from Nick Collison (11)? Context: CREATE TABLE table_11964154_11 (record VARCHAR, high_rebounds VARCHAR)[/INST]SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (11)"</s>
CREATE TABLE table_name_96 (to_par VARCHAR, player VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_96 WHERE player = "hubert green" AND total > 291
WHAT IS THE TOTAL, OF A TO PAR FOR HUBERT GREEN, AND A TOTAL LARGER THAN 291?
<s>[INST]WHAT IS THE TOTAL, OF A TO PAR FOR HUBERT GREEN, AND A TOTAL LARGER THAN 291? Context: CREATE TABLE table_name_96 (to_par VARCHAR, player VARCHAR, total VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_96 WHERE player = "hubert green" AND total > 291</s>
CREATE TABLE table_1320857_1 (ht_brewer VARCHAR, je_armstrong VARCHAR)
SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "C.P. Greeks"
Who is h.t. brewer when je armstrong is c.p. greeks?
<s>[INST]Who is h.t. brewer when je armstrong is c.p. greeks? Context: CREATE TABLE table_1320857_1 (ht_brewer VARCHAR, je_armstrong VARCHAR)[/INST]SELECT ht_brewer FROM table_1320857_1 WHERE je_armstrong = "C.P. Greeks"</s>
CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup"
Which Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup?
<s>[INST]Which Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup? Context: CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup"</s>
CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR)
SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič"
What's Sara Isakovič's lane number that had a heat of 3?
<s>[INST]What's Sara Isakovič's lane number that had a heat of 3? Context: CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR)[/INST]SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič"</s>
CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR)
SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "2UR-FSE"
Name the drivetrain for 2ur-fse
<s>[INST]Name the drivetrain for 2ur-fse Context: CREATE TABLE table_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR)[/INST]SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "2UR-FSE"</s>
CREATE TABLE table_name_86 (number_of_electorates__2009_ INTEGER, district VARCHAR, constituency_number VARCHAR)
SELECT MAX(number_of_electorates__2009_) FROM table_name_86 WHERE district = "raisen" AND constituency_number = "142"
What was the highest number of 2009 electorates for Raisen when the consituency number was 142?
<s>[INST]What was the highest number of 2009 electorates for Raisen when the consituency number was 142? Context: CREATE TABLE table_name_86 (number_of_electorates__2009_ INTEGER, district VARCHAR, constituency_number VARCHAR)[/INST]SELECT MAX(number_of_electorates__2009_) FROM table_name_86 WHERE district = "raisen" A...
CREATE TABLE table_name_19 (decimal VARCHAR, max_memory__kwords_ VARCHAR, byte_string VARCHAR, memory_map VARCHAR)
SELECT decimal FROM table_name_19 WHERE byte_string = "standard" AND memory_map = "standard" AND max_memory__kwords_ = 512
What is the decimal value when the memory map and byte string are standard, and the max memory is 512?
<s>[INST]What is the decimal value when the memory map and byte string are standard, and the max memory is 512? Context: CREATE TABLE table_name_19 (decimal VARCHAR, max_memory__kwords_ VARCHAR, byte_string VARCHAR, memory_map VARCHAR)[/INST]SELECT decimal FROM table_name_19 WHERE byte_string = "standard" AND memory_ma...
CREATE TABLE table_name_10 (display_size__in_ INTEGER, model VARCHAR)
SELECT MIN(display_size__in_) FROM table_name_10 WHERE model = "versapro vy10f/bh-l"
Which Display size (in) has a Model of versapro vy10f/bh-l?
<s>[INST]Which Display size (in) has a Model of versapro vy10f/bh-l? Context: CREATE TABLE table_name_10 (display_size__in_ INTEGER, model VARCHAR)[/INST]SELECT MIN(display_size__in_) FROM table_name_10 WHERE model = "versapro vy10f/bh-l"</s>
CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR)
SELECT against FROM table_name_99 WHERE result = "3–6, 2–6"
Who was played against with a result of 3–6, 2–6?
<s>[INST]Who was played against with a result of 3–6, 2–6? Context: CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR)[/INST]SELECT against FROM table_name_99 WHERE result = "3–6, 2–6"</s>
CREATE TABLE table_255205_1 (joined VARCHAR, location VARCHAR)
SELECT COUNT(joined) FROM table_255205_1 WHERE location = "Franklin, Indiana"
How many inputs joined this institution located in Franklin, Indiana?
<s>[INST]How many inputs joined this institution located in Franklin, Indiana? Context: CREATE TABLE table_255205_1 (joined VARCHAR, location VARCHAR)[/INST]SELECT COUNT(joined) FROM table_255205_1 WHERE location = "Franklin, Indiana"</s>
CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT country FROM table_name_98 WHERE score > 69 AND player = "brian henninger"
Which country is Brian Henninger from, who had a score larger than 69?
<s>[INST]Which country is Brian Henninger from, who had a score larger than 69? Context: CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_98 WHERE score > 69 AND player = "brian henninger"</s>
CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR); CREATE TABLE results (driverid VARCHAR); CREATE TABLE pitstops (driverid VARCHAR)
SELECT T1.forename, T1.surname, T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 8 UNION SELECT T1.forename, T1.surname, T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 5
What are the drivers' first, last names and id who had more than 8 pit stops or participated in more than 5 race results?
<s>[INST]What are the drivers' first, last names and id who had more than 8 pit stops or participated in more than 5 race results? Context: CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR); CREATE TABLE results (driverid VARCHAR); CREATE TABLE pitstops (driverid VARCHAR)[/INST]SELECT T1.forena...
CREATE TABLE table_name_16 (outcome VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_16 WHERE surface = "hard (i)"
What was the Outcome of the match played on Hard (i) Surface?
<s>[INST]What was the Outcome of the match played on Hard (i) Surface? Context: CREATE TABLE table_name_16 (outcome VARCHAR, surface VARCHAR)[/INST]SELECT outcome FROM table_name_16 WHERE surface = "hard (i)"</s>
CREATE TABLE table_13259019_2 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_13259019_2 WHERE game_site = "Milwaukee County Stadium"
On what day was the team playing at milwaukee county stadium?
<s>[INST]On what day was the team playing at milwaukee county stadium? Context: CREATE TABLE table_13259019_2 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_13259019_2 WHERE game_site = "Milwaukee County Stadium"</s>
CREATE TABLE table_name_68 (year VARCHAR, runs VARCHAR)
SELECT year FROM table_name_68 WHERE runs = "144"
What was the year with runs of 144?
<s>[INST]What was the year with runs of 144? Context: CREATE TABLE table_name_68 (year VARCHAR, runs VARCHAR)[/INST]SELECT year FROM table_name_68 WHERE runs = "144"</s>
CREATE TABLE table_1342198_38 (party VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342198_38 WHERE first_elected = 1948 AND incumbent = "William T. Granahan"
What is the party for first elected 1948 for william t. granahan
<s>[INST]What is the party for first elected 1948 for william t. granahan Context: CREATE TABLE table_1342198_38 (party VARCHAR, first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342198_38 WHERE first_elected = 1948 AND incumbent = "William T. Granahan"</s>
CREATE TABLE table_name_34 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_34 WHERE team_2 = "toulouse fc (d1)"
What was team one name for the Team 2 of Toulouse Fc (d1)>?
<s>[INST]What was team one name for the Team 2 of Toulouse Fc (d1)>? Context: CREATE TABLE table_name_34 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_34 WHERE team_2 = "toulouse fc (d1)"</s>
CREATE TABLE table_1217448_1 (first_appearance VARCHAR, character_s_ VARCHAR)
SELECT first_appearance FROM table_1217448_1 WHERE character_s_ = "Iron Man"
what's the first appearance where character(s) is iron man
<s>[INST] what's the first appearance where character(s) is iron man Context: CREATE TABLE table_1217448_1 (first_appearance VARCHAR, character_s_ VARCHAR)[/INST]SELECT first_appearance FROM table_1217448_1 WHERE character_s_ = "Iron Man"</s>
CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)
SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk"
What date had a CD format, under Columbia/Legacy from the UK?
<s>[INST]What date had a CD format, under Columbia/Legacy from the UK? Context: CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk"</s>
CREATE TABLE table_name_1 (played VARCHAR, lost VARCHAR)
SELECT played FROM table_name_1 WHERE lost = "2"
What play has a loss of 2?
<s>[INST]What play has a loss of 2? Context: CREATE TABLE table_name_1 (played VARCHAR, lost VARCHAR)[/INST]SELECT played FROM table_name_1 WHERE lost = "2"</s>
CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_8 WHERE date = "january 15, 2005"
What score has january 15, 2005 as the date?
<s>[INST]What score has january 15, 2005 as the date? Context: CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE date = "january 15, 2005"</s>
CREATE TABLE table_1590967_6 (episode_number VARCHAR, coat_of_cash_wearing_celebrity VARCHAR)
SELECT COUNT(episode_number) FROM table_1590967_6 WHERE coat_of_cash_wearing_celebrity = "Matt Di Angelo"
Name the total number of episodes for coat of cash wearing celebrity is matt di angelo
<s>[INST]Name the total number of episodes for coat of cash wearing celebrity is matt di angelo Context: CREATE TABLE table_1590967_6 (episode_number VARCHAR, coat_of_cash_wearing_celebrity VARCHAR)[/INST]SELECT COUNT(episode_number) FROM table_1590967_6 WHERE coat_of_cash_wearing_celebrity = "Matt Di Angelo"</s>
CREATE TABLE table_15781170_2 (_number VARCHAR, poll_winner VARCHAR)
SELECT _number FROM table_15781170_2 WHERE poll_winner = "YouTube"
Name the # for youtube
<s>[INST]Name the # for youtube Context: CREATE TABLE table_15781170_2 (_number VARCHAR, poll_winner VARCHAR)[/INST]SELECT _number FROM table_15781170_2 WHERE poll_winner = "YouTube"</s>
CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR)
SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND lost > 16
I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16
<s>[INST]I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16 Context: CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR)[/INST]SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND lost > ...
CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)
SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = "The Racecourse"
What is the maximum fc matches at the racecourse?
<s>[INST]What is the maximum fc matches at the racecourse? Context: CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)[/INST]SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = "The Racecourse"</s>
CREATE TABLE table_name_60 (name VARCHAR, rank VARCHAR, placings VARCHAR)
SELECT name FROM table_name_60 WHERE rank > 3 AND placings = "64"
Who has a rank great than 3 and a placing of 64?
<s>[INST]Who has a rank great than 3 and a placing of 64? Context: CREATE TABLE table_name_60 (name VARCHAR, rank VARCHAR, placings VARCHAR)[/INST]SELECT name FROM table_name_60 WHERE rank > 3 AND placings = "64"</s>
CREATE TABLE table_name_44 (against INTEGER, date VARCHAR)
SELECT AVG(against) FROM table_name_44 WHERE date = "23/03/2002"
Can you tell me the average Against thaylt has the Date of 23/03/2002?
<s>[INST]Can you tell me the average Against thaylt has the Date of 23/03/2002? Context: CREATE TABLE table_name_44 (against INTEGER, date VARCHAR)[/INST]SELECT AVG(against) FROM table_name_44 WHERE date = "23/03/2002"</s>
CREATE TABLE table_name_70 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_70 WHERE school_club_team = "memphis"
What is the Player from Memphis?
<s>[INST]What is the Player from Memphis? Context: CREATE TABLE table_name_70 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_name_70 WHERE school_club_team = "memphis"</s>
CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR)
SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1"
What is the human gene that has a mouse ortholog of LIG1?
<s>[INST]What is the human gene that has a mouse ortholog of LIG1? Context: CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR)[/INST]SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1"</s>
CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no"
Which Sydney has Gold Coast no, Adelaide no< and Auckland no?
<s>[INST]Which Sydney has Gold Coast no, Adelaide no< and Auckland no? Context: CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)[/INST]SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no"</s>
CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_74 WHERE record = "55-41"
Who got the loss for the game ending in a record of 55-41?
<s>[INST]Who got the loss for the game ending in a record of 55-41? Context: CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_74 WHERE record = "55-41"</s>
CREATE TABLE table_23292220_7 (episode VARCHAR, seans_team VARCHAR)
SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman"
Name the episode for vic reeves and claudia winkleman
<s>[INST]Name the episode for vic reeves and claudia winkleman Context: CREATE TABLE table_23292220_7 (episode VARCHAR, seans_team VARCHAR)[/INST]SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman"</s>
CREATE TABLE table_name_14 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR, class VARCHAR)
SELECT peak FROM table_name_14 WHERE height__m_ > 619 AND class = "hewitt" AND prom__m_ = 148
Name the peak for height more than 619 and class of hewitt with prom being 148
<s>[INST]Name the peak for height more than 619 and class of hewitt with prom being 148 Context: CREATE TABLE table_name_14 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR, class VARCHAR)[/INST]SELECT peak FROM table_name_14 WHERE height__m_ > 619 AND class = "hewitt" AND prom__m_ = 148</s>
CREATE TABLE table_name_26 (genre VARCHAR, year_recorded VARCHAR)
SELECT genre FROM table_name_26 WHERE year_recorded = "1929"
What genre is the song recorded in 1929?
<s>[INST]What genre is the song recorded in 1929? Context: CREATE TABLE table_name_26 (genre VARCHAR, year_recorded VARCHAR)[/INST]SELECT genre FROM table_name_26 WHERE year_recorded = "1929"</s>
CREATE TABLE list (lastname VARCHAR, classroom VARCHAR)
SELECT lastname FROM list WHERE classroom = 111
Find the last names of students studying in room 111.
<s>[INST]Find the last names of students studying in room 111. Context: CREATE TABLE list (lastname VARCHAR, classroom VARCHAR)[/INST]SELECT lastname FROM list WHERE classroom = 111</s>
CREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_42 WHERE to_par = "+3" AND score = 74 - 71 - 68 = 213
Who is the player with a +3 to par and a 74-71-68=213 score?
<s>[INST]Who is the player with a +3 to par and a 74-71-68=213 score? Context: CREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE to_par = "+3" AND score = 74 - 71 - 68 = 213</s>
CREATE TABLE table_name_65 (opponent VARCHAR, field VARCHAR)
SELECT opponent FROM table_name_65 WHERE field = "multi-sport field"
What was the opponent for the game at Multi-sport Field?
<s>[INST]What was the opponent for the game at Multi-sport Field? Context: CREATE TABLE table_name_65 (opponent VARCHAR, field VARCHAR)[/INST]SELECT opponent FROM table_name_65 WHERE field = "multi-sport field"</s>
CREATE TABLE table_name_63 (team VARCHAR, pos VARCHAR, player VARCHAR)
SELECT team FROM table_name_63 WHERE pos = "f" AND player = "trey gilder"
What team does F Trey Gilder play for?
<s>[INST]What team does F Trey Gilder play for? Context: CREATE TABLE table_name_63 (team VARCHAR, pos VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_name_63 WHERE pos = "f" AND player = "trey gilder"</s>
CREATE TABLE table_name_98 (position VARCHAR, event VARCHAR, year VARCHAR)
SELECT position FROM table_name_98 WHERE event = "discus" AND year = 2013
What is the position for Discus in 2013?
<s>[INST]What is the position for Discus in 2013? Context: CREATE TABLE table_name_98 (position VARCHAR, event VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_98 WHERE event = "discus" AND year = 2013</s>
CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_1140103_6 WHERE circuit = "Solitudering"
What date has a solitudering circuit
<s>[INST]What date has a solitudering circuit Context: CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_1140103_6 WHERE circuit = "Solitudering"</s>
CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR)
SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24
Who are all the writers of episodes in season 24?
<s>[INST]Who are all the writers of episodes in season 24? Context: CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR)[/INST]SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24</s>
CREATE TABLE table_1405704_1 (season VARCHAR, winning_driver VARCHAR)
SELECT season FROM table_1405704_1 WHERE winning_driver = "Tom Sneva"
In what year did Tom Sneva win a race?
<s>[INST]In what year did Tom Sneva win a race? Context: CREATE TABLE table_1405704_1 (season VARCHAR, winning_driver VARCHAR)[/INST]SELECT season FROM table_1405704_1 WHERE winning_driver = "Tom Sneva"</s>
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 2001 FROM table_name_31 WHERE 2007 = "1r"
2007 of 1r is involved in what 2001?
<s>[INST]2007 of 1r is involved in what 2001? Context: CREATE TABLE table_name_31 (Id VARCHAR)[/INST]SELECT 2001 FROM table_name_31 WHERE 2007 = "1r"</s>
CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_15824796_3 WHERE original_air_date = "December 12, 1953"
What is the title of the episode that aired on december 12, 1953?
<s>[INST]What is the title of the episode that aired on december 12, 1953? Context: CREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_15824796_3 WHERE original_air_date = "December 12, 1953"</s>
CREATE TABLE table_name_50 (title VARCHAR, guest_performer VARCHAR, time VARCHAR)
SELECT title FROM table_name_50 WHERE guest_performer = "black ice" AND time = "5:49"
Which title has a Black Ice for a guest performer and a length of 5:49?
<s>[INST]Which title has a Black Ice for a guest performer and a length of 5:49? Context: CREATE TABLE table_name_50 (title VARCHAR, guest_performer VARCHAR, time VARCHAR)[/INST]SELECT title FROM table_name_50 WHERE guest_performer = "black ice" AND time = "5:49"</s>
CREATE TABLE table_name_1 (player VARCHAR, score VARCHAR, place VARCHAR)
SELECT player FROM table_name_1 WHERE score > 66 AND place = "t4"
What is the T4 Place Player with a Score of more than 66?
<s>[INST]What is the T4 Place Player with a Score of more than 66? Context: CREATE TABLE table_name_1 (player VARCHAR, score VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_1 WHERE score > 66 AND place = "t4"</s>
CREATE TABLE table_name_92 (date INTEGER, score_in_the_final VARCHAR)
SELECT SUM(date) FROM table_name_92 WHERE score_in_the_final = "6–4, 6–2"
How many Dates have a Score in the final of 6–4, 6–2?
<s>[INST]How many Dates have a Score in the final of 6–4, 6–2? Context: CREATE TABLE table_name_92 (date INTEGER, score_in_the_final VARCHAR)[/INST]SELECT SUM(date) FROM table_name_92 WHERE score_in_the_final = "6–4, 6–2"</s>
CREATE TABLE review (rating INTEGER, u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
SELECT T1.name, AVG(T2.rating) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id
For each user, return the name and the average rating of reviews given by them.
<s>[INST]For each user, return the name and the average rating of reviews given by them. Context: CREATE TABLE review (rating INTEGER, u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)[/INST]SELECT T1.name, AVG(T2.rating) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id</s>
CREATE TABLE table_11222744_2 (title VARCHAR, catalog_number VARCHAR)
SELECT title FROM table_11222744_2 WHERE catalog_number = "80809"
The Catalog number is 80809 what is the title?
<s>[INST]The Catalog number is 80809 what is the title? Context: CREATE TABLE table_11222744_2 (title VARCHAR, catalog_number VARCHAR)[/INST]SELECT title FROM table_11222744_2 WHERE catalog_number = "80809"</s>
CREATE TABLE table_name_41 (stadium VARCHAR, opponent VARCHAR)
SELECT stadium FROM table_name_41 WHERE opponent = "bye"
What was the Stadium against Bye?
<s>[INST]What was the Stadium against Bye? Context: CREATE TABLE table_name_41 (stadium VARCHAR, opponent VARCHAR)[/INST]SELECT stadium FROM table_name_41 WHERE opponent = "bye"</s>
CREATE TABLE table_name_37 (year INTEGER, team VARCHAR)
SELECT SUM(year) FROM table_name_37 WHERE team = "porsche kremer racing"
What's the total of Year that's got a Team of Porsche Kremer Racing?
<s>[INST]What's the total of Year that's got a Team of Porsche Kremer Racing? Context: CREATE TABLE table_name_37 (year INTEGER, team VARCHAR)[/INST]SELECT SUM(year) FROM table_name_37 WHERE team = "porsche kremer racing"</s>
CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER)
SELECT AVG(drawn) FROM table_name_29 WHERE games > 7
Which average Drawn has Games larger than 7?
<s>[INST]Which average Drawn has Games larger than 7? Context: CREATE TABLE table_name_29 (drawn INTEGER, games INTEGER)[/INST]SELECT AVG(drawn) FROM table_name_29 WHERE games > 7</s>
CREATE TABLE table_name_59 (country VARCHAR, prize VARCHAR, director_s_ VARCHAR)
SELECT country FROM table_name_59 WHERE prize = "¥300,000" AND director_s_ = "kota nagaoka"
Which country did the Director(s) of kota nagaoka come from and win ¥300,000?
<s>[INST]Which country did the Director(s) of kota nagaoka come from and win ¥300,000? Context: CREATE TABLE table_name_59 (country VARCHAR, prize VARCHAR, director_s_ VARCHAR)[/INST]SELECT country FROM table_name_59 WHERE prize = "¥300,000" AND director_s_ = "kota nagaoka"</s>
CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197)
What Tournament has a Winning score of −16 (66-64-67=197)?
<s>[INST]What Tournament has a Winning score of −16 (66-64-67=197)? Context: CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197)</s>
CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR)
SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 21"
What is the number of candidates for pennsylvania 21
<s>[INST]What is the number of candidates for pennsylvania 21 Context: CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 21"</s>
CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million"
Name the international tourist arrivals for arrivals 2011 for 8.1 million
<s>[INST]Name the international tourist arrivals for arrivals 2011 for 8.1 million Context: CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)[/INST]SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_ar...
CREATE TABLE table_name_31 (date VARCHAR, course VARCHAR)
SELECT date FROM table_name_31 WHERE course = "rome to naples"
On what date was the race course from Rome to Naples?
<s>[INST]On what date was the race course from Rome to Naples? Context: CREATE TABLE table_name_31 (date VARCHAR, course VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE course = "rome to naples"</s>
CREATE TABLE tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
Find the name and college of students whose decisions are yes in the tryout.
<s>[INST]Find the name and college of students whose decisions are yes in the tryout. Context: CREATE TABLE tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)[/INST]SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = '...
CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR)
SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall"
What episode took place in Belfast Waterfront Hall?
<s>[INST]What episode took place in Belfast Waterfront Hall? Context: CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR)[/INST]SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall"</s>
CREATE TABLE table_name_25 (city VARCHAR, event VARCHAR)
SELECT city FROM table_name_25 WHERE event = "ept german open"
The EPT German Open took place in what city?
<s>[INST]The EPT German Open took place in what city? Context: CREATE TABLE table_name_25 (city VARCHAR, event VARCHAR)[/INST]SELECT city FROM table_name_25 WHERE event = "ept german open"</s>
CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR)
SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2"
What is the total attendance at games with a score of 4-2?
<s>[INST]What is the total attendance at games with a score of 4-2? Context: CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2"</s>
CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_30 WHERE laps < 75 AND grid < 15 AND driver = "ronnie peterson"
What is the time/retired for ronnie peterson with under 75 laps and a grid under 15?
<s>[INST]What is the time/retired for ronnie peterson with under 75 laps and a grid under 15? Context: CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_30 WHERE laps < 75 AND grid < 15 AND driver = "ronnie peterson"</s>
CREATE TABLE table_name_18 (bodyweight VARCHAR, total__kg_ VARCHAR)
SELECT bodyweight FROM table_name_18 WHERE total__kg_ = "145.0"
Which bodyweight has a Total (kg) of 145.0?
<s>[INST]Which bodyweight has a Total (kg) of 145.0? Context: CREATE TABLE table_name_18 (bodyweight VARCHAR, total__kg_ VARCHAR)[/INST]SELECT bodyweight FROM table_name_18 WHERE total__kg_ = "145.0"</s>
CREATE TABLE table_19495707_1 (platforms VARCHAR, application VARCHAR)
SELECT platforms FROM table_19495707_1 WHERE application = "CityEngine"
Name the platforms for cityengine
<s>[INST]Name the platforms for cityengine Context: CREATE TABLE table_19495707_1 (platforms VARCHAR, application VARCHAR)[/INST]SELECT platforms FROM table_19495707_1 WHERE application = "CityEngine"</s>
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "14.1%"
What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?
<s>[INST]What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006? Context: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)[/INST]SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _perce...
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
Find the states where have some college students in tryout and their decisions are yes.
<s>[INST]Find the states where have some college students in tryout and their decisions are yes. Context: CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)[/INST]SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decisio...
CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)
SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = "texas state"
What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play?
<s>[INST]What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play? Context: CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 A...
CREATE TABLE table_name_67 (mazada VARCHAR, el_samurai VARCHAR)
SELECT mazada FROM table_name_67 WHERE el_samurai = "mazada (16:22)"
Name the MAZADA for El Samurai of mazada (16:22)
<s>[INST]Name the MAZADA for El Samurai of mazada (16:22) Context: CREATE TABLE table_name_67 (mazada VARCHAR, el_samurai VARCHAR)[/INST]SELECT mazada FROM table_name_67 WHERE el_samurai = "mazada (16:22)"</s>
CREATE TABLE table_name_22 (_number_of_constituency_votes INTEGER, election VARCHAR)
SELECT MAX(_number_of_constituency_votes) FROM table_name_22 WHERE election = 2005
What is the highest # Of Constituency Votes, when Election is 2005?
<s>[INST]What is the highest # Of Constituency Votes, when Election is 2005? Context: CREATE TABLE table_name_22 (_number_of_constituency_votes INTEGER, election VARCHAR)[/INST]SELECT MAX(_number_of_constituency_votes) FROM table_name_22 WHERE election = 2005</s>
CREATE TABLE table_name_66 (attendance VARCHAR, venue VARCHAR)
SELECT attendance FROM table_name_66 WHERE venue = "ryavallen"
Which Attendance that has a Venue of ryavallen?
<s>[INST]Which Attendance that has a Venue of ryavallen? Context: CREATE TABLE table_name_66 (attendance VARCHAR, venue VARCHAR)[/INST]SELECT attendance FROM table_name_66 WHERE venue = "ryavallen"</s>
CREATE TABLE table_name_21 (wins INTEGER, team VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_21 WHERE team = "olimpia" AND draws < 4
What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4?
<s>[INST]What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4? Context: CREATE TABLE table_name_21 (wins INTEGER, team VARCHAR, draws VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_21 WHERE team = "olimpia" AND draws < 4</s>