context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_26701861_1 (title VARCHAR, director VARCHAR, production_code VARCHAR) | SELECT title FROM table_26701861_1 WHERE director = "Pamela Fryman" AND production_code = "2ALH07" | what is the title of the episode with the director pamela fryman and the production code 2alh07? | <s>[INST]what is the title of the episode with the director pamela fryman and the production code 2alh07? Context: CREATE TABLE table_26701861_1 (title VARCHAR, director VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_26701861_1 WHERE director = "Pamela Fryman" AND production_code = "2ALH07"</s> |
CREATE TABLE table_name_50 (valid_poll INTEGER, constituency VARCHAR) | SELECT MIN(valid_poll) FROM table_name_50 WHERE constituency = "munster" | Name the least valid poll for munster | <s>[INST]Name the least valid poll for munster Context: CREATE TABLE table_name_50 (valid_poll INTEGER, constituency VARCHAR)[/INST]SELECT MIN(valid_poll) FROM table_name_50 WHERE constituency = "munster"</s> |
CREATE TABLE table_name_53 (main_language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT main_language_s_ FROM table_name_53 WHERE film_title_used_in_nomination = "black book" | What is the primary language used in the film, Black Book? | <s>[INST]What is the primary language used in the film, Black Book? Context: CREATE TABLE table_name_53 (main_language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT main_language_s_ FROM table_name_53 WHERE film_title_used_in_nomination = "black book"</s> |
CREATE TABLE table_name_5 (qual_2 VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_5 WHERE best = "1:31.327" | Who in Qual 2 had the best time of 1:31.327? | <s>[INST]Who in Qual 2 had the best time of 1:31.327? Context: CREATE TABLE table_name_5 (qual_2 VARCHAR, best VARCHAR)[/INST]SELECT qual_2 FROM table_name_5 WHERE best = "1:31.327"</s> |
CREATE TABLE table_2401326_1 (bush_number VARCHAR, bush_percentage VARCHAR) | SELECT COUNT(bush_number) FROM table_2401326_1 WHERE bush_percentage = "69.7%" | How many different counts of the votes for Bush are there in the county where he got 69.7% of the votes? | <s>[INST]How many different counts of the votes for Bush are there in the county where he got 69.7% of the votes? Context: CREATE TABLE table_2401326_1 (bush_number VARCHAR, bush_percentage VARCHAR)[/INST]SELECT COUNT(bush_number) FROM table_2401326_1 WHERE bush_percentage = "69.7%"</s> |
CREATE TABLE table_name_44 (matches INTEGER, points VARCHAR, results VARCHAR) | SELECT MIN(matches) FROM table_name_44 WHERE points > 6 AND results = "522:443" | Points larger than 6, and a Results of 522:443 had what lowest matches? | <s>[INST]Points larger than 6, and a Results of 522:443 had what lowest matches? Context: CREATE TABLE table_name_44 (matches INTEGER, points VARCHAR, results VARCHAR)[/INST]SELECT MIN(matches) FROM table_name_44 WHERE points > 6 AND results = "522:443"</s> |
CREATE TABLE table_1036189_1 (primer_annulus_color VARCHAR, bullet_tip_color VARCHAR) | SELECT COUNT(primer_annulus_color) FROM table_1036189_1 WHERE bullet_tip_color = "White" | How many primers annulus colors were there when the color of the bullet tip was white? | <s>[INST]How many primers annulus colors were there when the color of the bullet tip was white? Context: CREATE TABLE table_1036189_1 (primer_annulus_color VARCHAR, bullet_tip_color VARCHAR)[/INST]SELECT COUNT(primer_annulus_color) FROM table_1036189_1 WHERE bullet_tip_color = "White"</s> |
CREATE TABLE event (name VARCHAR, YEAR VARCHAR) | SELECT name FROM event ORDER BY YEAR DESC LIMIT 1 | What is the name of the event that happened in the most recent year? | <s>[INST]What is the name of the event that happened in the most recent year? Context: CREATE TABLE event (name VARCHAR, YEAR VARCHAR)[/INST]SELECT name FROM event ORDER BY YEAR DESC LIMIT 1</s> |
CREATE TABLE table_name_48 (season VARCHAR, margin VARCHAR) | SELECT season FROM table_name_48 WHERE margin = 10 | Which season had a margin of 10? | <s>[INST]Which season had a margin of 10? Context: CREATE TABLE table_name_48 (season VARCHAR, margin VARCHAR)[/INST]SELECT season FROM table_name_48 WHERE margin = 10</s> |
CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR) | SELECT SUM(females___percentage_) FROM table_name_71 WHERE hiv_awareness__males_percentage_ > 92 AND females_rank > 2 AND males_rank < 3 | Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3? | <s>[INST]Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3? Context: CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR)[/INST]SELECT SUM(females___perce... |
CREATE TABLE table_name_78 (home_team VARCHAR, aedt_time VARCHAR) | SELECT home_team AS score FROM table_name_78 WHERE aedt_time = "11:00 pm" | Which Home team score has a AEDT Time of 11:00 pm? | <s>[INST]Which Home team score has a AEDT Time of 11:00 pm? Context: CREATE TABLE table_name_78 (home_team VARCHAR, aedt_time VARCHAR)[/INST]SELECT home_team AS score FROM table_name_78 WHERE aedt_time = "11:00 pm"</s> |
CREATE TABLE table_name_12 (nomination VARCHAR, director VARCHAR) | SELECT nomination FROM table_name_12 WHERE director = "goran paskaljevic" | Tell me the nomination for goran paskaljevic | <s>[INST]Tell me the nomination for goran paskaljevic Context: CREATE TABLE table_name_12 (nomination VARCHAR, director VARCHAR)[/INST]SELECT nomination FROM table_name_12 WHERE director = "goran paskaljevic"</s> |
CREATE TABLE table_name_84 (romanised_name VARCHAR, portfolio_attachment VARCHAR) | SELECT romanised_name FROM table_name_84 WHERE portfolio_attachment = "education" | What is the Romanised name of the Undersecretary with an education portfolio attachment? | <s>[INST]What is the Romanised name of the Undersecretary with an education portfolio attachment? Context: CREATE TABLE table_name_84 (romanised_name VARCHAR, portfolio_attachment VARCHAR)[/INST]SELECT romanised_name FROM table_name_84 WHERE portfolio_attachment = "education"</s> |
CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_36 WHERE grid = 37 | Who has 37 grids? | <s>[INST]Who has 37 grids? Context: CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_36 WHERE grid = 37</s> |
CREATE TABLE table_name_85 (laid_down VARCHAR, hull_number VARCHAR) | SELECT laid_down FROM table_name_85 WHERE hull_number = "cvn-69" | What is Laid Down, when Hull Number is "CVN-69"? | <s>[INST]What is Laid Down, when Hull Number is "CVN-69"? Context: CREATE TABLE table_name_85 (laid_down VARCHAR, hull_number VARCHAR)[/INST]SELECT laid_down FROM table_name_85 WHERE hull_number = "cvn-69"</s> |
CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) | SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449 | What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival? | <s>[INST]What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival? Context: CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millio... |
CREATE TABLE table_name_11 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_11 WHERE opponent = "new york knicks" | What was the final score for the game played against the New York Knicks? | <s>[INST]What was the final score for the game played against the New York Knicks? Context: CREATE TABLE table_name_11 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_11 WHERE opponent = "new york knicks"</s> |
CREATE TABLE table_name_74 (rounds VARCHAR, constructor VARCHAR) | SELECT rounds FROM table_name_74 WHERE constructor = "gordini" | What rounds did Gordini participate in? | <s>[INST]What rounds did Gordini participate in? Context: CREATE TABLE table_name_74 (rounds VARCHAR, constructor VARCHAR)[/INST]SELECT rounds FROM table_name_74 WHERE constructor = "gordini"</s> |
CREATE TABLE table_name_82 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_82 WHERE year = 2004 | Who was the runner-up in 2004? | <s>[INST]Who was the runner-up in 2004? Context: CREATE TABLE table_name_82 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_82 WHERE year = 2004</s> |
CREATE TABLE table_name_61 (number_ VARCHAR, _name VARCHAR, date VARCHAR) | SELECT number_ & _name FROM table_name_61 WHERE date = 1967 | What's Number & Name listed for the Date 1967? | <s>[INST]What's Number & Name listed for the Date 1967? Context: CREATE TABLE table_name_61 (number_ VARCHAR, _name VARCHAR, date VARCHAR)[/INST]SELECT number_ & _name FROM table_name_61 WHERE date = 1967</s> |
CREATE TABLE table_name_65 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_65 WHERE tournament = "lpga championship" | What was the margin of victory at the LPGA Championship? | <s>[INST]What was the margin of victory at the LPGA Championship? Context: CREATE TABLE table_name_65 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_65 WHERE tournament = "lpga championship"</s> |
CREATE TABLE table_name_80 (gold INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_80 WHERE rank > 5 AND bronze < 1 | How many golds for the nation ranked below 5 and over 1 bronze medals? | <s>[INST]How many golds for the nation ranked below 5 and over 1 bronze medals? Context: CREATE TABLE table_name_80 (gold INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_80 WHERE rank > 5 AND bronze < 1</s> |
CREATE TABLE table_name_27 (original_name VARCHAR, country VARCHAR) | SELECT original_name FROM table_name_27 WHERE country = "france" | Which film originated in France? | <s>[INST]Which film originated in France? Context: CREATE TABLE table_name_27 (original_name VARCHAR, country VARCHAR)[/INST]SELECT original_name FROM table_name_27 WHERE country = "france"</s> |
CREATE TABLE policies (policy_type_code VARCHAR) | SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING COUNT(*) > 2 | Find all the policy types that are used by more than 2 customers. | <s>[INST]Find all the policy types that are used by more than 2 customers. Context: CREATE TABLE policies (policy_type_code VARCHAR)[/INST]SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING COUNT(*) > 2</s> |
CREATE TABLE gas_station (location VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, market_value INTEGER); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR) | SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.market_value > 100 | Show all locations where a gas station for company with market value greater than 100 is located. | <s>[INST]Show all locations where a gas station for company with market value greater than 100 is located. Context: CREATE TABLE gas_station (location VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, market_value INTEGER); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR)[/INS... |
CREATE TABLE table_name_40 (capacity INTEGER, city VARCHAR, enrollment VARCHAR) | SELECT AVG(capacity) FROM table_name_40 WHERE city = "london" AND enrollment < 30 OFFSET 000 | What is the average capacity of stadiums in the City of London that belong to schools with an enrollment less than 30,000? | <s>[INST]What is the average capacity of stadiums in the City of London that belong to schools with an enrollment less than 30,000? Context: CREATE TABLE table_name_40 (capacity INTEGER, city VARCHAR, enrollment VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_40 WHERE city = "london" AND enrollment < 30 OFFSET 000<... |
CREATE TABLE table_269920_3 (l2_cache__mb_ VARCHAR, model VARCHAR) | SELECT COUNT(l2_cache__mb_) FROM table_269920_3 WHERE model = "7130M" | How many different L2 cache numbers are there for the 7130M model? | <s>[INST]How many different L2 cache numbers are there for the 7130M model? Context: CREATE TABLE table_269920_3 (l2_cache__mb_ VARCHAR, model VARCHAR)[/INST]SELECT COUNT(l2_cache__mb_) FROM table_269920_3 WHERE model = "7130M"</s> |
CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR) | SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983" | What name was proposed on 09/08/1983 in hillsborough county? | <s>[INST]What name was proposed on 09/08/1983 in hillsborough county? Context: CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR)[/INST]SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983"</s> |
CREATE TABLE table_name_48 (augmented_fifth VARCHAR, major_third VARCHAR) | SELECT augmented_fifth FROM table_name_48 WHERE major_third = "d" | The Major third of D has what for the Augmented fifth? | <s>[INST]The Major third of D has what for the Augmented fifth? Context: CREATE TABLE table_name_48 (augmented_fifth VARCHAR, major_third VARCHAR)[/INST]SELECT augmented_fifth FROM table_name_48 WHERE major_third = "d"</s> |
CREATE TABLE table_name_42 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_42 WHERE loss = "bird (1-4)" | Who were they playing when Bird (1-4) had a loss? | <s>[INST]Who were they playing when Bird (1-4) had a loss? Context: CREATE TABLE table_name_42 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_42 WHERE loss = "bird (1-4)"</s> |
CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR) | SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39" | What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39? | <s>[INST]What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39? Context: CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)[/INST]SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39"</s> |
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_93 WHERE home_team = "north melbourne" | What was total size of the crowd at a home game for north melbourne? | <s>[INST]What was total size of the crowd at a home game for north melbourne? Context: CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_93 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR) | SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not qualify" AND team = "cruzeiro" | What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999? | <s>[INST]What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999? Context: CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)[/INST]SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not q... |
CREATE TABLE table_name_74 (name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT name FROM table_name_74 WHERE transfer_fee = "free" AND moving_to = "retired" | WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED? | <s>[INST]WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED? Context: CREATE TABLE table_name_74 (name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)[/INST]SELECT name FROM table_name_74 WHERE transfer_fee = "free" AND moving_to = "retired"</s> |
CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) | SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988 | When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred? | <s>[INST]When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred? Context: CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)[/INST]SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trin... |
CREATE TABLE table_name_14 (season INTEGER, f_laps VARCHAR, poles VARCHAR) | SELECT AVG(season) FROM table_name_14 WHERE f_laps = 1 AND poles < 0 | What is the average Season, when F/Laps is 1, and when Poles is less than 0? | <s>[INST]What is the average Season, when F/Laps is 1, and when Poles is less than 0? Context: CREATE TABLE table_name_14 (season INTEGER, f_laps VARCHAR, poles VARCHAR)[/INST]SELECT AVG(season) FROM table_name_14 WHERE f_laps = 1 AND poles < 0</s> |
CREATE TABLE table_2345558_1 (director VARCHAR, writer_s_ VARCHAR) | SELECT director FROM table_2345558_1 WHERE writer_s_ = "Jason Yoshimura" | Who directed the episode written by Jason Yoshimura? | <s>[INST]Who directed the episode written by Jason Yoshimura? Context: CREATE TABLE table_2345558_1 (director VARCHAR, writer_s_ VARCHAR)[/INST]SELECT director FROM table_2345558_1 WHERE writer_s_ = "Jason Yoshimura"</s> |
CREATE TABLE table_name_86 (premiere VARCHAR, channel VARCHAR) | SELECT premiere FROM table_name_86 WHERE channel = "tvb jade" | When was the premiere on the TVB Jade Channel? | <s>[INST]When was the premiere on the TVB Jade Channel? Context: CREATE TABLE table_name_86 (premiere VARCHAR, channel VARCHAR)[/INST]SELECT premiere FROM table_name_86 WHERE channel = "tvb jade"</s> |
CREATE TABLE table_1160660_1 (official_registration_notes VARCHAR, website VARCHAR) | SELECT official_registration_notes FROM table_1160660_1 WHERE website = "usek.edu.lb" | Are there registration notes on usek.edu.lb? | <s>[INST]Are there registration notes on usek.edu.lb? Context: CREATE TABLE table_1160660_1 (official_registration_notes VARCHAR, website VARCHAR)[/INST]SELECT official_registration_notes FROM table_1160660_1 WHERE website = "usek.edu.lb"</s> |
CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR) | SELECT away_team FROM table_name_58 WHERE home_team = "al-ain fc" AND score = "1–1" | Which Away team has a Home team of al-ain fc, and a Score of 1–1? | <s>[INST]Which Away team has a Home team of al-ain fc, and a Score of 1–1? Context: CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)[/INST]SELECT away_team FROM table_name_58 WHERE home_team = "al-ain fc" AND score = "1–1"</s> |
CREATE TABLE table_name_93 (duration VARCHAR, character VARCHAR) | SELECT duration FROM table_name_93 WHERE character = "bartha zsolt" | What is the duration of the character Bartha Zsolt? | <s>[INST]What is the duration of the character Bartha Zsolt? Context: CREATE TABLE table_name_93 (duration VARCHAR, character VARCHAR)[/INST]SELECT duration FROM table_name_93 WHERE character = "bartha zsolt"</s> |
CREATE TABLE table_name_9 (goberman VARCHAR, obrist VARCHAR, merkley VARCHAR) | SELECT goberman FROM table_name_9 WHERE obrist = "2%" AND merkley = "34%" | Which Goberman has an Obrist of 2%, and a Merkley of 34%? | <s>[INST]Which Goberman has an Obrist of 2%, and a Merkley of 34%? Context: CREATE TABLE table_name_9 (goberman VARCHAR, obrist VARCHAR, merkley VARCHAR)[/INST]SELECT goberman FROM table_name_9 WHERE obrist = "2%" AND merkley = "34%"</s> |
CREATE TABLE table_261954_1 (joined VARCHAR, institution VARCHAR) | SELECT COUNT(joined) FROM table_261954_1 WHERE institution = "Guilford College" | How many values for joined occur at Guilford College? | <s>[INST]How many values for joined occur at Guilford College? Context: CREATE TABLE table_261954_1 (joined VARCHAR, institution VARCHAR)[/INST]SELECT COUNT(joined) FROM table_261954_1 WHERE institution = "Guilford College"</s> |
CREATE TABLE table_name_69 (height VARCHAR, name VARCHAR) | SELECT height FROM table_name_69 WHERE name = "dylan postl" | How tall is Dylan Postl? | <s>[INST]How tall is Dylan Postl? Context: CREATE TABLE table_name_69 (height VARCHAR, name VARCHAR)[/INST]SELECT height FROM table_name_69 WHERE name = "dylan postl"</s> |
CREATE TABLE table_name_41 (year INTEGER, film VARCHAR, award VARCHAR, group VARCHAR, result VARCHAR) | SELECT AVG(year) FROM table_name_41 WHERE group = "césar awards" AND result = "nominated" AND award = "best actress" AND film = "8 women (8 femmes)" | Which Year has a Group of césar awards, and a Result of nominated, and an Award of the best actress, and a Film of 8 women (8 femmes)? | <s>[INST]Which Year has a Group of césar awards, and a Result of nominated, and an Award of the best actress, and a Film of 8 women (8 femmes)? Context: CREATE TABLE table_name_41 (year INTEGER, film VARCHAR, award VARCHAR, group VARCHAR, result VARCHAR)[/INST]SELECT AVG(year) FROM table_name_41 WHERE group = "césar aw... |
CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR) | SELECT actors_name FROM table_10236830_6 WHERE film_name = "Anastasiya Slutskaya" | What actor was nominted for an award in the film Anastasiya Slutskaya? | <s>[INST]What actor was nominted for an award in the film Anastasiya Slutskaya? Context: CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR)[/INST]SELECT actors_name FROM table_10236830_6 WHERE film_name = "Anastasiya Slutskaya"</s> |
CREATE TABLE table_16677887_2 (opponents INTEGER, date VARCHAR) | SELECT MAX(opponents) FROM table_16677887_2 WHERE date = "Sept. 14" | How many points did the opponent score on Sept. 14? | <s>[INST]How many points did the opponent score on Sept. 14? Context: CREATE TABLE table_16677887_2 (opponents INTEGER, date VARCHAR)[/INST]SELECT MAX(opponents) FROM table_16677887_2 WHERE date = "Sept. 14"</s> |
CREATE TABLE table_name_88 (to_par INTEGER, score VARCHAR) | SELECT SUM(to_par) FROM table_name_88 WHERE score = 76 - 77 - 74 - 75 = 302 | What is the sum of the to par with a 76-77-74-75=302 score? | <s>[INST]What is the sum of the to par with a 76-77-74-75=302 score? Context: CREATE TABLE table_name_88 (to_par INTEGER, score VARCHAR)[/INST]SELECT SUM(to_par) FROM table_name_88 WHERE score = 76 - 77 - 74 - 75 = 302</s> |
CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow" | What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow? | <s>[INST]What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow? Context: CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)[/INST]SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow"</s> |
CREATE TABLE table_name_4 (ends_won INTEGER, ends_lost VARCHAR, shot__percentage VARCHAR) | SELECT MAX(ends_won) FROM table_name_4 WHERE ends_lost = 47 AND shot__percentage < 73 | What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73? | <s>[INST]What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73? Context: CREATE TABLE table_name_4 (ends_won INTEGER, ends_lost VARCHAR, shot__percentage VARCHAR)[/INST]SELECT MAX(ends_won) FROM table_name_4 WHERE ends_lost = 47 AND shot__percentage < 73</s> |
CREATE TABLE channel (name VARCHAR, OWNER VARCHAR) | SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS' | What are the names of the channels owned by CCTV or HBS? | <s>[INST]What are the names of the channels owned by CCTV or HBS? Context: CREATE TABLE channel (name VARCHAR, OWNER VARCHAR)[/INST]SELECT name FROM channel WHERE OWNER = 'CCTV' OR OWNER = 'HBS'</s> |
CREATE TABLE table_name_64 (fa_cup VARCHAR, total VARCHAR, play_offs VARCHAR, name VARCHAR) | SELECT COUNT(fa_cup) FROM table_name_64 WHERE play_offs = 3 AND name = "mitch cook category:articles with hcards" AND total < 11 | What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11? | <s>[INST]What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11? Context: CREATE TABLE table_name_64 (fa_cup VARCHAR, total VARCHAR, play_offs VARCHAR, name VARCHAR)[/INST]SELECT COUNT(fa_cup) FROM table_name_64 WHERE play_off... |
CREATE TABLE table_1606824_1 (area_km_2 VARCHAR, pop_density_people_km_2 VARCHAR) | SELECT COUNT(area_km_2) FROM table_1606824_1 WHERE pop_density_people_km_2 = "87" | Name the number of area km 2 for population density is 87 | <s>[INST]Name the number of area km 2 for population density is 87 Context: CREATE TABLE table_1606824_1 (area_km_2 VARCHAR, pop_density_people_km_2 VARCHAR)[/INST]SELECT COUNT(area_km_2) FROM table_1606824_1 WHERE pop_density_people_km_2 = "87"</s> |
CREATE TABLE table_12962773_2 (position VARCHAR, player VARCHAR) | SELECT position FROM table_12962773_2 WHERE player = "Ido Kozikaro" | What is Ido Kozikaro's position? | <s>[INST]What is Ido Kozikaro's position? Context: CREATE TABLE table_12962773_2 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_12962773_2 WHERE player = "Ido Kozikaro"</s> |
CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR) | SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY COUNT(*) DESC LIMIT 1 | Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations. | <s>[INST]Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations. Context: CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)[/INST]SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2... |
CREATE TABLE table_12962773_1 (height VARCHAR, position VARCHAR, year_born VARCHAR) | SELECT height FROM table_12962773_1 WHERE position = "Center" AND year_born > 1980.0 | what's height with position being center and year born being bigger than 1980.0 | <s>[INST]what's height with position being center and year born being bigger than 1980.0 Context: CREATE TABLE table_12962773_1 (height VARCHAR, position VARCHAR, year_born VARCHAR)[/INST]SELECT height FROM table_12962773_1 WHERE position = "Center" AND year_born > 1980.0</s> |
CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR) | SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11 | How many points for the navy team that lost over 11? | <s>[INST]How many points for the navy team that lost over 11? Context: CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR)[/INST]SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11</s> |
CREATE TABLE table_19115414_4 (stage__winner_ VARCHAR, team_classification VARCHAR) | SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia" | Name the number of stage winners for team columbia | <s>[INST]Name the number of stage winners for team columbia Context: CREATE TABLE table_19115414_4 (stage__winner_ VARCHAR, team_classification VARCHAR)[/INST]SELECT COUNT(stage__winner_) FROM table_19115414_4 WHERE team_classification = "Team Columbia"</s> |
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17" | Which winner has a points classification of Tony Rominger at stage 17? | <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> |
CREATE TABLE table_26166836_3 (road_race VARCHAR, location VARCHAR) | SELECT road_race FROM table_26166836_3 WHERE location = "Omsk" | What is the name of the road race held in Omsk, Russia? | <s>[INST]What is the name of the road race held in Omsk, Russia? Context: CREATE TABLE table_26166836_3 (road_race VARCHAR, location VARCHAR)[/INST]SELECT road_race FROM table_26166836_3 WHERE location = "Omsk"</s> |
CREATE TABLE table_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR) | SELECT start FROM table_name_13 WHERE laps = 199 AND qual = "224.838" | Name the start with Laps of 199 with qual of 224.838 | <s>[INST]Name the start with Laps of 199 with qual of 224.838 Context: CREATE TABLE table_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR)[/INST]SELECT start FROM table_name_13 WHERE laps = 199 AND qual = "224.838"</s> |
CREATE TABLE table_name_21 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion" | What was the score when the away team was brighton & hove albion? | <s>[INST]What was the score when the away team was brighton & hove albion? Context: CREATE TABLE table_name_21 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion"</s> |
CREATE TABLE table_name_98 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_98 WHERE tyre = "g" AND chassis = "003 002 004 005 006" AND driver = "jackie stewart" | Which engine was on a car with G tires, a chassis model of 003 002 004 005 006, driven by Jackie Stewart? | <s>[INST]Which engine was on a car with G tires, a chassis model of 003 002 004 005 006, driven by Jackie Stewart? Context: CREATE TABLE table_name_98 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_98 WHERE tyre = "g" AND chassis = "003 002 004 005 006" AND driver = ... |
CREATE TABLE table_name_38 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_38 WHERE constructor = "benetton - renault" AND driver = "johnny herbert" | What is the Time/Retired value for Driver Johnny Herbert with Constructor Benetton - Renault | <s>[INST]What is the Time/Retired value for Driver Johnny Herbert with Constructor Benetton - Renault Context: CREATE TABLE table_name_38 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_38 WHERE constructor = "benetton - renault" AND driver = "johnny herbert"</s> |
CREATE TABLE table_1140082_2 (fastest_lap VARCHAR, location VARCHAR) | SELECT fastest_lap FROM table_1140082_2 WHERE location = "Watkins Glen" | Who did the fastest lap at Watkins glen? | <s>[INST]Who did the fastest lap at Watkins glen? Context: CREATE TABLE table_1140082_2 (fastest_lap VARCHAR, location VARCHAR)[/INST]SELECT fastest_lap FROM table_1140082_2 WHERE location = "Watkins Glen"</s> |
CREATE TABLE table_name_92 (local_position VARCHAR, mission VARCHAR) | SELECT local_position FROM table_name_92 WHERE mission = "paraguay" | What is Local Position, when Mission is "Paraguay"? | <s>[INST]What is Local Position, when Mission is "Paraguay"? Context: CREATE TABLE table_name_92 (local_position VARCHAR, mission VARCHAR)[/INST]SELECT local_position FROM table_name_92 WHERE mission = "paraguay"</s> |
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR) | SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561 | In what urban area is the 2011 population 21561? | <s>[INST]In what urban area is the 2011 population 21561? Context: CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)[/INST]SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561</s> |
CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_17327264_3 WHERE replaced_by = "Petrik Sander" | Name the date of appointment for petrik sander | <s>[INST]Name the date of appointment for petrik sander Context: CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_appointment FROM table_17327264_3 WHERE replaced_by = "Petrik Sander"</s> |
CREATE TABLE table_name_50 (fog__days_year_ INTEGER, rain__mm_year_ VARCHAR) | SELECT SUM(fog__days_year_) FROM table_name_50 WHERE rain__mm_year_ = "1 109" | What is the amount of fog where the rain is 1 109? | <s>[INST]What is the amount of fog where the rain is 1 109? Context: CREATE TABLE table_name_50 (fog__days_year_ INTEGER, rain__mm_year_ VARCHAR)[/INST]SELECT SUM(fog__days_year_) FROM table_name_50 WHERE rain__mm_year_ = "1 109"</s> |
CREATE TABLE table_2886617_6 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2886617_6 WHERE nhl_team = "Los Angeles Kings" | Who was the player that was picked by Los Angeles Kings? | <s>[INST]Who was the player that was picked by Los Angeles Kings? Context: CREATE TABLE table_2886617_6 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_2886617_6 WHERE nhl_team = "Los Angeles Kings"</s> |
CREATE TABLE table_name_33 (visitor VARCHAR, series VARCHAR) | SELECT visitor FROM table_name_33 WHERE series = "series tied 2–2" | who is the Visitor that has a Series of series tied 2–2? | <s>[INST]who is the Visitor that has a Series of series tied 2–2? Context: CREATE TABLE table_name_33 (visitor VARCHAR, series VARCHAR)[/INST]SELECT visitor FROM table_name_33 WHERE series = "series tied 2–2"</s> |
CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_23 WHERE tie_no = "replay" AND home_team = "millwall" | What was the score of the replay at Millwall? | <s>[INST]What was the score of the replay at Millwall? Context: CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_23 WHERE tie_no = "replay" AND home_team = "millwall"</s> |
CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR) | SELECT result_s_ FROM table_name_91 WHERE format_s_ = "album" AND year = 1994 | Give me the result for a format saying album with 1994 as the year. | <s>[INST]Give me the result for a format saying album with 1994 as the year. Context: CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR)[/INST]SELECT result_s_ FROM table_name_91 WHERE format_s_ = "album" AND year = 1994</s> |
CREATE TABLE table_14656147_2 (week VARCHAR, record VARCHAR) | SELECT week FROM table_14656147_2 WHERE record = "0-1" | List the record of 0-1 from the table? | <s>[INST]List the record of 0-1 from the table? Context: CREATE TABLE table_14656147_2 (week VARCHAR, record VARCHAR)[/INST]SELECT week FROM table_14656147_2 WHERE record = "0-1"</s> |
CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, pick__number VARCHAR) | SELECT college_junior_club_team FROM table_1473672_4 WHERE pick__number = 63 | Name the college/junior club team for pick number 63 | <s>[INST]Name the college/junior club team for pick number 63 Context: CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, pick__number VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1473672_4 WHERE pick__number = 63</s> |
CREATE TABLE table_21531764_1 (october_2012 VARCHAR, october_2010 VARCHAR) | SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.1" | For the area which was 9.1 in October 2010, what is the figure for October 2012? | <s>[INST]For the area which was 9.1 in October 2010, what is the figure for October 2012? Context: CREATE TABLE table_21531764_1 (october_2012 VARCHAR, october_2010 VARCHAR)[/INST]SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.1"</s> |
CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR) | SELECT album FROM table_name_56 WHERE release_info = "heavenly (hvn95)" | Which album had a release of heavenly (hvn95)? | <s>[INST]Which album had a release of heavenly (hvn95)? Context: CREATE TABLE table_name_56 (album VARCHAR, release_info VARCHAR)[/INST]SELECT album FROM table_name_56 WHERE release_info = "heavenly (hvn95)"</s> |
CREATE TABLE table_16034882_4 (wins VARCHAR, points VARCHAR) | SELECT wins FROM table_16034882_4 WHERE points = 42 | How many wins did the team with 42 points get? | <s>[INST]How many wins did the team with 42 points get? Context: CREATE TABLE table_16034882_4 (wins VARCHAR, points VARCHAR)[/INST]SELECT wins FROM table_16034882_4 WHERE points = 42</s> |
CREATE TABLE table_name_38 (year VARCHAR, tries VARCHAR, points VARCHAR) | SELECT year FROM table_name_38 WHERE tries < 24 AND points = 0 | What year has tries less than 24 and 0 points? | <s>[INST]What year has tries less than 24 and 0 points? Context: CREATE TABLE table_name_38 (year VARCHAR, tries VARCHAR, points VARCHAR)[/INST]SELECT year FROM table_name_38 WHERE tries < 24 AND points = 0</s> |
CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_53 WHERE game_site = "bye" | How many fans attended the game at Bye? | <s>[INST]How many fans attended the game at Bye? Context: CREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR)[/INST]SELECT attendance FROM table_name_53 WHERE game_site = "bye"</s> |
CREATE TABLE table_name_36 (example VARCHAR, formula VARCHAR) | SELECT example FROM table_name_36 WHERE formula = "rx" | Which example has rx as the formula? | <s>[INST]Which example has rx as the formula? Context: CREATE TABLE table_name_36 (example VARCHAR, formula VARCHAR)[/INST]SELECT example FROM table_name_36 WHERE formula = "rx"</s> |
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_6 WHERE date = "30 may 2004" | Where was the game played on 30 May 2004? | <s>[INST]Where was the game played on 30 May 2004? Context: CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_6 WHERE date = "30 may 2004"</s> |
CREATE TABLE table_name_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR) | SELECT round FROM table_name_92 WHERE overall < 545 AND mlb_team = "san francisco giants" | What round was less than 545 overall for San Francisco Giants? | <s>[INST]What round was less than 545 overall for San Francisco Giants? Context: CREATE TABLE table_name_92 (round VARCHAR, overall VARCHAR, mlb_team VARCHAR)[/INST]SELECT round FROM table_name_92 WHERE overall < 545 AND mlb_team = "san francisco giants"</s> |
CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR) | SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson" | What season episode is written by neil thompson? | <s>[INST]What season episode is written by neil thompson? Context: CREATE TABLE table_1876825_6 (no_in_season INTEGER, written_by VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson"</s> |
CREATE TABLE table_10707176_2 (winning_driver VARCHAR, rnd VARCHAR) | SELECT COUNT(winning_driver) FROM table_10707176_2 WHERE rnd = "5" | How many winning drivers were the for the rnd equalling 5? | <s>[INST]How many winning drivers were the for the rnd equalling 5? Context: CREATE TABLE table_10707176_2 (winning_driver VARCHAR, rnd VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_10707176_2 WHERE rnd = "5"</s> |
CREATE TABLE table_1341973_3 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341973_3 WHERE district = "Alabama 6" | Who is the incumbent in the Alabama 6 voting district? | <s>[INST]Who is the incumbent in the Alabama 6 voting district? Context: CREATE TABLE table_1341973_3 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341973_3 WHERE district = "Alabama 6"</s> |
CREATE TABLE table_name_19 (country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT country FROM table_name_19 WHERE to_par = "e" AND score = 71 - 73 - 70 - 74 = 288 | What country parred E and scored 71-73-70-74=288? | <s>[INST]What country parred E and scored 71-73-70-74=288? Context: CREATE TABLE table_name_19 (country VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_19 WHERE to_par = "e" AND score = 71 - 73 - 70 - 74 = 288</s> |
CREATE TABLE table_name_2 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR) | SELECT AVG(wins) FROM table_name_2 WHERE tournament = "totals" AND cuts_made > 42 | Which Wins has a Tournament of totals, and a Cuts made larger than 42? | <s>[INST]Which Wins has a Tournament of totals, and a Cuts made larger than 42? Context: CREATE TABLE table_name_2 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_2 WHERE tournament = "totals" AND cuts_made > 42</s> |
CREATE TABLE table_name_38 (venue VARCHAR, rank VARCHAR) | SELECT venue FROM table_name_38 WHERE rank = "3" | Which venue is rank 3? | <s>[INST]Which venue is rank 3? Context: CREATE TABLE table_name_38 (venue VARCHAR, rank VARCHAR)[/INST]SELECT venue FROM table_name_38 WHERE rank = "3"</s> |
CREATE TABLE table_24039597_26 (innings VARCHAR, caught VARCHAR) | SELECT innings FROM table_24039597_26 WHERE caught = 20 | What was the innings when caught was 20? | <s>[INST]What was the innings when caught was 20? Context: CREATE TABLE table_24039597_26 (innings VARCHAR, caught VARCHAR)[/INST]SELECT innings FROM table_24039597_26 WHERE caught = 20</s> |
CREATE TABLE table_name_26 (lost VARCHAR, points_for VARCHAR) | SELECT lost FROM table_name_26 WHERE points_for = "208" | How many losses were there with 208 points? | <s>[INST]How many losses were there with 208 points? Context: CREATE TABLE table_name_26 (lost VARCHAR, points_for VARCHAR)[/INST]SELECT lost FROM table_name_26 WHERE points_for = "208"</s> |
CREATE TABLE Restaurant_Type (ResTypeName VARCHAR) | SELECT ResTypeName FROM Restaurant_Type | List all restaurant types. | <s>[INST]List all restaurant types. Context: CREATE TABLE Restaurant_Type (ResTypeName VARCHAR)[/INST]SELECT ResTypeName FROM Restaurant_Type</s> |
CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn" | How many people were in the crowd when the Home Team was Hawthorn? | <s>[INST]How many people were in the crowd when the Home Team was Hawthorn? Context: CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_33 (gross VARCHAR, territory VARCHAR) | SELECT gross FROM table_name_33 WHERE territory = "united kingdom" | What is the gross in the United Kingdom? | <s>[INST]What is the gross in the United Kingdom? Context: CREATE TABLE table_name_33 (gross VARCHAR, territory VARCHAR)[/INST]SELECT gross FROM table_name_33 WHERE territory = "united kingdom"</s> |
CREATE TABLE table_name_62 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_62 WHERE week < 12 AND attendance = "65,569" | Who was the opponent on the game with a 65,569 attendance before week 12? | <s>[INST]Who was the opponent on the game with a 65,569 attendance before week 12? Context: CREATE TABLE table_name_62 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_62 WHERE week < 12 AND attendance = "65,569"</s> |
CREATE TABLE table_name_13 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_13 WHERE competition = "2014 fifa world cup qual." | What was the score for the 2014 FIFA World Cup Qual. competition? | <s>[INST]What was the score for the 2014 FIFA World Cup Qual. competition? Context: CREATE TABLE table_name_13 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_13 WHERE competition = "2014 fifa world cup qual."</s> |
CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_43 WHERE opponent_in_the_final = "marcos daniel" | In what score did the match against Marcos Daniel end? | <s>[INST]In what score did the match against Marcos Daniel end? Context: CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE opponent_in_the_final = "marcos daniel"</s> |
CREATE TABLE table_2066296_5 (totals VARCHAR, interior_roof VARCHAR) | SELECT COUNT(totals) FROM table_2066296_5 WHERE interior_roof = "Parchment/black" | How many different total results are there for the model with parchment/black interior/roof? | <s>[INST]How many different total results are there for the model with parchment/black interior/roof? Context: CREATE TABLE table_2066296_5 (totals VARCHAR, interior_roof VARCHAR)[/INST]SELECT COUNT(totals) FROM table_2066296_5 WHERE interior_roof = "Parchment/black"</s> |
CREATE TABLE table_name_4 (inchicore_class VARCHAR, gsr_class VARCHAR) | SELECT inchicore_class FROM table_name_4 WHERE gsr_class = "235" | What Inchicore Class has a GSR Class of 235? | <s>[INST]What Inchicore Class has a GSR Class of 235? Context: CREATE TABLE table_name_4 (inchicore_class VARCHAR, gsr_class VARCHAR)[/INST]SELECT inchicore_class FROM table_name_4 WHERE gsr_class = "235"</s> |
CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR) | SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville" | What is the IHSAA class in Batesville? | <s>[INST]What is the IHSAA class in Batesville? Context: CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.