context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_67 WHERE country = "fiji"
What player is from Fiji?
<s>[INST]What player is from Fiji? Context: CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE country = "fiji"</s>
CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26"
What is the attendance of the game on July 26?
<s>[INST]What is the attendance of the game on July 26? Context: CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26"</s>
CREATE TABLE table_2181798_1 (position VARCHAR, avg_start VARCHAR)
SELECT COUNT(position) FROM table_2181798_1 WHERE avg_start = "23.7"
Name the position for 23.7 avg start
<s>[INST]Name the position for 23.7 avg start Context: CREATE TABLE table_2181798_1 (position VARCHAR, avg_start VARCHAR)[/INST]SELECT COUNT(position) FROM table_2181798_1 WHERE avg_start = "23.7"</s>
CREATE TABLE city (Hispanic VARCHAR, Black INTEGER)
SELECT Hispanic FROM city WHERE Black > 10
What are the percentage of hispanics in cities with the black percentage higher than 10?
<s>[INST]What are the percentage of hispanics in cities with the black percentage higher than 10? Context: CREATE TABLE city (Hispanic VARCHAR, Black INTEGER)[/INST]SELECT Hispanic FROM city WHERE Black > 10</s>
CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_24 WHERE visitor = "chicago black hawks" AND date = "november 12"
What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?
<s>[INST]What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team? Context: CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_24 WHERE visitor = "chicago black hawks" AND date = "november 12"</s>
CREATE TABLE table_1342379_45 (first_elected INTEGER)
SELECT MIN(first_elected) FROM table_1342379_45
What year was someone first elected?
<s>[INST]What year was someone first elected? Context: CREATE TABLE table_1342379_45 (first_elected INTEGER)[/INST]SELECT MIN(first_elected) FROM table_1342379_45</s>
CREATE TABLE table_name_26 (years VARCHAR, duration VARCHAR, actor VARCHAR)
SELECT years FROM table_name_26 WHERE duration = "18 years" AND actor = "patrizio rispo"
What years have a duration of 18 years, and patrizio rispo as the actor?
<s>[INST]What years have a duration of 18 years, and patrizio rispo as the actor? Context: CREATE TABLE table_name_26 (years VARCHAR, duration VARCHAR, actor VARCHAR)[/INST]SELECT years FROM table_name_26 WHERE duration = "18 years" AND actor = "patrizio rispo"</s>
CREATE TABLE table_name_44 (number_of_deputies VARCHAR, election_date VARCHAR)
SELECT number_of_deputies FROM table_name_44 WHERE election_date = 1964
What were the number of deputies for the 1964 election year?
<s>[INST]What were the number of deputies for the 1964 election year? Context: CREATE TABLE table_name_44 (number_of_deputies VARCHAR, election_date VARCHAR)[/INST]SELECT number_of_deputies FROM table_name_44 WHERE election_date = 1964</s>
CREATE TABLE table_28848697_4 (goals_scored VARCHAR, position VARCHAR, tied VARCHAR)
SELECT goals_scored FROM table_28848697_4 WHERE position = 17 AND tied = 5
What are goals scored when postition is 17 and tied is 5?
<s>[INST]What are goals scored when postition is 17 and tied is 5? Context: CREATE TABLE table_28848697_4 (goals_scored VARCHAR, position VARCHAR, tied VARCHAR)[/INST]SELECT goals_scored FROM table_28848697_4 WHERE position = 17 AND tied = 5</s>
CREATE TABLE table_name_13 (outcome VARCHAR, date__final_ VARCHAR)
SELECT outcome FROM table_name_13 WHERE date__final_ = "february 17, 2003"
What was the outcome of the match on February 17, 2003?
<s>[INST]What was the outcome of the match on February 17, 2003? Context: CREATE TABLE table_name_13 (outcome VARCHAR, date__final_ VARCHAR)[/INST]SELECT outcome FROM table_name_13 WHERE date__final_ = "february 17, 2003"</s>
CREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR)
SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports"
Who was the crew chief for the team from Make Motorsports?
<s>[INST]Who was the crew chief for the team from Make Motorsports? Context: CREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR)[/INST]SELECT crew_chief FROM table_name_73 WHERE team = "make motorsports"</s>
CREATE TABLE table_name_60 (power_hp__kw_ VARCHAR, model VARCHAR, engine VARCHAR, first_year VARCHAR, distribution VARCHAR)
SELECT power_hp__kw_ FROM table_name_60 WHERE first_year > 1965 AND distribution = "international" AND engine = "v6 biturbo" AND model = "425"
What is Power HP (kW), when First Year is greater than 1965, when Distribution is "International", when Engine is V6 Biturbo, and when Model is "425"?
<s>[INST]What is Power HP (kW), when First Year is greater than 1965, when Distribution is "International", when Engine is V6 Biturbo, and when Model is "425"? Context: CREATE TABLE table_name_60 (power_hp__kw_ VARCHAR, model VARCHAR, engine VARCHAR, first_year VARCHAR, distribution VARCHAR)[/INST]SELECT power_hp__kw_ ...
CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_70 WHERE away_team = "geelong"
Who was the home team against Geelong?
<s>[INST]Who was the home team against Geelong? Context: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_70 WHERE away_team = "geelong"</s>
CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR)
SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a play" AND year < 2007
Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007?
<s>[INST]Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007? Context: CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a ...
CREATE TABLE table_name_33 (date_released VARCHAR, _number_of_discs INTEGER)
SELECT date_released FROM table_name_33 WHERE _number_of_discs > 4
What Date Released, when # Of Discs is greater than 4?
<s>[INST]What Date Released, when # Of Discs is greater than 4? Context: CREATE TABLE table_name_33 (date_released VARCHAR, _number_of_discs INTEGER)[/INST]SELECT date_released FROM table_name_33 WHERE _number_of_discs > 4</s>
CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"
What is the score of the match with a save postponed rescheduled for June 24?
<s>[INST]What is the score of the match with a save postponed rescheduled for June 24? Context: CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"</s>
CREATE TABLE table_27755784_10 (score VARCHAR, team VARCHAR)
SELECT score FROM table_27755784_10 WHERE team = "@ Dallas"
What is the score when the team is @ dallas?
<s>[INST]What is the score when the team is @ dallas? Context: CREATE TABLE table_27755784_10 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_27755784_10 WHERE team = "@ Dallas"</s>
CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_68 WHERE date = "december 31, 2005"
What was the result on December 31, 2005?
<s>[INST]What was the result on December 31, 2005? Context: CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_68 WHERE date = "december 31, 2005"</s>
CREATE TABLE table_name_93 (population VARCHAR, county VARCHAR)
SELECT population FROM table_name_93 WHERE county = "tioga"
What is the population of Tioga county?
<s>[INST]What is the population of Tioga county? Context: CREATE TABLE table_name_93 (population VARCHAR, county VARCHAR)[/INST]SELECT population FROM table_name_93 WHERE county = "tioga"</s>
CREATE TABLE table_name_17 (number_of_deputies INTEGER, number_of_votes_received VARCHAR, election_date VARCHAR)
SELECT MIN(number_of_deputies) FROM table_name_17 WHERE number_of_votes_received = "unknown" AND election_date > 1986
What was deputies with the lowest number of unknown received votes, in an election year after 1986?
<s>[INST]What was deputies with the lowest number of unknown received votes, in an election year after 1986? Context: CREATE TABLE table_name_17 (number_of_deputies INTEGER, number_of_votes_received VARCHAR, election_date VARCHAR)[/INST]SELECT MIN(number_of_deputies) FROM table_name_17 WHERE number_of_votes_received = ...
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_31 WHERE venue = "victoria park"
What was the opposing team's score at the match that was played at Victoria Park?
<s>[INST]What was the opposing team's score at the match that was played at Victoria Park? Context: CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_31 WHERE venue = "victoria park"</s>
CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14"
How many points have 88 laps and a grid of 14?
<s>[INST]How many points have 88 laps and a grid of 14? Context: CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14"</s>
CREATE TABLE table_name_85 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_85 WHERE pick < 29 AND school_club_team = "arizona"
Which Position has a Pick smaller than 29, and a School/Club Team of arizona?
<s>[INST]Which Position has a Pick smaller than 29, and a School/Club Team of arizona? Context: CREATE TABLE table_name_85 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_85 WHERE pick < 29 AND school_club_team = "arizona"</s>
CREATE TABLE table_name_72 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_72 WHERE tie_no = "15"
What is the attendance for No. 15 tie?
<s>[INST]What is the attendance for No. 15 tie? Context: CREATE TABLE table_name_72 (attendance VARCHAR, tie_no VARCHAR)[/INST]SELECT attendance FROM table_name_72 WHERE tie_no = "15"</s>
CREATE TABLE table_name_52 (win__percentage INTEGER, lost VARCHAR)
SELECT SUM(win__percentage) FROM table_name_52 WHERE lost = 18
Lost of 18 had what sum of win %?
<s>[INST]Lost of 18 had what sum of win %? Context: CREATE TABLE table_name_52 (win__percentage INTEGER, lost VARCHAR)[/INST]SELECT SUM(win__percentage) FROM table_name_52 WHERE lost = 18</s>
CREATE TABLE table_name_16 (against INTEGER, draws INTEGER)
SELECT MIN(against) FROM table_name_16 WHERE draws > 0
What was the lowest against when the draw was at least 0?
<s>[INST]What was the lowest against when the draw was at least 0? Context: CREATE TABLE table_name_16 (against INTEGER, draws INTEGER)[/INST]SELECT MIN(against) FROM table_name_16 WHERE draws > 0</s>
CREATE TABLE table_name_66 (basin VARCHAR, in_state_area VARCHAR)
SELECT basin FROM table_name_66 WHERE in_state_area = "071 238km 2 92mi 2"
What is the name of the basin with an in-state area of 071 238km 2 92mi 2?
<s>[INST]What is the name of the basin with an in-state area of 071 238km 2 92mi 2? Context: CREATE TABLE table_name_66 (basin VARCHAR, in_state_area VARCHAR)[/INST]SELECT basin FROM table_name_66 WHERE in_state_area = "071 238km 2 92mi 2"</s>
CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_6 WHERE opponent = "houston oilers"
What is the attendance of the game against the houston oilers?
<s>[INST]What is the attendance of the game against the houston oilers? Context: CREATE TABLE table_name_6 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_6 WHERE opponent = "houston oilers"</s>
CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"
Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap?
<s>[INST]Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap? Context: CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)[/INST]SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni"</s>
CREATE TABLE table_2201724_2 (score_in_the_final VARCHAR, year VARCHAR)
SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963
How many different final scores were there in 1963?
<s>[INST]How many different final scores were there in 1963? Context: CREATE TABLE table_2201724_2 (score_in_the_final VARCHAR, year VARCHAR)[/INST]SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963</s>
CREATE TABLE table_name_5 (year VARCHAR, note VARCHAR, title VARCHAR)
SELECT year FROM table_name_5 WHERE note = "supporting" AND title = "rokumeikan"
what is the year when the note is supporting and the title is rokumeikan?
<s>[INST]what is the year when the note is supporting and the title is rokumeikan? Context: CREATE TABLE table_name_5 (year VARCHAR, note VARCHAR, title VARCHAR)[/INST]SELECT year FROM table_name_5 WHERE note = "supporting" AND title = "rokumeikan"</s>
CREATE TABLE table_name_44 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_44 WHERE game = 3
On what date was game 3 played?
<s>[INST]On what date was game 3 played? Context: CREATE TABLE table_name_44 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_44 WHERE game = 3</s>
CREATE TABLE table_name_79 (nation VARCHAR, team VARCHAR)
SELECT nation FROM table_name_79 WHERE team = "csc"
What is the nation of the person who was from the CSC team?
<s>[INST]What is the nation of the person who was from the CSC team? Context: CREATE TABLE table_name_79 (nation VARCHAR, team VARCHAR)[/INST]SELECT nation FROM table_name_79 WHERE team = "csc"</s>
CREATE TABLE table_name_6 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_6 WHERE home_team = "leeds united"
What was the final score for the tie where Leeds United was the home team?
<s>[INST]What was the final score for the tie where Leeds United was the home team? Context: CREATE TABLE table_name_6 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE home_team = "leeds united"</s>
CREATE TABLE table_16010376_1 (muzzle_energy VARCHAR, cartridge VARCHAR)
SELECT muzzle_energy FROM table_16010376_1 WHERE cartridge = ".375 Winchester"
When using a .375 Winchester, what is the muzzle energy?
<s>[INST]When using a .375 Winchester, what is the muzzle energy? Context: CREATE TABLE table_16010376_1 (muzzle_energy VARCHAR, cartridge VARCHAR)[/INST]SELECT muzzle_energy FROM table_16010376_1 WHERE cartridge = ".375 Winchester"</s>
CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)
SELECT COUNT(result) FROM table_1342013_12 WHERE incumbent = "Noah M. Mason"
How many results are listed for the election where Noah M. Mason was elected?
<s>[INST]How many results are listed for the election where Noah M. Mason was elected? Context: CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(result) FROM table_1342013_12 WHERE incumbent = "Noah M. Mason"</s>
CREATE TABLE table_16796625_1 (land_area__hectares_ VARCHAR, urban_area__locality_ VARCHAR)
SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Landsbro"
How many hectares of land area is Landsbro?
<s>[INST]How many hectares of land area is Landsbro? Context: CREATE TABLE table_16796625_1 (land_area__hectares_ VARCHAR, urban_area__locality_ VARCHAR)[/INST]SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Landsbro"</s>
CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR)
SELECT date_of_exit FROM table_1160304_2 WHERE chart = "Dutch Albums Top 100"
What is the exit date for the Dutch Albums Top 100 Chart?
<s>[INST]What is the exit date for the Dutch Albums Top 100 Chart? Context: CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR)[/INST]SELECT date_of_exit FROM table_1160304_2 WHERE chart = "Dutch Albums Top 100"</s>
CREATE TABLE table_name_60 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_60 WHERE winning_score = −3(74 - 68 - 72 - 71 = 285)
What was the margin of victory in the tournament with a winning score of −3 (74-68-72-71=285)?
<s>[INST]What was the margin of victory in the tournament with a winning score of −3 (74-68-72-71=285)? Context: CREATE TABLE table_name_60 (margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_60 WHERE winning_score = −3(74 - 68 - 72 - 71 = 285)</s>
CREATE TABLE table_name_36 (gold INTEGER, nation VARCHAR)
SELECT SUM(gold) FROM table_name_36 WHERE nation = "total"
Nation of total has what sum of gold?
<s>[INST]Nation of total has what sum of gold? Context: CREATE TABLE table_name_36 (gold INTEGER, nation VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_36 WHERE nation = "total"</s>
CREATE TABLE table_name_86 (time VARCHAR, name VARCHAR)
SELECT time FROM table_name_86 WHERE name = "arkady vyatchanin"
What was Arkady Vyatchanin's time?
<s>[INST]What was Arkady Vyatchanin's time? Context: CREATE TABLE table_name_86 (time VARCHAR, name VARCHAR)[/INST]SELECT time FROM table_name_86 WHERE name = "arkady vyatchanin"</s>
CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)
SELECT scores FROM table_23292220_13 WHERE seans_team = "Russell Kane and Louise Redknapp"
What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team?
<s>[INST]What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team? Context: CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)[/INST]SELECT scores FROM table_23292220_13 WHERE seans_team = "Russell Kane and Louise Redknapp"</s>
CREATE TABLE table_26448179_3 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_26448179_3 WHERE production_code = "202"
Who wrote the episode that is production code 202?
<s>[INST]Who wrote the episode that is production code 202? Context: CREATE TABLE table_26448179_3 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_26448179_3 WHERE production_code = "202"</s>
CREATE TABLE table_name_39 (association VARCHAR, result VARCHAR, nominee VARCHAR, year VARCHAR)
SELECT association FROM table_name_39 WHERE nominee = "indonesian idol" AND year > 2005 AND result = "nominated"
What was the association for Indonesian Idol after 2005 with a Nominated Result?
<s>[INST]What was the association for Indonesian Idol after 2005 with a Nominated Result? Context: CREATE TABLE table_name_39 (association VARCHAR, result VARCHAR, nominee VARCHAR, year VARCHAR)[/INST]SELECT association FROM table_name_39 WHERE nominee = "indonesian idol" AND year > 2005 AND result = "nominated"</s>
CREATE TABLE table_18539834_2 (average_ratings VARCHAR, tv_station VARCHAR)
SELECT average_ratings FROM table_18539834_2 WHERE tv_station = "TV Asahi"
What is the average rating for tv asahi?
<s>[INST]What is the average rating for tv asahi? Context: CREATE TABLE table_18539834_2 (average_ratings VARCHAR, tv_station VARCHAR)[/INST]SELECT average_ratings FROM table_18539834_2 WHERE tv_station = "TV Asahi"</s>
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "august 16"
August 16 had what record?
<s>[INST]August 16 had what record? Context: CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_72 WHERE date = "august 16"</s>
CREATE TABLE table_27756014_1 (score VARCHAR, date VARCHAR)
SELECT score FROM table_27756014_1 WHERE date = "October 16"
What is the score of the game played on october 16?
<s>[INST]What is the score of the game played on october 16? Context: CREATE TABLE table_27756014_1 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_27756014_1 WHERE date = "October 16"</s>
CREATE TABLE table_name_8 (score_in_the_final VARCHAR, surface VARCHAR)
SELECT score_in_the_final FROM table_name_8 WHERE surface = "hard"
What is the score in the final of the tournament with a hard surface?
<s>[INST]What is the score in the final of the tournament with a hard surface? Context: CREATE TABLE table_name_8 (score_in_the_final VARCHAR, surface VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_8 WHERE surface = "hard"</s>
CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)
SELECT home_team FROM table_26847237_3 WHERE opposition = "Wairarapa Bush"
What is the home team when the opposition is wairarapa bush?
<s>[INST]What is the home team when the opposition is wairarapa bush? Context: CREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)[/INST]SELECT home_team FROM table_26847237_3 WHERE opposition = "Wairarapa Bush"</s>
CREATE TABLE table_name_94 (chinese_title VARCHAR, album_number VARCHAR)
SELECT chinese_title FROM table_name_94 WHERE album_number = "5th"
Album # of 5th is what chinese title?
<s>[INST]Album # of 5th is what chinese title? Context: CREATE TABLE table_name_94 (chinese_title VARCHAR, album_number VARCHAR)[/INST]SELECT chinese_title FROM table_name_94 WHERE album_number = "5th"</s>
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_16 WHERE home_team = "fitzroy"
What Away team is from Fitzroy?
<s>[INST]What Away team is from Fitzroy? Context: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_16 WHERE home_team = "fitzroy"</s>
CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR)
SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45"
Who was the Locomotive superintendent has a NER class of d45?
<s>[INST]Who was the Locomotive superintendent has a NER class of d45? Context: CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR)[/INST]SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45"</s>
CREATE TABLE table_name_95 (country VARCHAR, television_service VARCHAR)
SELECT country FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"
What country has a television service with Cartello Promozionale sky hd?
<s>[INST]What country has a television service with Cartello Promozionale sky hd? Context: CREATE TABLE table_name_95 (country VARCHAR, television_service VARCHAR)[/INST]SELECT country FROM table_name_95 WHERE television_service = "cartello promozionale sky hd"</s>
CREATE TABLE table_22948559_1 (production_code VARCHAR, no_in_season VARCHAR)
SELECT production_code FROM table_22948559_1 WHERE no_in_season = "21"
Name the production code for number in season being 21
<s>[INST]Name the production code for number in season being 21 Context: CREATE TABLE table_22948559_1 (production_code VARCHAR, no_in_season VARCHAR)[/INST]SELECT production_code FROM table_22948559_1 WHERE no_in_season = "21"</s>
CREATE TABLE table_name_67 (gran_hamada VARCHAR, block_a VARCHAR)
SELECT gran_hamada FROM table_name_67 WHERE block_a = "tatsuhito takaiwa"
Which Gran Hamada has a Block A of tatsuhito takaiwa?
<s>[INST]Which Gran Hamada has a Block A of tatsuhito takaiwa? Context: CREATE TABLE table_name_67 (gran_hamada VARCHAR, block_a VARCHAR)[/INST]SELECT gran_hamada FROM table_name_67 WHERE block_a = "tatsuhito takaiwa"</s>
CREATE TABLE table_name_49 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_49 WHERE attendance > 19 OFFSET 600
What date were there more than 19,600 people in attendance?
<s>[INST]What date were there more than 19,600 people in attendance? Context: CREATE TABLE table_name_49 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_49 WHERE attendance > 19 OFFSET 600</s>
CREATE TABLE table_15187735_13 (segment_d VARCHAR, segment_a VARCHAR)
SELECT segment_d FROM table_15187735_13 WHERE segment_a = "Bowling Balls"
Name the segment d for bowling balls
<s>[INST]Name the segment d for bowling balls Context: CREATE TABLE table_15187735_13 (segment_d VARCHAR, segment_a VARCHAR)[/INST]SELECT segment_d FROM table_15187735_13 WHERE segment_a = "Bowling Balls"</s>
CREATE TABLE table_name_50 (class VARCHAR, city_of_license VARCHAR)
SELECT class FROM table_name_50 WHERE city_of_license = "garden city, kansas"
Which Class has a City of license of garden city, kansas?
<s>[INST]Which Class has a City of license of garden city, kansas? Context: CREATE TABLE table_name_50 (class VARCHAR, city_of_license VARCHAR)[/INST]SELECT class FROM table_name_50 WHERE city_of_license = "garden city, kansas"</s>
CREATE TABLE table_name_73 (goals_for INTEGER, tied INTEGER)
SELECT MIN(goals_for) FROM table_name_73 WHERE tied > 15
What's the least amount of goals for a game that had a tied bigger than 15?
<s>[INST]What's the least amount of goals for a game that had a tied bigger than 15? Context: CREATE TABLE table_name_73 (goals_for INTEGER, tied INTEGER)[/INST]SELECT MIN(goals_for) FROM table_name_73 WHERE tied > 15</s>
CREATE TABLE table_name_62 (aedt_time VARCHAR, away_team VARCHAR)
SELECT aedt_time FROM table_name_62 WHERE away_team = "collingwood"
Name the AEDT Time which has an Away team of collingwood?
<s>[INST]Name the AEDT Time which has an Away team of collingwood? Context: CREATE TABLE table_name_62 (aedt_time VARCHAR, away_team VARCHAR)[/INST]SELECT aedt_time FROM table_name_62 WHERE away_team = "collingwood"</s>
CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342359_4 WHERE district = "Arkansas 2"
What was the result of the election in the Arkansas 2 district?
<s>[INST]What was the result of the election in the Arkansas 2 district? Context: CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342359_4 WHERE district = "Arkansas 2"</s>
CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_1 WHERE score = "0–2"
What is the Venue of the Competition with a Score of 0–2?
<s>[INST]What is the Venue of the Competition with a Score of 0–2? Context: CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_1 WHERE score = "0–2"</s>
CREATE TABLE table_name_99 (game INTEGER, record VARCHAR)
SELECT SUM(game) FROM table_name_99 WHERE record = "27–30"
Which Game has a Record of 27–30?
<s>[INST]Which Game has a Record of 27–30? Context: CREATE TABLE table_name_99 (game INTEGER, record VARCHAR)[/INST]SELECT SUM(game) FROM table_name_99 WHERE record = "27–30"</s>
CREATE TABLE table_name_7 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_7 WHERE week = 1
What was the Attendance in Week 1?
<s>[INST]What was the Attendance in Week 1? Context: CREATE TABLE table_name_7 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_7 WHERE week = 1</s>
CREATE TABLE table_name_50 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR)
SELECT team FROM table_name_50 WHERE position_in_table = "24th" AND date_of_appointment = "15 september 2008"
what is the team with the position in table of 24th and the date of appointment 15 september 2008?
<s>[INST]what is the team with the position in table of 24th and the date of appointment 15 september 2008? Context: CREATE TABLE table_name_50 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT team FROM table_name_50 WHERE position_in_table = "24th" AND date_of_appointment = "15 septe...
CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pID VARCHAR, decision VARCHAR)
SELECT AVG(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'no'
Find the average hours for the students whose tryout decision is no.
<s>[INST]Find the average hours for the students whose tryout decision is no. Context: CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pID VARCHAR, decision VARCHAR)[/INST]SELECT AVG(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'no'</s>
CREATE TABLE table_name_64 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR, type VARCHAR)
SELECT AVG(gold) FROM table_name_64 WHERE bronze = 1 AND type = "winter" AND silver < 3 AND total < 4
What is the average gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals?
<s>[INST]What is the average gold of the winter athlete with 1 bronze, less than 3 silver, and less than 4 total medals? Context: CREATE TABLE table_name_64 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR, type VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_64 WHERE bronze = 1 AND type = "winter" AND silv...
CREATE TABLE table_name_38 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT time___et__ FROM table_name_38 WHERE location = "three rivers stadium" AND opponent = "detroit lions"
What time did the game featuring the Detroit Lions at Three Rivers Stadium occur?
<s>[INST]What time did the game featuring the Detroit Lions at Three Rivers Stadium occur? Context: CREATE TABLE table_name_38 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR)[/INST]SELECT time___et__ FROM table_name_38 WHERE location = "three rivers stadium" AND opponent = "detroit lions"</s>
CREATE TABLE table_name_74 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT time_retired FROM table_name_74 WHERE laps = "21" AND manufacturer = "yamaha" AND grid = "1"
What is the time/retired for the rider with the manufacturuer yamaha, grod of 1 and 21 total laps?
<s>[INST]What is the time/retired for the rider with the manufacturuer yamaha, grod of 1 and 21 total laps? Context: CREATE TABLE table_name_74 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT time_retired FROM table_name_74 WHERE laps = "21" AND manufacturer = "yamaha" AND grid = "...
CREATE TABLE Student_Addresses (monthly_rental INTEGER)
SELECT MAX(monthly_rental), MIN(monthly_rental) FROM Student_Addresses
Find the maximum and minimum monthly rental for all student addresses.
<s>[INST]Find the maximum and minimum monthly rental for all student addresses. Context: CREATE TABLE Student_Addresses (monthly_rental INTEGER)[/INST]SELECT MAX(monthly_rental), MIN(monthly_rental) FROM Student_Addresses</s>
CREATE TABLE table_name_30 (laps VARCHAR, finish VARCHAR)
SELECT laps FROM table_name_30 WHERE finish = "15"
Which Laps have a Finish of 15?
<s>[INST]Which Laps have a Finish of 15? Context: CREATE TABLE table_name_30 (laps VARCHAR, finish VARCHAR)[/INST]SELECT laps FROM table_name_30 WHERE finish = "15"</s>
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)
SELECT record FROM table_name_19 WHERE round = 3 AND event = "fight festival 27"
Which record's round was 3 when the event was fight festival 27?
<s>[INST]Which record's round was 3 when the event was fight festival 27? Context: CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_19 WHERE round = 3 AND event = "fight festival 27"</s>
CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985
What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?
<s>[INST]What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985? Context: CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985</s>
CREATE TABLE table_name_71 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_71 WHERE player = "fred couples"
Where is Fred Couples from?
<s>[INST]Where is Fred Couples from? Context: CREATE TABLE table_name_71 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_71 WHERE player = "fred couples"</s>
CREATE TABLE table_name_58 (year INTEGER, category VARCHAR)
SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)"
Which Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)?
<s>[INST]Which Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)? Context: CREATE TABLE table_name_58 (year INTEGER, category VARCHAR)[/INST]SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)"</s>
CREATE TABLE table_name_77 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982"
What is the Total of the Player with a Year(s) won of 1982?
<s>[INST]What is the Total of the Player with a Year(s) won of 1982? Context: CREATE TABLE table_name_77 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982"</s>
CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Student_Addresses (monthly_rental VARCHAR, address_id VARCHAR)
SELECT T2.monthly_rental FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id WHERE T1.state_province_county = "Texas"
What are the monthly rentals of student addresses in Texas state?
<s>[INST]What are the monthly rentals of student addresses in Texas state? Context: CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Student_Addresses (monthly_rental VARCHAR, address_id VARCHAR)[/INST]SELECT T2.monthly_rental FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON ...
CREATE TABLE table_name_6 (Id VARCHAR)
SELECT 1935 FROM table_name_6 WHERE 1953 = "4"
What 1935 has 4 as a 1953?
<s>[INST]What 1935 has 4 as a 1953? Context: CREATE TABLE table_name_6 (Id VARCHAR)[/INST]SELECT 1935 FROM table_name_6 WHERE 1953 = "4"</s>
CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 2012
What Venue held the Olympic games in 2012?
<s>[INST]What Venue held the Olympic games in 2012? Context: CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 2012</s>
CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_99 WHERE country = "australia"
What was Australia's place?
<s>[INST]What was Australia's place? Context: CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_99 WHERE country = "australia"</s>
CREATE TABLE table_name_77 (location VARCHAR, distance__km_ VARCHAR, rapid VARCHAR)
SELECT location FROM table_name_77 WHERE distance__km_ < 7.1 AND rapid = "●"
What location is less than 7.1 km away, and has a Rapid of ●?
<s>[INST]What location is less than 7.1 km away, and has a Rapid of ●? Context: CREATE TABLE table_name_77 (location VARCHAR, distance__km_ VARCHAR, rapid VARCHAR)[/INST]SELECT location FROM table_name_77 WHERE distance__km_ < 7.1 AND rapid = "●"</s>
CREATE TABLE table_name_60 (rank INTEGER, silver INTEGER)
SELECT AVG(rank) FROM table_name_60 WHERE silver < 0
Which mean rank had a silver number smaller than 0?
<s>[INST]Which mean rank had a silver number smaller than 0? Context: CREATE TABLE table_name_60 (rank INTEGER, silver INTEGER)[/INST]SELECT AVG(rank) FROM table_name_60 WHERE silver < 0</s>
CREATE TABLE table_name_64 (position_in_table VARCHAR, team VARCHAR)
SELECT position_in_table FROM table_name_64 WHERE team = "morelia"
What is Position in Table, when Team is "Morelia"?
<s>[INST]What is Position in Table, when Team is "Morelia"? Context: CREATE TABLE table_name_64 (position_in_table VARCHAR, team VARCHAR)[/INST]SELECT position_in_table FROM table_name_64 WHERE team = "morelia"</s>
CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_28 WHERE away_team = "collingwood"
What did the home team score against the away team collingwood?
<s>[INST]What did the home team score against the away team collingwood? Context: CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_28 WHERE away_team = "collingwood"</s>
CREATE TABLE table_name_65 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_65 WHERE name = "nicholls"
What is the current status of the person named Nicholls?
<s>[INST]What is the current status of the person named Nicholls? Context: CREATE TABLE table_name_65 (status VARCHAR, name VARCHAR)[/INST]SELECT status FROM table_name_65 WHERE name = "nicholls"</s>
CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_name_8 WHERE incumbent = "david e. finley"
When David E. Finley was the incumbent what was the result?
<s>[INST]When David E. Finley was the incumbent what was the result? Context: CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_name_8 WHERE incumbent = "david e. finley"</s>
CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)
SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND revenues__us$_billion_ < 3.9
What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9?
<s>[INST]What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9? Context: CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)[/INST]SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND r...
CREATE TABLE table_name_11 (result VARCHAR, club VARCHAR)
SELECT result FROM table_name_11 WHERE club = "club universidad de guadalajara"
What was the Result for the club universidad de guadalajara?
<s>[INST]What was the Result for the club universidad de guadalajara? Context: CREATE TABLE table_name_11 (result VARCHAR, club VARCHAR)[/INST]SELECT result FROM table_name_11 WHERE club = "club universidad de guadalajara"</s>
CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT MIN(silver) FROM table_name_43 WHERE rank < 5 AND nation = "france" AND total > 19
What is the lowest silver for France with a rank less than 5 and a total larger than 19?
<s>[INST]What is the lowest silver for France with a rank less than 5 and a total larger than 19? Context: CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_43 WHERE rank < 5 AND nation = "france" AND total > 19</s>
CREATE TABLE table_name_4 (week VARCHAR, result VARCHAR)
SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19"
Which Week has a Result of l 21-19?
<s>[INST]Which Week has a Result of l 21-19? Context: CREATE TABLE table_name_4 (week VARCHAR, result VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19"</s>
CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR)
SELECT StuID FROM Student WHERE sex = 'F' INTERSECT SELECT StuID FROM Sportsinfo WHERE sportname = "Football"
Show student ids who are female and play football.
<s>[INST]Show student ids who are female and play football. Context: CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR)[/INST]SELECT StuID FROM Student WHERE sex = 'F' INTERSECT SELECT StuID FROM Sportsinfo WHERE sportname = "Foo...
CREATE TABLE table_27987767_3 (match_points VARCHAR, proceed_to_quarter_final VARCHAR)
SELECT match_points FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"
When brive proceeded to quarter final what were the match points?
<s>[INST]When brive proceeded to quarter final what were the match points? Context: CREATE TABLE table_27987767_3 (match_points VARCHAR, proceed_to_quarter_final VARCHAR)[/INST]SELECT match_points FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"</s>
CREATE TABLE table_name_26 (division VARCHAR, wins VARCHAR)
SELECT division FROM table_name_26 WHERE wins = "76"
Which MLB division has a win record of 76?
<s>[INST]Which MLB division has a win record of 76? Context: CREATE TABLE table_name_26 (division VARCHAR, wins VARCHAR)[/INST]SELECT division FROM table_name_26 WHERE wins = "76"</s>
CREATE TABLE table_name_41 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR)
SELECT best_finish FROM table_name_41 WHERE money_list_rank = "n/a" AND earnings___$__ > 0 AND cuts_made > 1
what is the best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1?
<s>[INST]what is the best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1? Context: CREATE TABLE table_name_41 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR)[/INST]SELECT best_finish FROM table_name_41 WHERE money_list_rank = "n/a" ...
CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)
SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9"
Name the D 43 with D 48 of d 9
<s>[INST]Name the D 43 with D 48 of d 9 Context: CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)[/INST]SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9"</s>
CREATE TABLE table_name_76 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_76 WHERE silver = "1" AND total > 2
What is the average bronze with silvers of 1 and totals over 2?
<s>[INST]What is the average bronze with silvers of 1 and totals over 2? Context: CREATE TABLE table_name_76 (bronze INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_76 WHERE silver = "1" AND total > 2</s>
CREATE TABLE table_1167698_1 (champion VARCHAR, season VARCHAR)
SELECT COUNT(champion) FROM table_1167698_1 WHERE season = "2009"
How many champions were there in 2009?
<s>[INST]How many champions were there in 2009? Context: CREATE TABLE table_1167698_1 (champion VARCHAR, season VARCHAR)[/INST]SELECT COUNT(champion) FROM table_1167698_1 WHERE season = "2009"</s>
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)
SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)
Show the name for regions not affected.
<s>[INST]Show the name for regions not affected. Context: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)[/INST]SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)</s>
CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR)
SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978"
When did the term end that began December 4, 1978?
<s>[INST]When did the term end that began December 4, 1978? Context: CREATE TABLE table_224672_2 (term_ended VARCHAR, term_began VARCHAR)[/INST]SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978"</s>
CREATE TABLE table_name_13 (record VARCHAR, points VARCHAR, home VARCHAR)
SELECT record FROM table_name_13 WHERE points < 16 AND home = "detroit"
What record has points less than 16, and detroit as the home?
<s>[INST]What record has points less than 16, and detroit as the home? Context: CREATE TABLE table_name_13 (record VARCHAR, points VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_13 WHERE points < 16 AND home = "detroit"</s>