context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_5 (points INTEGER, february INTEGER)
SELECT MIN(points) FROM table_name_5 WHERE february < 1
How many Points a February smaller than 1 have?
<s>[INST]How many Points a February smaller than 1 have? Context: CREATE TABLE table_name_5 (points INTEGER, february INTEGER)[/INST]SELECT MIN(points) FROM table_name_5 WHERE february < 1</s>
CREATE TABLE table_name_16 (Id VARCHAR)
SELECT 2005 FROM table_name_16 WHERE 2002 = "0–1"
What shows for 2005 when 2002 shows 0–1?
<s>[INST]What shows for 2005 when 2002 shows 0–1? Context: CREATE TABLE table_name_16 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_16 WHERE 2002 = "0–1"</s>
CREATE TABLE table_1266602_1 (_number INTEGER, owner_s_ VARCHAR)
SELECT MAX(_number) FROM table_1266602_1 WHERE owner_s_ = "Jeff Gordon"
What is the biggest number of the team who's owned by Jeff Gordon?
<s>[INST]What is the biggest number of the team who's owned by Jeff Gordon? Context: CREATE TABLE table_1266602_1 (_number INTEGER, owner_s_ VARCHAR)[/INST]SELECT MAX(_number) FROM table_1266602_1 WHERE owner_s_ = "Jeff Gordon"</s>
CREATE TABLE salary (team_id VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000
How many players were in the team Boston Red Stockings in 2000?
<s>[INST]How many players were in the team Boston Red Stockings in 2000? Context: CREATE TABLE salary (team_id VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)[/INST]SELECT COUNT(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1....
CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)
SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 1
How many division titles does the team with 23 playoff appearances and more than 1 conference titles have?
<s>[INST]How many division titles does the team with 23 playoff appearances and more than 1 conference titles have? Context: CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)[/INST]SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AN...
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)
SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910"
What wheel arrangement was made in 1910?
<s>[INST]What wheel arrangement was made in 1910? Context: CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910"</s>
CREATE TABLE payments (payment_date VARCHAR, amount_paid VARCHAR, payment_type_code VARCHAR)
SELECT payment_date FROM payments WHERE amount_paid > 300 OR payment_type_code = 'Check'
What are the payment date of the payment with amount paid higher than 300 or with payment type is 'Check'
<s>[INST]What are the payment date of the payment with amount paid higher than 300 or with payment type is 'Check' Context: CREATE TABLE payments (payment_date VARCHAR, amount_paid VARCHAR, payment_type_code VARCHAR)[/INST]SELECT payment_date FROM payments WHERE amount_paid > 300 OR payment_type_code = 'Check'</s>
CREATE TABLE table_name_84 (round VARCHAR, event VARCHAR)
SELECT round FROM table_name_84 WHERE event = "strikeforce: shamrock vs. diaz"
How many rounds did Brett go for the Strikeforce: Shamrock vs. Diaz match?
<s>[INST]How many rounds did Brett go for the Strikeforce: Shamrock vs. Diaz match? Context: CREATE TABLE table_name_84 (round VARCHAR, event VARCHAR)[/INST]SELECT round FROM table_name_84 WHERE event = "strikeforce: shamrock vs. diaz"</s>
CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR)
SELECT date FROM table_name_44 WHERE surface = "carpet (i)"
Which date has a Surface of carpet (i)?
<s>[INST]Which date has a Surface of carpet (i)? Context: CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR)[/INST]SELECT date FROM table_name_44 WHERE surface = "carpet (i)"</s>
CREATE TABLE table_name_53 (race VARCHAR)
SELECT race AS Winner FROM table_name_53 WHERE race = "australian grand prix"
Who won the australian grand prix?
<s>[INST]Who won the australian grand prix? Context: CREATE TABLE table_name_53 (race VARCHAR)[/INST]SELECT race AS Winner FROM table_name_53 WHERE race = "australian grand prix"</s>
CREATE TABLE table_name_70 (jockey VARCHAR, year VARCHAR, owner VARCHAR)
SELECT jockey FROM table_name_70 WHERE year < 2012 AND owner = "michael house"
What jockey rode for Michael House before 2012
<s>[INST]What jockey rode for Michael House before 2012 Context: CREATE TABLE table_name_70 (jockey VARCHAR, year VARCHAR, owner VARCHAR)[/INST]SELECT jockey FROM table_name_70 WHERE year < 2012 AND owner = "michael house"</s>
CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0
How many touchdowns are there that has field goals less than 0 and 0 extra points?
<s>[INST]How many touchdowns are there that has field goals less than 0 and 0 extra points? Context: CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)[/INST]SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = 0 AND field_goals < 0</s>
CREATE TABLE table_225093_4 (vacator VARCHAR, date_successor_seated VARCHAR)
SELECT COUNT(vacator) FROM table_225093_4 WHERE date_successor_seated = "October 22, 1808"
How many vacators have October 22, 1808 as date successor seated?
<s>[INST]How many vacators have October 22, 1808 as date successor seated? Context: CREATE TABLE table_225093_4 (vacator VARCHAR, date_successor_seated VARCHAR)[/INST]SELECT COUNT(vacator) FROM table_225093_4 WHERE date_successor_seated = "October 22, 1808"</s>
CREATE TABLE table_name_48 (results VARCHAR, first_elected INTEGER)
SELECT results FROM table_name_48 WHERE first_elected < 1982
What are the results of a first elected prior to year 1982?
<s>[INST]What are the results of a first elected prior to year 1982? Context: CREATE TABLE table_name_48 (results VARCHAR, first_elected INTEGER)[/INST]SELECT results FROM table_name_48 WHERE first_elected < 1982</s>
CREATE TABLE table_name_57 (time VARCHAR, nation VARCHAR, race VARCHAR)
SELECT time FROM table_name_57 WHERE nation = "kenya" AND race = "peachtree road race"
What is the time of the peachtree road race in kenya?
<s>[INST]What is the time of the peachtree road race in kenya? Context: CREATE TABLE table_name_57 (time VARCHAR, nation VARCHAR, race VARCHAR)[/INST]SELECT time FROM table_name_57 WHERE nation = "kenya" AND race = "peachtree road race"</s>
CREATE TABLE table_name_4 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_4 WHERE round = 6
What college/junior/club team had a player selected in round 6?
<s>[INST]What college/junior/club team had a player selected in round 6? Context: CREATE TABLE table_name_4 (college_junior_club_team__league_ VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_4 WHERE round = 6</s>
CREATE TABLE table_name_49 (blks INTEGER, stls VARCHAR, rebs VARCHAR)
SELECT SUM(blks) FROM table_name_49 WHERE stls = 1 AND rebs > 8.6
What is the sum of Blks, when Stls is 1, and when Rebs is greater than 8.6?
<s>[INST]What is the sum of Blks, when Stls is 1, and when Rebs is greater than 8.6? Context: CREATE TABLE table_name_49 (blks INTEGER, stls VARCHAR, rebs VARCHAR)[/INST]SELECT SUM(blks) FROM table_name_49 WHERE stls = 1 AND rebs > 8.6</s>
CREATE TABLE table_1594772_2 (s_no VARCHAR, match_date VARCHAR)
SELECT s_no FROM table_1594772_2 WHERE match_date = "Feb 27, 1996"
Name the numbers for date of feb 27, 1996
<s>[INST]Name the numbers for date of feb 27, 1996 Context: CREATE TABLE table_1594772_2 (s_no VARCHAR, match_date VARCHAR)[/INST]SELECT s_no FROM table_1594772_2 WHERE match_date = "Feb 27, 1996"</s>
CREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR)
SELECT rank FROM table_name_65 WHERE events = 31
What is the rank where the events is 31?
<s>[INST]What is the rank where the events is 31? Context: CREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR)[/INST]SELECT rank FROM table_name_65 WHERE events = 31</s>
CREATE TABLE table_name_21 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_21 WHERE rank = "11" AND gold < 0
What is the amount of silver for rank 11 having less than 0 gold?
<s>[INST]What is the amount of silver for rank 11 having less than 0 gold? Context: CREATE TABLE table_name_21 (silver INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_21 WHERE rank = "11" AND gold < 0</s>
CREATE TABLE table_24798489_2 (original_airdate VARCHAR, location VARCHAR)
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania"
How many dates originally aired episodes located in Philadelphia, pennsylvania?
<s>[INST]How many dates originally aired episodes located in Philadelphia, pennsylvania? Context: CREATE TABLE table_24798489_2 (original_airdate VARCHAR, location VARCHAR)[/INST]SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania"</s>
CREATE TABLE table_2054561_2 (first_place VARCHAR, no_of_weeks VARCHAR)
SELECT COUNT(first_place) FROM table_2054561_2 WHERE no_of_weeks = 6
Who took first place in week 6?
<s>[INST]Who took first place in week 6? Context: CREATE TABLE table_2054561_2 (first_place VARCHAR, no_of_weeks VARCHAR)[/INST]SELECT COUNT(first_place) FROM table_2054561_2 WHERE no_of_weeks = 6</s>
CREATE TABLE table_name_30 (socket VARCHAR, frequency VARCHAR, release_date VARCHAR)
SELECT socket FROM table_name_30 WHERE frequency = "2200mhz" AND release_date = "june 4, 2008"
Which Socket has a Frequency of 2200mhz, and a Release date on june 4, 2008?
<s>[INST]Which Socket has a Frequency of 2200mhz, and a Release date on june 4, 2008? Context: CREATE TABLE table_name_30 (socket VARCHAR, frequency VARCHAR, release_date VARCHAR)[/INST]SELECT socket FROM table_name_30 WHERE frequency = "2200mhz" AND release_date = "june 4, 2008"</s>
CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR)
SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 2009
Name the least podiums for 2009
<s>[INST]Name the least podiums for 2009 Context: CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR)[/INST]SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 2009</s>
CREATE TABLE table_name_17 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_17 WHERE icao = "rjss"
Which IATA's ICAO is rjss?
<s>[INST]Which IATA's ICAO is rjss? Context: CREATE TABLE table_name_17 (iata VARCHAR, icao VARCHAR)[/INST]SELECT iata FROM table_name_17 WHERE icao = "rjss"</s>
CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)
SELECT first_year_in_qld_cup FROM table_2383498_4 WHERE home_ground = "Corbett Park, Crosby Park, Lang Park, ANZ Stadium"
What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?
<s>[INST]What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium? Context: CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)[/INST]SELECT first_year_in_qld_cup FROM table_2383498_4 WHERE home_ground = "Corbett Park, Crosby Park, L...
CREATE TABLE table_13762472_7 (game VARCHAR, record VARCHAR)
SELECT game FROM table_13762472_7 WHERE record = "40-20"
How many games had the team played after they were 40-20?
<s>[INST]How many games had the team played after they were 40-20? Context: CREATE TABLE table_13762472_7 (game VARCHAR, record VARCHAR)[/INST]SELECT game FROM table_13762472_7 WHERE record = "40-20"</s>
CREATE TABLE table_19439814_1 (girl_group VARCHAR, studio_albums VARCHAR)
SELECT girl_group FROM table_19439814_1 WHERE studio_albums = 29
What group had 29 studio albums?
<s>[INST]What group had 29 studio albums? Context: CREATE TABLE table_19439814_1 (girl_group VARCHAR, studio_albums VARCHAR)[/INST]SELECT girl_group FROM table_19439814_1 WHERE studio_albums = 29</s>
CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)
SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id ORDER BY COUNT(*) DESC LIMIT 1
Show the name of track with most number of races.
<s>[INST]Show the name of track with most number of races. Context: CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR)[/INST]SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retired = "+ 2 laps"
How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps?
<s>[INST]How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps? Context: CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retired =...
CREATE TABLE table_name_91 (round INTEGER, school_club_team VARCHAR)
SELECT SUM(round) FROM table_name_91 WHERE school_club_team = "pan american"
How many rounds have School/club team of pan american?
<s>[INST]How many rounds have School/club team of pan american? Context: CREATE TABLE table_name_91 (round INTEGER, school_club_team VARCHAR)[/INST]SELECT SUM(round) FROM table_name_91 WHERE school_club_team = "pan american"</s>
CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)
SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "9 wpi"
Name the standard yarn weight system for 9 wpi
<s>[INST]Name the standard yarn weight system for 9 wpi Context: CREATE TABLE table_20297668_1 (standard_yarn_weight_system VARCHAR, wraps_per_inch__wpi_ VARCHAR)[/INST]SELECT standard_yarn_weight_system FROM table_20297668_1 WHERE wraps_per_inch__wpi_ = "9 wpi"</s>
CREATE TABLE table_25256368_1 (february_2010 VARCHAR, january_2010 VARCHAR)
SELECT february_2010 FROM table_25256368_1 WHERE january_2010 = "6.2%"
Name the feb 2010 for january 2010 for 6.2%
<s>[INST]Name the feb 2010 for january 2010 for 6.2% Context: CREATE TABLE table_25256368_1 (february_2010 VARCHAR, january_2010 VARCHAR)[/INST]SELECT february_2010 FROM table_25256368_1 WHERE january_2010 = "6.2%"</s>
CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR)
SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_cup_runner_up = "Colorado Rapids"
What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids?
<s>[INST]What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids? Context: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR)[/INST]SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_cup_runner_up = "Colorado Rapids"</s>
CREATE TABLE table_name_89 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_89 WHERE away_team = "north melbourne"
When did the game with North Melbourne as the away team take place?
<s>[INST]When did the game with North Melbourne as the away team take place? Context: CREATE TABLE table_name_89 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_89 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_name_20 (rank VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_20 WHERE gold > 0 AND bronze = 0 AND nation = "germany (ger)"
What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation?
<s>[INST]What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation? Context: CREATE TABLE table_name_20 (rank VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT rank FROM table_name_20 WHERE gold > 0 AND bronze = 0 AND nation = "germany (ger)"</s>
CREATE TABLE table_1139835_9 (runner_up VARCHAR, score VARCHAR)
SELECT runner_up FROM table_1139835_9 WHERE score = "9.12 (66) – 5.6 (36)"
Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)?
<s>[INST]Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)? Context: CREATE TABLE table_1139835_9 (runner_up VARCHAR, score VARCHAR)[/INST]SELECT runner_up FROM table_1139835_9 WHERE score = "9.12 (66) – 5.6 (36)"</s>
CREATE TABLE table_name_49 (website VARCHAR, head_coach VARCHAR)
SELECT website FROM table_name_49 WHERE head_coach = "yuriy korotkevich"
What is the Website of Head Coach Yuriy Korotkevich?
<s>[INST]What is the Website of Head Coach Yuriy Korotkevich? Context: CREATE TABLE table_name_49 (website VARCHAR, head_coach VARCHAR)[/INST]SELECT website FROM table_name_49 WHERE head_coach = "yuriy korotkevich"</s>
CREATE TABLE table_15420044_1 (team VARCHAR, difference VARCHAR)
SELECT team FROM table_15420044_1 WHERE difference = "8"
Which teams had a difference of 8 between goals scored and goals conceeded
<s>[INST]Which teams had a difference of 8 between goals scored and goals conceeded Context: CREATE TABLE table_15420044_1 (team VARCHAR, difference VARCHAR)[/INST]SELECT team FROM table_15420044_1 WHERE difference = "8"</s>
CREATE TABLE table_name_56 (overall INTEGER, name VARCHAR)
SELECT AVG(overall) FROM table_name_56 WHERE name = "mark fischer"
WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER?
<s>[INST]WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER? Context: CREATE TABLE table_name_56 (overall INTEGER, name VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_56 WHERE name = "mark fischer"</s>
CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR)
SELECT name FROM table_name_32 WHERE year = "2001"
Which Name was in the Year 2001?
<s>[INST]Which Name was in the Year 2001? Context: CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR)[/INST]SELECT name FROM table_name_32 WHERE year = "2001"</s>
CREATE TABLE table_name_48 (laps INTEGER, finish VARCHAR)
SELECT MIN(laps) FROM table_name_48 WHERE finish = "17"
How few laps were finished in 17?
<s>[INST]How few laps were finished in 17? Context: CREATE TABLE table_name_48 (laps INTEGER, finish VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_48 WHERE finish = "17"</s>
CREATE TABLE table_name_14 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_14 WHERE game = 4
What was the final score of Game #4?
<s>[INST]What was the final score of Game #4? Context: CREATE TABLE table_name_14 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_14 WHERE game = 4</s>
CREATE TABLE table_name_61 (total_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR)
SELECT total_area FROM table_name_61 WHERE outlet = "arkansas river" AND _percentage_in_state = "a021 100%"
What is the total area of the Arkansas River outlet with a % in-state of a021 100%?
<s>[INST]What is the total area of the Arkansas River outlet with a % in-state of a021 100%? Context: CREATE TABLE table_name_61 (total_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR)[/INST]SELECT total_area FROM table_name_61 WHERE outlet = "arkansas river" AND _percentage_in_state = "a021 100%"</s>
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)
SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.3
What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?
<s>[INST]What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3? Context: CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)[/INST]SELECT COUNT(length_feet) FROM table_name_...
CREATE TABLE table_name_51 (interview INTEGER, country VARCHAR, preliminary VARCHAR)
SELECT SUM(interview) FROM table_name_51 WHERE country = "illinois" AND preliminary < 8.558
What is the number for the interview in Illinois when the preliminary is less than 8.558?
<s>[INST]What is the number for the interview in Illinois when the preliminary is less than 8.558? Context: CREATE TABLE table_name_51 (interview INTEGER, country VARCHAR, preliminary VARCHAR)[/INST]SELECT SUM(interview) FROM table_name_51 WHERE country = "illinois" AND preliminary < 8.558</s>
CREATE TABLE table_name_86 (points INTEGER, place VARCHAR)
SELECT MIN(points) FROM table_name_86 WHERE place = 5
Name the fewest points of 5 place
<s>[INST]Name the fewest points of 5 place Context: CREATE TABLE table_name_86 (points INTEGER, place VARCHAR)[/INST]SELECT MIN(points) FROM table_name_86 WHERE place = 5</s>
CREATE TABLE table_name_37 (region VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_37 WHERE date = "april 30, 2004" AND catalog = "nebdj058"
What region is dated April 30, 2004, and cataloged Nebdj058?
<s>[INST]What region is dated April 30, 2004, and cataloged Nebdj058? Context: CREATE TABLE table_name_37 (region VARCHAR, date VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_37 WHERE date = "april 30, 2004" AND catalog = "nebdj058"</s>
CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR)
SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1
How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point?
<s>[INST]How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point? Context: CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR)[/INST]SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arr...
CREATE TABLE table_name_99 (payload__kg_ VARCHAR, in_service VARCHAR)
SELECT payload__kg_ FROM table_name_99 WHERE in_service = "2011"
Tell me the payload that has an In service for 2011
<s>[INST]Tell me the payload that has an In service for 2011 Context: CREATE TABLE table_name_99 (payload__kg_ VARCHAR, in_service VARCHAR)[/INST]SELECT payload__kg_ FROM table_name_99 WHERE in_service = "2011"</s>
CREATE TABLE table_name_38 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer"
what is the score for the tournament cagnes-sur-mer?
<s>[INST]what is the score for the tournament cagnes-sur-mer? Context: CREATE TABLE table_name_38 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer"</s>
CREATE TABLE table_26358264_2 (winning_aircraft VARCHAR, country VARCHAR)
SELECT winning_aircraft FROM table_26358264_2 WHERE country = "United Arab Emirates"
When united arab emirates is the country what is the winning aircraft?
<s>[INST]When united arab emirates is the country what is the winning aircraft? Context: CREATE TABLE table_26358264_2 (winning_aircraft VARCHAR, country VARCHAR)[/INST]SELECT winning_aircraft FROM table_26358264_2 WHERE country = "United Arab Emirates"</s>
CREATE TABLE table_name_40 (tc VARCHAR, wins VARCHAR, races VARCHAR)
SELECT tc FROM table_name_40 WHERE wins = 1 AND races = 21
Which T.C. has a Win of 1, and a Race of 21?
<s>[INST]Which T.C. has a Win of 1, and a Race of 21? Context: CREATE TABLE table_name_40 (tc VARCHAR, wins VARCHAR, races VARCHAR)[/INST]SELECT tc FROM table_name_40 WHERE wins = 1 AND races = 21</s>
CREATE TABLE table_name_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR)
SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3
What is the average wins of a team with more than 0 ples and less than 3 podiums?
<s>[INST]What is the average wins of a team with more than 0 ples and less than 3 podiums? Context: CREATE TABLE table_name_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3</s>
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, administrative_division VARCHAR)
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE administrative_division = "Bandung Regency"
What is the population density of bandung regency?
<s>[INST]What is the population density of bandung regency? Context: CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, administrative_division VARCHAR)[/INST]SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE administrative_division = "Bandung Regency"</s>
CREATE TABLE table_name_22 (apps INTEGER, level INTEGER)
SELECT MIN(apps) FROM table_name_22 WHERE level > 1
What is the lowest Apps with more than 1 level?
<s>[INST]What is the lowest Apps with more than 1 level? Context: CREATE TABLE table_name_22 (apps INTEGER, level INTEGER)[/INST]SELECT MIN(apps) FROM table_name_22 WHERE level > 1</s>
CREATE TABLE table_name_19 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_19 WHERE nationality = "bulgaria"
What's Bulgaria's lane?
<s>[INST]What's Bulgaria's lane? Context: CREATE TABLE table_name_19 (lane INTEGER, nationality VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_19 WHERE nationality = "bulgaria"</s>
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_56 WHERE venue = "arden street oval"
Which team's home is the Arden Street Oval?
<s>[INST]Which team's home is the Arden Street Oval? Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_56 WHERE venue = "arden street oval"</s>
CREATE TABLE table_name_45 (episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR)
SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball"
What episode had sumo ball for event 3 and the wall for event 4?
<s>[INST]What episode had sumo ball for event 3 and the wall for event 4? Context: CREATE TABLE table_name_45 (episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR)[/INST]SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball"</s>
CREATE TABLE table_name_82 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_82 WHERE date = "january 11"
Which Home is on january 11?
<s>[INST]Which Home is on january 11? Context: CREATE TABLE table_name_82 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_82 WHERE date = "january 11"</s>
CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, name VARCHAR)
SELECT COUNT(area__km²_) FROM table_28367242_1 WHERE name = "Armstrong"
How many Area's are there for Armstrong?
<s>[INST]How many Area's are there for Armstrong? Context: CREATE TABLE table_28367242_1 (area__km²_ VARCHAR, name VARCHAR)[/INST]SELECT COUNT(area__km²_) FROM table_28367242_1 WHERE name = "Armstrong"</s>
CREATE TABLE table_name_65 (pommel_horse VARCHAR, rank VARCHAR, vault VARCHAR)
SELECT COUNT(pommel_horse) FROM table_name_65 WHERE rank > 16 AND vault = 9.475
Name the total number of pommel horses for vault of 9.475 and rank more than 16
<s>[INST]Name the total number of pommel horses for vault of 9.475 and rank more than 16 Context: CREATE TABLE table_name_65 (pommel_horse VARCHAR, rank VARCHAR, vault VARCHAR)[/INST]SELECT COUNT(pommel_horse) FROM table_name_65 WHERE rank > 16 AND vault = 9.475</s>
CREATE TABLE table_14997324_5 (losses INTEGER, team VARCHAR)
SELECT MIN(losses) FROM table_14997324_5 WHERE team = "12 de Octubre"
How many losses did 12 de Octubre have ?
<s>[INST]How many losses did 12 de Octubre have ? Context: CREATE TABLE table_14997324_5 (losses INTEGER, team VARCHAR)[/INST]SELECT MIN(losses) FROM table_14997324_5 WHERE team = "12 de Octubre"</s>
CREATE TABLE table_name_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR)
SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes"
Which Sydney has Auckland cancelled and Perth yes?
<s>[INST]Which Sydney has Auckland cancelled and Perth yes? Context: CREATE TABLE table_name_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR)[/INST]SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes"</s>
CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR)
SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 5
In 2007, how many points were won when more than 5 matches were played?
<s>[INST]In 2007, how many points were won when more than 5 matches were played? Context: CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR)[/INST]SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 5</s>
CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR)
SELECT location FROM table_name_46 WHERE date_of_demolition = 1940 AND church_name = "christ church greyfriars"
What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars?
<s>[INST]What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars? Context: CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR)[/INST]SELECT location FROM table_name_46 WHERE date_of_demolition = 1940 AND church_name = "christ ...
CREATE TABLE table_name_66 (erp_w INTEGER, frequency_mhz VARCHAR)
SELECT SUM(erp_w) FROM table_name_66 WHERE frequency_mhz = "105.1 fm"
What does the ERP W sum equal for 105.1 fm frequency?
<s>[INST]What does the ERP W sum equal for 105.1 fm frequency? Context: CREATE TABLE table_name_66 (erp_w INTEGER, frequency_mhz VARCHAR)[/INST]SELECT SUM(erp_w) FROM table_name_66 WHERE frequency_mhz = "105.1 fm"</s>
CREATE TABLE table_name_30 (played INTEGER, lost VARCHAR, points VARCHAR)
SELECT MIN(played) FROM table_name_30 WHERE lost = 2 AND points > 13
What is the lowest number played with 2 losses and more than 13 points?
<s>[INST]What is the lowest number played with 2 losses and more than 13 points? Context: CREATE TABLE table_name_30 (played INTEGER, lost VARCHAR, points VARCHAR)[/INST]SELECT MIN(played) FROM table_name_30 WHERE lost = 2 AND points > 13</s>
CREATE TABLE table_14875671_1 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_14875671_1 WHERE attendance = 63995
What was the date when the attendance was 63995
<s>[INST]What was the date when the attendance was 63995 Context: CREATE TABLE table_14875671_1 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_14875671_1 WHERE attendance = 63995</s>
CREATE TABLE table_name_80 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_80 WHERE away_team = "north melbourne"
What is north melbourne's score as an away side?
<s>[INST]What is north melbourne's score as an away side? Context: CREATE TABLE table_name_80 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_80 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk"
What is the cfl team with ryan folk?
<s>[INST]What is the cfl team with ryan folk? Context: CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk"</s>
CREATE TABLE table_11545282_5 (player VARCHAR, no VARCHAR)
SELECT player FROM table_11545282_5 WHERE no = "53"
Which player is no. 53?
<s>[INST]Which player is no. 53? Context: CREATE TABLE table_11545282_5 (player VARCHAR, no VARCHAR)[/INST]SELECT player FROM table_11545282_5 WHERE no = "53"</s>
CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1"
who is the opponent when the method is tko (punches) at 4:26 of round 1?
<s>[INST]who is the opponent when the method is tko (punches) at 4:26 of round 1? Context: CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)[/INST]SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1"</s>
CREATE TABLE table_name_47 (earnings_per_share__p_ VARCHAR, year_ended VARCHAR)
SELECT earnings_per_share__p_ FROM table_name_47 WHERE year_ended = "2007"
What is the year 2007 earnings per share?
<s>[INST]What is the year 2007 earnings per share? Context: CREATE TABLE table_name_47 (earnings_per_share__p_ VARCHAR, year_ended VARCHAR)[/INST]SELECT earnings_per_share__p_ FROM table_name_47 WHERE year_ended = "2007"</s>
CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR)
SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5/8"
What is the voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010?
<s>[INST]What is the voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010? Context: CREATE TABLE table_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR)[/INST]SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5...
CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200)
When has a Winning score of –16 (70-65-65=200)?
<s>[INST]When has a Winning score of –16 (70-65-65=200)? Context: CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200)</s>
CREATE TABLE table_name_21 (position_in_table VARCHAR, replaced_by VARCHAR)
SELECT position_in_table FROM table_name_21 WHERE replaced_by = "sergio bueno"
What is Position in Table, when Replaced By is "Sergio Bueno"?
<s>[INST]What is Position in Table, when Replaced By is "Sergio Bueno"? Context: CREATE TABLE table_name_21 (position_in_table VARCHAR, replaced_by VARCHAR)[/INST]SELECT position_in_table FROM table_name_21 WHERE replaced_by = "sergio bueno"</s>
CREATE TABLE table_name_81 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_81 WHERE week = 5
What was week 5's result?
<s>[INST]What was week 5's result? Context: CREATE TABLE table_name_81 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_81 WHERE week = 5</s>
CREATE TABLE table_name_32 (losing_bonus VARCHAR, points VARCHAR)
SELECT losing_bonus FROM table_name_32 WHERE points = "0"
If the points were 0, what was the losing bonus?
<s>[INST]If the points were 0, what was the losing bonus? Context: CREATE TABLE table_name_32 (losing_bonus VARCHAR, points VARCHAR)[/INST]SELECT losing_bonus FROM table_name_32 WHERE points = "0"</s>
CREATE TABLE table_14850099_18 (cardinal_direction VARCHAR, planet VARCHAR)
SELECT cardinal_direction FROM table_14850099_18 WHERE planet = "Venus"
What is the cardinal direction associated with Venus?
<s>[INST]What is the cardinal direction associated with Venus? Context: CREATE TABLE table_14850099_18 (cardinal_direction VARCHAR, planet VARCHAR)[/INST]SELECT cardinal_direction FROM table_14850099_18 WHERE planet = "Venus"</s>
CREATE TABLE table_name_36 (control VARCHAR, labour_party VARCHAR)
SELECT control FROM table_name_36 WHERE labour_party = "12 (+6)"
Who was in control the year that Labour Party won 12 (+6) seats?
<s>[INST]Who was in control the year that Labour Party won 12 (+6) seats? Context: CREATE TABLE table_name_36 (control VARCHAR, labour_party VARCHAR)[/INST]SELECT control FROM table_name_36 WHERE labour_party = "12 (+6)"</s>
CREATE TABLE table_123462_2 (election VARCHAR, _number_of_seats_won VARCHAR)
SELECT election FROM table_123462_2 WHERE _number_of_seats_won = 65
What year was the election when the # of seats won was 65?
<s>[INST]What year was the election when the # of seats won was 65? Context: CREATE TABLE table_123462_2 (election VARCHAR, _number_of_seats_won VARCHAR)[/INST]SELECT election FROM table_123462_2 WHERE _number_of_seats_won = 65</s>
CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_80 WHERE competition = "pan american games"
Where were the Pan American Games held?
<s>[INST]Where were the Pan American Games held? Context: CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_80 WHERE competition = "pan american games"</s>
CREATE TABLE Student (advisor VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR)
SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE T2.fname = "Linda" AND T2.lname = "Smith"
What are the first name and last name of Linda Smith's advisor?
<s>[INST]What are the first name and last name of Linda Smith's advisor? Context: CREATE TABLE Student (advisor VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR)[/INST]SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor WHERE ...
CREATE TABLE table_1341604_11 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341604_11 WHERE district = "Georgia 4"
Name the party of georgia 4
<s>[INST]Name the party of georgia 4 Context: CREATE TABLE table_1341604_11 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341604_11 WHERE district = "Georgia 4"</s>
CREATE TABLE table_name_55 (win_percentage INTEGER, name VARCHAR)
SELECT SUM(win_percentage) FROM table_name_55 WHERE name = "red kelly"
Which Win percentage has a Name of red kelly?
<s>[INST]Which Win percentage has a Name of red kelly? Context: CREATE TABLE table_name_55 (win_percentage INTEGER, name VARCHAR)[/INST]SELECT SUM(win_percentage) FROM table_name_55 WHERE name = "red kelly"</s>
CREATE TABLE table_17503169_1 (democratic VARCHAR)
SELECT 2008 AS _status FROM table_17503169_1 WHERE democratic = "Glenn Nye"
What was the 2008 election status when glenn nye was the running democrat?
<s>[INST]What was the 2008 election status when glenn nye was the running democrat? Context: CREATE TABLE table_17503169_1 (democratic VARCHAR)[/INST]SELECT 2008 AS _status FROM table_17503169_1 WHERE democratic = "Glenn Nye"</s>
CREATE TABLE table_name_14 (location VARCHAR, stop VARCHAR, station VARCHAR)
SELECT location FROM table_name_14 WHERE stop = "l" AND station = "tamagaki"
What is the location of Tamagaki station with an l stop?
<s>[INST]What is the location of Tamagaki station with an l stop? Context: CREATE TABLE table_name_14 (location VARCHAR, stop VARCHAR, station VARCHAR)[/INST]SELECT location FROM table_name_14 WHERE stop = "l" AND station = "tamagaki"</s>
CREATE TABLE table_name_97 (height__m_ INTEGER, name VARCHAR, ave__no VARCHAR)
SELECT MIN(height__m_) FROM table_name_97 WHERE name = "plessur alps" AND ave__no > 63
Which Height (m) has a Name of plessur alps, and a AVE-No larger than 63?
<s>[INST]Which Height (m) has a Name of plessur alps, and a AVE-No larger than 63? Context: CREATE TABLE table_name_97 (height__m_ INTEGER, name VARCHAR, ave__no VARCHAR)[/INST]SELECT MIN(height__m_) FROM table_name_97 WHERE name = "plessur alps" AND ave__no > 63</s>
CREATE TABLE table_name_75 (total INTEGER, nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_75 WHERE bronze > 0 AND silver > 0 AND gold > 2 AND nation = "soviet union"
What is the average Total, when Bronze is greater than 0, when Silver is greater than 0, when Gold is greater than 2, and when Nation is Soviet Union?
<s>[INST]What is the average Total, when Bronze is greater than 0, when Silver is greater than 0, when Gold is greater than 2, and when Nation is Soviet Union? Context: CREATE TABLE table_name_75 (total INTEGER, nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_75 WHE...
CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR)
SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.12"
What's the number of the 1.0.12 release version?
<s>[INST]What's the number of the 1.0.12 release version? Context: CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR)[/INST]SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.12"</s>
CREATE TABLE mailshot_campaigns (product_category VARCHAR)
SELECT product_category, COUNT(*) FROM mailshot_campaigns GROUP BY product_category
Show all distinct product categories along with the number of mailshots in each category.
<s>[INST]Show all distinct product categories along with the number of mailshots in each category. Context: CREATE TABLE mailshot_campaigns (product_category VARCHAR)[/INST]SELECT product_category, COUNT(*) FROM mailshot_campaigns GROUP BY product_category</s>
CREATE TABLE table_name_13 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_13 WHERE venue = "junction oval"
What was the home team's score at the game held at Junction Oval?
<s>[INST]What was the home team's score at the game held at Junction Oval? Context: CREATE TABLE table_name_13 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_13 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR)
SELECT MAX(time) FROM table_name_64 WHERE nationality = "south africa" AND lane > 3
What is the most time for the swimmer from South Africa who was in a lane greater than 3?
<s>[INST]What is the most time for the swimmer from South Africa who was in a lane greater than 3? Context: CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR)[/INST]SELECT MAX(time) FROM table_name_64 WHERE nationality = "south africa" AND lane > 3</s>
CREATE TABLE table_name_72 (appointed_by VARCHAR, presentation_of_credentials VARCHAR)
SELECT appointed_by FROM table_name_72 WHERE presentation_of_credentials = "march 25, 1976"
Who appointed the representative that had a Presentation of Credentials on March 25, 1976?
<s>[INST]Who appointed the representative that had a Presentation of Credentials on March 25, 1976? Context: CREATE TABLE table_name_72 (appointed_by VARCHAR, presentation_of_credentials VARCHAR)[/INST]SELECT appointed_by FROM table_name_72 WHERE presentation_of_credentials = "march 25, 1976"</s>
CREATE TABLE table_19611329_1 (inducted_as VARCHAR, player VARCHAR)
SELECT inducted_as FROM table_19611329_1 WHERE player = "Joe Medwick Category:Articles with hCards"
Name the inducted as for joe medwick category:articles with hcards
<s>[INST]Name the inducted as for joe medwick category:articles with hcards Context: CREATE TABLE table_19611329_1 (inducted_as VARCHAR, player VARCHAR)[/INST]SELECT inducted_as FROM table_19611329_1 WHERE player = "Joe Medwick Category:Articles with hCards"</s>
CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Date_of_Birth VARCHAR, People_ID VARCHAR)
SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones"
What are the dates of birth of entrepreneurs with investor "Simon Woodroffe" or "Peter Jones"?
<s>[INST]What are the dates of birth of entrepreneurs with investor "Simon Woodroffe" or "Peter Jones"? Context: CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Date_of_Birth VARCHAR, People_ID VARCHAR)[/INST]SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.P...
CREATE TABLE table_14125006_1 (agency VARCHAR, astronaut VARCHAR)
SELECT agency FROM table_14125006_1 WHERE astronaut = "Anderson Clayton Anderson"
What agency does Anderson Clayton Anderson work for?
<s>[INST]What agency does Anderson Clayton Anderson work for? Context: CREATE TABLE table_14125006_1 (agency VARCHAR, astronaut VARCHAR)[/INST]SELECT agency FROM table_14125006_1 WHERE astronaut = "Anderson Clayton Anderson"</s>
CREATE TABLE table_name_54 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_54 WHERE record = "48-37"
Name the loss for 48-37
<s>[INST]Name the loss for 48-37 Context: CREATE TABLE table_name_54 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_54 WHERE record = "48-37"</s>
CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR)
SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Going My Way" AND category = "Best Supporting Actor"
Who was nominated for best supporting actor in the movie Going My Way?
<s>[INST]Who was nominated for best supporting actor in the movie Going My Way? Context: CREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR)[/INST]SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Going My Way" AND category = "Be...