context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1682026_3 (rank INTEGER, company VARCHAR) | SELECT MIN(rank) FROM table_1682026_3 WHERE company = "BNP Paribas" | What is the ranking of BNP Paribas? | <s>[INST]What is the ranking of BNP Paribas? Context: CREATE TABLE table_1682026_3 (rank INTEGER, company VARCHAR)[/INST]SELECT MIN(rank) FROM table_1682026_3 WHERE company = "BNP Paribas"</s> |
CREATE TABLE table_name_12 (laps INTEGER, rank VARCHAR) | SELECT MIN(laps) FROM table_name_12 WHERE rank = "32" | What is the fewest number of laps completed by a rank 32? | <s>[INST]What is the fewest number of laps completed by a rank 32? Context: CREATE TABLE table_name_12 (laps INTEGER, rank VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_12 WHERE rank = "32"</s> |
CREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_8 WHERE incumbent = "richard neal" | What is District, when Incumbent is "Richard Neal"? | <s>[INST]What is District, when Incumbent is "Richard Neal"? Context: CREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_name_8 WHERE incumbent = "richard neal"</s> |
CREATE TABLE table_30058355_3 (fri_26_aug VARCHAR, mon_22_aug VARCHAR) | SELECT fri_26_aug FROM table_30058355_3 WHERE mon_22_aug = "32' 25.72 69.809mph" | What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph? | <s>[INST]What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph? Context: CREATE TABLE table_30058355_3 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)[/INST]SELECT fri_26_aug FROM table_30058355_3 WHERE mon_22_aug = "32' 25.72 69.809mph"</s> |
CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR) | SELECT character FROM table_name_48 WHERE italian_voice_actor = "emanuela damasio" | What character does Italian voice actor Emanuela Damasio play? | <s>[INST]What character does Italian voice actor Emanuela Damasio play? Context: CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR)[/INST]SELECT character FROM table_name_48 WHERE italian_voice_actor = "emanuela damasio"</s> |
CREATE TABLE table_28059992_2 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_28059992_2 WHERE player = "Robert Beveridge" | Name the cfl team for robert beveridge | <s>[INST]Name the cfl team for robert beveridge Context: CREATE TABLE table_28059992_2 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_28059992_2 WHERE player = "Robert Beveridge"</s> |
CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR) | SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1 | Find the last name of the first ever contact person of the organization with the highest UK Vat number. | <s>[INST]Find the last name of the first ever contact person of the organization with the highest UK Vat number. Context: CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)[/INST]SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1</s> |
CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR) | SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = "carolina 1" | When is the club founded that founed prsl in 2008 and the home city is carolina 1? | <s>[INST]When is the club founded that founed prsl in 2008 and the home city is carolina 1? Context: CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR)[/INST]SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = "carolina 1"</s> |
CREATE TABLE table_name_59 (attendance VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_59 WHERE game_site = "veterans stadium" AND week < 1 | How many attendance numbers are associated with the site of Veterans Stadium before week 1? | <s>[INST]How many attendance numbers are associated with the site of Veterans Stadium before week 1? Context: CREATE TABLE table_name_59 (attendance VARCHAR, game_site VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_59 WHERE game_site = "veterans stadium" AND week < 1</s> |
CREATE TABLE table_17271495_1 (grid VARCHAR, points VARCHAR) | SELECT COUNT(grid) FROM table_17271495_1 WHERE points = "30" | Name the total number of grid for 30 | <s>[INST]Name the total number of grid for 30 Context: CREATE TABLE table_17271495_1 (grid VARCHAR, points VARCHAR)[/INST]SELECT COUNT(grid) FROM table_17271495_1 WHERE points = "30"</s> |
CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_55 WHERE date = "may 7" | Who was the visiting team on May 7? | <s>[INST]Who was the visiting team on May 7? Context: CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_55 WHERE date = "may 7"</s> |
CREATE TABLE endowment (school_id VARCHAR, amount INTEGER) | SELECT COUNT(*) FROM (SELECT * FROM endowment WHERE amount > 8.5 GROUP BY school_id HAVING COUNT(*) > 1) | Find the number of schools that have more than one donator whose donation amount is less than 8.5. | <s>[INST]Find the number of schools that have more than one donator whose donation amount is less than 8.5. Context: CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)[/INST]SELECT COUNT(*) FROM (SELECT * FROM endowment WHERE amount > 8.5 GROUP BY school_id HAVING COUNT(*) > 1)</s> |
CREATE TABLE Project_Staff (role_code VARCHAR) | SELECT role_code FROM Project_Staff GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1 | Which role is most common for the staff? | <s>[INST]Which role is most common for the staff? Context: CREATE TABLE Project_Staff (role_code VARCHAR)[/INST]SELECT role_code FROM Project_Staff GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_21696800_1 (_number VARCHAR, us_viewers__million_ VARCHAR) | SELECT _number FROM table_21696800_1 WHERE us_viewers__million_ = "2.24" | What's the number of the episode seen by 2.24 million people in the US? | <s>[INST]What's the number of the episode seen by 2.24 million people in the US? Context: CREATE TABLE table_21696800_1 (_number VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT _number FROM table_21696800_1 WHERE us_viewers__million_ = "2.24"</s> |
CREATE TABLE table_name_52 (points INTEGER, games VARCHAR, rank VARCHAR) | SELECT MAX(points) FROM table_name_52 WHERE games = 21 AND rank > 2 | What is the highest value for Points, when Games is 21, and when Rank is greater than 2? | <s>[INST]What is the highest value for Points, when Games is 21, and when Rank is greater than 2? Context: CREATE TABLE table_name_52 (points INTEGER, games VARCHAR, rank VARCHAR)[/INST]SELECT MAX(points) FROM table_name_52 WHERE games = 21 AND rank > 2</s> |
CREATE TABLE table_1137718_2 (winning_driver VARCHAR, date VARCHAR) | SELECT winning_driver FROM table_1137718_2 WHERE date = "13 August" | Who was the winning driver on 13 August? | <s>[INST]Who was the winning driver on 13 August? Context: CREATE TABLE table_1137718_2 (winning_driver VARCHAR, date VARCHAR)[/INST]SELECT winning_driver FROM table_1137718_2 WHERE date = "13 August"</s> |
CREATE TABLE table_name_80 (runs VARCHAR, econ VARCHAR) | SELECT runs FROM table_name_80 WHERE econ = "3.63" | Tell me the runs for econ of 3.63 | <s>[INST]Tell me the runs for econ of 3.63 Context: CREATE TABLE table_name_80 (runs VARCHAR, econ VARCHAR)[/INST]SELECT runs FROM table_name_80 WHERE econ = "3.63"</s> |
CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR) | SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5 | Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5? | <s>[INST]Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5? Context: CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5</s> |
CREATE TABLE table_name_42 (civil_liberties_2012 INTEGER, political_rights_2011 VARCHAR, status_2011 VARCHAR, political_rights_2012 VARCHAR) | SELECT AVG(civil_liberties_2012) FROM table_name_42 WHERE status_2011 = "not free" AND political_rights_2012 > 6 AND political_rights_2011 > 7 | What is the average 2012 civil liberties value associated with a 2011 status of not free, political rights 2012 over 6, and political rights 2011 over 7? | <s>[INST]What is the average 2012 civil liberties value associated with a 2011 status of not free, political rights 2012 over 6, and political rights 2011 over 7? Context: CREATE TABLE table_name_42 (civil_liberties_2012 INTEGER, political_rights_2011 VARCHAR, status_2011 VARCHAR, political_rights_2012 VARCHAR)[/INST]SELECT AVG(civil_liberties_2012) FROM table_name_42 WHERE status_2011 = "not free" AND political_rights_2012 > 6 AND political_rights_2011 > 7</s> |
CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR) | SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium" | What was the total crowd attendance at Westpac Stadium? | <s>[INST]What was the total crowd attendance at Westpac Stadium? Context: CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium"</s> |
CREATE TABLE table_name_21 (title VARCHAR, peak_position VARCHAR, country VARCHAR) | SELECT title FROM table_name_21 WHERE peak_position = 10 AND country = "france" | What is the title of the single with the peak position of 10 and from France? | <s>[INST]What is the title of the single with the peak position of 10 and from France? Context: CREATE TABLE table_name_21 (title VARCHAR, peak_position VARCHAR, country VARCHAR)[/INST]SELECT title FROM table_name_21 WHERE peak_position = 10 AND country = "france"</s> |
CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets" | How many people attended the home game against the New York Jets? | <s>[INST]How many people attended the home game against the New York Jets? Context: CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets"</s> |
CREATE TABLE table_name_42 (school VARCHAR, player VARCHAR) | SELECT school FROM table_name_42 WHERE player = "tyrone johnson" | Which School did Player Tyrone Johnson attend? | <s>[INST]Which School did Player Tyrone Johnson attend? Context: CREATE TABLE table_name_42 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_42 WHERE player = "tyrone johnson"</s> |
CREATE TABLE table_name_6 (gold INTEGER, bronze INTEGER) | SELECT AVG(gold) FROM table_name_6 WHERE bronze > 1 | What is the average number of gold medals with more than 1 bronze medal? | <s>[INST]What is the average number of gold medals with more than 1 bronze medal? Context: CREATE TABLE table_name_6 (gold INTEGER, bronze INTEGER)[/INST]SELECT AVG(gold) FROM table_name_6 WHERE bronze > 1</s> |
CREATE TABLE table_name_47 (semifinal VARCHAR, event VARCHAR) | SELECT semifinal FROM table_name_47 WHERE event = "team" | Which Semifinal has an Event of team? | <s>[INST]Which Semifinal has an Event of team? Context: CREATE TABLE table_name_47 (semifinal VARCHAR, event VARCHAR)[/INST]SELECT semifinal FROM table_name_47 WHERE event = "team"</s> |
CREATE TABLE employees (city VARCHAR, title VARCHAR) | SELECT COUNT(*), city FROM employees WHERE title = 'IT Staff' GROUP BY city | Find the number of employees whose title is IT Staff from each city? | <s>[INST]Find the number of employees whose title is IT Staff from each city? Context: CREATE TABLE employees (city VARCHAR, title VARCHAR)[/INST]SELECT COUNT(*), city FROM employees WHERE title = 'IT Staff' GROUP BY city</s> |
CREATE TABLE table_2668378_18 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_2668378_18 WHERE incumbent = "John Smith" | When was someone first elected in the district with incumbent john smith? | <s>[INST]When was someone first elected in the district with incumbent john smith? Context: CREATE TABLE table_2668378_18 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_2668378_18 WHERE incumbent = "John Smith"</s> |
CREATE TABLE table_name_51 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_51 WHERE player = "billy casper" | What was Billy Casper's to par? | <s>[INST]What was Billy Casper's to par? Context: CREATE TABLE table_name_51 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_51 WHERE player = "billy casper"</s> |
CREATE TABLE table_name_97 (number_of_districts__kecamatan_ INTEGER, province VARCHAR, villages VARCHAR) | SELECT MIN(number_of_districts__kecamatan_) FROM table_name_97 WHERE province = "north sulawesi" AND villages > 1 OFFSET 510 | What is the lowest number of districts (kecamatan) in the north sulawesi province with more than 1,510 villages? | <s>[INST]What is the lowest number of districts (kecamatan) in the north sulawesi province with more than 1,510 villages? Context: CREATE TABLE table_name_97 (number_of_districts__kecamatan_ INTEGER, province VARCHAR, villages VARCHAR)[/INST]SELECT MIN(number_of_districts__kecamatan_) FROM table_name_97 WHERE province = "north sulawesi" AND villages > 1 OFFSET 510</s> |
CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_86 WHERE date = "november 2, 2007" | Which result has a Date of november 2, 2007? | <s>[INST]Which result has a Date of november 2, 2007? Context: CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_86 WHERE date = "november 2, 2007"</s> |
CREATE TABLE table_name_48 (november VARCHAR, february VARCHAR) | SELECT november FROM table_name_48 WHERE february = "willy rey" | Who is in November where February is willy rey? | <s>[INST]Who is in November where February is willy rey? Context: CREATE TABLE table_name_48 (november VARCHAR, february VARCHAR)[/INST]SELECT november FROM table_name_48 WHERE february = "willy rey"</s> |
CREATE TABLE Rating (stars VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, director VARCHAR) | SELECT DISTINCT T3.name, T2.title, T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name | For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars. | <s>[INST]For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars. Context: CREATE TABLE Rating (stars VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, director VARCHAR)[/INST]SELECT DISTINCT T3.name, T2.title, T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name</s> |
CREATE TABLE table_name_4 (name VARCHAR, captain VARCHAR) | SELECT name FROM table_name_4 WHERE captain = "aaron heal" | What Name has the Captain Aaron Heal? | <s>[INST]What Name has the Captain Aaron Heal? Context: CREATE TABLE table_name_4 (name VARCHAR, captain VARCHAR)[/INST]SELECT name FROM table_name_4 WHERE captain = "aaron heal"</s> |
CREATE TABLE roller_coaster (LENGTH VARCHAR, Height VARCHAR) | SELECT LENGTH, Height FROM roller_coaster | What are the lengths and heights of roller coasters? | <s>[INST]What are the lengths and heights of roller coasters? Context: CREATE TABLE roller_coaster (LENGTH VARCHAR, Height VARCHAR)[/INST]SELECT LENGTH, Height FROM roller_coaster</s> |
CREATE TABLE table_name_89 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_89 WHERE result = "l 33–14" | What is the Date of the game with a Result of L 33–14? | <s>[INST]What is the Date of the game with a Result of L 33–14? Context: CREATE TABLE table_name_89 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_89 WHERE result = "l 33–14"</s> |
CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07" | On 15/04/07 in the competition Super League XII, what was the score? | <s>[INST]On 15/04/07 in the competition Super League XII, what was the score? Context: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07"</s> |
CREATE TABLE table_name_61 (location VARCHAR, aircraft VARCHAR) | SELECT location FROM table_name_61 WHERE aircraft = "ju-52" | What was the location of the Ju-52 aircraft? | <s>[INST]What was the location of the Ju-52 aircraft? Context: CREATE TABLE table_name_61 (location VARCHAR, aircraft VARCHAR)[/INST]SELECT location FROM table_name_61 WHERE aircraft = "ju-52"</s> |
CREATE TABLE table_name_48 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT MIN(total__kg_) FROM table_name_48 WHERE clean_ & _jerk < 153 AND snatch < 100 | Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch smaller than 100? | <s>[INST]Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch smaller than 100? Context: CREATE TABLE table_name_48 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT MIN(total__kg_) FROM table_name_48 WHERE clean_ & _jerk < 153 AND snatch < 100</s> |
CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR) | SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4 | Which AFL team has a pick 4 for the offensive tackle position? | <s>[INST]Which AFL team has a pick 4 for the offensive tackle position? Context: CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4</s> |
CREATE TABLE table_name_49 (author VARCHAR, title VARCHAR) | SELECT author FROM table_name_49 WHERE title = "bludgeoning angel dokuro-chan" | Who is the author of Bludgeoning Angel Dokuro-Chan? | <s>[INST]Who is the author of Bludgeoning Angel Dokuro-Chan? Context: CREATE TABLE table_name_49 (author VARCHAR, title VARCHAR)[/INST]SELECT author FROM table_name_49 WHERE title = "bludgeoning angel dokuro-chan"</s> |
CREATE TABLE table_name_10 (segment_a VARCHAR, segment_d VARCHAR) | SELECT segment_a FROM table_name_10 WHERE segment_d = "children's ride-on cars" | What is the segment A for the episode with Children's Ride-on Cars for segment D? | <s>[INST]What is the segment A for the episode with Children's Ride-on Cars for segment D? Context: CREATE TABLE table_name_10 (segment_a VARCHAR, segment_d VARCHAR)[/INST]SELECT segment_a FROM table_name_10 WHERE segment_d = "children's ride-on cars"</s> |
CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR) | SELECT contestant_number, contestant_name FROM contestants ORDER BY contestant_name DESC | List the contestant numbers and names, ordered by contestant name descending. | <s>[INST]List the contestant numbers and names, ordered by contestant name descending. Context: CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR)[/INST]SELECT contestant_number, contestant_name FROM contestants ORDER BY contestant_name DESC</s> |
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond" | What is the home team score with Away team Richmond? | <s>[INST]What is the home team score with Away team Richmond? Context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond"</s> |
CREATE TABLE table_22916979_5 (metropolitan_area VARCHAR, densest_incorporated_place VARCHAR) | SELECT metropolitan_area FROM table_22916979_5 WHERE densest_incorporated_place = "North Bay Village" | Name the area for north bay village | <s>[INST]Name the area for north bay village Context: CREATE TABLE table_22916979_5 (metropolitan_area VARCHAR, densest_incorporated_place VARCHAR)[/INST]SELECT metropolitan_area FROM table_22916979_5 WHERE densest_incorporated_place = "North Bay Village"</s> |
CREATE TABLE table_21304131_2 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = 65 | When did series number 65 originally air? | <s>[INST]When did series number 65 originally air? Context: CREATE TABLE table_21304131_2 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = 65</s> |
CREATE TABLE table_1414702_3 (enrollment INTEGER, wiaa_classification VARCHAR) | SELECT MIN(enrollment) FROM table_1414702_3 WHERE wiaa_classification = "3A" | What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification? | <s>[INST]What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification? Context: CREATE TABLE table_1414702_3 (enrollment INTEGER, wiaa_classification VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_1414702_3 WHERE wiaa_classification = "3A"</s> |
CREATE TABLE table_name_96 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_96 WHERE time_retired = "+1:12.208" AND laps > 24 | How many grids have more than 24 laps with a time/retired of +1:12.208? | <s>[INST]How many grids have more than 24 laps with a time/retired of +1:12.208? Context: CREATE TABLE table_name_96 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_96 WHERE time_retired = "+1:12.208" AND laps > 24</s> |
CREATE TABLE table_2668243_25 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668243_25 WHERE incumbent = "Nathaniel H. Claiborne" | What candidate(s) ran for election when nathaniel h. claiborne was the incumbent? | <s>[INST]What candidate(s) ran for election when nathaniel h. claiborne was the incumbent? Context: CREATE TABLE table_2668243_25 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_2668243_25 WHERE incumbent = "Nathaniel H. Claiborne"</s> |
CREATE TABLE table_name_53 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_53 WHERE date = "may 14" | what series was on may 14 | <s>[INST]what series was on may 14 Context: CREATE TABLE table_name_53 (series VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_53 WHERE date = "may 14"</s> |
CREATE TABLE table_1458666_4 (total_wins INTEGER) | SELECT MIN(total_wins) FROM table_1458666_4 | what is the value for minimum total wins | <s>[INST]what is the value for minimum total wins Context: CREATE TABLE table_1458666_4 (total_wins INTEGER)[/INST]SELECT MIN(total_wins) FROM table_1458666_4</s> |
CREATE TABLE table_name_71 (cpu_chip VARCHAR, type VARCHAR) | SELECT cpu_chip FROM table_name_71 WHERE type = "classic" | Which CPU chip(s) is used in the Classic type hardware? | <s>[INST]Which CPU chip(s) is used in the Classic type hardware? Context: CREATE TABLE table_name_71 (cpu_chip VARCHAR, type VARCHAR)[/INST]SELECT cpu_chip FROM table_name_71 WHERE type = "classic"</s> |
CREATE TABLE table_name_8 (player VARCHAR, balls VARCHAR) | SELECT player FROM table_name_8 WHERE balls = 49 | What player had 49 balls? | <s>[INST]What player had 49 balls? Context: CREATE TABLE table_name_8 (player VARCHAR, balls VARCHAR)[/INST]SELECT player FROM table_name_8 WHERE balls = 49</s> |
CREATE TABLE table_name_18 (distance VARCHAR, date VARCHAR) | SELECT distance FROM table_name_18 WHERE date = "2008-01-12" | What is Distance, when Date is "2008-01-12"? | <s>[INST]What is Distance, when Date is "2008-01-12"? Context: CREATE TABLE table_name_18 (distance VARCHAR, date VARCHAR)[/INST]SELECT distance FROM table_name_18 WHERE date = "2008-01-12"</s> |
CREATE TABLE table_name_51 (aircraft VARCHAR) | SELECT aircraft AS damage FROM table_name_51 WHERE aircraft = "boeing 707-320b" | What was the aircraft damage for the Boeing 707-320B? | <s>[INST]What was the aircraft damage for the Boeing 707-320B? Context: CREATE TABLE table_name_51 (aircraft VARCHAR)[/INST]SELECT aircraft AS damage FROM table_name_51 WHERE aircraft = "boeing 707-320b"</s> |
CREATE TABLE table_20823568_2 (second_place_s_ VARCHAR, sporting_profession VARCHAR) | SELECT second_place_s_ FROM table_20823568_2 WHERE sporting_profession = "Snooker" | How many second place showings does snooker have? | <s>[INST]How many second place showings does snooker have? Context: CREATE TABLE table_20823568_2 (second_place_s_ VARCHAR, sporting_profession VARCHAR)[/INST]SELECT second_place_s_ FROM table_20823568_2 WHERE sporting_profession = "Snooker"</s> |
CREATE TABLE table_1341577_43 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341577_43 WHERE first_elected = 1982 | Which party is associated with the person who was first elected in 1982? | <s>[INST]Which party is associated with the person who was first elected in 1982? Context: CREATE TABLE table_1341577_43 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_1341577_43 WHERE first_elected = 1982</s> |
CREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR) | SELECT season FROM table_name_42 WHERE skip = "eve muirhead" AND third = "kerry barr" | What is the season with a Skip of Eve Muirhead and a third of Kerry Barr? | <s>[INST]What is the season with a Skip of Eve Muirhead and a third of Kerry Barr? Context: CREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR)[/INST]SELECT season FROM table_name_42 WHERE skip = "eve muirhead" AND third = "kerry barr"</s> |
CREATE TABLE table_name_15 (field VARCHAR, geological_trend VARCHAR, discovery VARCHAR, operator_s_ VARCHAR) | SELECT field FROM table_name_15 WHERE discovery = "na" AND operator_s_ = "woc" AND geological_trend = "western" | Which Field has a Discovery of na, and an Operator(s) of woc, and a Geological Trend of western | <s>[INST]Which Field has a Discovery of na, and an Operator(s) of woc, and a Geological Trend of western Context: CREATE TABLE table_name_15 (field VARCHAR, geological_trend VARCHAR, discovery VARCHAR, operator_s_ VARCHAR)[/INST]SELECT field FROM table_name_15 WHERE discovery = "na" AND operator_s_ = "woc" AND geological_trend = "western"</s> |
CREATE TABLE table_name_59 (total INTEGER, rank VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_59 WHERE rank = "17" AND gold > 0 | Which Total has a Rank of 17, and a Gold larger than 0? | <s>[INST]Which Total has a Rank of 17, and a Gold larger than 0? Context: CREATE TABLE table_name_59 (total INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_59 WHERE rank = "17" AND gold > 0</s> |
CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR) | SELECT season FROM table_14242137_11 WHERE regionalliga_nord = "VfB Oldenburg" | what's the season with regionalliga nord being vfb oldenburg | <s>[INST]what's the season with regionalliga nord being vfb oldenburg Context: CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR)[/INST]SELECT season FROM table_14242137_11 WHERE regionalliga_nord = "VfB Oldenburg"</s> |
CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR) | SELECT AVG(floors) FROM table_name_59 WHERE name = "venetian tower" | What is the average number of floors of the Venetian tower? | <s>[INST]What is the average number of floors of the Venetian tower? Context: CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR)[/INST]SELECT AVG(floors) FROM table_name_59 WHERE name = "venetian tower"</s> |
CREATE TABLE table_name_51 (shooter VARCHAR, score_points VARCHAR) | SELECT shooter FROM table_name_51 WHERE score_points = "defending champion" | Who's the shooter with score points of defending champion? | <s>[INST]Who's the shooter with score points of defending champion? Context: CREATE TABLE table_name_51 (shooter VARCHAR, score_points VARCHAR)[/INST]SELECT shooter FROM table_name_51 WHERE score_points = "defending champion"</s> |
CREATE TABLE table_name_13 (population INTEGER, town_city VARCHAR) | SELECT MAX(population) FROM table_name_13 WHERE town_city = "ivaiporã, pr" | What is Ivaiporã, pr's biggest population? | <s>[INST]What is Ivaiporã, pr's biggest population? Context: CREATE TABLE table_name_13 (population INTEGER, town_city VARCHAR)[/INST]SELECT MAX(population) FROM table_name_13 WHERE town_city = "ivaiporã, pr"</s> |
CREATE TABLE table_name_28 (other INTEGER, us_open_cup VARCHAR, concacaf VARCHAR) | SELECT MAX(other) FROM table_name_28 WHERE us_open_cup > 0 AND concacaf = 0 | What is the highest value for Other that has CONCACAF value of 0 a U.S. Open Cup larger than 0? | <s>[INST]What is the highest value for Other that has CONCACAF value of 0 a U.S. Open Cup larger than 0? Context: CREATE TABLE table_name_28 (other INTEGER, us_open_cup VARCHAR, concacaf VARCHAR)[/INST]SELECT MAX(other) FROM table_name_28 WHERE us_open_cup > 0 AND concacaf = 0</s> |
CREATE TABLE table_2076490_1 (founded INTEGER) | SELECT MAX(founded) FROM table_2076490_1 | What is the latest founding date? | <s>[INST]What is the latest founding date? Context: CREATE TABLE table_2076490_1 (founded INTEGER)[/INST]SELECT MAX(founded) FROM table_2076490_1</s> |
CREATE TABLE table_name_39 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_39 WHERE score = "2–6, 6–4, 3–6" | What is the Opponent with a Score that is 2–6, 6–4, 3–6? | <s>[INST]What is the Opponent with a Score that is 2–6, 6–4, 3–6? Context: CREATE TABLE table_name_39 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_39 WHERE score = "2–6, 6–4, 3–6"</s> |
CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR) | SELECT founder FROM manufacturers WHERE name LIKE 'S%' | Find the founder of the company whose name begins with the letter 'S'. | <s>[INST]Find the founder of the company whose name begins with the letter 'S'. Context: CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR)[/INST]SELECT founder FROM manufacturers WHERE name LIKE 'S%'</s> |
CREATE TABLE table_25551880_2 (winner VARCHAR, mountains_classification VARCHAR) | SELECT COUNT(winner) FROM table_25551880_2 WHERE mountains_classification = "not awarded" | How many winners were there when the mountains classification was not awarded? | <s>[INST]How many winners were there when the mountains classification was not awarded? Context: CREATE TABLE table_25551880_2 (winner VARCHAR, mountains_classification VARCHAR)[/INST]SELECT COUNT(winner) FROM table_25551880_2 WHERE mountains_classification = "not awarded"</s> |
CREATE TABLE table_name_42 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_42 WHERE score = 67 - 68 - 76 = 211 | what is the to par when the score is 67-68-76=211? | <s>[INST]what is the to par when the score is 67-68-76=211? Context: CREATE TABLE table_name_42 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_42 WHERE score = 67 - 68 - 76 = 211</s> |
CREATE TABLE table_1805191_33 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel" | How many districts have the incumbent, Charles Rangel? | <s>[INST]How many districts have the incumbent, Charles Rangel? Context: CREATE TABLE table_1805191_33 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel"</s> |
CREATE TABLE table_name_17 (attendance INTEGER, opponent VARCHAR, score VARCHAR) | SELECT SUM(attendance) FROM table_name_17 WHERE opponent = "royals" AND score = "17 - 6" | How many people attended the Royals game with a score of 17 - 6? | <s>[INST]How many people attended the Royals game with a score of 17 - 6? Context: CREATE TABLE table_name_17 (attendance INTEGER, opponent VARCHAR, score VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_17 WHERE opponent = "royals" AND score = "17 - 6"</s> |
CREATE TABLE table_name_16 (goals VARCHAR, ratio VARCHAR) | SELECT goals FROM table_name_16 WHERE ratio = 0.29 | Which Goals have a Ratio of 0.29? | <s>[INST]Which Goals have a Ratio of 0.29? Context: CREATE TABLE table_name_16 (goals VARCHAR, ratio VARCHAR)[/INST]SELECT goals FROM table_name_16 WHERE ratio = 0.29</s> |
CREATE TABLE Customers_cards (card_type_code VARCHAR) | SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the card type code with most number of cards? | <s>[INST]What is the card type code with most number of cards? Context: CREATE TABLE Customers_cards (card_type_code VARCHAR)[/INST]SELECT card_type_code FROM Customers_cards GROUP BY card_type_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR) | SELECT COUNT(location) FROM table_262560_2 WHERE nickname = "Panthers" | How many locations have a school that is nicknamed the Panthers? | <s>[INST]How many locations have a school that is nicknamed the Panthers? Context: CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR)[/INST]SELECT COUNT(location) FROM table_262560_2 WHERE nickname = "Panthers"</s> |
CREATE TABLE table_name_88 (Id VARCHAR) | SELECT 2008 FROM table_name_88 WHERE 1998 = "a" AND 2002 = "1r" AND 2004 = "2r" | Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r | <s>[INST]Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r Context: CREATE TABLE table_name_88 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_88 WHERE 1998 = "a" AND 2002 = "1r" AND 2004 = "2r"</s> |
CREATE TABLE table_name_17 (high_school VARCHAR, division VARCHAR, nickname VARCHAR) | SELECT high_school FROM table_name_17 WHERE division = "crest" AND nickname = "s eagle" | What High School with a nickname of S Eagle has a Division of crest? | <s>[INST]What High School with a nickname of S Eagle has a Division of crest? Context: CREATE TABLE table_name_17 (high_school VARCHAR, division VARCHAR, nickname VARCHAR)[/INST]SELECT high_school FROM table_name_17 WHERE division = "crest" AND nickname = "s eagle"</s> |
CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR) | SELECT T3.Name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID GROUP BY T3.Name | Show the names of companies and the number of employees they have | <s>[INST]Show the names of companies and the number of employees they have Context: CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR)[/INST]SELECT T3.Name, COUNT(*) FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID GROUP BY T3.Name</s> |
CREATE TABLE table_27268238_4 (highest_score VARCHAR, team VARCHAR) | SELECT highest_score FROM table_27268238_4 WHERE team = "Sussex" | What is the team Sussex' highest score? | <s>[INST]What is the team Sussex' highest score? Context: CREATE TABLE table_27268238_4 (highest_score VARCHAR, team VARCHAR)[/INST]SELECT highest_score FROM table_27268238_4 WHERE team = "Sussex"</s> |
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT year__ceremony_ FROM table_17350255_1 WHERE film_title_used_in_nomination = "Old Mo's Second Spring" | Old Mo's Second Spring was the film title used in nomination in what year? | <s>[INST]Old Mo's Second Spring was the film title used in nomination in what year? Context: CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT year__ceremony_ FROM table_17350255_1 WHERE film_title_used_in_nomination = "Old Mo's Second Spring"</s> |
CREATE TABLE table_name_80 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_80 WHERE year = 2000 | What score has 2000 as the year? | <s>[INST]What score has 2000 as the year? Context: CREATE TABLE table_name_80 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE year = 2000</s> |
CREATE TABLE table_name_50 (number_s_ VARCHAR, quantity VARCHAR) | SELECT number_s_ FROM table_name_50 WHERE quantity = "24" | What number corresponds to the quantity of 24? | <s>[INST]What number corresponds to the quantity of 24? Context: CREATE TABLE table_name_50 (number_s_ VARCHAR, quantity VARCHAR)[/INST]SELECT number_s_ FROM table_name_50 WHERE quantity = "24"</s> |
CREATE TABLE table_2201724_1 (year INTEGER) | SELECT MAX(year) FROM table_2201724_1 | What is Fred Stolle's final year of competing in a championship? | <s>[INST]What is Fred Stolle's final year of competing in a championship? Context: CREATE TABLE table_2201724_1 (year INTEGER)[/INST]SELECT MAX(year) FROM table_2201724_1</s> |
CREATE TABLE table_name_28 (runners_up VARCHAR, year VARCHAR) | SELECT runners_up FROM table_name_28 WHERE year = "1996" | Who are the runners-up in 1996? | <s>[INST]Who are the runners-up in 1996? Context: CREATE TABLE table_name_28 (runners_up VARCHAR, year VARCHAR)[/INST]SELECT runners_up FROM table_name_28 WHERE year = "1996"</s> |
CREATE TABLE table_name_69 (position INTEGER, best_3_year_period VARCHAR) | SELECT MAX(position) FROM table_name_69 WHERE best_3_year_period = "petrosian" | Which Position has a best 3-year period of petrosian? | <s>[INST]Which Position has a best 3-year period of petrosian? Context: CREATE TABLE table_name_69 (position INTEGER, best_3_year_period VARCHAR)[/INST]SELECT MAX(position) FROM table_name_69 WHERE best_3_year_period = "petrosian"</s> |
CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR) | SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842 | What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842? | <s>[INST]What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842? Context: CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)[/INST]SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842</s> |
CREATE TABLE table_14573770_4 (fourth_place INTEGER, nation VARCHAR) | SELECT MAX(fourth_place) FROM table_14573770_4 WHERE nation = "Argentina" | How many teams named argentina? | <s>[INST]How many teams named argentina? Context: CREATE TABLE table_14573770_4 (fourth_place INTEGER, nation VARCHAR)[/INST]SELECT MAX(fourth_place) FROM table_14573770_4 WHERE nation = "Argentina"</s> |
CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_70 WHERE place = "t8" AND score = 71 - 66 - 66 - 71 = 274 | What was the to par for place t8 and a score of 71-66-66-71=274? | <s>[INST]What was the to par for place t8 and a score of 71-66-66-71=274? Context: CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_70 WHERE place = "t8" AND score = 71 - 66 - 66 - 71 = 274</s> |
CREATE TABLE table_name_26 (year__ceremony_ VARCHAR, category VARCHAR, actor_actress VARCHAR) | SELECT year__ceremony_ FROM table_name_26 WHERE category = "best actress" AND actor_actress = "sigourney weaver" | What is the year when sigourney weaver was nominated for best actress? | <s>[INST]What is the year when sigourney weaver was nominated for best actress? Context: CREATE TABLE table_name_26 (year__ceremony_ VARCHAR, category VARCHAR, actor_actress VARCHAR)[/INST]SELECT year__ceremony_ FROM table_name_26 WHERE category = "best actress" AND actor_actress = "sigourney weaver"</s> |
CREATE TABLE table_name_80 (runner VARCHAR, total VARCHAR) | SELECT COUNT(5 AS k_wins) FROM table_name_80 WHERE runner = "emily chebet" AND total > 2 | How many 5K wins did Emily Chebet, who had more than 2 total, have? | <s>[INST]How many 5K wins did Emily Chebet, who had more than 2 total, have? Context: CREATE TABLE table_name_80 (runner VARCHAR, total VARCHAR)[/INST]SELECT COUNT(5 AS k_wins) FROM table_name_80 WHERE runner = "emily chebet" AND total > 2</s> |
CREATE TABLE table_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR) | SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.6%" | What was the percentage of votes for coakley when kennedy won 1.6% | <s>[INST]What was the percentage of votes for coakley when kennedy won 1.6% Context: CREATE TABLE table_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR)[/INST]SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.6%"</s> |
CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_22 WHERE venue = "victoria park" | What was the average crowd size at Victoria Park? | <s>[INST]What was the average crowd size at Victoria Park? Context: CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_22 WHERE venue = "victoria park"</s> |
CREATE TABLE table_19422702_1 (us_airdate VARCHAR, no_in_season VARCHAR) | SELECT COUNT(us_airdate) FROM table_19422702_1 WHERE no_in_season = 4 | How many U.S. air dates were from an episode in Season 4? | <s>[INST]How many U.S. air dates were from an episode in Season 4? Context: CREATE TABLE table_19422702_1 (us_airdate VARCHAR, no_in_season VARCHAR)[/INST]SELECT COUNT(us_airdate) FROM table_19422702_1 WHERE no_in_season = 4</s> |
CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins" | what was the score when scoville jenkins was the opponent? | <s>[INST]what was the score when scoville jenkins was the opponent? Context: CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins"</s> |
CREATE TABLE table_name_96 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR) | SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 0 | Name the most year for team motul brm and chassis of brm p201 and points less than 0 | <s>[INST]Name the most year for team motul brm and chassis of brm p201 and points less than 0 Context: CREATE TABLE table_name_96 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 0</s> |
CREATE TABLE table_name_77 (season VARCHAR, final_placing VARCHAR) | SELECT season FROM table_name_77 WHERE final_placing = "19th" | Which Season has a 19th Final Place? | <s>[INST]Which Season has a 19th Final Place? Context: CREATE TABLE table_name_77 (season VARCHAR, final_placing VARCHAR)[/INST]SELECT season FROM table_name_77 WHERE final_placing = "19th"</s> |
CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.35" | Which episode number drew in 3.35 million viewers in the United States? | <s>[INST]Which episode number drew in 3.35 million viewers in the United States? Context: CREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = "3.35"</s> |
CREATE TABLE table_1342233_24 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342233_24 WHERE district = "Mississippi 6" | What candidates are from mississippi 6? | <s>[INST]What candidates are from mississippi 6? Context: CREATE TABLE table_1342233_24 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342233_24 WHERE district = "Mississippi 6"</s> |
CREATE TABLE table_20760802_1 (drawn VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_20760802_1 WHERE points_against = "129" | How may drawn equal points against at 129? | <s>[INST]How may drawn equal points against at 129? Context: CREATE TABLE table_20760802_1 (drawn VARCHAR, points_against VARCHAR)[/INST]SELECT drawn FROM table_20760802_1 WHERE points_against = "129"</s> |
CREATE TABLE table_1748444_1 (builder VARCHAR, date_built VARCHAR) | SELECT builder FROM table_1748444_1 WHERE date_built = "January 1910" | Name the builder for date built is january 1910 | <s>[INST]Name the builder for date built is january 1910 Context: CREATE TABLE table_1748444_1 (builder VARCHAR, date_built VARCHAR)[/INST]SELECT builder FROM table_1748444_1 WHERE date_built = "January 1910"</s> |
CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR) | SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = "Daniel Martin" | What was the intermediate sprint classification for the race whose winner was Daniel Martin? | <s>[INST]What was the intermediate sprint classification for the race whose winner was Daniel Martin? Context: CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR)[/INST]SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = "Daniel Martin"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.