context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR)
SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = "2" AND fa_cup_apps = "3" AND league_goals = 3
what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3?
<s>[INST]what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3? Context: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR)[/INST]SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = "2" AND fa_cup_apps = "3" AND league_goals = 3</s>
CREATE TABLE table_15431251_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_15431251_1 WHERE no_in_season = 17
What is the original air date for episode 17 in the season?
<s>[INST]What is the original air date for episode 17 in the season? Context: CREATE TABLE table_15431251_1 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_15431251_1 WHERE no_in_season = 17</s>
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_26 WHERE decision = "parent" AND visitor = "philadelphia" AND date = "january 27"
Decision of parent, and a Visitor of Philadelphia, and a Date of January 27 had what score?
<s>[INST]Decision of parent, and a Visitor of Philadelphia, and a Date of January 27 had what score? Context: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_26 WHERE decision = "parent" AND visitor = "philadelphia" AND date = "january 27"</s>
CREATE TABLE table_name_20 (loss VARCHAR, opponent VARCHAR)
SELECT loss FROM table_name_20 WHERE opponent = "coyotes"
What was the loss from the coyotes as opponents?
<s>[INST]What was the loss from the coyotes as opponents? Context: CREATE TABLE table_name_20 (loss VARCHAR, opponent VARCHAR)[/INST]SELECT loss FROM table_name_20 WHERE opponent = "coyotes"</s>
CREATE TABLE table_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)
SELECT opponent_in_the_final FROM table_name_90 WHERE tournament = "lahore"
Who is the opponent in the Tournament of Lahore final?
<s>[INST]Who is the opponent in the Tournament of Lahore final? Context: CREATE TABLE table_name_90 (opponent_in_the_final VARCHAR, tournament VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_90 WHERE tournament = "lahore"</s>
CREATE TABLE table_name_30 (loses INTEGER, draws VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
SELECT MIN(loses) FROM table_name_30 WHERE goals_scored > 42 AND goals_conceded > 20 AND draws < 3
What is the lowest number of loses of the club with more than 42 goals scored, more than 20 goals conceded, and less than 3 draws?
<s>[INST]What is the lowest number of loses of the club with more than 42 goals scored, more than 20 goals conceded, and less than 3 draws? Context: CREATE TABLE table_name_30 (loses INTEGER, draws VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)[/INST]SELECT MIN(loses) FROM table_name_30 WHERE goals_scored > 42 AND goals_conceded > 20 AND draws < 3</s>
CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_13 WHERE rider = "chris swallow"
What is the Speed for Chris Swallow?
<s>[INST]What is the Speed for Chris Swallow? Context: CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR)[/INST]SELECT speed FROM table_name_13 WHERE rider = "chris swallow"</s>
CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"
What is the largest crowd at arden street oval?
<s>[INST]What is the largest crowd at arden street oval? Context: CREATE TABLE table_name_87 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_87 WHERE venue = "arden street oval"</s>
CREATE TABLE table_27277284_28 (ht VARCHAR, mult_1 VARCHAR)
SELECT ht FROM table_27277284_28 WHERE mult_1 = "10x"
How much ht does the model with 10x mult. 1 have?
<s>[INST]How much ht does the model with 10x mult. 1 have? Context: CREATE TABLE table_27277284_28 (ht VARCHAR, mult_1 VARCHAR)[/INST]SELECT ht FROM table_27277284_28 WHERE mult_1 = "10x"</s>
CREATE TABLE county_public_safety (Crime_rate VARCHAR, Police_officers VARCHAR)
SELECT Crime_rate FROM county_public_safety ORDER BY Police_officers
Show the crime rates of counties in ascending order of number of police officers.
<s>[INST]Show the crime rates of counties in ascending order of number of police officers. Context: CREATE TABLE county_public_safety (Crime_rate VARCHAR, Police_officers VARCHAR)[/INST]SELECT Crime_rate FROM county_public_safety ORDER BY Police_officers</s>
CREATE TABLE employees (department_id VARCHAR, salary INTEGER, commission_pct VARCHAR)
SELECT department_id, AVG(salary) FROM employees WHERE commission_pct <> "null" GROUP BY department_id
display the average salary of employees for each department who gets a commission percentage.
<s>[INST]display the average salary of employees for each department who gets a commission percentage. Context: CREATE TABLE employees (department_id VARCHAR, salary INTEGER, commission_pct VARCHAR)[/INST]SELECT department_id, AVG(salary) FROM employees WHERE commission_pct <> "null" GROUP BY department_id</s>
CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR)
SELECT COUNT(rank) FROM table_name_35 WHERE time = "8:23.02"
What is the Rank of the rower with a Time of 8:23.02?
<s>[INST]What is the Rank of the rower with a Time of 8:23.02? Context: CREATE TABLE table_name_35 (rank VARCHAR, time VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_35 WHERE time = "8:23.02"</s>
CREATE TABLE table_name_57 (ship_size VARCHAR)
SELECT ship_size FROM table_name_57 WHERE 2006 = "$31,750"
What ship size had a cargo value of $31,750 in 2006?
<s>[INST]What ship size had a cargo value of $31,750 in 2006? Context: CREATE TABLE table_name_57 (ship_size VARCHAR)[/INST]SELECT ship_size FROM table_name_57 WHERE 2006 = "$31,750"</s>
CREATE TABLE table_30120605_1 (civil_parish VARCHAR, townland VARCHAR)
SELECT civil_parish FROM table_30120605_1 WHERE townland = "Ballymacandrick"
In which civil parish is ballymacandrick?
<s>[INST]In which civil parish is ballymacandrick? Context: CREATE TABLE table_30120605_1 (civil_parish VARCHAR, townland VARCHAR)[/INST]SELECT civil_parish FROM table_30120605_1 WHERE townland = "Ballymacandrick"</s>
CREATE TABLE table_name_45 (skip VARCHAR, third VARCHAR)
SELECT skip FROM table_name_45 WHERE third = "tony angiboust"
Which Skip has a Third of tony angiboust?
<s>[INST]Which Skip has a Third of tony angiboust? Context: CREATE TABLE table_name_45 (skip VARCHAR, third VARCHAR)[/INST]SELECT skip FROM table_name_45 WHERE third = "tony angiboust"</s>
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_a VARCHAR)
SELECT segment_d FROM table_15187735_3 WHERE segment_a = "Combination Locks"
Name the segment d for combination locks
<s>[INST]Name the segment d for combination locks Context: CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_d FROM table_15187735_3 WHERE segment_a = "Combination Locks"</s>
CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)
SELECT horse FROM table_name_61 WHERE athlete = "britta näpel" AND result < 71.909
What horse was shown by with Britta Näpel and got less than 71.909?
<s>[INST]What horse was shown by with Britta Näpel and got less than 71.909? Context: CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)[/INST]SELECT horse FROM table_name_61 WHERE athlete = "britta näpel" AND result < 71.909</s>
CREATE TABLE table_name_68 (attendance VARCHAR, visitor VARCHAR)
SELECT attendance FROM table_name_68 WHERE visitor = "indiana"
How many people went to the game with Indiana visiting?
<s>[INST]How many people went to the game with Indiana visiting? Context: CREATE TABLE table_name_68 (attendance VARCHAR, visitor VARCHAR)[/INST]SELECT attendance FROM table_name_68 WHERE visitor = "indiana"</s>
CREATE TABLE table_2668329_18 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668329_18 WHERE incumbent = "Hutchins G. Burton"
Name the party for hutchins g. burton
<s>[INST]Name the party for hutchins g. burton Context: CREATE TABLE table_2668329_18 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668329_18 WHERE incumbent = "Hutchins G. Burton"</s>
CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_78 WHERE speed = "86.15mph"
Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?
<s>[INST]Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph? Context: CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR)[/INST]SELECT rider FROM table_name_78 WHERE speed = "86.15mph"</s>
CREATE TABLE table_name_50 (round INTEGER, name VARCHAR, overall VARCHAR)
SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118
What round did Mitch Davis, with an overall higher than 118, have?
<s>[INST]What round did Mitch Davis, with an overall higher than 118, have? Context: CREATE TABLE table_name_50 (round INTEGER, name VARCHAR, overall VARCHAR)[/INST]SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118</s>
CREATE TABLE table_name_36 (audience VARCHAR, episode VARCHAR)
SELECT audience FROM table_name_36 WHERE episode = "21"
What was the audience for Episode 21?
<s>[INST]What was the audience for Episode 21? Context: CREATE TABLE table_name_36 (audience VARCHAR, episode VARCHAR)[/INST]SELECT audience FROM table_name_36 WHERE episode = "21"</s>
CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_94 WHERE player = "jimmy demaret"
Where has Jimmy Demaret as a player?
<s>[INST]Where has Jimmy Demaret as a player? Context: CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_94 WHERE player = "jimmy demaret"</s>
CREATE TABLE museum (name VARCHAR, num_of_staff INTEGER, open_year INTEGER)
SELECT name FROM museum WHERE num_of_staff > (SELECT MIN(num_of_staff) FROM museum WHERE open_year > 2010)
find the names of museums which have more staff than the minimum staff number of all museums opened after 2010.
<s>[INST]find the names of museums which have more staff than the minimum staff number of all museums opened after 2010. Context: CREATE TABLE museum (name VARCHAR, num_of_staff INTEGER, open_year INTEGER)[/INST]SELECT name FROM museum WHERE num_of_staff > (SELECT MIN(num_of_staff) FROM museum WHERE open_year > 2010)</s>
CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_34 WHERE away_team = "ipswich town"
who is the home team when the away team is ipswich town?
<s>[INST]who is the home team when the away team is ipswich town? Context: CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_34 WHERE away_team = "ipswich town"</s>
CREATE TABLE table_name_75 (pick__number INTEGER, player VARCHAR)
SELECT SUM(pick__number) FROM table_name_75 WHERE player = "chris gomez"
What is the pick number for the player Chris Gomez?
<s>[INST]What is the pick number for the player Chris Gomez? Context: CREATE TABLE table_name_75 (pick__number INTEGER, player VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_75 WHERE player = "chris gomez"</s>
CREATE TABLE table_name_34 (death VARCHAR, birth VARCHAR)
SELECT death FROM table_name_34 WHERE birth = "6 january 1655"
When did the person born on 6 january 1655 die?
<s>[INST]When did the person born on 6 january 1655 die? Context: CREATE TABLE table_name_34 (death VARCHAR, birth VARCHAR)[/INST]SELECT death FROM table_name_34 WHERE birth = "6 january 1655"</s>
CREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR)
SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–1"
What season had a game in the first round with a result of 4–1, 0–1?
<s>[INST]What season had a game in the first round with a result of 4–1, 0–1? Context: CREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR)[/INST]SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–1"</s>
CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_64 WHERE player = "fredrik jacobson"
What is the To Par of Fredrik Jacobson?
<s>[INST]What is the To Par of Fredrik Jacobson? Context: CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_64 WHERE player = "fredrik jacobson"</s>
CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)
SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62"
Average frequency with ERP W of 62?
<s>[INST]Average frequency with ERP W of 62? Context: CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)[/INST]SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62"</s>
CREATE TABLE table_14263158_3 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_14263158_3 WHERE result = "0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5"
Who played in the series that resulted in matches with the following scores: 0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5?
<s>[INST]Who played in the series that resulted in matches with the following scores: 0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5? Context: CREATE TABLE table_14263158_3 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_14263158_3 WHERE result = "0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5"</s>
CREATE TABLE table_name_93 (population VARCHAR, area_km_2 VARCHAR)
SELECT population FROM table_name_93 WHERE area_km_2 = 173.4
What is the population when the area km2 is 173.4?
<s>[INST]What is the population when the area km2 is 173.4? Context: CREATE TABLE table_name_93 (population VARCHAR, area_km_2 VARCHAR)[/INST]SELECT population FROM table_name_93 WHERE area_km_2 = 173.4</s>
CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR)
SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"
How many Gold medals did the Soviet Union receive?
<s>[INST]How many Gold medals did the Soviet Union receive? Context: CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"</s>
CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR)
SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?
<s>[INST]How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points? Context: CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR)[/INST]SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3</s>
CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR)
SELECT manufacturer FROM table_2226343_1 WHERE date = "June 22"
Who is the manufacturer for the date of June 22?
<s>[INST]Who is the manufacturer for the date of June 22? Context: CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR)[/INST]SELECT manufacturer FROM table_2226343_1 WHERE date = "June 22"</s>
CREATE TABLE table_20590020_2 (best_finish VARCHAR, money_list_rank VARCHAR)
SELECT COUNT(best_finish) FROM table_20590020_2 WHERE money_list_rank = 96
What is the total number of players who had a money list rank of 96?
<s>[INST]What is the total number of players who had a money list rank of 96? Context: CREATE TABLE table_20590020_2 (best_finish VARCHAR, money_list_rank VARCHAR)[/INST]SELECT COUNT(best_finish) FROM table_20590020_2 WHERE money_list_rank = 96</s>
CREATE TABLE table_name_39 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_39 WHERE tournament = "indian wells"
What date was the tournament in Indian Wells?
<s>[INST]What date was the tournament in Indian Wells? Context: CREATE TABLE table_name_39 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE tournament = "indian wells"</s>
CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MIN(gold) FROM table_name_47 WHERE bronze = 14 AND total > 42
Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42?
<s>[INST]Which Gold is the lowest one that has a Bronze of 14, and a Total larger than 42? Context: CREATE TABLE table_name_47 (gold INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_47 WHERE bronze = 14 AND total > 42</s>
CREATE TABLE table_24123547_2 (location VARCHAR, week VARCHAR)
SELECT COUNT(location) FROM table_24123547_2 WHERE week = 7
How many locations did the team play at on week 7?
<s>[INST]How many locations did the team play at on week 7? Context: CREATE TABLE table_24123547_2 (location VARCHAR, week VARCHAR)[/INST]SELECT COUNT(location) FROM table_24123547_2 WHERE week = 7</s>
CREATE TABLE table_14624447_39 (class VARCHAR, position VARCHAR)
SELECT class FROM table_14624447_39 WHERE position = "RT"
Name the class when position is rt
<s>[INST]Name the class when position is rt Context: CREATE TABLE table_14624447_39 (class VARCHAR, position VARCHAR)[/INST]SELECT class FROM table_14624447_39 WHERE position = "RT"</s>
CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR)
SELECT COUNT(january) FROM table_name_30 WHERE opponent = "philadelphia flyers"
What is the number in January for Philadelphia Flyers as opponents?
<s>[INST]What is the number in January for Philadelphia Flyers as opponents? Context: CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(january) FROM table_name_30 WHERE opponent = "philadelphia flyers"</s>
CREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR)
SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670"
what's the swimsuit where average is 8.670
<s>[INST] what's the swimsuit where average is 8.670 Context: CREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR)[/INST]SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670"</s>
CREATE TABLE table_name_33 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_33 WHERE score = "3-0"
What was the competition when the score was 3-0?
<s>[INST]What was the competition when the score was 3-0? Context: CREATE TABLE table_name_33 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_33 WHERE score = "3-0"</s>
CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_33 WHERE date = "january 24"
What is the Visitor of the game on January 24?
<s>[INST]What is the Visitor of the game on January 24? Context: CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_33 WHERE date = "january 24"</s>
CREATE TABLE table_27708484_3 (elevation VARCHAR, city VARCHAR)
SELECT elevation FROM table_27708484_3 WHERE city = "Port Elizabeth"
what is the elevation for port elizabeth?
<s>[INST]what is the elevation for port elizabeth? Context: CREATE TABLE table_27708484_3 (elevation VARCHAR, city VARCHAR)[/INST]SELECT elevation FROM table_27708484_3 WHERE city = "Port Elizabeth"</s>
CREATE TABLE table_name_31 (status VARCHAR, authors VARCHAR)
SELECT status FROM table_name_31 WHERE authors = "woodruff"
What is the Status with an Author that is woodruff?
<s>[INST]What is the Status with an Author that is woodruff? Context: CREATE TABLE table_name_31 (status VARCHAR, authors VARCHAR)[/INST]SELECT status FROM table_name_31 WHERE authors = "woodruff"</s>
CREATE TABLE table_name_3 (year VARCHAR, result VARCHAR)
SELECT year FROM table_name_3 WHERE result = "8th"
In which year did he finish 8th?
<s>[INST]In which year did he finish 8th? Context: CREATE TABLE table_name_3 (year VARCHAR, result VARCHAR)[/INST]SELECT year FROM table_name_3 WHERE result = "8th"</s>
CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_17288825_6 WHERE team = "@ New Orleans"
When @ new orleans is the team who has the highest amount of rebounds?
<s>[INST]When @ new orleans is the team who has the highest amount of rebounds? Context: CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_17288825_6 WHERE team = "@ New Orleans"</s>
CREATE TABLE table_name_89 (region VARCHAR, catalogue VARCHAR)
SELECT region FROM table_name_89 WHERE catalogue = "9362482872"
Which region had a catalogue number of 9362482872?
<s>[INST]Which region had a catalogue number of 9362482872? Context: CREATE TABLE table_name_89 (region VARCHAR, catalogue VARCHAR)[/INST]SELECT region FROM table_name_89 WHERE catalogue = "9362482872"</s>
CREATE TABLE table_name_77 (season INTEGER, mole VARCHAR)
SELECT MAX(season) FROM table_name_77 WHERE mole = "frederique van der wal"
Which Season has a Mole of frederique van der wal?
<s>[INST]Which Season has a Mole of frederique van der wal? Context: CREATE TABLE table_name_77 (season INTEGER, mole VARCHAR)[/INST]SELECT MAX(season) FROM table_name_77 WHERE mole = "frederique van der wal"</s>
CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR)
SELECT away_team FROM table_name_69 WHERE attendance = "206"
Who was the away team when the attendance was 206?
<s>[INST]Who was the away team when the attendance was 206? Context: CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR)[/INST]SELECT away_team FROM table_name_69 WHERE attendance = "206"</s>
CREATE TABLE table_name_30 (silver INTEGER, gold VARCHAR, nation VARCHAR)
SELECT MIN(silver) FROM table_name_30 WHERE gold > 0 AND nation = "switzerland"
What is the low silver total for switzerland with over 0 golds?
<s>[INST]What is the low silver total for switzerland with over 0 golds? Context: CREATE TABLE table_name_30 (silver INTEGER, gold VARCHAR, nation VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_30 WHERE gold > 0 AND nation = "switzerland"</s>
CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)
SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19
what is the sum of spartak when played is 102 and draw is less than 19?
<s>[INST]what is the sum of spartak when played is 102 and draw is less than 19? Context: CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)[/INST]SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19</s>
CREATE TABLE table_name_75 (Id VARCHAR)
SELECT 2010 FROM table_name_75 WHERE 2012 = "1r" AND 2005 = "a"
What is the 2010 value with a 1r in 2012 and an A in 2005?
<s>[INST]What is the 2010 value with a 1r in 2012 and an A in 2005? Context: CREATE TABLE table_name_75 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_75 WHERE 2012 = "1r" AND 2005 = "a"</s>
CREATE TABLE table_name_57 (rank__number VARCHAR, attendance VARCHAR)
SELECT rank__number FROM table_name_57 WHERE attendance = "93,829"
What was the rank# of the opponent when there was 93,829 in attendance?
<s>[INST]What was the rank# of the opponent when there was 93,829 in attendance? Context: CREATE TABLE table_name_57 (rank__number VARCHAR, attendance VARCHAR)[/INST]SELECT rank__number FROM table_name_57 WHERE attendance = "93,829"</s>
CREATE TABLE table_name_90 (race VARCHAR, circuit VARCHAR)
SELECT race FROM table_name_90 WHERE circuit = "monaco"
What race contains the Monaco circuit?
<s>[INST]What race contains the Monaco circuit? Context: CREATE TABLE table_name_90 (race VARCHAR, circuit VARCHAR)[/INST]SELECT race FROM table_name_90 WHERE circuit = "monaco"</s>
CREATE TABLE table_name_64 (team VARCHAR, average VARCHAR, goalkeeper VARCHAR)
SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = "carlos sánchez"
What team has Carlos Sánchez as a goalkeeper and an average below 1.12?
<s>[INST]What team has Carlos Sánchez as a goalkeeper and an average below 1.12? Context: CREATE TABLE table_name_64 (team VARCHAR, average VARCHAR, goalkeeper VARCHAR)[/INST]SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = "carlos sánchez"</s>
CREATE TABLE table_name_78 (total_blocks INTEGER, digs VARCHAR, total_attempts VARCHAR)
SELECT AVG(total_blocks) FROM table_name_78 WHERE digs < 210 AND total_attempts > 1116
What is the total blocks when there are less than 210 digs and the total attempts are more than 1116?
<s>[INST]What is the total blocks when there are less than 210 digs and the total attempts are more than 1116? Context: CREATE TABLE table_name_78 (total_blocks INTEGER, digs VARCHAR, total_attempts VARCHAR)[/INST]SELECT AVG(total_blocks) FROM table_name_78 WHERE digs < 210 AND total_attempts > 1116</s>
CREATE TABLE table_name_52 (front_row_starts INTEGER, driver VARCHAR)
SELECT MAX(front_row_starts) FROM table_name_52 WHERE driver = "alain prost"
What was the highest front row starts for Alain Prost?
<s>[INST]What was the highest front row starts for Alain Prost? Context: CREATE TABLE table_name_52 (front_row_starts INTEGER, driver VARCHAR)[/INST]SELECT MAX(front_row_starts) FROM table_name_52 WHERE driver = "alain prost"</s>
CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)
SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_millions_ = "14.41"
What episode number had 14.41 million viewers?
<s>[INST]What episode number had 14.41 million viewers? Context: CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)[/INST]SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_millions_ = "14.41"</s>
CREATE TABLE table_23284597_3 (year VARCHAR, opponent_in_the_final VARCHAR)
SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas"
Name the year for guillermo cañas
<s>[INST]Name the year for guillermo cañas Context: CREATE TABLE table_23284597_3 (year VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas"</s>
CREATE TABLE table_14253123_1 (population__2010___rank_ VARCHAR, county_name VARCHAR)
SELECT COUNT(population__2010___rank_) FROM table_14253123_1 WHERE county_name = "Spencer"
When Spencer is the county what is total of the population (2010) (rank)?
<s>[INST]When Spencer is the county what is total of the population (2010) (rank)? Context: CREATE TABLE table_14253123_1 (population__2010___rank_ VARCHAR, county_name VARCHAR)[/INST]SELECT COUNT(population__2010___rank_) FROM table_14253123_1 WHERE county_name = "Spencer"</s>
CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER)
SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20
What is the total number of E edges of the polyhedra with vertices V greater than 20?
<s>[INST]What is the total number of E edges of the polyhedra with vertices V greater than 20? Context: CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER)[/INST]SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20</s>
CREATE TABLE table_name_14 (gold INTEGER, total INTEGER)
SELECT SUM(gold) FROM table_name_14 WHERE total < 1
What is the sum of Gold, when Total is less than 1?
<s>[INST]What is the sum of Gold, when Total is less than 1? Context: CREATE TABLE table_name_14 (gold INTEGER, total INTEGER)[/INST]SELECT SUM(gold) FROM table_name_14 WHERE total < 1</s>
CREATE TABLE table_name_61 (ground VARCHAR, score VARCHAR)
SELECT ground FROM table_name_61 WHERE score = "49-80"
What is the Ground with a Score that is 49-80?
<s>[INST]What is the Ground with a Score that is 49-80? Context: CREATE TABLE table_name_61 (ground VARCHAR, score VARCHAR)[/INST]SELECT ground FROM table_name_61 WHERE score = "49-80"</s>
CREATE TABLE table_name_40 (home_town VARCHAR, name VARCHAR)
SELECT home_town FROM table_name_40 WHERE name = "rob cunningham"
What is the Home Town with a Name with rob cunningham?
<s>[INST]What is the Home Town with a Name with rob cunningham? Context: CREATE TABLE table_name_40 (home_town VARCHAR, name VARCHAR)[/INST]SELECT home_town FROM table_name_40 WHERE name = "rob cunningham"</s>
CREATE TABLE table_17416221_1 (area__km_2__ INTEGER, largest_city VARCHAR)
SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein"
what is minimum area where the largest city is bloemfontein?
<s>[INST]what is minimum area where the largest city is bloemfontein? Context: CREATE TABLE table_17416221_1 (area__km_2__ INTEGER, largest_city VARCHAR)[/INST]SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein"</s>
CREATE TABLE table_name_15 (_number_of_cosponsors VARCHAR, date_introduced VARCHAR)
SELECT COUNT(_number_of_cosponsors) FROM table_name_15 WHERE date_introduced = "may 22, 2008"
How many cosponsors have a Date introduced of may 22, 2008?
<s>[INST]How many cosponsors have a Date introduced of may 22, 2008? Context: CREATE TABLE table_name_15 (_number_of_cosponsors VARCHAR, date_introduced VARCHAR)[/INST]SELECT COUNT(_number_of_cosponsors) FROM table_name_15 WHERE date_introduced = "may 22, 2008"</s>
CREATE TABLE table_22011138_7 (total_pld VARCHAR, pos VARCHAR)
SELECT total_pld FROM table_22011138_7 WHERE pos = 4
If the POS is 4, what is the total PLD?
<s>[INST]If the POS is 4, what is the total PLD? Context: CREATE TABLE table_22011138_7 (total_pld VARCHAR, pos VARCHAR)[/INST]SELECT total_pld FROM table_22011138_7 WHERE pos = 4</s>
CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)
SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W265AV"
what's the fcc info with call sign being w265av
<s>[INST]what's the fcc info with call sign being w265av Context: CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)[/INST]SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W265AV"</s>
CREATE TABLE table_name_65 (abbr VARCHAR, italian VARCHAR)
SELECT abbr FROM table_name_65 WHERE italian = "argovia"
What is the abbr of argovia?
<s>[INST]What is the abbr of argovia? Context: CREATE TABLE table_name_65 (abbr VARCHAR, italian VARCHAR)[/INST]SELECT abbr FROM table_name_65 WHERE italian = "argovia"</s>
CREATE TABLE table_name_49 (g_hager VARCHAR, e_greenberg VARCHAR)
SELECT g_hager FROM table_name_49 WHERE e_greenberg = "266 (14%)"
Name the G. Hager of E. Greenberg of 266 (14%)?
<s>[INST]Name the G. Hager of E. Greenberg of 266 (14%)? Context: CREATE TABLE table_name_49 (g_hager VARCHAR, e_greenberg VARCHAR)[/INST]SELECT g_hager FROM table_name_49 WHERE e_greenberg = "266 (14%)"</s>
CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)
SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41"
When the seq is 41, what is the ability to compromise?
<s>[INST]When the seq is 41, what is the ability to compromise? Context: CREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)[/INST]SELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = "41"</s>
CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)
SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders"
What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976?
<s>[INST]What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976? Context: CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)[/INST]SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders"</s>
CREATE TABLE table_name_84 (catalog VARCHAR, label VARCHAR, format VARCHAR)
SELECT catalog FROM table_name_84 WHERE label = "alfa records" AND format = "cd"
Name the catalog for alfa records and cd format
<s>[INST]Name the catalog for alfa records and cd format Context: CREATE TABLE table_name_84 (catalog VARCHAR, label VARCHAR, format VARCHAR)[/INST]SELECT catalog FROM table_name_84 WHERE label = "alfa records" AND format = "cd"</s>
CREATE TABLE table_name_81 (format VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_81 WHERE date = 1993 AND catalog = "cleo 2481-2"
Which Format has a Date of 1993, and a Catalog of cleo 2481-2?
<s>[INST]Which Format has a Date of 1993, and a Catalog of cleo 2481-2? Context: CREATE TABLE table_name_81 (format VARCHAR, date VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_81 WHERE date = 1993 AND catalog = "cleo 2481-2"</s>
CREATE TABLE table_name_68 (discipline VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT discipline FROM table_name_68 WHERE tournament = "summer olympics" AND year = 2008
What is the discipline for the summer Olympics in 2008?
<s>[INST]What is the discipline for the summer Olympics in 2008? Context: CREATE TABLE table_name_68 (discipline VARCHAR, tournament VARCHAR, year VARCHAR)[/INST]SELECT discipline FROM table_name_68 WHERE tournament = "summer olympics" AND year = 2008</s>
CREATE TABLE table_name_27 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro"
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
<s>[INST]WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO? Context: CREATE TABLE table_name_27 (team_2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro"</s>
CREATE TABLE table_23285805_8 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma City"
Who has the high assists when the team is Oklahoma City?
<s>[INST]Who has the high assists when the team is Oklahoma City? Context: CREATE TABLE table_23285805_8 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma City"</s>
CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1341640_43 WHERE first_elected = 1976
Election results of 1976
<s>[INST]Election results of 1976 Context: CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_1341640_43 WHERE first_elected = 1976</s>
CREATE TABLE table_27734286_1 (score VARCHAR, high_points VARCHAR)
SELECT COUNT(score) FROM table_27734286_1 WHERE high_points = "Al Jefferson (24)"
What's the score in al jefferson (24) high points?
<s>[INST]What's the score in al jefferson (24) high points? Context: CREATE TABLE table_27734286_1 (score VARCHAR, high_points VARCHAR)[/INST]SELECT COUNT(score) FROM table_27734286_1 WHERE high_points = "Al Jefferson (24)"</s>
CREATE TABLE table_24136365_2 (location VARCHAR, week VARCHAR)
SELECT location FROM table_24136365_2 WHERE week = 4
When 4 is the week what is the location?
<s>[INST]When 4 is the week what is the location? Context: CREATE TABLE table_24136365_2 (location VARCHAR, week VARCHAR)[/INST]SELECT location FROM table_24136365_2 WHERE week = 4</s>
CREATE TABLE table_name_17 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR)
SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = "tunisia" AND average_relative_annual_growth___percentage_ < 1.03
What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03?
<s>[INST]What is the average % of population Tunisia, which has an average relative annual growth smaller than 1.03? Context: CREATE TABLE table_name_17 (_percentage_of_pop INTEGER, country__or_dependent_territory_ VARCHAR, average_relative_annual_growth___percentage_ VARCHAR)[/INST]SELECT AVG(_percentage_of_pop) FROM table_name_17 WHERE country__or_dependent_territory_ = "tunisia" AND average_relative_annual_growth___percentage_ < 1.03</s>
CREATE TABLE table_1708014_2 (position VARCHAR, starts VARCHAR)
SELECT position FROM table_1708014_2 WHERE starts = 3
what is the posisiotn where the start is 3?
<s>[INST]what is the posisiotn where the start is 3? Context: CREATE TABLE table_1708014_2 (position VARCHAR, starts VARCHAR)[/INST]SELECT position FROM table_1708014_2 WHERE starts = 3</s>
CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR)
SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 3
What is the number of Matches for Vits Rimkus with a Rank of less than 3?
<s>[INST]What is the number of Matches for Vits Rimkus with a Rank of less than 3? Context: CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR)[/INST]SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 3</s>
CREATE TABLE table_name_81 (tyre VARCHAR, entrant VARCHAR)
SELECT tyre FROM table_name_81 WHERE entrant = "scuderia milano"
what is the tyre when the entrant is scuderia milano?
<s>[INST]what is the tyre when the entrant is scuderia milano? Context: CREATE TABLE table_name_81 (tyre VARCHAR, entrant VARCHAR)[/INST]SELECT tyre FROM table_name_81 WHERE entrant = "scuderia milano"</s>
CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.'
Find the first name and office of history professor who did not get a Ph.D. degree.
<s>[INST]Find the first name and office of history professor who did not get a Ph.D. degree. Context: CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)[/INST]SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.'</s>
CREATE TABLE table_name_58 (song VARCHAR, composer VARCHAR, year VARCHAR)
SELECT song FROM table_name_58 WHERE composer = "v. selvaganesh" AND year > 2010
What song was composed by V. Selvaganesh later than 2010?
<s>[INST]What song was composed by V. Selvaganesh later than 2010? Context: CREATE TABLE table_name_58 (song VARCHAR, composer VARCHAR, year VARCHAR)[/INST]SELECT song FROM table_name_58 WHERE composer = "v. selvaganesh" AND year > 2010</s>
CREATE TABLE table_10682862_68 (players INTEGER)
SELECT MIN(players) FROM table_10682862_68
What's the smallest number of players?
<s>[INST]What's the smallest number of players? Context: CREATE TABLE table_10682862_68 (players INTEGER)[/INST]SELECT MIN(players) FROM table_10682862_68</s>
CREATE TABLE table_name_88 (modern_equivalent VARCHAR, province_of_silla VARCHAR, post_1009_province VARCHAR, administrative_district VARCHAR)
SELECT modern_equivalent FROM table_name_88 WHERE post_1009_province = "gyeongsang -do" AND administrative_district = "jinju -mok" AND province_of_silla = "gangju"
What kind of Modern equivalent has a Post-1009 province of gyeongsang -do, and a Administrative district of jinju -mok, and a Province of Silla of gangju?
<s>[INST]What kind of Modern equivalent has a Post-1009 province of gyeongsang -do, and a Administrative district of jinju -mok, and a Province of Silla of gangju? Context: CREATE TABLE table_name_88 (modern_equivalent VARCHAR, province_of_silla VARCHAR, post_1009_province VARCHAR, administrative_district VARCHAR)[/INST]SELECT modern_equivalent FROM table_name_88 WHERE post_1009_province = "gyeongsang -do" AND administrative_district = "jinju -mok" AND province_of_silla = "gangju"</s>
CREATE TABLE table_name_26 (round VARCHAR, time VARCHAR)
SELECT round FROM table_name_26 WHERE time = "0:37"
Which Round has a Time of 0:37?
<s>[INST]Which Round has a Time of 0:37? Context: CREATE TABLE table_name_26 (round VARCHAR, time VARCHAR)[/INST]SELECT round FROM table_name_26 WHERE time = "0:37"</s>
CREATE TABLE table_name_16 (ipsos_5_30_09 VARCHAR, bva_6_1_09 VARCHAR)
SELECT ipsos_5_30_09 FROM table_name_16 WHERE bva_6_1_09 = "3%"
When BVA was 3%, what was the Ipsos?
<s>[INST]When BVA was 3%, what was the Ipsos? Context: CREATE TABLE table_name_16 (ipsos_5_30_09 VARCHAR, bva_6_1_09 VARCHAR)[/INST]SELECT ipsos_5_30_09 FROM table_name_16 WHERE bva_6_1_09 = "3%"</s>
CREATE TABLE Staff (Id VARCHAR)
SELECT COUNT(*) FROM Staff
How many staff in total?
<s>[INST]How many staff in total? Context: CREATE TABLE Staff (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Staff</s>
CREATE TABLE table_name_33 (spokesperson VARCHAR, year_s_ INTEGER)
SELECT spokesperson FROM table_name_33 WHERE year_s_ > 2012
Who is the spokesperson after 2012?
<s>[INST]Who is the spokesperson after 2012? Context: CREATE TABLE table_name_33 (spokesperson VARCHAR, year_s_ INTEGER)[/INST]SELECT spokesperson FROM table_name_33 WHERE year_s_ > 2012</s>
CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR)
SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099"
Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?
<s>[INST]Who is the driver for the Forsythe Racing team that has the best time of 1:00.099? Context: CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR)[/INST]SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099"</s>
CREATE TABLE table_name_34 (country VARCHAR, finish VARCHAR)
SELECT country FROM table_name_34 WHERE finish = "59"
What country has a finish of 59?
<s>[INST]What country has a finish of 59? Context: CREATE TABLE table_name_34 (country VARCHAR, finish VARCHAR)[/INST]SELECT country FROM table_name_34 WHERE finish = "59"</s>
CREATE TABLE table_19487922_1 (name VARCHAR, country VARCHAR, race_entries__starts_ VARCHAR)
SELECT name FROM table_19487922_1 WHERE country = "France" AND race_entries__starts_ = "10"
Who is the competitor from France with 10 starts?
<s>[INST]Who is the competitor from France with 10 starts? Context: CREATE TABLE table_19487922_1 (name VARCHAR, country VARCHAR, race_entries__starts_ VARCHAR)[/INST]SELECT name FROM table_19487922_1 WHERE country = "France" AND race_entries__starts_ = "10"</s>
CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, team VARCHAR)
SELECT qld_cup_premierships FROM table_2383498_4 WHERE team = "Gold Coast Vikings"
What is the QLD Cup Premierships if team is Gold Coast Vikings?
<s>[INST]What is the QLD Cup Premierships if team is Gold Coast Vikings? Context: CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, team VARCHAR)[/INST]SELECT qld_cup_premierships FROM table_2383498_4 WHERE team = "Gold Coast Vikings"</s>
CREATE TABLE table_name_66 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT MIN(bronze) FROM table_name_66 WHERE total = 4 AND gold < 1
What is the low bronze total for the team with 4 total and under 1 gold?
<s>[INST]What is the low bronze total for the team with 4 total and under 1 gold? Context: CREATE TABLE table_name_66 (bronze INTEGER, total VARCHAR, gold VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_66 WHERE total = 4 AND gold < 1</s>
CREATE TABLE Participates_in (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Participates_in
Show the ids of the students who don't participate in any activity.
<s>[INST]Show the ids of the students who don't participate in any activity. Context: CREATE TABLE Participates_in (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)[/INST]SELECT StuID FROM Student EXCEPT SELECT StuID FROM Participates_in</s>