context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_7 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_7 WHERE away_team = "hawthorn" | What is the score for Hawthorn as an away team? | <s>[INST]What is the score for Hawthorn as an away team? Context: CREATE TABLE table_name_7 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_7 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_80 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_80 WHERE location = "olympia fields, illinois" | what is the score at Olympia fields, illinois? | <s>[INST]what is the score at Olympia fields, illinois? Context: CREATE TABLE table_name_80 (score VARCHAR, location VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE location = "olympia fields, illinois"</s> |
CREATE TABLE table_name_28 (real_name VARCHAR, function__figure_ VARCHAR) | SELECT real_name FROM table_name_28 WHERE function__figure_ = "pilot of the silent attack kayak" | What is the real name of the person who is a pilot of the silent attack kayak? | <s>[INST]What is the real name of the person who is a pilot of the silent attack kayak? Context: CREATE TABLE table_name_28 (real_name VARCHAR, function__figure_ VARCHAR)[/INST]SELECT real_name FROM table_name_28 WHERE function__figure_ = "pilot of the silent attack kayak"</s> |
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_83 WHERE date = "april 26, 2003" | What was the result of the game that took place on april 26, 2003? | <s>[INST]What was the result of the game that took place on april 26, 2003? Context: CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_83 WHERE date = "april 26, 2003"</s> |
CREATE TABLE table_28253870_1 (founded INTEGER) | SELECT MIN(founded) FROM table_28253870_1 | Name the least founded | <s>[INST]Name the least founded Context: CREATE TABLE table_28253870_1 (founded INTEGER)[/INST]SELECT MIN(founded) FROM table_28253870_1</s> |
CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR) | SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = "64.8%" | When McCain% was 64.8%, what is the Others#? | <s>[INST]When McCain% was 64.8%, what is the Others#? Context: CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT others_number FROM table_20750731_1 WHERE mccain_percentage = "64.8%"</s> |
CREATE TABLE table_name_83 (debut_year INTEGER, player VARCHAR, games VARCHAR) | SELECT AVG(debut_year) FROM table_name_83 WHERE player = "terry fulton" AND games < 51 | what is the debut year for player terry fulton with games less than 51? | <s>[INST]what is the debut year for player terry fulton with games less than 51? Context: CREATE TABLE table_name_83 (debut_year INTEGER, player VARCHAR, games VARCHAR)[/INST]SELECT AVG(debut_year) FROM table_name_83 WHERE player = "terry fulton" AND games < 51</s> |
CREATE TABLE employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR) | SELECT department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY department_name | display the department name and number of employees in each of the department. | <s>[INST]display the department name and number of employees in each of the department. Context: CREATE TABLE employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR)[/INST]SELECT department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROU... |
CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_38 WHERE score = "6-4" | When was the game that ended with a score of 6-4? | <s>[INST]When was the game that ended with a score of 6-4? Context: CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE score = "6-4"</s> |
CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR) | SELECT schwaben FROM table_23224961_1 WHERE oberbayern_a = "Wacker Burghausen" | When wacker burghausen is the oberbayern a what is the schwaben? | <s>[INST]When wacker burghausen is the oberbayern a what is the schwaben? Context: CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR)[/INST]SELECT schwaben FROM table_23224961_1 WHERE oberbayern_a = "Wacker Burghausen"</s> |
CREATE TABLE table_1817879_2 (date_opened VARCHAR, segment_description VARCHAR) | SELECT date_opened FROM table_1817879_2 WHERE segment_description = "Red Line MOS-2 North" | What date of segment description red line mos-2 north open? | <s>[INST]What date of segment description red line mos-2 north open? Context: CREATE TABLE table_1817879_2 (date_opened VARCHAR, segment_description VARCHAR)[/INST]SELECT date_opened FROM table_1817879_2 WHERE segment_description = "Red Line MOS-2 North"</s> |
CREATE TABLE table_17355408_5 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_17355408_5 WHERE date = "December 29" | Name the highh points for december 29 | <s>[INST]Name the highh points for december 29 Context: CREATE TABLE table_17355408_5 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17355408_5 WHERE date = "December 29"</s> |
CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR) | SELECT winners FROM table_1139835_3 WHERE season_result = "7th" | who is the winners where season result is 7th | <s>[INST] who is the winners where season result is 7th Context: CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR)[/INST]SELECT winners FROM table_1139835_3 WHERE season_result = "7th"</s> |
CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_56 WHERE player = "dave curry" | Dave Curry has what Nationality? | <s>[INST]Dave Curry has what Nationality? Context: CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_56 WHERE player = "dave curry"</s> |
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Sex VARCHAR, Age VARCHAR, Major VARCHAR) | SELECT Fname, Lname FROM Student WHERE Age > 18 AND Major <> 600 AND Sex = 'F' | List all female students age is older than 18 who is not majoring in 600. List students' first name and last name. | <s>[INST]List all female students age is older than 18 who is not majoring in 600. List students' first name and last name. Context: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Sex VARCHAR, Age VARCHAR, Major VARCHAR)[/INST]SELECT Fname, Lname FROM Student WHERE Age > 18 AND Major <> 600 AND Sex = 'F'</s> |
CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) | SELECT team FROM table_name_21 WHERE year > 1997 | Are there any Teams after 1997? | <s>[INST]Are there any Teams after 1997? Context: CREATE TABLE table_name_21 (team VARCHAR, year INTEGER)[/INST]SELECT team FROM table_name_21 WHERE year > 1997</s> |
CREATE TABLE table_name_33 (wheels VARCHAR, built VARCHAR) | SELECT wheels FROM table_name_33 WHERE built = 1920 | Which wheels were built 1920? | <s>[INST]Which wheels were built 1920? Context: CREATE TABLE table_name_33 (wheels VARCHAR, built VARCHAR)[/INST]SELECT wheels FROM table_name_33 WHERE built = 1920</s> |
CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR) | SELECT na__350_ FROM table_13663434_1 WHERE title_and_source = "Paper Wars: Cannon Fodder" | what's the na -350- with title and source being paper wars: cannon fodder | <s>[INST]what's the na -350- with title and source being paper wars: cannon fodder Context: CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)[/INST]SELECT na__350_ FROM table_13663434_1 WHERE title_and_source = "Paper Wars: Cannon Fodder"</s> |
CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_41 WHERE chassis = "gordini t16" AND year < 1954 | What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954? | <s>[INST]What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954? Context: CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT MAX(points) FROM table_name_41 WHERE chassis = "gordini t16" AND year < 1954</s> |
CREATE TABLE table_29202276_2 (route_via VARCHAR, destination VARCHAR) | SELECT route_via FROM table_29202276_2 WHERE destination = "Madurai" | What is the route/via when the destination is listed as Madurai? | <s>[INST]What is the route/via when the destination is listed as Madurai? Context: CREATE TABLE table_29202276_2 (route_via VARCHAR, destination VARCHAR)[/INST]SELECT route_via FROM table_29202276_2 WHERE destination = "Madurai"</s> |
CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR) | SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city" | Who is Birmingham City's outgoing manager? | <s>[INST]Who is Birmingham City's outgoing manager? Context: CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city"</s> |
CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_98 WHERE opponent = "michaëlla krajicek eleni daniilidou" | Name the outcome for opponent of michaëlla krajicek eleni daniilidou | <s>[INST]Name the outcome for opponent of michaëlla krajicek eleni daniilidou Context: CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR)[/INST]SELECT outcome FROM table_name_98 WHERE opponent = "michaëlla krajicek eleni daniilidou"</s> |
CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR) | SELECT MIN(laps) FROM table_name_72 WHERE qual = "124.619" | What is Chitwood's lowest completed number of laps with a qualifying time of 124.619? | <s>[INST]What is Chitwood's lowest completed number of laps with a qualifying time of 124.619? Context: CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_72 WHERE qual = "124.619"</s> |
CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR) | SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrated" | Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated? | <s>[INST]Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated? Context: CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)[/INST]SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrate... |
CREATE TABLE table_name_93 (british VARCHAR, australian VARCHAR) | SELECT british FROM table_name_93 WHERE australian = "ɔ" | What is the British for the Australian ɔ? | <s>[INST]What is the British for the Australian ɔ? Context: CREATE TABLE table_name_93 (british VARCHAR, australian VARCHAR)[/INST]SELECT british FROM table_name_93 WHERE australian = "ɔ"</s> |
CREATE TABLE employees (employee_id VARCHAR, job_id VARCHAR, salary INTEGER) | SELECT employee_id, job_id FROM employees WHERE salary < (SELECT MIN(salary) FROM employees WHERE job_id = 'MK_MAN') | display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job title is MK_MAN. | <s>[INST]display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job title is MK_MAN. Context: CREATE TABLE employees (employee_id VARCHAR, job_id VARCHAR, salary INTEGER)[/INST]SELECT employee_id, job_id FROM employees WHERE salary < (SELECT MIN(salary)... |
CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_49 WHERE stage = "3" | Who was the winner in stage 3? | <s>[INST]Who was the winner in stage 3? Context: CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_49 WHERE stage = "3"</s> |
CREATE TABLE table_name_66 (date VARCHAR, circuit VARCHAR, race VARCHAR) | SELECT date FROM table_name_66 WHERE circuit = "daytona international speedway" AND race = "paul revere 250" | What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit? | <s>[INST]What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit? Context: CREATE TABLE table_name_66 (date VARCHAR, circuit VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE circuit = "daytona international speedway" AND race = "paul revere 250"</s> |
CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR) | SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361" | What is the Uyghur Latin with a population of 69,361? | <s>[INST]What is the Uyghur Latin with a population of 69,361? Context: CREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)[/INST]SELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = "69,361"</s> |
CREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER) | SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0 | What is the value for Gold, when the value for Bronze is less than 0? | <s>[INST]What is the value for Gold, when the value for Bronze is less than 0? Context: CREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER)[/INST]SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0</s> |
CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_94 WHERE college = "graceland" | What player attended Graceland College? | <s>[INST]What player attended Graceland College? Context: CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_94 WHERE college = "graceland"</s> |
CREATE TABLE table_name_11 (date VARCHAR, opponen VARCHAR) | SELECT date FROM table_name_11 WHERE opponen = "joão souza" | When did joão souza play? | <s>[INST]When did joão souza play? Context: CREATE TABLE table_name_11 (date VARCHAR, opponen VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE opponen = "joão souza"</s> |
CREATE TABLE Dogs (age INTEGER) | SELECT AVG(age) FROM Dogs | What is the average age of all the dogs? | <s>[INST]What is the average age of all the dogs? Context: CREATE TABLE Dogs (age INTEGER)[/INST]SELECT AVG(age) FROM Dogs</s> |
CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_33 WHERE label = "sundazed" | From what catalog was the release from Sundazed label? | <s>[INST]From what catalog was the release from Sundazed label? Context: CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)[/INST]SELECT catalog FROM table_name_33 WHERE label = "sundazed"</s> |
CREATE TABLE table_203802_2 (english_party_name VARCHAR) | SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = "Pensioners Party" | What percent of the parliamentary election did the pensioners party receive | <s>[INST]What percent of the parliamentary election did the pensioners party receive Context: CREATE TABLE table_203802_2 (english_party_name VARCHAR)[/INST]SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = "Pensioners Party"</s> |
CREATE TABLE table_name_15 (second_member VARCHAR, first_member VARCHAR, first_party VARCHAR, year VARCHAR) | SELECT second_member FROM table_name_15 WHERE first_party = "tory" AND year < 1804 AND first_member = "henry isherwood" | Who is the second member ewarlier than 1804 when Tory Henry Isherwood is the first member? | <s>[INST]Who is the second member ewarlier than 1804 when Tory Henry Isherwood is the first member? Context: CREATE TABLE table_name_15 (second_member VARCHAR, first_member VARCHAR, first_party VARCHAR, year VARCHAR)[/INST]SELECT second_member FROM table_name_15 WHERE first_party = "tory" AND year < 1804 AND first_memb... |
CREATE TABLE table_1973648_1 (enrollment VARCHAR, joined VARCHAR) | SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-08" | Name the enrollment for 2007-08 | <s>[INST]Name the enrollment for 2007-08 Context: CREATE TABLE table_1973648_1 (enrollment VARCHAR, joined VARCHAR)[/INST]SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-08"</s> |
CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_60 WHERE week = 14 | Which Opponent had a week of 14? | <s>[INST]Which Opponent had a week of 14? Context: CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_60 WHERE week = 14</s> |
CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) | SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s." | What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."? | <s>[INST]What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."? Context: CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the... |
CREATE TABLE table_name_30 (home_team VARCHAR, score VARCHAR) | SELECT home_team FROM table_name_30 WHERE score = "5 - 5" | What home team has a score of 5 - 5? | <s>[INST]What home team has a score of 5 - 5? Context: CREATE TABLE table_name_30 (home_team VARCHAR, score VARCHAR)[/INST]SELECT home_team FROM table_name_30 WHERE score = "5 - 5"</s> |
CREATE TABLE table_name_21 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec" | Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec? | <s>[INST]Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec? Context: CREATE TABLE table_name_21 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)[/INST]SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec"</s> |
CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR) | SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate" | What is the temperature rating of the intermediate temperature classification? | <s>[INST]What is the temperature rating of the intermediate temperature classification? Context: CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR)[/INST]SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate"</s> |
CREATE TABLE table_name_46 (points INTEGER, player VARCHAR, tries VARCHAR) | SELECT AVG(points) FROM table_name_46 WHERE player = "joe vagana" AND tries < 2 | What is the average number of points scored by Joe Vagana when making fewer than 2 tries? | <s>[INST]What is the average number of points scored by Joe Vagana when making fewer than 2 tries? Context: CREATE TABLE table_name_46 (points INTEGER, player VARCHAR, tries VARCHAR)[/INST]SELECT AVG(points) FROM table_name_46 WHERE player = "joe vagana" AND tries < 2</s> |
CREATE TABLE table_26263322_1 (candidate VARCHAR, background VARCHAR) | SELECT COUNT(candidate) FROM table_26263322_1 WHERE background = "Self-employed - media agency" | How many times was the background self-employed - media agency? | <s>[INST]How many times was the background self-employed - media agency? Context: CREATE TABLE table_26263322_1 (candidate VARCHAR, background VARCHAR)[/INST]SELECT COUNT(candidate) FROM table_26263322_1 WHERE background = "Self-employed - media agency"</s> |
CREATE TABLE table_name_52 (losing_bonus VARCHAR) | SELECT losing_bonus FROM table_name_52 WHERE "lost" = "lost" | With a lost of lost what was the losing bonus? | <s>[INST]With a lost of lost what was the losing bonus? Context: CREATE TABLE table_name_52 (losing_bonus VARCHAR)[/INST]SELECT losing_bonus FROM table_name_52 WHERE "lost" = "lost"</s> |
CREATE TABLE table_name_82 (result VARCHAR, category VARCHAR) | SELECT result FROM table_name_82 WHERE category = "outstanding actor (drama)" | Which Result has a Category of outstanding actor (drama)? | <s>[INST]Which Result has a Category of outstanding actor (drama)? Context: CREATE TABLE table_name_82 (result VARCHAR, category VARCHAR)[/INST]SELECT result FROM table_name_82 WHERE category = "outstanding actor (drama)"</s> |
CREATE TABLE table_1212189_1 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | SELECT power_rpm FROM table_1212189_1 WHERE torque__nm__rpm = "N·m (lb·ft)/*N·m (lb·ft) @1750" | For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power? | <s>[INST]For the model with torque of n·m (lb·ft)/*n·m (lb·ft) @1750, what is the power? Context: CREATE TABLE table_1212189_1 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)[/INST]SELECT power_rpm FROM table_1212189_1 WHERE torque__nm__rpm = "N·m (lb·ft)/*N·m (lb·ft) @1750"</s> |
CREATE TABLE table_name_31 (host_team VARCHAR, date VARCHAR) | SELECT host_team FROM table_name_31 WHERE date = "october 4" | Who was the host team on October 4? | <s>[INST]Who was the host team on October 4? Context: CREATE TABLE table_name_31 (host_team VARCHAR, date VARCHAR)[/INST]SELECT host_team FROM table_name_31 WHERE date = "october 4"</s> |
CREATE TABLE conductor (Name VARCHAR, Year_of_Work VARCHAR) | SELECT Name FROM conductor ORDER BY Year_of_Work DESC | List names of conductors in descending order of years of work. | <s>[INST]List names of conductors in descending order of years of work. Context: CREATE TABLE conductor (Name VARCHAR, Year_of_Work VARCHAR)[/INST]SELECT Name FROM conductor ORDER BY Year_of_Work DESC</s> |
CREATE TABLE table_name_81 (lijsttrekker VARCHAR, cabinet VARCHAR, fractievoorzitter VARCHAR) | SELECT lijsttrekker FROM table_name_81 WHERE cabinet = "hans van mierlo" AND fractievoorzitter = "thom de graaf" | What is Lijsttrekker, when Cabinet is "Hans Van Mierlo", and when Fractievoorzitter is "Thom De Graaf"? | <s>[INST]What is Lijsttrekker, when Cabinet is "Hans Van Mierlo", and when Fractievoorzitter is "Thom De Graaf"? Context: CREATE TABLE table_name_81 (lijsttrekker VARCHAR, cabinet VARCHAR, fractievoorzitter VARCHAR)[/INST]SELECT lijsttrekker FROM table_name_81 WHERE cabinet = "hans van mierlo" AND fractievoorzitter = "... |
CREATE TABLE table_name_10 (lost INTEGER, points VARCHAR, draw VARCHAR) | SELECT SUM(lost) FROM table_name_10 WHERE points > 21 AND draw = 2 | What is the total value for Lost, when the value for Points is greater than 21, and when the value for Draw is 2? | <s>[INST]What is the total value for Lost, when the value for Points is greater than 21, and when the value for Draw is 2? Context: CREATE TABLE table_name_10 (lost INTEGER, points VARCHAR, draw VARCHAR)[/INST]SELECT SUM(lost) FROM table_name_10 WHERE points > 21 AND draw = 2</s> |
CREATE TABLE table_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR) | SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = "FireWire" | How many connections aux in using FIrewire? | <s>[INST]How many connections aux in using FIrewire? Context: CREATE TABLE table_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR)[/INST]SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = "FireWire"</s> |
CREATE TABLE table_name_49 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_49 WHERE event = "reality submission fighting 2" | What is Method, when Event is "Reality Submission Fighting 2"? | <s>[INST]What is Method, when Event is "Reality Submission Fighting 2"? Context: CREATE TABLE table_name_49 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_49 WHERE event = "reality submission fighting 2"</s> |
CREATE TABLE table_name_54 (year_built VARCHAR, current_status VARCHAR, boat_builder VARCHAR) | SELECT year_built FROM table_name_54 WHERE current_status = "tbsc" AND boat_builder = "j. jones, trearddur bay" | What year did J. Jones, trearddur bay build a boat with a current status of tbsc? | <s>[INST]What year did J. Jones, trearddur bay build a boat with a current status of tbsc? Context: CREATE TABLE table_name_54 (year_built VARCHAR, current_status VARCHAR, boat_builder VARCHAR)[/INST]SELECT year_built FROM table_name_54 WHERE current_status = "tbsc" AND boat_builder = "j. jones, trearddur bay"</s> |
CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER) | SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id | What is the total amount of grants given by each organisations? Also list the organisation id. | <s>[INST]What is the total amount of grants given by each organisations? Also list the organisation id. Context: CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER)[/INST]SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id</s> |
CREATE TABLE table_name_28 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_28 WHERE circuit = "portland international raceway" | When was the circuit portland international raceway? | <s>[INST]When was the circuit portland international raceway? Context: CREATE TABLE table_name_28 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE circuit = "portland international raceway"</s> |
CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_51 WHERE away_team = "north melbourne" | What day is north melbourne the away side? | <s>[INST]What day is north melbourne the away side? Context: CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_51 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_40 (played INTEGER, against INTEGER) | SELECT AVG(played) FROM table_name_40 WHERE against < 15 | What average played has an against less than 15? | <s>[INST]What average played has an against less than 15? Context: CREATE TABLE table_name_40 (played INTEGER, against INTEGER)[/INST]SELECT AVG(played) FROM table_name_40 WHERE against < 15</s> |
CREATE TABLE table_23183195_2 (percentage VARCHAR, road_record VARCHAR, home_record VARCHAR) | SELECT percentage FROM table_23183195_2 WHERE road_record = "3-4" AND home_record = "7-0" | What is the percentage for the team with a road record of 3-4 and a home record of 7-0? | <s>[INST]What is the percentage for the team with a road record of 3-4 and a home record of 7-0? Context: CREATE TABLE table_23183195_2 (percentage VARCHAR, road_record VARCHAR, home_record VARCHAR)[/INST]SELECT percentage FROM table_23183195_2 WHERE road_record = "3-4" AND home_record = "7-0"</s> |
CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR, frequency_mhz VARCHAR) | SELECT AVG(erp_w) FROM table_name_59 WHERE call_sign = "k248bj" AND frequency_mhz > 97.5 | What is the ERP W for the station whose call sign is K248BJ and whose frequency MHz is higher than 97.5? | <s>[INST]What is the ERP W for the station whose call sign is K248BJ and whose frequency MHz is higher than 97.5? Context: CREATE TABLE table_name_59 (erp_w INTEGER, call_sign VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT AVG(erp_w) FROM table_name_59 WHERE call_sign = "k248bj" AND frequency_mhz > 97.5</s> |
CREATE TABLE table_13403120_1 (repeatairdate_s_ VARCHAR, originalairdate VARCHAR) | SELECT repeatairdate_s_ FROM table_13403120_1 WHERE originalairdate = "22/12/1968" | What is the repeat date of the episode that aired 22/12/1968? | <s>[INST]What is the repeat date of the episode that aired 22/12/1968? Context: CREATE TABLE table_13403120_1 (repeatairdate_s_ VARCHAR, originalairdate VARCHAR)[/INST]SELECT repeatairdate_s_ FROM table_13403120_1 WHERE originalairdate = "22/12/1968"</s> |
CREATE TABLE table_name_75 (competition VARCHAR, result VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_75 WHERE result = "3-0" AND venue = "suwon" | Which Competition had a Result of 3-0 and VEnue of Suwon? | <s>[INST]Which Competition had a Result of 3-0 and VEnue of Suwon? Context: CREATE TABLE table_name_75 (competition VARCHAR, result VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_75 WHERE result = "3-0" AND venue = "suwon"</s> |
CREATE TABLE table_27208817_1 (episode VARCHAR, writer VARCHAR) | SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = "Sam Snape" | Name the number of episodes for sam snape | <s>[INST]Name the number of episodes for sam snape Context: CREATE TABLE table_27208817_1 (episode VARCHAR, writer VARCHAR)[/INST]SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = "Sam Snape"</s> |
CREATE TABLE purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR) | SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases | What are the details of all sales and purchases? | <s>[INST]What are the details of all sales and purchases? Context: CREATE TABLE purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR)[/INST]SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases</s> |
CREATE TABLE table_26375386_20 (judges INTEGER, result VARCHAR, vote_percentage VARCHAR) | SELECT MIN(judges) FROM table_26375386_20 WHERE result = "Safe" AND vote_percentage = "10.7%" | How many judges were there when the result is safe with a vote percentage of 10.7%? | <s>[INST]How many judges were there when the result is safe with a vote percentage of 10.7%? Context: CREATE TABLE table_26375386_20 (judges INTEGER, result VARCHAR, vote_percentage VARCHAR)[/INST]SELECT MIN(judges) FROM table_26375386_20 WHERE result = "Safe" AND vote_percentage = "10.7%"</s> |
CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR) | SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte" | How many times did the team play charlotte? | <s>[INST]How many times did the team play charlotte? Context: CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)[/INST]SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte"</s> |
CREATE TABLE station (name VARCHAR, main_services VARCHAR, total_passengers VARCHAR) | SELECT name, main_services FROM station ORDER BY total_passengers DESC LIMIT 3 | Show the names and main services for train stations that have the top three total number of passengers. | <s>[INST]Show the names and main services for train stations that have the top three total number of passengers. Context: CREATE TABLE station (name VARCHAR, main_services VARCHAR, total_passengers VARCHAR)[/INST]SELECT name, main_services FROM station ORDER BY total_passengers DESC LIMIT 3</s> |
CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_43 WHERE time = "59.65" | What's the rank when the time was 59.65? | <s>[INST]What's the rank when the time was 59.65? Context: CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR)[/INST]SELECT rank FROM table_name_43 WHERE time = "59.65"</s> |
CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER) | SELECT product_type_code FROM products GROUP BY product_type_code HAVING AVG(product_price) > (SELECT AVG(product_price) FROM products) | Find the product type whose average price is higher than the average price of all products. | <s>[INST]Find the product type whose average price is higher than the average price of all products. Context: CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER)[/INST]SELECT product_type_code FROM products GROUP BY product_type_code HAVING AVG(product_price) > (SELECT AVG(product_price) FROM produ... |
CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_35 WHERE date = "july 21" | What was the opponent for july 21? | <s>[INST]What was the opponent for july 21? Context: CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_35 WHERE date = "july 21"</s> |
CREATE TABLE table_21021796_1 (displacement VARCHAR, torque VARCHAR) | SELECT displacement FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1500 rpm" | What is the displacement for torque of n·m (lb·ft) @1500 rpm? | <s>[INST]What is the displacement for torque of n·m (lb·ft) @1500 rpm? Context: CREATE TABLE table_21021796_1 (displacement VARCHAR, torque VARCHAR)[/INST]SELECT displacement FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1500 rpm"</s> |
CREATE TABLE table_name_46 (record VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR) | SELECT record FROM table_name_46 WHERE game > 7 AND location = "boston garden" AND opponent = "providence steam rollers" | What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent? | <s>[INST]What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent? Context: CREATE TABLE table_name_46 (record VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR)[/INST]SELECT record FROM table_name_46 WHERE game > 7 AND location = "bosto... |
CREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR) | SELECT wins FROM table_name_79 WHERE club = "ayr united" | How many wins did Ayr United have? | <s>[INST]How many wins did Ayr United have? Context: CREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR)[/INST]SELECT wins FROM table_name_79 WHERE club = "ayr united"</s> |
CREATE TABLE table_name_3 (release_date INTEGER, label VARCHAR, country VARCHAR) | SELECT MAX(release_date) FROM table_name_3 WHERE label = "ariola" AND country = "spain" | What was the latest release date for Ariola in Spain? | <s>[INST]What was the latest release date for Ariola in Spain? Context: CREATE TABLE table_name_3 (release_date INTEGER, label VARCHAR, country VARCHAR)[/INST]SELECT MAX(release_date) FROM table_name_3 WHERE label = "ariola" AND country = "spain"</s> |
CREATE TABLE table_name_97 (position INTEGER, goals_against VARCHAR, played VARCHAR) | SELECT MAX(position) FROM table_name_97 WHERE goals_against = 24 AND played < 30 | Which Position has 24 Goals against, and a Played smaller than 30? | <s>[INST]Which Position has 24 Goals against, and a Played smaller than 30? Context: CREATE TABLE table_name_97 (position INTEGER, goals_against VARCHAR, played VARCHAR)[/INST]SELECT MAX(position) FROM table_name_97 WHERE goals_against = 24 AND played < 30</s> |
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_79 WHERE home_team = "north melbourne" | What did the away team score when playing North Melbourne? | <s>[INST]What did the away team score when playing North Melbourne? Context: CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_79 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_12707313_2 (constr VARCHAR, first_win VARCHAR) | SELECT COUNT(constr) FROM table_12707313_2 WHERE first_win = "1978 Brazilian Grand Prix" | Name the number of constr with the first win at the 1978 brazilian grand prix | <s>[INST]Name the number of constr with the first win at the 1978 brazilian grand prix Context: CREATE TABLE table_12707313_2 (constr VARCHAR, first_win VARCHAR)[/INST]SELECT COUNT(constr) FROM table_12707313_2 WHERE first_win = "1978 Brazilian Grand Prix"</s> |
CREATE TABLE table_name_21 (capacity INTEGER, city VARCHAR) | SELECT SUM(capacity) FROM table_name_21 WHERE city = "trogir" | What is the total capacity for the city of Trogir? | <s>[INST]What is the total capacity for the city of Trogir? Context: CREATE TABLE table_name_21 (capacity INTEGER, city VARCHAR)[/INST]SELECT SUM(capacity) FROM table_name_21 WHERE city = "trogir"</s> |
CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, year_location VARCHAR) | SELECT COUNT(womens_doubles) FROM table_28138035_4 WHERE year_location = "2011 Rio de Janeiro" | Name the number of womens doubles for 2011 rio de janeiro | <s>[INST]Name the number of womens doubles for 2011 rio de janeiro Context: CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, year_location VARCHAR)[/INST]SELECT COUNT(womens_doubles) FROM table_28138035_4 WHERE year_location = "2011 Rio de Janeiro"</s> |
CREATE TABLE table_name_31 (winners VARCHAR, years_won VARCHAR) | SELECT COUNT(winners) FROM table_name_31 WHERE years_won = "1983" | What is the sum of winners when 1983 is the years won? | <s>[INST]What is the sum of winners when 1983 is the years won? Context: CREATE TABLE table_name_31 (winners VARCHAR, years_won VARCHAR)[/INST]SELECT COUNT(winners) FROM table_name_31 WHERE years_won = "1983"</s> |
CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR) | SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher" | Where's the school that Mark Fletcher is the principal of? | <s>[INST]Where's the school that Mark Fletcher is the principal of? Context: CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR)[/INST]SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher"</s> |
CREATE TABLE table_2886617_3 (nationality VARCHAR, position VARCHAR, college_junior_club_team VARCHAR) | SELECT nationality FROM table_2886617_3 WHERE position = "Left Wing" AND college_junior_club_team = "Portland Winterhawks (WHL)" | Which nationality has left wing as the position and college/junior/team is portland winterhawks (whl)? | <s>[INST]Which nationality has left wing as the position and college/junior/team is portland winterhawks (whl)? Context: CREATE TABLE table_2886617_3 (nationality VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT nationality FROM table_2886617_3 WHERE position = "Left Wing" AND college_junior_cl... |
CREATE TABLE table_name_42 (location VARCHAR, college_name VARCHAR) | SELECT location FROM table_name_42 WHERE college_name = "coimbatore medical college" | Where is the location of the coimbatore medical college? | <s>[INST]Where is the location of the coimbatore medical college? Context: CREATE TABLE table_name_42 (location VARCHAR, college_name VARCHAR)[/INST]SELECT location FROM table_name_42 WHERE college_name = "coimbatore medical college"</s> |
CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR) | SELECT player FROM table_name_40 WHERE year_born = 1981 | Who is the Player born in 1981? | <s>[INST]Who is the Player born in 1981? Context: CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR)[/INST]SELECT player FROM table_name_40 WHERE year_born = 1981</s> |
CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)" | Which Score has a High assists of whalen (5)? | <s>[INST]Which Score has a High assists of whalen (5)? Context: CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR)[/INST]SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)"</s> |
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR, Year_working VARCHAR) | SELECT T3.Name, T2.Name 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 ORDER BY T1.Year_working | Show names of companies and that of employees in descending order of number of years working for that employee. | <s>[INST]Show names of companies and that of employees in descending order of number of years working for that employee. Context: CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR, Year_working V... |
CREATE TABLE table_1341604_26 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341604_26 WHERE incumbent = "Ike Skelton" | What district is incumbent ike skelton from? | <s>[INST]What district is incumbent ike skelton from? Context: CREATE TABLE table_1341604_26 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341604_26 WHERE incumbent = "Ike Skelton"</s> |
CREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR) | SELECT order__number FROM table_15796054_3 WHERE original_artist = "The Beatles" AND result = "Safe" | Name the order number for the beatles and result is safe | <s>[INST]Name the order number for the beatles and result is safe Context: CREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR)[/INST]SELECT order__number FROM table_15796054_3 WHERE original_artist = "The Beatles" AND result = "Safe"</s> |
CREATE TABLE table_name_46 (Id VARCHAR) | SELECT 1994 FROM table_name_46 WHERE 1996 = "3r" | What is 1994 when 1996 is 3R? | <s>[INST]What is 1994 when 1996 is 3R? Context: CREATE TABLE table_name_46 (Id VARCHAR)[/INST]SELECT 1994 FROM table_name_46 WHERE 1996 = "3r"</s> |
CREATE TABLE table_name_4 (discovery VARCHAR, operator_s_ VARCHAR) | SELECT discovery FROM table_name_4 WHERE operator_s_ = "lundin" | Which Discoveryhas an Operator(s) of lundin? | <s>[INST]Which Discoveryhas an Operator(s) of lundin? Context: CREATE TABLE table_name_4 (discovery VARCHAR, operator_s_ VARCHAR)[/INST]SELECT discovery FROM table_name_4 WHERE operator_s_ = "lundin"</s> |
CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_19 WHERE opponent = "naomi cavaday" | When was naomi cavaday the opponent? | <s>[INST]When was naomi cavaday the opponent? Context: CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_19 WHERE opponent = "naomi cavaday"</s> |
CREATE TABLE table_name_33 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_33 WHERE tie_no = "2" | For Tie #2, who was the home team? | <s>[INST]For Tie #2, who was the home team? Context: CREATE TABLE table_name_33 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_33 WHERE tie_no = "2"</s> |
CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR) | SELECT written_by FROM table_25679312_2 WHERE prod_code = 5 | Who wrote the episode with production code 5? | <s>[INST]Who wrote the episode with production code 5? Context: CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)[/INST]SELECT written_by FROM table_25679312_2 WHERE prod_code = 5</s> |
CREATE TABLE table_name_10 (Id VARCHAR) | SELECT 1989 FROM table_name_10 WHERE 1997 = "qf" AND 1993 = "a" | What was the value in 1989 with QF in 1997 and A in 1993? | <s>[INST]What was the value in 1989 with QF in 1997 and A in 1993? Context: CREATE TABLE table_name_10 (Id VARCHAR)[/INST]SELECT 1989 FROM table_name_10 WHERE 1997 = "qf" AND 1993 = "a"</s> |
CREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR) | SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34 | How many chassis used number 34? | <s>[INST]How many chassis used number 34? Context: CREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR)[/INST]SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34</s> |
CREATE TABLE table_name_15 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_15 WHERE result = "lost 5-4" | Which venue had a lost 5-4 result? | <s>[INST]Which venue had a lost 5-4 result? Context: CREATE TABLE table_name_15 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_15 WHERE result = "lost 5-4"</s> |
CREATE TABLE table_245801_2 (end___utc VARCHAR, comments VARCHAR) | SELECT end___utc FROM table_245801_2 WHERE comments = "First woman EVA" | When first woman eva is the comment what is the end -utc? | <s>[INST]When first woman eva is the comment what is the end -utc? Context: CREATE TABLE table_245801_2 (end___utc VARCHAR, comments VARCHAR)[/INST]SELECT end___utc FROM table_245801_2 WHERE comments = "First woman EVA"</s> |
CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_48 WHERE label = "cbs" | What is the date for CBS label? | <s>[INST]What is the date for CBS label? Context: CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE label = "cbs"</s> |
CREATE TABLE table_name_77 (date_founded VARCHAR, park_name VARCHAR) | SELECT COUNT(date_founded) FROM table_name_77 WHERE park_name = "beltzville state park" | how many parks are name beltzville state park? | <s>[INST]how many parks are name beltzville state park? Context: CREATE TABLE table_name_77 (date_founded VARCHAR, park_name VARCHAR)[/INST]SELECT COUNT(date_founded) FROM table_name_77 WHERE park_name = "beltzville state park"</s> |
CREATE TABLE table_name_2 (tournament VARCHAR) | SELECT 2010 FROM table_name_2 WHERE tournament = "olympic games" | Which 2010 stat featured the tournament of the Olympic Games? | <s>[INST]Which 2010 stat featured the tournament of the Olympic Games? Context: CREATE TABLE table_name_2 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_2 WHERE tournament = "olympic games"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.