question
stringlengths
21
201
answer
stringlengths
27
316
context
stringlengths
32
286
text
stringlengths
121
753
Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?
SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0
CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR)
<s>[INST] Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? context: CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR) [/INST] SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0 </s>
What was the record for the Argonauts on September 7?
SELECT record FROM table_24136814_3 WHERE date = "September 7"
CREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR)
<s>[INST] What was the record for the Argonauts on September 7? context: CREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_24136814_3 WHERE date = "September 7" </s>
Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?
SELECT location FROM table_name_97 WHERE cause = "gas explosion" AND death_toll > 38 AND date = "10 june"
CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)
<s>[INST] Where has a cause of gas explosion, a Death toll larger than 38 on 10 june? context: CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR) [/INST] SELECT location FROM table_name_97 WHERE cause = "gas explosion" AND death_toll > 38 AND date = "10 june" </s>
I want the constructor for divina galica rounds of 1-2
SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica"
CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
<s>[INST] I want the constructor for divina galica rounds of 1-2 context: CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR) [/INST] SELECT constructor FROM table_name_54 WHERE rounds = "1-2" AND driver = "divina galica" </s>
How many attended the game at Arden Street Oval?
SELECT AVG(crowd) FROM table_name_86 WHERE venue = "arden street oval"
CREATE TABLE table_name_86 (crowd INTEGER, venue VARCHAR)
<s>[INST] How many attended the game at Arden Street Oval? context: CREATE TABLE table_name_86 (crowd INTEGER, venue VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_86 WHERE venue = "arden street oval" </s>
What is the home team of lake oval's score?
SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval"
CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
<s>[INST] What is the home team of lake oval's score? context: CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval" </s>
There is a building at 800 Boylston Street, how many floors does it have?
SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street"
CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR)
<s>[INST] There is a building at 800 Boylston Street, how many floors does it have? context: CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR) [/INST] SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street" </s>
How many cuts did Reid make in the year when her earnings were n/a?
SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/a"
CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)
<s>[INST] How many cuts did Reid make in the year when her earnings were n/a? context: CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR) [/INST] SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/a" </s>
what year was william francis stevenson first elected?
SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson"
CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)
<s>[INST] what year was william francis stevenson first elected? context: CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR) [/INST] SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson" </s>
What is the average goals scored when less than 34 were played and there were more than 2 draws?
SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 2
CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)
<s>[INST] What is the average goals scored when less than 34 were played and there were more than 2 draws? context: CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR) [/INST] SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 2 </s>
In Round 10, what was the Overall for Ed Tomlin?
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"
CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)
<s>[INST] In Round 10, what was the Overall for Ed Tomlin? context: CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR) [/INST] SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin" </s>
What is the distinguished service cross when the navy cross is Coast Guard commendation medal?
SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal"
CREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR)
<s>[INST] What is the distinguished service cross when the navy cross is Coast Guard commendation medal? context: CREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR) [/INST] SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal" </s>
What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?
SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0
CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)
<s>[INST] What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0? context: CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR) [/INST] SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0 </s>
What is the birth place of the prime minister who served George V and entered office on 23 October 1922?
SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922"
CREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)
<s>[INST] What is the birth place of the prime minister who served George V and entered office on 23 October 1922? context: CREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR) [/INST] SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922" </s>
What driver has 5 as the zan 2?
SELECT driver FROM table_name_69 WHERE zan_2 = "5"
CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
<s>[INST] What driver has 5 as the zan 2? context: CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR) [/INST] SELECT driver FROM table_name_69 WHERE zan_2 = "5" </s>
Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?
SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971"
CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
<s>[INST] Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971? context: CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR) [/INST] SELECT commercial_operation FROM table_name_48 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971" </s>
Who is the player who played for the Miami Sol and went to school at North Carolina State?
SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolina state"
CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)
<s>[INST] Who is the player who played for the Miami Sol and went to school at North Carolina State? context: CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR) [/INST] SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolina state" </s>
Which terminations correspond to a US MSRP of $49?
SELECT termination FROM table_1601027_1 WHERE us_msrp = "$49"
CREATE TABLE table_1601027_1 (termination VARCHAR, us_msrp VARCHAR)
<s>[INST] Which terminations correspond to a US MSRP of $49? context: CREATE TABLE table_1601027_1 (termination VARCHAR, us_msrp VARCHAR) [/INST] SELECT termination FROM table_1601027_1 WHERE us_msrp = "$49" </s>
What is the area in kilometers squared the population density is 137.61?
SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.61"
CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)
<s>[INST] What is the area in kilometers squared the population density is 137.61? context: CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR) [/INST] SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.61" </s>
Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold?
SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6
CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
<s>[INST] Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? context: CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) [/INST] SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6 </s>
Name the most rank for wins outdoor larger than 1 and wins indoor less than 0
SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0
CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)
<s>[INST] Name the most rank for wins outdoor larger than 1 and wins indoor less than 0 context: CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR) [/INST] SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0 </s>
Which parts have more than 2 faults? Show the part name and id.
SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2
CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)
<s>[INST] Which parts have more than 2 faults? Show the part name and id. context: CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR) [/INST] SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2 </s>
Who is the winning team of the South Pacific Trophy?
SELECT winning_team FROM table_name_22 WHERE name = "south pacific trophy"
CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR)
<s>[INST] Who is the winning team of the South Pacific Trophy? context: CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR) [/INST] SELECT winning_team FROM table_name_22 WHERE name = "south pacific trophy" </s>
what is the score when the runner-up is richard krajicek?
SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek"
CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)
<s>[INST] what is the score when the runner-up is richard krajicek? context: CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR) [/INST] SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek" </s>
What is the Accreditation Level, when the Hardware Model is GT-I9100?
SELECT accreditation_level FROM table_name_7 WHERE hardware_model = "gt-i9100"
CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR)
<s>[INST] What is the Accreditation Level, when the Hardware Model is GT-I9100? context: CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR) [/INST] SELECT accreditation_level FROM table_name_7 WHERE hardware_model = "gt-i9100" </s>
What was the attendance for St Andrew's?
SELECT attendance FROM table_name_17 WHERE venue = "st andrew's"
CREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR)
<s>[INST] What was the attendance for St Andrew's? context: CREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR) [/INST] SELECT attendance FROM table_name_17 WHERE venue = "st andrew's" </s>
Who is the opponent in the final of the match on 19 February 2006?
SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 2006"
CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)
<s>[INST] Who is the opponent in the final of the match on 19 February 2006? context: CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR) [/INST] SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 2006" </s>
What was the record on the game that was played on october 27?
SELECT record FROM table_name_72 WHERE date = "october 27"
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
<s>[INST] What was the record on the game that was played on october 27? context: CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_72 WHERE date = "october 27" </s>
What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?
SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 2
CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)
<s>[INST] What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2? context: CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR) [/INST] SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 2 </s>
When was the elector from pisa elevated?
SELECT elevated FROM table_name_13 WHERE nationality = "pisa"
CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)
<s>[INST] When was the elector from pisa elevated? context: CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR) [/INST] SELECT elevated FROM table_name_13 WHERE nationality = "pisa" </s>
What is the name of the church that is located in eikefjord?
SELECT church_name FROM table_name_8 WHERE location_of_the_church = "eikefjord"
CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR)
<s>[INST] What is the name of the church that is located in eikefjord? context: CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR) [/INST] SELECT church_name FROM table_name_8 WHERE location_of_the_church = "eikefjord" </s>
Name the least week for september 19, 1976
SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976"
CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR)
<s>[INST] Name the least week for september 19, 1976 context: CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR) [/INST] SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976" </s>
Who was the Builder for the locomotive that has a works number of 323?
SELECT builder FROM table_name_92 WHERE works_number = "323"
CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR)
<s>[INST] Who was the Builder for the locomotive that has a works number of 323? context: CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR) [/INST] SELECT builder FROM table_name_92 WHERE works_number = "323" </s>
What is the date of the game at the Pro Player Stadium that had a score of 4-1?
SELECT date FROM table_name_43 WHERE venue = "pro player stadium" AND score = "4-1"
CREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
<s>[INST] What is the date of the game at the Pro Player Stadium that had a score of 4-1? context: CREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR) [/INST] SELECT date FROM table_name_43 WHERE venue = "pro player stadium" AND score = "4-1" </s>
What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?
SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx"
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)
<s>[INST] What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx? context: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR) [/INST] SELECT i_o_bus FROM table_24538587_11 WHERE socket = "LGA 1155" AND codename__main_article_ = "Sandy Bridge (Desktop)" AND brand_name__list_ = "Core i3-21xx" </s>
How many goals have a goal ration less than 0.8 with 56 games?
SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56
CREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)
<s>[INST] How many goals have a goal ration less than 0.8 with 56 games? context: CREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR) [/INST] SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56 </s>
What was the result of the competition that had a score of 4-0?
SELECT result FROM table_name_95 WHERE score = "4-0"
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)
<s>[INST] What was the result of the competition that had a score of 4-0? context: CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR) [/INST] SELECT result FROM table_name_95 WHERE score = "4-0" </s>
What is the date of enrollment of the course named "Spanish"?
SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish"
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)
<s>[INST] What is the date of enrollment of the course named "Spanish"? context: CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR) [/INST] SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish" </s>
Name the % asian american for 23526
SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526
CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)
<s>[INST] Name the % asian american for 23526 context: CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR) [/INST] SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526 </s>
Which team had $15,785 in winnings?
SELECT team_s_ FROM table_26609690_1 WHERE winnings = "$15,785"
CREATE TABLE table_26609690_1 (team_s_ VARCHAR, winnings VARCHAR)
<s>[INST] Which team had $15,785 in winnings? context: CREATE TABLE table_26609690_1 (team_s_ VARCHAR, winnings VARCHAR) [/INST] SELECT team_s_ FROM table_26609690_1 WHERE winnings = "$15,785" </s>
What's the ratings of TBS of Episode 10 and had a Japanese title of Scandal?
SELECT average_ratings FROM table_name_76 WHERE tv_station = "tbs" AND episodes = "10" AND japanese_title = "scandal"
CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
<s>[INST] What's the ratings of TBS of Episode 10 and had a Japanese title of Scandal? context: CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR) [/INST] SELECT average_ratings FROM table_name_76 WHERE tv_station = "tbs" AND episodes = "10" AND japanese_title = "scandal" </s>
what is the maximum pick # where player is anthony blaylock
SELECT MAX(pick__number) FROM table_10650711_1 WHERE player = "Anthony Blaylock"
CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR)
<s>[INST] what is the maximum pick # where player is anthony blaylock context: CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR) [/INST] SELECT MAX(pick__number) FROM table_10650711_1 WHERE player = "Anthony Blaylock" </s>
What is the average expenditures on R&D for Croatia after 2007?
SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007
CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)
<s>[INST] What is the average expenditures on R&D for Croatia after 2007? context: CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) [/INST] SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007 </s>
What episode in the series is TV broadcast s03e20?
SELECT no_in_series FROM table_15861776_1 WHERE tv_broadcast = "S03E20"
CREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)
<s>[INST] What episode in the series is TV broadcast s03e20? context: CREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR) [/INST] SELECT no_in_series FROM table_15861776_1 WHERE tv_broadcast = "S03E20" </s>
What position has a time less than 40.2 at the rome venue?
SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2
CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR)
<s>[INST] What position has a time less than 40.2 at the rome venue? context: CREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR) [/INST] SELECT position FROM table_name_69 WHERE venue = "rome" AND time < 40.2 </s>
Which Region has a Date of early september 1999?
SELECT region FROM table_name_15 WHERE date = "early september 1999"
CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)
<s>[INST] Which Region has a Date of early september 1999? context: CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR) [/INST] SELECT region FROM table_name_15 WHERE date = "early september 1999" </s>
What was the Opponent when the Cavaliers had a Record of 3-9?
SELECT opponent FROM table_name_10 WHERE record = "3-9"
CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)
<s>[INST] What was the Opponent when the Cavaliers had a Record of 3-9? context: CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR) [/INST] SELECT opponent FROM table_name_10 WHERE record = "3-9" </s>
What was Liu Limin's time in heat 4?
SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin"
CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR)
<s>[INST] What was Liu Limin's time in heat 4? context: CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR) [/INST] SELECT time FROM table_name_32 WHERE heat = 4 AND name = "liu limin" </s>
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?
SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023"
CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)
<s>[INST] Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? context: CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR) [/INST] SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023" </s>
What is the route of administration that has several ongoing and complete?
SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete"
CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR)
<s>[INST] What is the route of administration that has several ongoing and complete? context: CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR) [/INST] SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete" </s>
What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?
SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10
CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)
<s>[INST] What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference? context: CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR) [/INST] SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10 </s>
If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6"
CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)
<s>[INST] If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals? context: CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR) [/INST] SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6" </s>
Name the title for total viewers on fx+ being 483,000
SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000"
CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)
<s>[INST] Name the title for total viewers on fx+ being 483,000 context: CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR) [/INST] SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000" </s>
What's the Date for the Region of Europe and has the Catalog of 28765 22392 8?
SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 8"
CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)
<s>[INST] What's the Date for the Region of Europe and has the Catalog of 28765 22392 8? context: CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 8" </s>
with rank of 31 what is the year?
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
<s>[INST] with rank of 31 what is the year? context: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR) [/INST] SELECT COUNT(year) FROM table_name_48 WHERE rank = "31" </s>
Who was the supporting actress in 1943?
SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)
<s>[INST] Who was the supporting actress in 1943? context: CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR) [/INST] SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943 </s>
What year was the wheel arrangement 0-6-0 and a class 302?
SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302"
CREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
<s>[INST] What year was the wheel arrangement 0-6-0 and a class 302? context: CREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) [/INST] SELECT year_made FROM table_name_76 WHERE wheel_arrangement = "0-6-0" AND class = "302" </s>
What is the score of the match with a save postponed rescheduled for June 24?
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"
CREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)
<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>
How many wins did he have when he played under 2 events?
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2
CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER)
<s>[INST] How many wins did he have when he played under 2 events? context: CREATE TABLE table_name_22 (wins VARCHAR, events INTEGER) [/INST] SELECT COUNT(wins) FROM table_name_22 WHERE events < 2 </s>
Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA
SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)
<s>[INST] Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA context: CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR) [/INST] SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood </s>
What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?
SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)"
CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)
<s>[INST] What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)? context: CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR) [/INST] SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)" </s>
What opponent has 76,202 attendance ?
SELECT opponent FROM table_name_5 WHERE attendance = "76,202"
CREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR)
<s>[INST] What opponent has 76,202 attendance ? context: CREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR) [/INST] SELECT opponent FROM table_name_5 WHERE attendance = "76,202" </s>
Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?
SELECT type FROM table_name_19 WHERE bldr = "mcw&f" AND year < 1927 AND lt_nos = "9820-9821"
CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)
<s>[INST] Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type? context: CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR) [/INST] SELECT type FROM table_name_19 WHERE bldr = "mcw&f" AND year < 1927 AND lt_nos = "9820-9821" </s>
What is the Input/output operations per second for the emlc flash?
SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash"
CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)
<s>[INST] What is the Input/output operations per second for the emlc flash? context: CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR) [/INST] SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash" </s>
Which race was on the Las Vegas Motor Speedway for 2 hours?
SELECT race FROM table_name_36 WHERE circuit = "las vegas motor speedway" AND length = "2 hours"
CREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)
<s>[INST] Which race was on the Las Vegas Motor Speedway for 2 hours? context: CREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR) [/INST] SELECT race FROM table_name_36 WHERE circuit = "las vegas motor speedway" AND length = "2 hours" </s>
What is tom cassidy's nationality?
SELECT nationality FROM table_name_25 WHERE player = "tom cassidy"
CREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR)
<s>[INST] What is tom cassidy's nationality? context: CREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR) [/INST] SELECT nationality FROM table_name_25 WHERE player = "tom cassidy" </s>
How many bronzes have a Nation of jamaica (jam), and a Total smaller than 7?
SELECT COUNT(bronze) FROM table_name_6 WHERE nation = "jamaica (jam)" AND total < 7
CREATE TABLE table_name_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR)
<s>[INST] How many bronzes have a Nation of jamaica (jam), and a Total smaller than 7? context: CREATE TABLE table_name_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR) [/INST] SELECT COUNT(bronze) FROM table_name_6 WHERE nation = "jamaica (jam)" AND total < 7 </s>
What position does Jim Johnston play?
SELECT position FROM table_1213511_6 WHERE player = "Jim Johnston"
CREATE TABLE table_1213511_6 (position VARCHAR, player VARCHAR)
<s>[INST] What position does Jim Johnston play? context: CREATE TABLE table_1213511_6 (position VARCHAR, player VARCHAR) [/INST] SELECT position FROM table_1213511_6 WHERE player = "Jim Johnston" </s>
What is the result of the match in round 1r against tunisia and on a hard surface?
SELECT result FROM table_name_37 WHERE round = "1r" AND surface = "hard" AND against = "tunisia"
CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)
<s>[INST] What is the result of the match in round 1r against tunisia and on a hard surface? context: CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR) [/INST] SELECT result FROM table_name_37 WHERE round = "1r" AND surface = "hard" AND against = "tunisia" </s>
What round had a record of 4-1?
SELECT round FROM table_name_17 WHERE record = "4-1"
CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)
<s>[INST] What round had a record of 4-1? context: CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR) [/INST] SELECT round FROM table_name_17 WHERE record = "4-1" </s>
In which host city was Margaret Thatcher the President-in-Office in 1981?
SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981
CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)
<s>[INST] In which host city was Margaret Thatcher the President-in-Office in 1981? context: CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR) [/INST] SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981 </s>
Which film title used in nomination has the year (ceremony) 1990 (63rd)?
SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)"
CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)
<s>[INST] Which film title used in nomination has the year (ceremony) 1990 (63rd)? context: CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR) [/INST] SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)" </s>
When collingwood played as the home team who was the away team?
SELECT away_team FROM table_name_88 WHERE home_team = "collingwood"
CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] When collingwood played as the home team who was the away team? context: CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team FROM table_name_88 WHERE home_team = "collingwood" </s>
What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?
SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)"
CREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR)
<s>[INST] What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)? context: CREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR) [/INST] SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)" </s>
How many entrants did the events won by Frank Gary average?
SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary"
CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR)
<s>[INST] How many entrants did the events won by Frank Gary average? context: CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR) [/INST] SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary" </s>
How many different variants are there for Northern Counties bodybuilder?
SELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = "Northern Counties"
CREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)
<s>[INST] How many different variants are there for Northern Counties bodybuilder? context: CREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR) [/INST] SELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = "Northern Counties" </s>
What was the attendance on week 7?
SELECT attendance FROM table_name_26 WHERE week = 7
CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR)
<s>[INST] What was the attendance on week 7? context: CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR) [/INST] SELECT attendance FROM table_name_26 WHERE week = 7 </s>
Who organized Alston Church?
SELECT organized_by FROM table_name_68 WHERE church_name = "alston church"
CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)
<s>[INST] Who organized Alston Church? context: CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR) [/INST] SELECT organized_by FROM table_name_68 WHERE church_name = "alston church" </s>
What was the incumbent for texas 19?
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
<s>[INST] What was the incumbent for texas 19? context: CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR) [/INST] SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19" </s>
How many people attended the match when Manchester United played against the Hearts?
SELECT SUM(attendance) FROM table_name_95 WHERE opponents = "hearts"
CREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR)
<s>[INST] How many people attended the match when Manchester United played against the Hearts? context: CREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR) [/INST] SELECT SUM(attendance) FROM table_name_95 WHERE opponents = "hearts" </s>
What is the Sign-in/Bicker at wash50 on washington rd?
SELECT sign_in_bicker FROM table_name_27 WHERE location = "wash50 on washington rd"
CREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR)
<s>[INST] What is the Sign-in/Bicker at wash50 on washington rd? context: CREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR) [/INST] SELECT sign_in_bicker FROM table_name_27 WHERE location = "wash50 on washington rd" </s>
What league has a number less than 122, and least wins as the record?
SELECT league FROM table_name_38 WHERE number < 122 AND record = "least wins"
CREATE TABLE table_name_38 (league VARCHAR, number VARCHAR, record VARCHAR)
<s>[INST] What league has a number less than 122, and least wins as the record? context: CREATE TABLE table_name_38 (league VARCHAR, number VARCHAR, record VARCHAR) [/INST] SELECT league FROM table_name_38 WHERE number < 122 AND record = "least wins" </s>
How many rebounds per game did he have at the 2006 fiba world championship?
SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2006 FIBA World Championship"
CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)
<s>[INST] How many rebounds per game did he have at the 2006 fiba world championship? context: CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR) [/INST] SELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = "2006 FIBA World Championship" </s>
What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders?
SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders"
CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)
<s>[INST] What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders? context: CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR) [/INST] SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders" </s>
Which winner has a points classification of Tony Rominger at stage 17?
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17"
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
<s>[INST] Which winner has a points classification of Tony Rominger at stage 17? context: CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR) [/INST] SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17" </s>
From which country was the player whose year(s) won was 1983?
SELECT country FROM table_name_9 WHERE year_s__won = "1983"
CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)
<s>[INST] From which country was the player whose year(s) won was 1983? context: CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR) [/INST] SELECT country FROM table_name_9 WHERE year_s__won = "1983" </s>
In what season was 577 runs scored?
SELECT season FROM table_name_33 WHERE runs = "577"
CREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR)
<s>[INST] In what season was 577 runs scored? context: CREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR) [/INST] SELECT season FROM table_name_33 WHERE runs = "577" </s>
Which position is number 16?
SELECT position FROM table_name_7 WHERE number = 16
CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)
<s>[INST] Which position is number 16? context: CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR) [/INST] SELECT position FROM table_name_7 WHERE number = 16 </s>
what are all the open 1st viii with u15 6th iv being bgs
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS"
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)
<s>[INST] what are all the open 1st viii with u15 6th iv being bgs context: CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR) [/INST] SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS" </s>
What engine has the Mercedes AMG Petronas f1 team, and 93 points?
SELECT engine FROM table_name_1 WHERE entrant = "mercedes amg petronas f1 team" AND points = "93"
CREATE TABLE table_name_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
<s>[INST] What engine has the Mercedes AMG Petronas f1 team, and 93 points? context: CREATE TABLE table_name_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR) [/INST] SELECT engine FROM table_name_1 WHERE entrant = "mercedes amg petronas f1 team" AND points = "93" </s>
What is the role of the aircraft that has a registration of s5-hpb?
SELECT role FROM table_name_51 WHERE registration = "s5-hpb"
CREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR)
<s>[INST] What is the role of the aircraft that has a registration of s5-hpb? context: CREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR) [/INST] SELECT role FROM table_name_51 WHERE registration = "s5-hpb" </s>
Find the zip code in which the average mean visibility is lower than 10.
SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10
CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER)
<s>[INST] Find the zip code in which the average mean visibility is lower than 10. context: CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER) [/INST] SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10 </s>
When the total points are 22 how many total touchdowns have been made?
SELECT touchdowns FROM table_14342592_5 WHERE points = 22
CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR)
<s>[INST] When the total points are 22 how many total touchdowns have been made? context: CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR) [/INST] SELECT touchdowns FROM table_14342592_5 WHERE points = 22 </s>
How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?
SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575
CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)
<s>[INST] How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted? context: CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR) [/INST] SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575 </s>
How many KEI catagories are listed when the economic incentive regime is 2.56?
SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = "2.56"
CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)
<s>[INST] How many KEI catagories are listed when the economic incentive regime is 2.56? context: CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR) [/INST] SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = "2.56" </s>
When was the 'first season of current spell in top division' if the first season in top division is in 1964-65?
SELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division = "1964-65"
CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR)
<s>[INST] When was the 'first season of current spell in top division' if the first season in top division is in 1964-65? context: CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR) [/INST] SELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division = "1964-65" </s>
Which visiting team wound up with a final score of 18-40?
SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40"
CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR)
<s>[INST] Which visiting team wound up with a final score of 18-40? context: CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR) [/INST] SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40" </s>
How many races did he do in the year he had 8 points?
SELECT races FROM table_name_47 WHERE points = "8"
CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)
<s>[INST] How many races did he do in the year he had 8 points? context: CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR) [/INST] SELECT races FROM table_name_47 WHERE points = "8" </s>
When Marlene was nominated for the Olivier Award, what was the result?
SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award"
CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)
<s>[INST] When Marlene was nominated for the Olivier Award, what was the result? context: CREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR) [/INST] SELECT result FROM table_name_33 WHERE nominated_work = "marlene" AND award = "olivier award" </s>
What event did he fight masato shiozawa?
SELECT event FROM table_name_82 WHERE opponent = "masato shiozawa"
CREATE TABLE table_name_82 (event VARCHAR, opponent VARCHAR)
<s>[INST] What event did he fight masato shiozawa? context: CREATE TABLE table_name_82 (event VARCHAR, opponent VARCHAR) [/INST] SELECT event FROM table_name_82 WHERE opponent = "masato shiozawa" </s>