context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_36 (team VARCHAR, location VARCHAR) | SELECT team FROM table_name_36 WHERE location = "leicester" | Which team is located in Leicester? | <s>[INST]Which team is located in Leicester? Context: CREATE TABLE table_name_36 (team VARCHAR, location VARCHAR)[/INST]SELECT team FROM table_name_36 WHERE location = "leicester"</s> |
CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_51 WHERE date = "27 april 1974" AND venue = "mcg" | Tell me the away team score for 27 april 1974 and veue of mcg | <s>[INST]Tell me the away team score for 27 april 1974 and veue of mcg Context: CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_51 WHERE date = "27 april 1974" AND venue = "mcg"</s> |
CREATE TABLE table_name_61 (round_1_ VARCHAR, _2a_points VARCHAR, horse VARCHAR) | SELECT round_1_ + _2a_points FROM table_name_61 WHERE horse = "poncorde" | Name the round 1 +2A points for horse of poncorde | <s>[INST]Name the round 1 +2A points for horse of poncorde Context: CREATE TABLE table_name_61 (round_1_ VARCHAR, _2a_points VARCHAR, horse VARCHAR)[/INST]SELECT round_1_ + _2a_points FROM table_name_61 WHERE horse = "poncorde"</s> |
CREATE TABLE table_24334261_1 (folded INTEGER, stadium VARCHAR) | SELECT MAX(folded) FROM table_24334261_1 WHERE stadium = "Fraser Field" | What is the maximum folded value of the team whose stadium is Fraser Field? | <s>[INST]What is the maximum folded value of the team whose stadium is Fraser Field? Context: CREATE TABLE table_24334261_1 (folded INTEGER, stadium VARCHAR)[/INST]SELECT MAX(folded) FROM table_24334261_1 WHERE stadium = "Fraser Field"</s> |
CREATE TABLE table_name_61 (year VARCHAR, location VARCHAR) | SELECT year FROM table_name_61 WHERE location = "ta'izz" | What year is the location Ta'izz? | <s>[INST]What year is the location Ta'izz? Context: CREATE TABLE table_name_61 (year VARCHAR, location VARCHAR)[/INST]SELECT year FROM table_name_61 WHERE location = "ta'izz"</s> |
CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | SELECT result FROM table_name_6 WHERE first_elected = 1898 AND incumbent = "julius kahn" | What was the result for Julius Kahn's first election of 1898? | <s>[INST]What was the result for Julius Kahn's first election of 1898? Context: CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_name_6 WHERE first_elected = 1898 AND incumbent = "julius kahn"</s> |
CREATE TABLE table_name_4 (opponent VARCHAR, stadium VARCHAR) | SELECT opponent FROM table_name_4 WHERE stadium = "balboa stadium" | What opponent has balboa stadium as the opponent? | <s>[INST]What opponent has balboa stadium as the opponent? Context: CREATE TABLE table_name_4 (opponent VARCHAR, stadium VARCHAR)[/INST]SELECT opponent FROM table_name_4 WHERE stadium = "balboa stadium"</s> |
CREATE TABLE table_name_70 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_70 WHERE opponent = "sergi bruguera" | What was the score in the match against Sergi Bruguera? | <s>[INST]What was the score in the match against Sergi Bruguera? Context: CREATE TABLE table_name_70 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_70 WHERE opponent = "sergi bruguera"</s> |
CREATE TABLE table_30087032_5 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_30087032_5 WHERE high_points = "Charles Barkley (21)" | Who did the high assists in the game where Charles Barkley (21) did the high points? | <s>[INST]Who did the high assists in the game where Charles Barkley (21) did the high points? Context: CREATE TABLE table_30087032_5 (high_assists VARCHAR, high_points VARCHAR)[/INST]SELECT high_assists FROM table_30087032_5 WHERE high_points = "Charles Barkley (21)"</s> |
CREATE TABLE table_name_84 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_84 WHERE partner = "kateryna bondarenko" | What was the Outcome of the match with Partner Kateryna Bondarenko? | <s>[INST]What was the Outcome of the match with Partner Kateryna Bondarenko? Context: CREATE TABLE table_name_84 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_name_84 WHERE partner = "kateryna bondarenko"</s> |
CREATE TABLE table_1132600_3 (winning_driver VARCHAR, grand_prix VARCHAR) | SELECT COUNT(winning_driver) FROM table_1132600_3 WHERE grand_prix = "Italian grand_prix" | How many drivers won the Italian Grand Prix? | <s>[INST]How many drivers won the Italian Grand Prix? Context: CREATE TABLE table_1132600_3 (winning_driver VARCHAR, grand_prix VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_1132600_3 WHERE grand_prix = "Italian grand_prix"</s> |
CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER) | SELECT SUM(gold) FROM table_name_87 WHERE silver < 0 | I want the sum of gold for silver being less than 0 | <s>[INST]I want the sum of gold for silver being less than 0 Context: CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER)[/INST]SELECT SUM(gold) FROM table_name_87 WHERE silver < 0</s> |
CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR) | SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken" | What shows for round when the race was Int. Adac Preis Von Zweibrücken? | <s>[INST]What shows for round when the race was Int. Adac Preis Von Zweibrücken? Context: CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR)[/INST]SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken"</s> |
CREATE TABLE table_name_84 (regulations VARCHAR, winning_constructor VARCHAR) | SELECT regulations FROM table_name_84 WHERE winning_constructor = "hudson" | What regulations have hudson as the winning constructor? | <s>[INST]What regulations have hudson as the winning constructor? Context: CREATE TABLE table_name_84 (regulations VARCHAR, winning_constructor VARCHAR)[/INST]SELECT regulations FROM table_name_84 WHERE winning_constructor = "hudson"</s> |
CREATE TABLE table_1805191_39 (results VARCHAR, district VARCHAR) | SELECT COUNT(results) FROM table_1805191_39 WHERE district = "Pennsylvania 11" | In district Pennsylvania 11, what was the total numbers of results? | <s>[INST]In district Pennsylvania 11, what was the total numbers of results? Context: CREATE TABLE table_1805191_39 (results VARCHAR, district VARCHAR)[/INST]SELECT COUNT(results) FROM table_1805191_39 WHERE district = "Pennsylvania 11"</s> |
CREATE TABLE table_name_54 (category VARCHAR, result VARCHAR, nominee VARCHAR) | SELECT category FROM table_name_54 WHERE result = "nominated" AND nominee = "gene barry" | Which category was Gene Barry nominated in? | <s>[INST]Which category was Gene Barry nominated in? Context: CREATE TABLE table_name_54 (category VARCHAR, result VARCHAR, nominee VARCHAR)[/INST]SELECT category FROM table_name_54 WHERE result = "nominated" AND nominee = "gene barry"</s> |
CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_8 WHERE date = "october 30" | What was the Record for the game on October 30? | <s>[INST]What was the Record for the game on October 30? Context: CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_8 WHERE date = "october 30"</s> |
CREATE TABLE table_name_54 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_54 WHERE week > 8 AND date = "december 4, 1960" | Who was the opponent in a week over 8 on December 4, 1960? | <s>[INST]Who was the opponent in a week over 8 on December 4, 1960? Context: CREATE TABLE table_name_54 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_54 WHERE week > 8 AND date = "december 4, 1960"</s> |
CREATE TABLE table_name_38 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_38 WHERE home = "los angeles" | What is the record of the game when Los Angeles was the home team? | <s>[INST]What is the record of the game when Los Angeles was the home team? Context: CREATE TABLE table_name_38 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_38 WHERE home = "los angeles"</s> |
CREATE TABLE table_1456056_1 (total INTEGER, country VARCHAR) | SELECT MIN(total) FROM table_1456056_1 WHERE country = "Ireland" | Name the minimum total for ireland | <s>[INST]Name the minimum total for ireland Context: CREATE TABLE table_1456056_1 (total INTEGER, country VARCHAR)[/INST]SELECT MIN(total) FROM table_1456056_1 WHERE country = "Ireland"</s> |
CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13" | What is the Game on April 13 with Road Team St. Louis? | <s>[INST]What is the Game on April 13 with Road Team St. Louis? Context: CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13"</s> |
CREATE TABLE table_19534677_1 (volume_line VARCHAR, _number VARCHAR) | SELECT volume_line FROM table_19534677_1 WHERE _number = 8 | Name the volume line for number 8 | <s>[INST]Name the volume line for number 8 Context: CREATE TABLE table_19534677_1 (volume_line VARCHAR, _number VARCHAR)[/INST]SELECT volume_line FROM table_19534677_1 WHERE _number = 8</s> |
CREATE TABLE table_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR) | SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.1" | What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? | <s>[INST]What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? Context: CREATE TABLE table_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR)[/INST]SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.1"</s> |
CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR) | SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons" | What was the position in 1959-1960 for the club that had 14 seasons at this level? | <s>[INST]What was the position in 1959-1960 for the club that had 14 seasons at this level? Context: CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR)[/INST]SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons"</s> |
CREATE TABLE table_12030612_3 (written_by VARCHAR, series__number VARCHAR) | SELECT written_by FROM table_12030612_3 WHERE series__number = 25 | Who were the authors of series episode #25? | <s>[INST]Who were the authors of series episode #25? Context: CREATE TABLE table_12030612_3 (written_by VARCHAR, series__number VARCHAR)[/INST]SELECT written_by FROM table_12030612_3 WHERE series__number = 25</s> |
CREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR) | SELECT cause_of_death FROM table_name_49 WHERE date_of_death = "1956-09-07" | What is the Cause of death of the Officer with a Date of death of 1956-09-07? | <s>[INST]What is the Cause of death of the Officer with a Date of death of 1956-09-07? Context: CREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR)[/INST]SELECT cause_of_death FROM table_name_49 WHERE date_of_death = "1956-09-07"</s> |
CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_99 WHERE opponent = "st. louis cardinals" AND attendance < 80 OFFSET 010 | What is the average week with St. Louis Cardinals with less than 80,010 attendance? | <s>[INST]What is the average week with St. Louis Cardinals with less than 80,010 attendance? Context: CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_99 WHERE opponent = "st. louis cardinals" AND attendance < 80 OFFSET 010</s> |
CREATE TABLE table_name_5 (high_assists VARCHAR, game INTEGER) | SELECT high_assists FROM table_name_5 WHERE game < 19 | Who had the high assists in the game less than 19? | <s>[INST]Who had the high assists in the game less than 19? Context: CREATE TABLE table_name_5 (high_assists VARCHAR, game INTEGER)[/INST]SELECT high_assists FROM table_name_5 WHERE game < 19</s> |
CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR) | SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school" | What is the decile for Westminster Christian School with a state integrated authority? | <s>[INST]What is the decile for Westminster Christian School with a state integrated authority? Context: CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR)[/INST]SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school"</s> |
CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR) | SELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = 12 | How many averages were listed for the couple who had 12 dances? | <s>[INST]How many averages were listed for the couple who had 12 dances? Context: CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)[/INST]SELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = 12</s> |
CREATE TABLE table_name_22 (extra VARCHAR, result VARCHAR, year VARCHAR) | SELECT extra FROM table_name_22 WHERE result = "6th" AND year = 1972 | What is the extra result associated with 6th place in 1972? | <s>[INST]What is the extra result associated with 6th place in 1972? Context: CREATE TABLE table_name_22 (extra VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT extra FROM table_name_22 WHERE result = "6th" AND year = 1972</s> |
CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR) | SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%" | How many people voted for others in the county where McCain got 65.5% of the votes? | <s>[INST]How many people voted for others in the county where McCain got 65.5% of the votes? Context: CREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%"</s> |
CREATE TABLE table_name_75 (road_number VARCHAR, type VARCHAR, rank VARCHAR) | SELECT road_number FROM table_name_75 WHERE type = "dead end" AND rank = "22" | What is the rad number for the dead end in rank 22? | <s>[INST]What is the rad number for the dead end in rank 22? Context: CREATE TABLE table_name_75 (road_number VARCHAR, type VARCHAR, rank VARCHAR)[/INST]SELECT road_number FROM table_name_75 WHERE type = "dead end" AND rank = "22"</s> |
CREATE TABLE table_name_88 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_88 WHERE country = "united states" AND score = 73 - 68 = 141 AND player = "brad faxon" | What is the to par score from Brad Faxon of the United States with a score of 73-68=141? | <s>[INST]What is the to par score from Brad Faxon of the United States with a score of 73-68=141? Context: CREATE TABLE table_name_88 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_88 WHERE country = "united states" AND score = 73 - 68 = 141 AND player = "brad faxon... |
CREATE TABLE table_name_81 (date VARCHAR, format VARCHAR) | SELECT date FROM table_name_81 WHERE format = "cd" | Name the date that is a cd | <s>[INST]Name the date that is a cd Context: CREATE TABLE table_name_81 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_81 WHERE format = "cd"</s> |
CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_19 WHERE venue = "junction oval" | What is the Home team score at junction oval? | <s>[INST]What is the Home team score at junction oval? Context: CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_19 WHERE venue = "junction oval"</s> |
CREATE TABLE table_name_4 (interview INTEGER, swimsuit VARCHAR, state VARCHAR, average VARCHAR, evening_gown VARCHAR) | SELECT SUM(interview) FROM table_name_4 WHERE average < 8.697 AND evening_gown < 8.73 AND state = "north dakota" AND swimsuit > 8.41 | What is the sum of the interview scores from North Dakota that have averages less than 8.697, evening gown scores less than 8.73, and swimsuit scores greater than 8.41? | <s>[INST]What is the sum of the interview scores from North Dakota that have averages less than 8.697, evening gown scores less than 8.73, and swimsuit scores greater than 8.41? Context: CREATE TABLE table_name_4 (interview INTEGER, swimsuit VARCHAR, state VARCHAR, average VARCHAR, evening_gown VARCHAR)[/INST]SELECT SU... |
CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR) | SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville" | what is the zip code of boonville | <s>[INST]what is the zip code of boonville Context: CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR)[/INST]SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville"</s> |
CREATE TABLE table_name_28 (audio VARCHAR, just_ratio VARCHAR) | SELECT audio FROM table_name_28 WHERE just_ratio = "21:20" | what is the value of the audio with a just ratio 21:20 | <s>[INST]what is the value of the audio with a just ratio 21:20 Context: CREATE TABLE table_name_28 (audio VARCHAR, just_ratio VARCHAR)[/INST]SELECT audio FROM table_name_28 WHERE just_ratio = "21:20"</s> |
CREATE TABLE weekly_weather (low_temperature INTEGER, wind_speed_mph INTEGER) | SELECT MIN(low_temperature), MAX(wind_speed_mph) FROM weekly_weather | show the lowest low temperature and highest wind speed in miles per hour. | <s>[INST]show the lowest low temperature and highest wind speed in miles per hour. Context: CREATE TABLE weekly_weather (low_temperature INTEGER, wind_speed_mph INTEGER)[/INST]SELECT MIN(low_temperature), MAX(wind_speed_mph) FROM weekly_weather</s> |
CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, language VARCHAR) | SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE language = "English and Hindi" | Name the number of awardees for english and hindi | <s>[INST]Name the number of awardees for english and hindi Context: CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, language VARCHAR)[/INST]SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE language = "English and Hindi"</s> |
CREATE TABLE table_name_72 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_72 WHERE date = "october 10, 2004" | What was the surface for October 10, 2004? | <s>[INST]What was the surface for October 10, 2004? Context: CREATE TABLE table_name_72 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_72 WHERE date = "october 10, 2004"</s> |
CREATE TABLE table_name_95 (density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR) | SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND population__2012_ > 12924 | What is the density of an area that is 1.38km and has a population more than 12924? | <s>[INST]What is the density of an area that is 1.38km and has a population more than 12924? Context: CREATE TABLE table_name_95 (density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR)[/INST]SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND population__2012_... |
CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_18 WHERE result = "5-0" | Which Venue has a Result of 5-0? | <s>[INST]Which Venue has a Result of 5-0? Context: CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_18 WHERE result = "5-0"</s> |
CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine" | What is the result of the game at kyiv, ukraine? | <s>[INST]What is the result of the game at kyiv, ukraine? Context: CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine"</s> |
CREATE TABLE table_name_51 (argon VARCHAR, neon VARCHAR) | SELECT argon FROM table_name_51 WHERE neon = "10.5" | What argon has a neon of 10.5? | <s>[INST]What argon has a neon of 10.5? Context: CREATE TABLE table_name_51 (argon VARCHAR, neon VARCHAR)[/INST]SELECT argon FROM table_name_51 WHERE neon = "10.5"</s> |
CREATE TABLE table_28286776_50 (player VARCHAR, cap_s_ VARCHAR) | SELECT player FROM table_28286776_50 WHERE cap_s_ = 16 | When 16 is the cap who is the player? | <s>[INST]When 16 is the cap who is the player? Context: CREATE TABLE table_28286776_50 (player VARCHAR, cap_s_ VARCHAR)[/INST]SELECT player FROM table_28286776_50 WHERE cap_s_ = 16</s> |
CREATE TABLE table_13779832_1 (local_title VARCHAR, television_network VARCHAR) | SELECT COUNT(local_title) FROM table_13779832_1 WHERE television_network = "TV Nova Website" | how many local title with televbeingion network being tv nova website | <s>[INST] how many local title with televbeingion network being tv nova website Context: CREATE TABLE table_13779832_1 (local_title VARCHAR, television_network VARCHAR)[/INST]SELECT COUNT(local_title) FROM table_13779832_1 WHERE television_network = "TV Nova Website"</s> |
CREATE TABLE table_name_60 (employees__world_ VARCHAR, revenue__mil€_ VARCHAR) | SELECT employees__world_ FROM table_name_60 WHERE revenue__mil€_ = "104.000" | What is hte nuumber of employees that has a revenue of 104.000? | <s>[INST]What is hte nuumber of employees that has a revenue of 104.000? Context: CREATE TABLE table_name_60 (employees__world_ VARCHAR, revenue__mil€_ VARCHAR)[/INST]SELECT employees__world_ FROM table_name_60 WHERE revenue__mil€_ = "104.000"</s> |
CREATE TABLE table_13836704_9 (freight__metric_tonnes_ INTEGER, airport VARCHAR) | SELECT MAX(freight__metric_tonnes_) FROM table_13836704_9 WHERE airport = "Liverpool" | what is the maximum freight (metric tonnes) with airport being liverpool | <s>[INST]what is the maximum freight (metric tonnes) with airport being liverpool Context: CREATE TABLE table_13836704_9 (freight__metric_tonnes_ INTEGER, airport VARCHAR)[/INST]SELECT MAX(freight__metric_tonnes_) FROM table_13836704_9 WHERE airport = "Liverpool"</s> |
CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_22905641_2 WHERE circuit = "Symmons Plains Raceway" | What date was the race at the Symmons Plains Raceway? | <s>[INST]What date was the race at the Symmons Plains Raceway? Context: CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_22905641_2 WHERE circuit = "Symmons Plains Raceway"</s> |
CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_address VARCHAR, dept_code VARCHAR) | SELECT T2.dept_name, T2.dept_address, COUNT(*) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 3 | Find the name, address, number of students in the departments that have the top 3 highest number of students. | <s>[INST]Find the name, address, number of students in the departments that have the top 3 highest number of students. Context: CREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_address VARCHAR, dept_code VARCHAR)[/INST]SELECT T2.dept_name, T2.dept_address, COUNT(*) FROM student... |
CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR) | SELECT format FROM table_name_16 WHERE region = "greece" | What is the Format of the release in Greece? | <s>[INST]What is the Format of the release in Greece? Context: CREATE TABLE table_name_16 (format VARCHAR, region VARCHAR)[/INST]SELECT format FROM table_name_16 WHERE region = "greece"</s> |
CREATE TABLE table_name_36 (work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR) | SELECT work FROM table_name_36 WHERE result = "nominated" AND award = "contigo award" AND year < 2002 | Which Work has a Result of nominated, and an Award of contigo award, and a Year smaller than 2002? | <s>[INST]Which Work has a Result of nominated, and an Award of contigo award, and a Year smaller than 2002? Context: CREATE TABLE table_name_36 (work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR)[/INST]SELECT work FROM table_name_36 WHERE result = "nominated" AND award = "contigo award" AND year < 2002</s> |
CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER) | SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30 | When less than 30 games have been played what is the average goals scored? | <s>[INST]When less than 30 games have been played what is the average goals scored? Context: CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER)[/INST]SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30</s> |
CREATE TABLE table_name_31 (rank INTEGER, date VARCHAR, mark VARCHAR) | SELECT AVG(rank) FROM table_name_31 WHERE date = "2007-06-21" AND mark < 91.29 | What is the average rank of the record on 2007-06-21 with a mark less than 91.29? | <s>[INST]What is the average rank of the record on 2007-06-21 with a mark less than 91.29? Context: CREATE TABLE table_name_31 (rank INTEGER, date VARCHAR, mark VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_31 WHERE date = "2007-06-21" AND mark < 91.29</s> |
CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR) | SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = "Ashley" AND T3.City = "Aberdeen" | How many flights depart from City 'Aberdeen' and have destination City 'Ashley'? | <s>[INST]How many flights depart from City 'Aberdeen' and have destination City 'Ashley'? Context: CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)[/INST]SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode ... |
CREATE TABLE Templates (template_type_code VARCHAR) | SELECT template_type_code, COUNT(*) FROM Templates GROUP BY template_type_code | Show all template type codes and number of templates for each. | <s>[INST]Show all template type codes and number of templates for each. Context: CREATE TABLE Templates (template_type_code VARCHAR)[/INST]SELECT template_type_code, COUNT(*) FROM Templates GROUP BY template_type_code</s> |
CREATE TABLE table_name_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR) | SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND lost > 52 | Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52 | <s>[INST]Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52 Context: CREATE TABLE table_name_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND l... |
CREATE TABLE table_name_37 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_37 WHERE date = "11/11/1950" | What is the Site when the date is 11/11/1950? | <s>[INST]What is the Site when the date is 11/11/1950? Context: CREATE TABLE table_name_37 (site VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_37 WHERE date = "11/11/1950"</s> |
CREATE TABLE table_name_67 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_67 WHERE finish = "t20" | What is the To par of the player with a Finish of T20? | <s>[INST]What is the To par of the player with a Finish of T20? Context: CREATE TABLE table_name_67 (to_par VARCHAR, finish VARCHAR)[/INST]SELECT to_par FROM table_name_67 WHERE finish = "t20"</s> |
CREATE TABLE table_name_64 (event VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR) | SELECT event FROM table_name_64 WHERE round = "1" AND location = "osaka , japan" AND method = "tko (corner stoppage)" | What is Event, when Round is "1", when Location is "Osaka , Japan", and when Method is "TKO (corner stoppage)"? | <s>[INST]What is Event, when Round is "1", when Location is "Osaka , Japan", and when Method is "TKO (corner stoppage)"? Context: CREATE TABLE table_name_64 (event VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR)[/INST]SELECT event FROM table_name_64 WHERE round = "1" AND location = "osaka , japan" AND method ... |
CREATE TABLE table_name_11 (suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR) | SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND school = "ashfield public school" | What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school? | <s>[INST]What suburb/town has school years of k-6, was founded before 1875, and has Ashfield Public School as its school? Context: CREATE TABLE table_name_11 (suburb_town VARCHAR, school VARCHAR, years VARCHAR, founded VARCHAR)[/INST]SELECT suburb_town FROM table_name_11 WHERE years = "k-6" AND founded < 1875 AND schoo... |
CREATE TABLE table_name_92 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_92 WHERE score = 67 - 74 - 73 = 214 | What place was the scorer of 67-74-73=214? | <s>[INST]What place was the scorer of 67-74-73=214? Context: CREATE TABLE table_name_92 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_92 WHERE score = 67 - 74 - 73 = 214</s> |
CREATE TABLE table_name_33 (goals INTEGER, caps VARCHAR) | SELECT MAX(goals) FROM table_name_33 WHERE caps = 39 | What is the highest number of goals associated with 39 caps? | <s>[INST]What is the highest number of goals associated with 39 caps? Context: CREATE TABLE table_name_33 (goals INTEGER, caps VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_33 WHERE caps = 39</s> |
CREATE TABLE table_17120964_8 (attendance INTEGER, man_of_the_match VARCHAR) | SELECT MIN(attendance) FROM table_17120964_8 WHERE man_of_the_match = "Neil Liddiard" | What was the attendance at the game where Neil Liddiard was Man of the Match? | <s>[INST]What was the attendance at the game where Neil Liddiard was Man of the Match? Context: CREATE TABLE table_17120964_8 (attendance INTEGER, man_of_the_match VARCHAR)[/INST]SELECT MIN(attendance) FROM table_17120964_8 WHERE man_of_the_match = "Neil Liddiard"</s> |
CREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR) | SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 0 | how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain? | <s>[INST]how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain? Context: CREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)[/INST]SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_... |
CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR) | SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183" | Which year had a toleman tg183 chassis? | <s>[INST]Which year had a toleman tg183 chassis? Context: CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183"</s> |
CREATE TABLE table_1341472_15 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341472_15 WHERE first_elected = "1980" | what's the party for the first elected in 1980 | <s>[INST]what's the party for the first elected in 1980 Context: CREATE TABLE table_1341472_15 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_1341472_15 WHERE first_elected = "1980"</s> |
CREATE TABLE table_name_84 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_84 WHERE time = "4:51" | Which Opponent has a Time of 4:51? | <s>[INST]Which Opponent has a Time of 4:51? Context: CREATE TABLE table_name_84 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_84 WHERE time = "4:51"</s> |
CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR, order_status_code VARCHAR, order_date VARCHAR) | SELECT order_id, customer_id FROM customer_orders WHERE order_status_code = "Cancelled" ORDER BY order_date | List the order id, customer id for orders in Cancelled status, ordered by their order dates. | <s>[INST]List the order id, customer id for orders in Cancelled status, ordered by their order dates. Context: CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR, order_status_code VARCHAR, order_date VARCHAR)[/INST]SELECT order_id, customer_id FROM customer_orders WHERE order_status_code = "Cancelled"... |
CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR) | SELECT date FROM table_name_59 WHERE where_sunk = "south atlantic" | What is the date that a ship sank in the South Atlantic? | <s>[INST]What is the date that a ship sank in the South Atlantic? Context: CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE where_sunk = "south atlantic"</s> |
CREATE TABLE table_name_94 (code_name VARCHAR, birthplace VARCHAR) | SELECT code_name FROM table_name_94 WHERE birthplace = "liverpool" | What is the code name of the person born in Liverpool? | <s>[INST]What is the code name of the person born in Liverpool? Context: CREATE TABLE table_name_94 (code_name VARCHAR, birthplace VARCHAR)[/INST]SELECT code_name FROM table_name_94 WHERE birthplace = "liverpool"</s> |
CREATE TABLE table_name_78 (opponent VARCHAR, date VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_78 WHERE date = "july 8" AND score = "8-12" | When the date is July 8, and the score is 8-12, who is the opponent? | <s>[INST]When the date is July 8, and the score is 8-12, who is the opponent? Context: CREATE TABLE table_name_78 (opponent VARCHAR, date VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_78 WHERE date = "july 8" AND score = "8-12"</s> |
CREATE TABLE table_24399615_8 (airdate VARCHAR, cable_rank VARCHAR, viewers VARCHAR) | SELECT airdate FROM table_24399615_8 WHERE cable_rank = "N/A" AND viewers = 656000 | When 656000 is the amount of viewers and n/a is the cable rank what is the airdate? | <s>[INST]When 656000 is the amount of viewers and n/a is the cable rank what is the airdate? Context: CREATE TABLE table_24399615_8 (airdate VARCHAR, cable_rank VARCHAR, viewers VARCHAR)[/INST]SELECT airdate FROM table_24399615_8 WHERE cable_rank = "N/A" AND viewers = 656000</s> |
CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR) | SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene" | Which Year has a Result smaller than 20.26, and a Location of eugene? | <s>[INST]Which Year has a Result smaller than 20.26, and a Location of eugene? Context: CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)[/INST]SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene"</s> |
CREATE TABLE table_name_5 (surface VARCHAR, outcome VARCHAR, year VARCHAR) | SELECT surface FROM table_name_5 WHERE outcome = "runner-up" AND year = 2007 | What was the surface played on when they were a runner-up in 2007? | <s>[INST]What was the surface played on when they were a runner-up in 2007? Context: CREATE TABLE table_name_5 (surface VARCHAR, outcome VARCHAR, year VARCHAR)[/INST]SELECT surface FROM table_name_5 WHERE outcome = "runner-up" AND year = 2007</s> |
CREATE TABLE table_11677100_11 (hometown VARCHAR, position VARCHAR) | SELECT hometown FROM table_11677100_11 WHERE position = "Catcher" | WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR? | <s>[INST]WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR? Context: CREATE TABLE table_11677100_11 (hometown VARCHAR, position VARCHAR)[/INST]SELECT hometown FROM table_11677100_11 WHERE position = "Catcher"</s> |
CREATE TABLE table_name_15 (wins INTEGER, losses VARCHAR, draws VARCHAR, goal_difference VARCHAR) | SELECT AVG(wins) FROM table_name_15 WHERE draws > 13 AND goal_difference = -14 AND losses < 14 | What is the average wins of the team with more than 13 draws, a goal difference of -14, and losses less than 14? | <s>[INST]What is the average wins of the team with more than 13 draws, a goal difference of -14, and losses less than 14? Context: CREATE TABLE table_name_15 (wins INTEGER, losses VARCHAR, draws VARCHAR, goal_difference VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_15 WHERE draws > 13 AND goal_difference = -14 AND lo... |
CREATE TABLE table_name_43 (round VARCHAR, opponents VARCHAR) | SELECT round FROM table_name_43 WHERE opponents = "southampton" | Name the round for southampton opponents | <s>[INST]Name the round for southampton opponents Context: CREATE TABLE table_name_43 (round VARCHAR, opponents VARCHAR)[/INST]SELECT round FROM table_name_43 WHERE opponents = "southampton"</s> |
CREATE TABLE table_name_80 (title VARCHAR, label VARCHAR) | SELECT title FROM table_name_80 WHERE label = "mother / mvp / polydor" | What was the title for the label mother / mvp / polydor? | <s>[INST]What was the title for the label mother / mvp / polydor? Context: CREATE TABLE table_name_80 (title VARCHAR, label VARCHAR)[/INST]SELECT title FROM table_name_80 WHERE label = "mother / mvp / polydor"</s> |
CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR) | SELECT COUNT(to_par) FROM table_name_4 WHERE player = "lee trevino" | What is the total number of To par for Lee Trevino? | <s>[INST]What is the total number of To par for Lee Trevino? Context: CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_4 WHERE player = "lee trevino"</s> |
CREATE TABLE table_name_88 (tournament VARCHAR) | SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon" | What 2007 has wimbledon as the tournament? | <s>[INST]What 2007 has wimbledon as the tournament? Context: CREATE TABLE table_name_88 (tournament VARCHAR)[/INST]SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon"</s> |
CREATE TABLE table_name_84 (place VARCHAR, name VARCHAR, clubs VARCHAR) | SELECT COUNT(place) FROM table_name_84 WHERE name = "bianka panova" AND clubs < 10 | How many places have bianka panova as the name, with clubs less than 10? | <s>[INST]How many places have bianka panova as the name, with clubs less than 10? Context: CREATE TABLE table_name_84 (place VARCHAR, name VARCHAR, clubs VARCHAR)[/INST]SELECT COUNT(place) FROM table_name_84 WHERE name = "bianka panova" AND clubs < 10</s> |
CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR) | SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas" | What is the date when the city is San Antonio, Texas? | <s>[INST]What is the date when the city is San Antonio, Texas? Context: CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas"</s> |
CREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_9 WHERE date = "august 29" | What is the attendance for august 29? | <s>[INST]What is the attendance for august 29? Context: CREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_9 WHERE date = "august 29"</s> |
CREATE TABLE table_name_7 (quantity_made VARCHAR, manufacturer VARCHAR) | SELECT quantity_made FROM table_name_7 WHERE manufacturer = "4-6-2 — oooooo — pacific" | What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific? | <s>[INST]What's the quantity made when the manufacturer was 4-6-2 — oooooo — pacific? Context: CREATE TABLE table_name_7 (quantity_made VARCHAR, manufacturer VARCHAR)[/INST]SELECT quantity_made FROM table_name_7 WHERE manufacturer = "4-6-2 — oooooo — pacific"</s> |
CREATE TABLE table_name_36 (last_title VARCHAR, club VARCHAR) | SELECT last_title FROM table_name_36 WHERE club = "quilmes" | Name the last title for club of quilmes | <s>[INST]Name the last title for club of quilmes Context: CREATE TABLE table_name_36 (last_title VARCHAR, club VARCHAR)[/INST]SELECT last_title FROM table_name_36 WHERE club = "quilmes"</s> |
CREATE TABLE table_29196086_4 (no_in_season INTEGER, original_air_date VARCHAR) | SELECT MAX(no_in_season) FROM table_29196086_4 WHERE original_air_date = "October20,2012" | which episode of the season aired on october20,2012 | <s>[INST]which episode of the season aired on october20,2012 Context: CREATE TABLE table_29196086_4 (no_in_season INTEGER, original_air_date VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_29196086_4 WHERE original_air_date = "October20,2012"</s> |
CREATE TABLE table_name_94 (game INTEGER, opponent VARCHAR) | SELECT SUM(game) FROM table_name_94 WHERE opponent = "@ carolina hurricanes" | Which Game has an Opponent of @ carolina hurricanes? | <s>[INST]Which Game has an Opponent of @ carolina hurricanes? Context: CREATE TABLE table_name_94 (game INTEGER, opponent VARCHAR)[/INST]SELECT SUM(game) FROM table_name_94 WHERE opponent = "@ carolina hurricanes"</s> |
CREATE TABLE ref_product_categories (product_category_description VARCHAR, unit_of_measure VARCHAR, product_category_code VARCHAR) | SELECT product_category_description, unit_of_measure FROM ref_product_categories WHERE product_category_code = "Herbs" | What is the product category description and unit of measurement of category "Herbs"? | <s>[INST]What is the product category description and unit of measurement of category "Herbs"? Context: CREATE TABLE ref_product_categories (product_category_description VARCHAR, unit_of_measure VARCHAR, product_category_code VARCHAR)[/INST]SELECT product_category_description, unit_of_measure FROM ref_product_categorie... |
CREATE TABLE table_name_58 (oil_pattern VARCHAR, winner__title__number_ VARCHAR) | SELECT oil_pattern FROM table_name_58 WHERE winner__title__number_ = "mike wolfe (3)" | Which Oil Pattern has a Winner (Title #) of mike wolfe (3)? | <s>[INST]Which Oil Pattern has a Winner (Title #) of mike wolfe (3)? Context: CREATE TABLE table_name_58 (oil_pattern VARCHAR, winner__title__number_ VARCHAR)[/INST]SELECT oil_pattern FROM table_name_58 WHERE winner__title__number_ = "mike wolfe (3)"</s> |
CREATE TABLE table_11585313_1 (number_of_caps VARCHAR, name VARCHAR) | SELECT COUNT(number_of_caps) FROM table_11585313_1 WHERE name = "Hans Blume" | What is the toatl number of caps where the name is Hans Blume? | <s>[INST]What is the toatl number of caps where the name is Hans Blume? Context: CREATE TABLE table_11585313_1 (number_of_caps VARCHAR, name VARCHAR)[/INST]SELECT COUNT(number_of_caps) FROM table_11585313_1 WHERE name = "Hans Blume"</s> |
CREATE TABLE table_name_7 (venue VARCHAR, player VARCHAR) | SELECT venue FROM table_name_7 WHERE player = "don bradman (nsw)" | What venue has don bradman (nsw) as the player? | <s>[INST]What venue has don bradman (nsw) as the player? Context: CREATE TABLE table_name_7 (venue VARCHAR, player VARCHAR)[/INST]SELECT venue FROM table_name_7 WHERE player = "don bradman (nsw)"</s> |
CREATE TABLE table_16710971_2 (opponents VARCHAR, record VARCHAR) | SELECT COUNT(opponents) FROM table_16710971_2 WHERE record = "6-4" | How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season? | <s>[INST]How many opponents were there for the game recorded as 6-4 in the Atlanta Falcons 1978 season? Context: CREATE TABLE table_16710971_2 (opponents VARCHAR, record VARCHAR)[/INST]SELECT COUNT(opponents) FROM table_16710971_2 WHERE record = "6-4"</s> |
CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR) | SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763 | What's the capacity that has the highest greater than 1,763 and is at Hampden Park? | <s>[INST]What's the capacity that has the highest greater than 1,763 and is at Hampden Park? Context: CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763</s> |
CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR) | SELECT result FROM table_name_11 WHERE year = "1964: (37th)" | For the film made in 1964: (37th), what was the result? | <s>[INST]For the film made in 1964: (37th), what was the result? Context: CREATE TABLE table_name_11 (result VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_11 WHERE year = "1964: (37th)"</s> |
CREATE TABLE HOTELS (star_rating_code VARCHAR, price_range INTEGER); CREATE TABLE Ref_Hotel_Star_Ratings (star_rating_description VARCHAR, star_rating_code VARCHAR) | SELECT T2.star_rating_description FROM HOTELS AS T1 JOIN Ref_Hotel_Star_Ratings AS T2 ON T1.star_rating_code = T2.star_rating_code WHERE T1.price_range > 10000 | What are the star rating descriptions of the hotels with price above 10000? | <s>[INST]What are the star rating descriptions of the hotels with price above 10000? Context: CREATE TABLE HOTELS (star_rating_code VARCHAR, price_range INTEGER); CREATE TABLE Ref_Hotel_Star_Ratings (star_rating_description VARCHAR, star_rating_code VARCHAR)[/INST]SELECT T2.star_rating_description FROM HOTELS AS T1 JOI... |
CREATE TABLE table_name_13 (series_1 VARCHAR, series_11 VARCHAR) | SELECT series_1 FROM table_name_13 WHERE series_11 = "peter jones" | Which Series 1 has a Series 11 of peter jones? | <s>[INST]Which Series 1 has a Series 11 of peter jones? Context: CREATE TABLE table_name_13 (series_1 VARCHAR, series_11 VARCHAR)[/INST]SELECT series_1 FROM table_name_13 WHERE series_11 = "peter jones"</s> |
CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 21" | What was the score on February 21 when the home team was the Pittsburgh Penguins? | <s>[INST]What was the score on February 21 when the home team was the Pittsburgh Penguins? Context: CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 21"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.