context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_59 WHERE score = "6–4, 6–2"
On what Date was the Score 6–4, 6–2?
<s>[INST]On what Date was the Score 6–4, 6–2? Context: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE score = "6–4, 6–2"</s>
CREATE TABLE table_23214833_1 (capacity VARCHAR, team_captain VARCHAR)
SELECT capacity FROM table_23214833_1 WHERE team_captain = "Vasil Vasilev"
How many people can attend games in the stadium of the team whose captain is Vasil Vasilev?
<s>[INST]How many people can attend games in the stadium of the team whose captain is Vasil Vasilev? Context: CREATE TABLE table_23214833_1 (capacity VARCHAR, team_captain VARCHAR)[/INST]SELECT capacity FROM table_23214833_1 WHERE team_captain = "Vasil Vasilev"</s>
CREATE TABLE table_28787871_3 (production_code INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(production_code) FROM table_28787871_3 WHERE us_viewers__millions_ = "2.3"
What is the highest production code of the episodes having a US viewership of exactly 2.3?
<s>[INST]What is the highest production code of the episodes having a US viewership of exactly 2.3? Context: CREATE TABLE table_28787871_3 (production_code INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MAX(production_code) FROM table_28787871_3 WHERE us_viewers__millions_ = "2.3"</s>
CREATE TABLE table_name_44 (built INTEGER, name VARCHAR)
SELECT MAX(built) FROM table_name_44 WHERE name = "queen nefertiti (pegasus two)"
What is the most recent year that Queen Nefertiti (pegasus two) was built?
<s>[INST]What is the most recent year that Queen Nefertiti (pegasus two) was built? Context: CREATE TABLE table_name_44 (built INTEGER, name VARCHAR)[/INST]SELECT MAX(built) FROM table_name_44 WHERE name = "queen nefertiti (pegasus two)"</s>
CREATE TABLE table_10646790_2 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_10646790_2 WHERE date = "October 11, 1969"
How many weeks are there that include the date October 11, 1969.
<s>[INST]How many weeks are there that include the date October 11, 1969. Context: CREATE TABLE table_10646790_2 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_10646790_2 WHERE date = "October 11, 1969"</s>
CREATE TABLE table_name_54 (english_name VARCHAR, color VARCHAR)
SELECT english_name FROM table_name_54 WHERE color = "green"
Which English name has a Color of green?
<s>[INST]Which English name has a Color of green? Context: CREATE TABLE table_name_54 (english_name VARCHAR, color VARCHAR)[/INST]SELECT english_name FROM table_name_54 WHERE color = "green"</s>
CREATE TABLE table_name_96 (lifespan VARCHAR, representative VARCHAR)
SELECT lifespan FROM table_name_96 WHERE representative = "theodore f. kluttz"
What is the Lifespan when the Representative is Theodore F. Kluttz?
<s>[INST]What is the Lifespan when the Representative is Theodore F. Kluttz? Context: CREATE TABLE table_name_96 (lifespan VARCHAR, representative VARCHAR)[/INST]SELECT lifespan FROM table_name_96 WHERE representative = "theodore f. kluttz"</s>
CREATE TABLE table_22757733_4 (runner_up_a VARCHAR, winner VARCHAR)
SELECT runner_up_a FROM table_22757733_4 WHERE winner = "Sankar Adhi"
who ended runner-up to sankar adhi?
<s>[INST]who ended runner-up to sankar adhi? Context: CREATE TABLE table_22757733_4 (runner_up_a VARCHAR, winner VARCHAR)[/INST]SELECT runner_up_a FROM table_22757733_4 WHERE winner = "Sankar Adhi"</s>
CREATE TABLE table_name_91 (party VARCHAR, district VARCHAR)
SELECT party FROM table_name_91 WHERE district = "south carolina 2"
What party has the South Carolina 2 district?
<s>[INST]What party has the South Carolina 2 district? Context: CREATE TABLE table_name_91 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_name_91 WHERE district = "south carolina 2"</s>
CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)
SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"
What were the requirements for the role played by Robert Austin in the original production?
<s>[INST]What were the requirements for the role played by Robert Austin in the original production? Context: CREATE TABLE table_17827271_1 (actor_required VARCHAR, actor_in_original_production VARCHAR)[/INST]SELECT actor_required FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"</s>
CREATE TABLE table_name_32 (score VARCHAR, winners VARCHAR)
SELECT score FROM table_name_32 WHERE winners = "sligo rovers f.c."
What was the score in the game that was won by Sligo Rovers F.C.?
<s>[INST]What was the score in the game that was won by Sligo Rovers F.C.? Context: CREATE TABLE table_name_32 (score VARCHAR, winners VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE winners = "sligo rovers f.c."</s>
CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_46 WHERE opponent_in_the_final = "paul baccanello"
Name the score for opponent in the final being paul baccanello
<s>[INST]Name the score for opponent in the final being paul baccanello Context: CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE opponent_in_the_final = "paul baccanello"</s>
CREATE TABLE table_name_47 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_47 WHERE record = "79-48"
What date has 79-48 as the record?
<s>[INST]What date has 79-48 as the record? Context: CREATE TABLE table_name_47 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_47 WHERE record = "79-48"</s>
CREATE TABLE table_name_50 (date VARCHAR, ground VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_50 WHERE ground = "a" AND opponent = "cartagena"
What is the date ground A and Cartagena as an opponent?
<s>[INST]What is the date ground A and Cartagena as an opponent? Context: CREATE TABLE table_name_50 (date VARCHAR, ground VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_50 WHERE ground = "a" AND opponent = "cartagena"</s>
CREATE TABLE table_name_61 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_61 WHERE home_team = "sheffield wednesday"
On what Date is Sheffield Wednesday the Home team?
<s>[INST]On what Date is Sheffield Wednesday the Home team? Context: CREATE TABLE table_name_61 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE home_team = "sheffield wednesday"</s>
CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR)
SELECT MAX(losses) FROM table_name_81 WHERE club = "camperdown" AND against < 945
What's the highest amount of losses of Camperdown when the against was less than 945?
<s>[INST]What's the highest amount of losses of Camperdown when the against was less than 945? Context: CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_81 WHERE club = "camperdown" AND against < 945</s>
CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_94 WHERE away_team = "hawthorn"
What is the crowd with Away team of hawthorn?
<s>[INST]What is the crowd with Away team of hawthorn? Context: CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_94 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995"
Who was the opponent on September 17, 1995?
<s>[INST]Who was the opponent on September 17, 1995? Context: CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995"</s>
CREATE TABLE table_name_20 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT COUNT(total) FROM table_name_20 WHERE bronze < 13 AND nation = "netherlands (ned)" AND gold > 4
How much Total has a Bronze smaller than 13, and a Nation of netherlands (ned), and a Gold larger than 4?
<s>[INST]How much Total has a Bronze smaller than 13, and a Nation of netherlands (ned), and a Gold larger than 4? Context: CREATE TABLE table_name_20 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_20 WHERE bronze < 13 AND nation = "netherlands (ned)" AND gold > ...
CREATE TABLE table_17625749_1 (points_against VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT points_against FROM table_17625749_1 WHERE drawn = "1" AND points = "51"
Name the points aginst when drawn is 1 and points is 51
<s>[INST]Name the points aginst when drawn is 1 and points is 51 Context: CREATE TABLE table_17625749_1 (points_against VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT points_against FROM table_17625749_1 WHERE drawn = "1" AND points = "51"</s>
CREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_name_83 WHERE player = "cody zeller"
What is the hometown of Cody Zeller?
<s>[INST]What is the hometown of Cody Zeller? Context: CREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_name_83 WHERE player = "cody zeller"</s>
CREATE TABLE table_name_41 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_41 WHERE score_in_the_final = "6–2, 6–3"
What type of surface was used where the final score was 6–2, 6–3?
<s>[INST]What type of surface was used where the final score was 6–2, 6–3? Context: CREATE TABLE table_name_41 (surface VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT surface FROM table_name_41 WHERE score_in_the_final = "6–2, 6–3"</s>
CREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT date FROM table_name_81 WHERE kickoff_[a_] = "1:00" AND result = "l 27-14"
What date had a kickoff of 1:00 and a result of l 27-14?
<s>[INST]What date had a kickoff of 1:00 and a result of l 27-14? Context: CREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)[/INST]SELECT date FROM table_name_81 WHERE kickoff_[a_] = "1:00" AND result = "l 27-14"</s>
CREATE TABLE table_name_94 (drawn INTEGER, name VARCHAR, position VARCHAR)
SELECT MIN(drawn) FROM table_name_94 WHERE name = "sv apfeldorf" AND position > 8
what is the least drawn when the name is sv apfeldorf and the position is more than 8?
<s>[INST]what is the least drawn when the name is sv apfeldorf and the position is more than 8? Context: CREATE TABLE table_name_94 (drawn INTEGER, name VARCHAR, position VARCHAR)[/INST]SELECT MIN(drawn) FROM table_name_94 WHERE name = "sv apfeldorf" AND position > 8</s>
CREATE TABLE table_name_28 (bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR)
SELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = "4-barrel" AND vin_code = "a"
What are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A?
<s>[INST]What are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A? Context: CREATE TABLE table_name_28 (bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR)[/INST]SELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = "4-barrel" AND vin_code = "a"</s>
CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_57 WHERE time_retired = "accident"
What is the grid value which has Time/Retired value of accident?
<s>[INST]What is the grid value which has Time/Retired value of accident? Context: CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR)[/INST]SELECT grid FROM table_name_57 WHERE time_retired = "accident"</s>
CREATE TABLE table_name_25 (draw INTEGER, televoting INTEGER)
SELECT MAX(draw) FROM table_name_25 WHERE televoting < 2
Televoting smaller than 2 had what highest draw?
<s>[INST]Televoting smaller than 2 had what highest draw? Context: CREATE TABLE table_name_25 (draw INTEGER, televoting INTEGER)[/INST]SELECT MAX(draw) FROM table_name_25 WHERE televoting < 2</s>
CREATE TABLE table_name_52 (points VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT points FROM table_name_52 WHERE year > 1986 AND chassis = "ags jh23b"
How many points does the year after 1986 with a AGS JH23B chassis have?
<s>[INST]How many points does the year after 1986 with a AGS JH23B chassis have? Context: CREATE TABLE table_name_52 (points VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT points FROM table_name_52 WHERE year > 1986 AND chassis = "ags jh23b"</s>
CREATE TABLE table_name_20 (bronze VARCHAR, nation VARCHAR)
SELECT bronze FROM table_name_20 WHERE nation = "south korea"
How many bronze medals does South Korea have?
<s>[INST]How many bronze medals does South Korea have? Context: CREATE TABLE table_name_20 (bronze VARCHAR, nation VARCHAR)[/INST]SELECT bronze FROM table_name_20 WHERE nation = "south korea"</s>
CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR)
SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8
When was the venue mexico city, mexico with a goal of 8?
<s>[INST]When was the venue mexico city, mexico with a goal of 8? Context: CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8</s>
CREATE TABLE table_name_25 (current_map VARCHAR, namesake VARCHAR)
SELECT current_map FROM table_name_25 WHERE namesake = "derain crater"
What is the current map designation of the feature for which derain crater was the namesake?
<s>[INST]What is the current map designation of the feature for which derain crater was the namesake? Context: CREATE TABLE table_name_25 (current_map VARCHAR, namesake VARCHAR)[/INST]SELECT current_map FROM table_name_25 WHERE namesake = "derain crater"</s>
CREATE TABLE table_name_61 (score VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_61 WHERE place = "t10" AND country = "australia"
What's the score of the t10 player from australia?
<s>[INST]What's the score of the t10 player from australia? Context: CREATE TABLE table_name_61 (score VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_61 WHERE place = "t10" AND country = "australia"</s>
CREATE TABLE table_name_41 (gold INTEGER, bronze INTEGER)
SELECT SUM(gold) FROM table_name_41 WHERE bronze < 1
How many golds for nations with under 1 bronze?
<s>[INST]How many golds for nations with under 1 bronze? Context: CREATE TABLE table_name_41 (gold INTEGER, bronze INTEGER)[/INST]SELECT SUM(gold) FROM table_name_41 WHERE bronze < 1</s>
CREATE TABLE table_name_40 (class VARCHAR, sport VARCHAR, year VARCHAR)
SELECT class FROM table_name_40 WHERE sport = "volleyball" AND year = 2000
What class is volleyball in 2000?
<s>[INST]What class is volleyball in 2000? Context: CREATE TABLE table_name_40 (class VARCHAR, sport VARCHAR, year VARCHAR)[/INST]SELECT class FROM table_name_40 WHERE sport = "volleyball" AND year = 2000</s>
CREATE TABLE table_1341568_34 (district VARCHAR, party VARCHAR, elected VARCHAR)
SELECT COUNT(district) FROM table_1341568_34 WHERE party = "Democratic" AND elected = 1974
In how many districts was the democratic incumbent elected in 1974?
<s>[INST]In how many districts was the democratic incumbent elected in 1974? Context: CREATE TABLE table_1341568_34 (district VARCHAR, party VARCHAR, elected VARCHAR)[/INST]SELECT COUNT(district) FROM table_1341568_34 WHERE party = "Democratic" AND elected = 1974</s>
CREATE TABLE table_name_21 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)
SELECT administration FROM table_name_21 WHERE division = "ykkönen (first division)" AND position = "1st" AND season = 1996
What is the administration when the division was Ykkönen (first division), and they were in the 1st position in 1996?
<s>[INST]What is the administration when the division was Ykkönen (first division), and they were in the 1st position in 1996? Context: CREATE TABLE table_name_21 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)[/INST]SELECT administration FROM table_name_21 WHERE division = "ykkönen (first ...
CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"
I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident
<s>[INST]I want to know the driver when grid is greater than 13 and laps is less than 60 with time/retired of accident Context: CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_41 WHERE grid > 13 AND laps < 60 AND time_retired = "accident"...
CREATE TABLE table_2374338_2 (population INTEGER)
SELECT MAX(population) FROM table_2374338_2
What is the largest value of population?
<s>[INST]What is the largest value of population? Context: CREATE TABLE table_2374338_2 (population INTEGER)[/INST]SELECT MAX(population) FROM table_2374338_2</s>
CREATE TABLE table_name_39 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_39 WHERE school = "seymour"
What's the IHSAA Class when the school is Seymour?
<s>[INST]What's the IHSAA Class when the school is Seymour? Context: CREATE TABLE table_name_39 (ihsaa_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_39 WHERE school = "seymour"</s>
CREATE TABLE table_name_17 (rank VARCHAR, club_s_ VARCHAR, u_17_caps VARCHAR)
SELECT COUNT(rank) FROM table_name_17 WHERE club_s_ = "valencia" AND u_17_caps = 20
What is the rank of Club Valencia with a U-17 Caps of 20?
<s>[INST]What is the rank of Club Valencia with a U-17 Caps of 20? Context: CREATE TABLE table_name_17 (rank VARCHAR, club_s_ VARCHAR, u_17_caps VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_17 WHERE club_s_ = "valencia" AND u_17_caps = 20</s>
CREATE TABLE table_name_83 (nominee_s_ VARCHAR, year VARCHAR)
SELECT nominee_s_ FROM table_name_83 WHERE year = 2005
Who was the nominee for 2005?
<s>[INST]Who was the nominee for 2005? Context: CREATE TABLE table_name_83 (nominee_s_ VARCHAR, year VARCHAR)[/INST]SELECT nominee_s_ FROM table_name_83 WHERE year = 2005</s>
CREATE TABLE table_name_63 (played INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR)
SELECT SUM(played) FROM table_name_63 WHERE against > 37 AND lost = 15 AND points < 11
How much Played has an Against larger than 37, and a Lost of 15, and Points smaller than 11?
<s>[INST]How much Played has an Against larger than 37, and a Lost of 15, and Points smaller than 11? Context: CREATE TABLE table_name_63 (played INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR)[/INST]SELECT SUM(played) FROM table_name_63 WHERE against > 37 AND lost = 15 AND points < 11</s>
CREATE TABLE table_name_46 (lost INTEGER, games INTEGER)
SELECT MIN(lost) FROM table_name_46 WHERE games > 6
How many games lost for teams with over 6 games?
<s>[INST]How many games lost for teams with over 6 games? Context: CREATE TABLE table_name_46 (lost INTEGER, games INTEGER)[/INST]SELECT MIN(lost) FROM table_name_46 WHERE games > 6</s>
CREATE TABLE table_name_68 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
SELECT shirt_sponsor FROM table_name_68 WHERE kit_manufacturer = "nike"
Which shirt sponser has Nike as a kit manufacturer?
<s>[INST]Which shirt sponser has Nike as a kit manufacturer? Context: CREATE TABLE table_name_68 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)[/INST]SELECT shirt_sponsor FROM table_name_68 WHERE kit_manufacturer = "nike"</s>
CREATE TABLE table_287659_2 (state_name VARCHAR, regional_page__number VARCHAR)
SELECT state_name FROM table_287659_2 WHERE regional_page__number = "1, 5-7, 9-11, 13-15"
What states have a regional page # of 1, 5-7, 9-11, 13-15?
<s>[INST]What states have a regional page # of 1, 5-7, 9-11, 13-15? Context: CREATE TABLE table_287659_2 (state_name VARCHAR, regional_page__number VARCHAR)[/INST]SELECT state_name FROM table_287659_2 WHERE regional_page__number = "1, 5-7, 9-11, 13-15"</s>
CREATE TABLE table_11545282_5 (no VARCHAR, player VARCHAR)
SELECT COUNT(no) FROM table_11545282_5 WHERE player = "Howard Eisley"
How many players were names Howard Eisley?
<s>[INST]How many players were names Howard Eisley? Context: CREATE TABLE table_11545282_5 (no VARCHAR, player VARCHAR)[/INST]SELECT COUNT(no) FROM table_11545282_5 WHERE player = "Howard Eisley"</s>
CREATE TABLE table_name_95 (lane INTEGER, reaction_time VARCHAR, country VARCHAR, time VARCHAR)
SELECT MIN(lane) FROM table_name_95 WHERE country = "united states" AND time < 22.01 AND reaction_time < 0.193
Which Lane has a Country of united states, and a Time smaller than 22.01, and a Reaction Time smaller than 0.193?
<s>[INST]Which Lane has a Country of united states, and a Time smaller than 22.01, and a Reaction Time smaller than 0.193? Context: CREATE TABLE table_name_95 (lane INTEGER, reaction_time VARCHAR, country VARCHAR, time VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_95 WHERE country = "united states" AND time < 22.01 A...
CREATE TABLE table_name_90 (laws_against_homosexuality VARCHAR, penalty VARCHAR, country VARCHAR)
SELECT laws_against_homosexuality FROM table_name_90 WHERE penalty = "—" AND country = "iraq"
What law has a penalty of — in Iraq?
<s>[INST]What law has a penalty of — in Iraq? Context: CREATE TABLE table_name_90 (laws_against_homosexuality VARCHAR, penalty VARCHAR, country VARCHAR)[/INST]SELECT laws_against_homosexuality FROM table_name_90 WHERE penalty = "—" AND country = "iraq"</s>
CREATE TABLE representative (Party VARCHAR)
SELECT Party, COUNT(*) FROM representative GROUP BY Party
What are the different parties of representative? Show the party name and the number of representatives in each party.
<s>[INST]What are the different parties of representative? Show the party name and the number of representatives in each party. Context: CREATE TABLE representative (Party VARCHAR)[/INST]SELECT Party, COUNT(*) FROM representative GROUP BY Party</s>
CREATE TABLE table_name_1 (club VARCHAR, round VARCHAR)
SELECT club FROM table_name_1 WHERE round = "group stage round 1 and 5"
Which club had round of group stage round 1 and 5?
<s>[INST]Which club had round of group stage round 1 and 5? Context: CREATE TABLE table_name_1 (club VARCHAR, round VARCHAR)[/INST]SELECT club FROM table_name_1 WHERE round = "group stage round 1 and 5"</s>
CREATE TABLE table_name_48 (trailers VARCHAR, year VARCHAR, builder VARCHAR)
SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw"
I want the trailers for 1931 and builder of mccw
<s>[INST]I want the trailers for 1931 and builder of mccw Context: CREATE TABLE table_name_48 (trailers VARCHAR, year VARCHAR, builder VARCHAR)[/INST]SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw"</s>
CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_77 WHERE player = "billy maxwell"
What is Country, when Player is "Billy Maxwell"?
<s>[INST]What is Country, when Player is "Billy Maxwell"? Context: CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_77 WHERE player = "billy maxwell"</s>
CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)
SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w"
What County has a Longitude of 85°45′43″w?
<s>[INST]What County has a Longitude of 85°45′43″w? Context: CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)[/INST]SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w"</s>
CREATE TABLE table_1973729_2 (founded INTEGER)
SELECT MAX(founded) FROM table_1973729_2
What is the latest founded year?
<s>[INST]What is the latest founded year? Context: CREATE TABLE table_1973729_2 (founded INTEGER)[/INST]SELECT MAX(founded) FROM table_1973729_2</s>
CREATE TABLE table_1912276_2 (name VARCHAR, __750m VARCHAR)
SELECT name FROM table_1912276_2 WHERE __750m = "46.436"
If -750m is 46.436, what is the name of the cyclist?
<s>[INST]If -750m is 46.436, what is the name of the cyclist? Context: CREATE TABLE table_1912276_2 (name VARCHAR, __750m VARCHAR)[/INST]SELECT name FROM table_1912276_2 WHERE __750m = "46.436"</s>
CREATE TABLE table_name_54 (type VARCHAR, satellite VARCHAR)
SELECT type FROM table_name_54 WHERE satellite = "gps iiia-2"
Which type is a satellite of GPS IIIA-2?
<s>[INST]Which type is a satellite of GPS IIIA-2? Context: CREATE TABLE table_name_54 (type VARCHAR, satellite VARCHAR)[/INST]SELECT type FROM table_name_54 WHERE satellite = "gps iiia-2"</s>
CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)
SELECT term_start FROM table_name_47 WHERE title = "minister for agriculture, fisheries and forestry" AND order = "25"
What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25??
<s>[INST]What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25?? Context: CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)[/INST]SELECT term_start FROM table_name_47 WHERE title = "minister for agriculture, fisheries and forestry" AND...
CREATE TABLE table_name_79 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_79 WHERE city = "zagreb"
When was the game played in Zagreb?
<s>[INST]When was the game played in Zagreb? Context: CREATE TABLE table_name_79 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE city = "zagreb"</s>
CREATE TABLE table_17650725_1 (internal_transfers INTEGER)
SELECT MIN(internal_transfers) FROM table_17650725_1
Name the least internal transfers
<s>[INST]Name the least internal transfers Context: CREATE TABLE table_17650725_1 (internal_transfers INTEGER)[/INST]SELECT MIN(internal_transfers) FROM table_17650725_1</s>
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "houston"
What was the game date when the opponent was Houston?
<s>[INST]What was the game date when the opponent was Houston? Context: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE opponent = "houston"</s>
CREATE TABLE table_name_75 (total VARCHAR, country VARCHAR)
SELECT total FROM table_name_75 WHERE country = "england"
What was England's total?
<s>[INST]What was England's total? Context: CREATE TABLE table_name_75 (total VARCHAR, country VARCHAR)[/INST]SELECT total FROM table_name_75 WHERE country = "england"</s>
CREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR)
SELECT municipality FROM table_name_53 WHERE station = "benson street"
What municipality is the Benson Street station located in?
<s>[INST]What municipality is the Benson Street station located in? Context: CREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR)[/INST]SELECT municipality FROM table_name_53 WHERE station = "benson street"</s>
CREATE TABLE table_name_23 (attendance VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_23 WHERE week = 8
What is the attendance of week 8?
<s>[INST]What is the attendance of week 8? Context: CREATE TABLE table_name_23 (attendance VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_23 WHERE week = 8</s>
CREATE TABLE table_16028499_2 (result VARCHAR, week VARCHAR)
SELECT result FROM table_16028499_2 WHERE week = 2
What was the result of week 2?
<s>[INST]What was the result of week 2? Context: CREATE TABLE table_16028499_2 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_16028499_2 WHERE week = 2</s>
CREATE TABLE table_name_83 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_83 WHERE date = "27 march 2008"
Who was the home team on 27 march 2008?
<s>[INST]Who was the home team on 27 march 2008? Context: CREATE TABLE table_name_83 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_83 WHERE date = "27 march 2008"</s>
CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_16 WHERE record = "6–1"
Record of 6–1 had what score?
<s>[INST]Record of 6–1 had what score? Context: CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE record = "6–1"</s>
CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR)
SELECT AVG(age_at_appointment) FROM table_name_58 WHERE portfolio_attachment = "security"
What is the average age at appointment of those attached to security?
<s>[INST]What is the average age at appointment of those attached to security? Context: CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR)[/INST]SELECT AVG(age_at_appointment) FROM table_name_58 WHERE portfolio_attachment = "security"</s>
CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer"
Who was the champion in the match where C.A. Palmer was the runner-up?
<s>[INST]Who was the champion in the match where C.A. Palmer was the runner-up? Context: CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR)[/INST]SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer"</s>
CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)
SELECT date FROM table_13023925_2 WHERE week = 14
What was the date of the game in week 14?
<s>[INST]What was the date of the game in week 14? Context: CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_13023925_2 WHERE week = 14</s>
CREATE TABLE table_name_79 (points VARCHAR, player VARCHAR)
SELECT points FROM table_name_79 WHERE player = "denis pederson"
How many points did Denis Pederson have?
<s>[INST]How many points did Denis Pederson have? Context: CREATE TABLE table_name_79 (points VARCHAR, player VARCHAR)[/INST]SELECT points FROM table_name_79 WHERE player = "denis pederson"</s>
CREATE TABLE table_29127804_3 (tournament VARCHAR, outcome VARCHAR)
SELECT tournament FROM table_29127804_3 WHERE outcome = "Runner-up"
what is the name of the tournament where outcome is runner-up
<s>[INST]what is the name of the tournament where outcome is runner-up Context: CREATE TABLE table_29127804_3 (tournament VARCHAR, outcome VARCHAR)[/INST]SELECT tournament FROM table_29127804_3 WHERE outcome = "Runner-up"</s>
CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals"
What competition had a final round in the finals and the final position winners?
<s>[INST]What competition had a final round in the finals and the final position winners? Context: CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)[/INST]SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals"</s>
CREATE TABLE procedures (name VARCHAR, cost VARCHAR)
SELECT name FROM procedures ORDER BY cost LIMIT 3
Find the three most expensive procedures.
<s>[INST]Find the three most expensive procedures. Context: CREATE TABLE procedures (name VARCHAR, cost VARCHAR)[/INST]SELECT name FROM procedures ORDER BY cost LIMIT 3</s>
CREATE TABLE table_29202276_2 (destination VARCHAR, train_number VARCHAR)
SELECT destination FROM table_29202276_2 WHERE train_number = 16526
What is the destination when the train number is 16526?
<s>[INST]What is the destination when the train number is 16526? Context: CREATE TABLE table_29202276_2 (destination VARCHAR, train_number VARCHAR)[/INST]SELECT destination FROM table_29202276_2 WHERE train_number = 16526</s>
CREATE TABLE table_name_25 (points_for INTEGER, record VARCHAR, points_against VARCHAR)
SELECT MAX(points_for) FROM table_name_25 WHERE record = "12–2" AND points_against > 6
What is the highest Points when the record was 12–2, and the Points Against are larger than 6?
<s>[INST]What is the highest Points when the record was 12–2, and the Points Against are larger than 6? Context: CREATE TABLE table_name_25 (points_for INTEGER, record VARCHAR, points_against VARCHAR)[/INST]SELECT MAX(points_for) FROM table_name_25 WHERE record = "12–2" AND points_against > 6</s>
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "november 22"
What is Record, when Date is "November 22"?
<s>[INST]What is Record, when Date is "November 22"? Context: CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_72 WHERE date = "november 22"</s>
CREATE TABLE table_14984103_1 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_14984103_1 WHERE week = 6
Name the game site for week 6
<s>[INST]Name the game site for week 6 Context: CREATE TABLE table_14984103_1 (game_site VARCHAR, week VARCHAR)[/INST]SELECT game_site FROM table_14984103_1 WHERE week = 6</s>
CREATE TABLE table_name_87 (green_communist VARCHAR, left_bloc VARCHAR)
SELECT green_communist FROM table_name_87 WHERE left_bloc = "3.0%"
What is the result for the Green-Communist party when the Left Bloc has 3.0%?
<s>[INST]What is the result for the Green-Communist party when the Left Bloc has 3.0%? Context: CREATE TABLE table_name_87 (green_communist VARCHAR, left_bloc VARCHAR)[/INST]SELECT green_communist FROM table_name_87 WHERE left_bloc = "3.0%"</s>
CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open"
What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open?
<s>[INST]What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open? Context: CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR, tournament VARCHAR)[/INST]SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open"</s>
CREATE TABLE table_name_46 (date VARCHAR, winner VARCHAR, race_name VARCHAR)
SELECT date FROM table_name_46 WHERE winner = "ted horn" AND race_name = "lakewood race 2"
What date did Ted Horn win Lakewood Race 2?
<s>[INST]What date did Ted Horn win Lakewood Race 2? Context: CREATE TABLE table_name_46 (date VARCHAR, winner VARCHAR, race_name VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE winner = "ted horn" AND race_name = "lakewood race 2"</s>
CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_85 WHERE tie_no = "replay" AND away_team = "crystal palace"
What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"?
<s>[INST]What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"? Context: CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE tie_no = "replay" AND away_team = "crystal palace"</s>
CREATE TABLE table_12094609_1 (evening_gown VARCHAR, state VARCHAR)
SELECT evening_gown FROM table_12094609_1 WHERE state = "South Dakota"
what's the evening gown where state is south dakota
<s>[INST] what's the evening gown where state is south dakota Context: CREATE TABLE table_12094609_1 (evening_gown VARCHAR, state VARCHAR)[/INST]SELECT evening_gown FROM table_12094609_1 WHERE state = "South Dakota"</s>
CREATE TABLE poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC
What are the names of poker players in descending order of earnings?
<s>[INST]What are the names of poker players in descending order of earnings? Context: CREATE TABLE poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings...
CREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)
SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks"
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?
<s>[INST]What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up? Context: CREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)[/INST]SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks"</s>
CREATE TABLE table_name_36 (points INTEGER, engine VARCHAR, chassis VARCHAR)
SELECT MIN(points) FROM table_name_36 WHERE engine = "mugen v8" AND chassis = "reynard 91d"
What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis?
<s>[INST]What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis? Context: CREATE TABLE table_name_36 (points INTEGER, engine VARCHAR, chassis VARCHAR)[/INST]SELECT MIN(points) FROM table_name_36 WHERE engine = "mugen v8" AND chassis = "reynard 91d"</s>
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating INTEGER)
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.overall_rating > (SELECT AVG(overall_rating) FROM Player_Attributes)
List all player names who have an overall rating higher than the average.
<s>[INST]List all player names who have an overall rating higher than the average. Context: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating INTEGER)[/INST]SELECT DISTINCT T1.p...
CREATE TABLE table_name_31 (change INTEGER, centre VARCHAR, rank VARCHAR)
SELECT AVG(change) FROM table_name_31 WHERE centre = "buenos aires" AND rank < 46
Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46?
<s>[INST]Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46? Context: CREATE TABLE table_name_31 (change INTEGER, centre VARCHAR, rank VARCHAR)[/INST]SELECT AVG(change) FROM table_name_31 WHERE centre = "buenos aires" AND rank < 46</s>
CREATE TABLE table_name_64 (earnings__ VARCHAR, player VARCHAR, rank VARCHAR)
SELECT COUNT(earnings__) AS $__ FROM table_name_64 WHERE player = "jim colbert" AND rank < 2
How much did jim colbert earned ranked above 2?
<s>[INST]How much did jim colbert earned ranked above 2? Context: CREATE TABLE table_name_64 (earnings__ VARCHAR, player VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(earnings__) AS $__ FROM table_name_64 WHERE player = "jim colbert" AND rank < 2</s>
CREATE TABLE table_name_67 (title VARCHAR, date VARCHAR)
SELECT title FROM table_name_67 WHERE date = "august 2004"
Which film was released in August 2004?
<s>[INST]Which film was released in August 2004? Context: CREATE TABLE table_name_67 (title VARCHAR, date VARCHAR)[/INST]SELECT title FROM table_name_67 WHERE date = "august 2004"</s>
CREATE TABLE country (Name VARCHAR, IndepYear INTEGER)
SELECT Name FROM country WHERE IndepYear > 1950
What are the names of all the countries that became independent after 1950?
<s>[INST]What are the names of all the countries that became independent after 1950? Context: CREATE TABLE country (Name VARCHAR, IndepYear INTEGER)[/INST]SELECT Name FROM country WHERE IndepYear > 1950</s>
CREATE TABLE table_name_12 (icelandic VARCHAR, english VARCHAR)
SELECT icelandic FROM table_name_12 WHERE english = "rain"
What's the Icelandic word for rain?
<s>[INST]What's the Icelandic word for rain? Context: CREATE TABLE table_name_12 (icelandic VARCHAR, english VARCHAR)[/INST]SELECT icelandic FROM table_name_12 WHERE english = "rain"</s>
CREATE TABLE table_name_51 (points INTEGER, year INTEGER)
SELECT MIN(points) FROM table_name_51 WHERE year > 1978
What are the lowest points past the year 1978?
<s>[INST]What are the lowest points past the year 1978? Context: CREATE TABLE table_name_51 (points INTEGER, year INTEGER)[/INST]SELECT MIN(points) FROM table_name_51 WHERE year > 1978</s>
CREATE TABLE table_26561498_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_26561498_1 WHERE production_code = 176452
who directed and produced 176452?
<s>[INST]who directed and produced 176452? Context: CREATE TABLE table_26561498_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_26561498_1 WHERE production_code = 176452</s>
CREATE TABLE table_name_37 (overall VARCHAR, player VARCHAR)
SELECT COUNT(overall) FROM table_name_37 WHERE player = "fred nixon"
What is the total number of overall draft picks for Fred Nixon?
<s>[INST]What is the total number of overall draft picks for Fred Nixon? Context: CREATE TABLE table_name_37 (overall VARCHAR, player VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_37 WHERE player = "fred nixon"</s>
CREATE TABLE table_name_75 (date VARCHAR, race_winner VARCHAR, track VARCHAR)
SELECT date FROM table_name_75 WHERE race_winner = "steve wallace" AND track = "kentucky speedway"
Steve Wallace was a Race Winner at the Kentucky Speedway on what date?
<s>[INST]Steve Wallace was a Race Winner at the Kentucky Speedway on what date? Context: CREATE TABLE table_name_75 (date VARCHAR, race_winner VARCHAR, track VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE race_winner = "steve wallace" AND track = "kentucky speedway"</s>
CREATE TABLE table_name_69 (team VARCHAR, rank VARCHAR, time VARCHAR)
SELECT team FROM table_name_69 WHERE rank < 4 AND time = "1:14.04.88"
Which team had a rank under 4 with a time of 1:14.04.88?
<s>[INST]Which team had a rank under 4 with a time of 1:14.04.88? Context: CREATE TABLE table_name_69 (team VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT team FROM table_name_69 WHERE rank < 4 AND time = "1:14.04.88"</s>
CREATE TABLE station (name VARCHAR, LOCATION VARCHAR, Annual_entry_exit VARCHAR, Annual_interchanges VARCHAR)
SELECT name, LOCATION FROM station ORDER BY Annual_entry_exit, Annual_interchanges
List the names and locations of all stations ordered by their yearly entry exit and interchange amounts.
<s>[INST]List the names and locations of all stations ordered by their yearly entry exit and interchange amounts. Context: CREATE TABLE station (name VARCHAR, LOCATION VARCHAR, Annual_entry_exit VARCHAR, Annual_interchanges VARCHAR)[/INST]SELECT name, LOCATION FROM station ORDER BY Annual_entry_exit, Annual_interchange...
CREATE TABLE table_name_34 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_34 WHERE round = 6
What College/Junior/Club Team (League) has 6 as the Round?
<s>[INST]What College/Junior/Club Team (League) has 6 as the Round? Context: CREATE TABLE table_name_34 (college_junior_club_team__league_ VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_34 WHERE round = 6</s>
CREATE TABLE table_name_75 (frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR)
SELECT frequency FROM table_name_75 WHERE purpose = "commercial" AND on_air_id = "radio tab" AND callsign = "4tab"
4tab of commercial broadcaster Radio Tab broadcasts at what frequency?
<s>[INST]4tab of commercial broadcaster Radio Tab broadcasts at what frequency? Context: CREATE TABLE table_name_75 (frequency VARCHAR, callsign VARCHAR, purpose VARCHAR, on_air_id VARCHAR)[/INST]SELECT frequency FROM table_name_75 WHERE purpose = "commercial" AND on_air_id = "radio tab" AND callsign = "4tab"</s>
CREATE TABLE table_name_41 (home__2nd_leg_ VARCHAR)
SELECT 2 AS nd_leg FROM table_name_41 WHERE home__2nd_leg_ = "estudiantes la plata"
What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg?
<s>[INST]What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg? Context: CREATE TABLE table_name_41 (home__2nd_leg_ VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_41 WHERE home__2nd_leg_ = "estudiantes la plata"</s>