context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, cover_model VARCHAR) | SELECT interview_subject FROM table_1566852_6 WHERE cover_model = "Bai Ling" | What were the interview subjects on those occasions where Bai Ling was the cover model? | <s>[INST]What were the interview subjects on those occasions where Bai Ling was the cover model? Context: CREATE TABLE table_1566852_6 (interview_subject VARCHAR, cover_model VARCHAR)[/INST]SELECT interview_subject FROM table_1566852_6 WHERE cover_model = "Bai Ling"</s> |
CREATE TABLE table_10015132_2 (player VARCHAR, school_club_team VARCHAR) | SELECT COUNT(player) FROM table_10015132_2 WHERE school_club_team = "La Salle" | How many players were with the school or club team La Salle? | <s>[INST]How many players were with the school or club team La Salle? Context: CREATE TABLE table_10015132_2 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT COUNT(player) FROM table_10015132_2 WHERE school_club_team = "La Salle"</s> |
CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR) | SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant" | What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving? | <s>[INST]What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving? Context: CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR)[/INST]SELECT COUNT(pos) FROM table_name_51 WHERE points ... |
CREATE TABLE table_name_52 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_52 WHERE attendance = "62,170" | What is Opponent, when Attendance is 62,170? | <s>[INST]What is Opponent, when Attendance is 62,170? Context: CREATE TABLE table_name_52 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE attendance = "62,170"</s> |
CREATE TABLE table_name_20 (tournament VARCHAR, runner_up VARCHAR) | SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh" | In which tournament was vijay singh a runner-up? | <s>[INST]In which tournament was vijay singh a runner-up? Context: CREATE TABLE table_name_20 (tournament VARCHAR, runner_up VARCHAR)[/INST]SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh"</s> |
CREATE TABLE table_name_96 (location VARCHAR, opponenent VARCHAR) | SELECT location FROM table_name_96 WHERE opponenent = "germany" | Where was the opponent Germany? | <s>[INST]Where was the opponent Germany? Context: CREATE TABLE table_name_96 (location VARCHAR, opponenent VARCHAR)[/INST]SELECT location FROM table_name_96 WHERE opponenent = "germany"</s> |
CREATE TABLE table_name_35 (tonnage INTEGER, ship_type VARCHAR, disposition_of_ship VARCHAR) | SELECT MAX(tonnage) FROM table_name_35 WHERE ship_type = "brig" AND disposition_of_ship = "prize" | What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize? | <s>[INST]What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize? Context: CREATE TABLE table_name_35 (tonnage INTEGER, ship_type VARCHAR, disposition_of_ship VARCHAR)[/INST]SELECT MAX(tonnage) FROM table_name_35 WHERE ship_type = "brig" AND disposition_of_ship = "prize"</s> |
CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR) | SELECT position FROM table_name_14 WHERE podiums = "3" AND f_laps = "4" | Which position had 3 podiums and F/laps of 4? | <s>[INST]Which position had 3 podiums and F/laps of 4? Context: CREATE TABLE table_name_14 (position VARCHAR, podiums VARCHAR, f_laps VARCHAR)[/INST]SELECT position FROM table_name_14 WHERE podiums = "3" AND f_laps = "4"</s> |
CREATE TABLE table_name_43 (player VARCHAR, uefa_cup VARCHAR, total VARCHAR, ekstraklasa VARCHAR) | SELECT player FROM table_name_43 WHERE total = 3 AND ekstraklasa < 3 AND uefa_cup = 2 | Which Player has a Total of 3, and an Ekstraklasa smaller than 3, and a UEFA Cup of 2? | <s>[INST]Which Player has a Total of 3, and an Ekstraklasa smaller than 3, and a UEFA Cup of 2? Context: CREATE TABLE table_name_43 (player VARCHAR, uefa_cup VARCHAR, total VARCHAR, ekstraklasa VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE total = 3 AND ekstraklasa < 3 AND uefa_cup = 2</s> |
CREATE TABLE vocals (TYPE VARCHAR) | SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | Which vocal type is the most frequently appearring type? | <s>[INST]Which vocal type is the most frequently appearring type? Context: CREATE TABLE vocals (TYPE VARCHAR)[/INST]SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_14977592_1 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_14977592_1 WHERE date = "December 12, 1965" | Name the game site for december 12, 1965 | <s>[INST]Name the game site for december 12, 1965 Context: CREATE TABLE table_14977592_1 (game_site VARCHAR, date VARCHAR)[/INST]SELECT game_site FROM table_14977592_1 WHERE date = "December 12, 1965"</s> |
CREATE TABLE table_name_54 (total VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT COUNT(total) FROM table_name_54 WHERE event = "+105 kg" AND clean_ & _jerk < 227.5 | What is the total that had an event of +105 kg and clean & jerk less than 227.5? | <s>[INST]What is the total that had an event of +105 kg and clean & jerk less than 227.5? Context: CREATE TABLE table_name_54 (total VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_54 WHERE event = "+105 kg" AND clean_ & _jerk < 227.5</s> |
CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_9 WHERE date = "april 25" | What was the score on April 25? | <s>[INST]What was the score on April 25? Context: CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE date = "april 25"</s> |
CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341577_36 WHERE incumbent = "Del Latta" | Which party does Del Latta belong to? | <s>[INST]Which party does Del Latta belong to? Context: CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341577_36 WHERE incumbent = "Del Latta"</s> |
CREATE TABLE table_name_75 (longitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR) | SELECT AVG(longitude) FROM table_name_75 WHERE water__sqmi_ = 0.317 AND ansi_code > 1759695 | what is the longitude when the water (sqmi) is 0.317 and the ansi code is higher than 1759695? | <s>[INST]what is the longitude when the water (sqmi) is 0.317 and the ansi code is higher than 1759695? Context: CREATE TABLE table_name_75 (longitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR)[/INST]SELECT AVG(longitude) FROM table_name_75 WHERE water__sqmi_ = 0.317 AND ansi_code > 1759695</s> |
CREATE TABLE table_23292220_5 (first_broadcast VARCHAR, jasons_team VARCHAR) | SELECT first_broadcast FROM table_23292220_5 WHERE jasons_team = "Trisha Goddard and Glenn Wool" | Name the first broadcast for trisha goddard and glenn wool | <s>[INST]Name the first broadcast for trisha goddard and glenn wool Context: CREATE TABLE table_23292220_5 (first_broadcast VARCHAR, jasons_team VARCHAR)[/INST]SELECT first_broadcast FROM table_23292220_5 WHERE jasons_team = "Trisha Goddard and Glenn Wool"</s> |
CREATE TABLE Templates (template_type_code VARCHAR) | SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY COUNT(*) DESC LIMIT 1 | Which template type code has most number of templates? | <s>[INST]Which template type code has most number of templates? Context: CREATE TABLE Templates (template_type_code VARCHAR)[/INST]SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_64 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR) | SELECT website FROM table_name_64 WHERE city_of_license = "monterrey" AND webcast = "listen live" AND frequency < 1050 | Which website includes a webcast of listen live, a frequency under 1050, and is licensed in the city of Monterrey? | <s>[INST]Which website includes a webcast of listen live, a frequency under 1050, and is licensed in the city of Monterrey? Context: CREATE TABLE table_name_64 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR)[/INST]SELECT website FROM table_name_64 WHERE city_of_license = "monterrey" AND w... |
CREATE TABLE table_18602462_21 (event VARCHAR, final__bronze_medal_match VARCHAR) | SELECT event FROM table_18602462_21 WHERE final__bronze_medal_match = "Scheffers ( NED ) L 3-6, 1-6" | When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event? | <s>[INST]When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event? Context: CREATE TABLE table_18602462_21 (event VARCHAR, final__bronze_medal_match VARCHAR)[/INST]SELECT event FROM table_18602462_21 WHERE final__bronze_medal_match = "Scheffers ( NED ) L 3-6, 1-6"</s> |
CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR) | SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-3" | How many attendance figures are given for the game where the final score was lost 5-3? | <s>[INST]How many attendance figures are given for the game where the final score was lost 5-3? Context: CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-3"</s> |
CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR) | SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" | Which lowest year has a Position of rb, and a College of louisiana state? | <s>[INST]Which lowest year has a Position of rb, and a College of louisiana state? Context: CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR)[/INST]SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state"</s> |
CREATE TABLE table_name_10 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_10 WHERE result = "w 34-21" | When is the last week that has a result of a w 34-21? | <s>[INST]When is the last week that has a result of a w 34-21? Context: CREATE TABLE table_name_10 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_10 WHERE result = "w 34-21"</s> |
CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR) | SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy" | What is the series number for the episode written by janet leahy? | <s>[INST]What is the series number for the episode written by janet leahy? Context: CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy"</s> |
CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR) | SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14" | What is the D44 when D43 is R 14? | <s>[INST]What is the D44 when D43 is R 14? Context: CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR)[/INST]SELECT d_44 FROM table_name_64 WHERE d_43 = "r 14"</s> |
CREATE TABLE table_name_59 (series VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT series FROM table_name_59 WHERE opponent = "new york rangers" AND score = "3–2 ot" | Which Series has an Opponent of new york rangers, and a Score of 3–2 ot? | <s>[INST]Which Series has an Opponent of new york rangers, and a Score of 3–2 ot? Context: CREATE TABLE table_name_59 (series VARCHAR, opponent VARCHAR, score VARCHAR)[/INST]SELECT series FROM table_name_59 WHERE opponent = "new york rangers" AND score = "3–2 ot"</s> |
CREATE TABLE table_name_44 (highest_rank VARCHAR, name VARCHAR) | SELECT highest_rank FROM table_name_44 WHERE name = "yoshiazuma" | Which Rank is Highest for Yoshiazuma? | <s>[INST]Which Rank is Highest for Yoshiazuma? Context: CREATE TABLE table_name_44 (highest_rank VARCHAR, name VARCHAR)[/INST]SELECT highest_rank FROM table_name_44 WHERE name = "yoshiazuma"</s> |
CREATE TABLE table_name_12 (team VARCHAR, sponsor VARCHAR) | SELECT team FROM table_name_12 WHERE sponsor = "motorola" | what is the sponsor of motorola | <s>[INST]what is the sponsor of motorola Context: CREATE TABLE table_name_12 (team VARCHAR, sponsor VARCHAR)[/INST]SELECT team FROM table_name_12 WHERE sponsor = "motorola"</s> |
CREATE TABLE table_name_44 (position VARCHAR, pick VARCHAR, school VARCHAR) | SELECT position FROM table_name_44 WHERE pick < 25 AND school = "university of california" | What position has a pick less than 25 for the university of california? | <s>[INST]What position has a pick less than 25 for the university of california? Context: CREATE TABLE table_name_44 (position VARCHAR, pick VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_44 WHERE pick < 25 AND school = "university of california"</s> |
CREATE TABLE table_1688640_4 (car__number VARCHAR, year_started VARCHAR) | SELECT car__number FROM table_1688640_4 WHERE year_started = 1997 | Name the car number for 1997 | <s>[INST]Name the car number for 1997 Context: CREATE TABLE table_1688640_4 (car__number VARCHAR, year_started VARCHAR)[/INST]SELECT car__number FROM table_1688640_4 WHERE year_started = 1997</s> |
CREATE TABLE table_name_6 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(silver) FROM table_name_6 WHERE bronze < 1 AND total < 2 AND nation = "bulgaria" | What is the total number of Silver when Bronze was smaller than 1 with a total smaller than 2 in Bulgaria? | <s>[INST]What is the total number of Silver when Bronze was smaller than 1 with a total smaller than 2 in Bulgaria? Context: CREATE TABLE table_name_6 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_6 WHERE bronze < 1 AND total < 2 AND nation = "bulgaria"</s> |
CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR) | SELECT writer FROM table_10470082_6 WHERE _number = 3 | Who wrote Episode #3? | <s>[INST]Who wrote Episode #3? Context: CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR)[/INST]SELECT writer FROM table_10470082_6 WHERE _number = 3</s> |
CREATE TABLE Timed_Status_of_Things (Status_of_Thing_Code VARCHAR) | SELECT COUNT(DISTINCT Status_of_Thing_Code) FROM Timed_Status_of_Things | How many different status codes of things are there? | <s>[INST]How many different status codes of things are there? Context: CREATE TABLE Timed_Status_of_Things (Status_of_Thing_Code VARCHAR)[/INST]SELECT COUNT(DISTINCT Status_of_Thing_Code) FROM Timed_Status_of_Things</s> |
CREATE TABLE table_name_58 (final_score VARCHAR, opponent VARCHAR) | SELECT final_score FROM table_name_58 WHERE opponent = "platense" | what is the final score when the opponent is platense? | <s>[INST]what is the final score when the opponent is platense? Context: CREATE TABLE table_name_58 (final_score VARCHAR, opponent VARCHAR)[/INST]SELECT final_score FROM table_name_58 WHERE opponent = "platense"</s> |
CREATE TABLE table_25229283_4 (points_for VARCHAR, percentage___percentage_ VARCHAR) | SELECT COUNT(points_for) FROM table_25229283_4 WHERE percentage___percentage_ = "94.29" | How many data are on points for if the percentage is 94.29? | <s>[INST]How many data are on points for if the percentage is 94.29? Context: CREATE TABLE table_25229283_4 (points_for VARCHAR, percentage___percentage_ VARCHAR)[/INST]SELECT COUNT(points_for) FROM table_25229283_4 WHERE percentage___percentage_ = "94.29"</s> |
CREATE TABLE table_15824796_4 (season__number VARCHAR, original_air_date VARCHAR) | SELECT season__number FROM table_15824796_4 WHERE original_air_date = "September 17, 1955" | Which Season originally aired on September 17, 1955 | <s>[INST]Which Season originally aired on September 17, 1955 Context: CREATE TABLE table_15824796_4 (season__number VARCHAR, original_air_date VARCHAR)[/INST]SELECT season__number FROM table_15824796_4 WHERE original_air_date = "September 17, 1955"</s> |
CREATE TABLE table_2701851_5 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_2701851_5 WHERE no_in_series = "46b" | Who wrote the episode in the series 46b? | <s>[INST]Who wrote the episode in the series 46b? Context: CREATE TABLE table_2701851_5 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_2701851_5 WHERE no_in_series = "46b"</s> |
CREATE TABLE table_name_13 (year INTEGER, title VARCHAR) | SELECT MIN(year) FROM table_name_13 WHERE title = "wallace & gromit: the curse of the were-rabbit" | What is the earliest year of Wallace & Gromit: The Curse of the Were-Rabbit? | <s>[INST]What is the earliest year of Wallace & Gromit: The Curse of the Were-Rabbit? Context: CREATE TABLE table_name_13 (year INTEGER, title VARCHAR)[/INST]SELECT MIN(year) FROM table_name_13 WHERE title = "wallace & gromit: the curse of the were-rabbit"</s> |
CREATE TABLE table_name_75 (round INTEGER, school_club_team VARCHAR) | SELECT AVG(round) FROM table_name_75 WHERE school_club_team = "memphis" | In what Round was the Memphis Player drafted? | <s>[INST]In what Round was the Memphis Player drafted? Context: CREATE TABLE table_name_75 (round INTEGER, school_club_team VARCHAR)[/INST]SELECT AVG(round) FROM table_name_75 WHERE school_club_team = "memphis"</s> |
CREATE TABLE table_1404984_1 (station_ownership VARCHAR, network VARCHAR) | SELECT COUNT(station_ownership) FROM table_1404984_1 WHERE network = "Bounce TV" | How many stations own Bounce TV? | <s>[INST]How many stations own Bounce TV? Context: CREATE TABLE table_1404984_1 (station_ownership VARCHAR, network VARCHAR)[/INST]SELECT COUNT(station_ownership) FROM table_1404984_1 WHERE network = "Bounce TV"</s> |
CREATE TABLE table_name_2 (Id VARCHAR) | SELECT 2008 FROM table_name_2 WHERE 2010 = "138" | What shows for 2008 when 2010 is 138? | <s>[INST]What shows for 2008 when 2010 is 138? Context: CREATE TABLE table_name_2 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_2 WHERE 2010 = "138"</s> |
CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR) | SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id | Find the last name of the individuals that have been contact individuals of an organization. | <s>[INST]Find the last name of the individuals that have been contact individuals of an organization. Context: CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)[/INST]SELECT DISTINCT t1.individual_last_name FROM individu... |
CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) | SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle" | Who was in external affairs when Jakki Doyle was in Human Resources & Operations? | <s>[INST]Who was in external affairs when Jakki Doyle was in Human Resources & Operations? Context: CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)[/INST]SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle"</s> |
CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, notes VARCHAR) | SELECT event FROM table_name_16 WHERE method = "points" AND notes = "opening round" | I want the event for method of points with notes of opening round | <s>[INST]I want the event for method of points with notes of opening round Context: CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, notes VARCHAR)[/INST]SELECT event FROM table_name_16 WHERE method = "points" AND notes = "opening round"</s> |
CREATE TABLE table_name_91 (parentheses VARCHAR, dots VARCHAR) | SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{6}" | What is the value for parentheses with a dots value of 0.\dot{6}? | <s>[INST]What is the value for parentheses with a dots value of 0.\dot{6}? Context: CREATE TABLE table_name_91 (parentheses VARCHAR, dots VARCHAR)[/INST]SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{6}"</s> |
CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR) | SELECT social_ao FROM table_name_39 WHERE external_co = "elena buscher" AND president = "harm van leeuwen" | What Social AO has an External CO of elena buscher, and a President of harm van leeuwen? | <s>[INST]What Social AO has an External CO of elena buscher, and a President of harm van leeuwen? Context: CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR)[/INST]SELECT social_ao FROM table_name_39 WHERE external_co = "elena buscher" AND president = "harm van leeuwen"</s> |
CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR) | SELECT shooter FROM table_name_59 WHERE score = "686.4" | Who was the shooter with a score of 686.4? | <s>[INST]Who was the shooter with a score of 686.4? Context: CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR)[/INST]SELECT shooter FROM table_name_59 WHERE score = "686.4"</s> |
CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR) | SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid = T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid = T5.amenid GROUP BY T3.dormid ORDER BY COUNT(*) DESC LIMIT 1) | Find the first name of students who are living in the dorm that has most number of amenities. | <s>[INST]Find the first name of students who are living in the dorm that has most number of amenities. Context: CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_ame... |
CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR) | SELECT pick__number FROM table_name_70 WHERE name = "bill athey" | What number pick was Bill Athey? | <s>[INST]What number pick was Bill Athey? Context: CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR)[/INST]SELECT pick__number FROM table_name_70 WHERE name = "bill athey"</s> |
CREATE TABLE table_name_67 (player VARCHAR, finish VARCHAR) | SELECT player FROM table_name_67 WHERE finish = "t15" | Who had a finish of t15? | <s>[INST]Who had a finish of t15? Context: CREATE TABLE table_name_67 (player VARCHAR, finish VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE finish = "t15"</s> |
CREATE TABLE table_1965650_11 (nationality VARCHAR, college_junior_club_team VARCHAR) | SELECT nationality FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)" | What is the nationality of the player from the University of Michigan (NCAA)? | <s>[INST]What is the nationality of the player from the University of Michigan (NCAA)? Context: CREATE TABLE table_1965650_11 (nationality VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT nationality FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"</s> |
CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR) | SELECT treasurer FROM table_18052353_4 WHERE year = "2008" | Who was treasurer in 2008? | <s>[INST]Who was treasurer in 2008? Context: CREATE TABLE table_18052353_4 (treasurer VARCHAR, year VARCHAR)[/INST]SELECT treasurer FROM table_18052353_4 WHERE year = "2008"</s> |
CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR) | SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz" | Name the trine dehli cleve for english waltz | <s>[INST]Name the trine dehli cleve for english waltz Context: CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR)[/INST]SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz"</s> |
CREATE TABLE table_name_13 (physical_property VARCHAR, helium VARCHAR) | SELECT physical_property FROM table_name_13 WHERE helium = "0.0693" | Which Physical property has a Helium of 0.0693? | <s>[INST]Which Physical property has a Helium of 0.0693? Context: CREATE TABLE table_name_13 (physical_property VARCHAR, helium VARCHAR)[/INST]SELECT physical_property FROM table_name_13 WHERE helium = "0.0693"</s> |
CREATE TABLE table_name_55 (drawn VARCHAR, difference VARCHAR, points VARCHAR) | SELECT COUNT(drawn) FROM table_name_55 WHERE difference = "3" AND points < 52 | How many Drawn have a Difference of 3, and Points smaller than 52? | <s>[INST]How many Drawn have a Difference of 3, and Points smaller than 52? Context: CREATE TABLE table_name_55 (drawn VARCHAR, difference VARCHAR, points VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_name_55 WHERE difference = "3" AND points < 52</s> |
CREATE TABLE table_2562572_35 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_35 WHERE cyrillic_name_other_names = "Меленци" | Name the dominant religion 2002 for меленци | <s>[INST]Name the dominant religion 2002 for меленци Context: CREATE TABLE table_2562572_35 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT dominant_religion__2002_ FROM table_2562572_35 WHERE cyrillic_name_other_names = "Меленци"</s> |
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_74 WHERE venue = "western oval" | What was the home teams score at Western Oval? | <s>[INST]What was the home teams score at Western Oval? Context: CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_74 WHERE venue = "western oval"</s> |
CREATE TABLE table_name_45 (gold INTEGER, rank VARCHAR, total VARCHAR) | SELECT MAX(gold) FROM table_name_45 WHERE rank = "12" AND total < 2 | How many Gold does the Nation in Rank 12 with less than 2 Total medals have? | <s>[INST]How many Gold does the Nation in Rank 12 with less than 2 Total medals have? Context: CREATE TABLE table_name_45 (gold INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_45 WHERE rank = "12" AND total < 2</s> |
CREATE TABLE table_name_51 (player VARCHAR) | SELECT AVG(100 AS s) FROM table_name_51 WHERE player = "tim bresnan" | How many average 100s were there for Tim Bresnan? | <s>[INST]How many average 100s were there for Tim Bresnan? Context: CREATE TABLE table_name_51 (player VARCHAR)[/INST]SELECT AVG(100 AS s) FROM table_name_51 WHERE player = "tim bresnan"</s> |
CREATE TABLE table_name_81 (winning_constructor VARCHAR, winning_drivers VARCHAR) | SELECT winning_constructor FROM table_name_81 WHERE winning_drivers = "tazio nuvolari" | What brand of vehicle won a race driven by Tazio Nuvolari? | <s>[INST]What brand of vehicle won a race driven by Tazio Nuvolari? Context: CREATE TABLE table_name_81 (winning_constructor VARCHAR, winning_drivers VARCHAR)[/INST]SELECT winning_constructor FROM table_name_81 WHERE winning_drivers = "tazio nuvolari"</s> |
CREATE TABLE club (clubdesc VARCHAR, clubname VARCHAR) | SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming" | Find the description of the club "Pen and Paper Gaming". | <s>[INST]Find the description of the club "Pen and Paper Gaming". Context: CREATE TABLE club (clubdesc VARCHAR, clubname VARCHAR)[/INST]SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming"</s> |
CREATE TABLE table_27132791_3 (player VARCHAR, nfl_team VARCHAR) | SELECT COUNT(player) FROM table_27132791_3 WHERE nfl_team = "Washington Redskins" | How many different players does the Washington Redskins have? | <s>[INST]How many different players does the Washington Redskins have? Context: CREATE TABLE table_27132791_3 (player VARCHAR, nfl_team VARCHAR)[/INST]SELECT COUNT(player) FROM table_27132791_3 WHERE nfl_team = "Washington Redskins"</s> |
CREATE TABLE table_name_10 (rank INTEGER, athlete VARCHAR, time VARCHAR) | SELECT SUM(rank) FROM table_name_10 WHERE athlete = "kerron stewart" AND time < 11.05 | What is the sum of rank for the athlete kerron stewart, and a time smaller than 11.05? | <s>[INST]What is the sum of rank for the athlete kerron stewart, and a time smaller than 11.05? Context: CREATE TABLE table_name_10 (rank INTEGER, athlete VARCHAR, time VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_10 WHERE athlete = "kerron stewart" AND time < 11.05</s> |
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR) | SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__mm_ = 304 | How many weights are there when the flange with is 304? | <s>[INST]How many weights are there when the flange with is 304? Context: CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, flange_width__mm_ VARCHAR)[/INST]SELECT COUNT(weight__kg_m_) FROM table_2071644_2 WHERE flange_width__mm_ = 304</s> |
CREATE TABLE table_name_3 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189) | What tournament had a winning score of −27 (64-64-61=189)? | <s>[INST]What tournament had a winning score of −27 (64-64-61=189)? Context: CREATE TABLE table_name_3 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189)</s> |
CREATE TABLE table_name_56 (yards INTEGER, avg INTEGER) | SELECT MIN(yards) FROM table_name_56 WHERE avg < 3 | Which has and average less than 3 and the lowest yards? | <s>[INST]Which has and average less than 3 and the lowest yards? Context: CREATE TABLE table_name_56 (yards INTEGER, avg INTEGER)[/INST]SELECT MIN(yards) FROM table_name_56 WHERE avg < 3</s> |
CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia" | Which player is from Australia, and has a place of t9? | <s>[INST]Which player is from Australia, and has a place of t9? Context: CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia"</s> |
CREATE TABLE table_name_59 (Id VARCHAR) | SELECT 2006 FROM table_name_59 WHERE 2013 = "4–4" | 2013 of 4–4 is involved in what 2006? | <s>[INST]2013 of 4–4 is involved in what 2006? Context: CREATE TABLE table_name_59 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_59 WHERE 2013 = "4–4"</s> |
CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR) | SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Yakup Şener" | When yakup şener is the athlete what is the round of 32? | <s>[INST]When yakup şener is the athlete what is the round of 32? Context: CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR)[/INST]SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Yakup Şener"</s> |
CREATE TABLE table_22673872_1 (rnd INTEGER, winning_driver VARCHAR, track VARCHAR) | SELECT MIN(rnd) FROM table_22673872_1 WHERE winning_driver = "Al Unser" AND track = "Wisconsin State Fair Park Speedway" | In what round did Al Unser win at Wisconsin State Fair Park Speedway? | <s>[INST]In what round did Al Unser win at Wisconsin State Fair Park Speedway? Context: CREATE TABLE table_22673872_1 (rnd INTEGER, winning_driver VARCHAR, track VARCHAR)[/INST]SELECT MIN(rnd) FROM table_22673872_1 WHERE winning_driver = "Al Unser" AND track = "Wisconsin State Fair Park Speedway"</s> |
CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR) | SELECT skip FROM table_name_1 WHERE third = "steffen walstad" | Which skip's third is Steffen Walstad? | <s>[INST]Which skip's third is Steffen Walstad? Context: CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR)[/INST]SELECT skip FROM table_name_1 WHERE third = "steffen walstad"</s> |
CREATE TABLE table_name_41 (result VARCHAR, tournament VARCHAR, year VARCHAR) | SELECT result FROM table_name_41 WHERE tournament = "european indoor championships" AND year > 1974 | What is the result of the european indoor championships after 1974? | <s>[INST]What is the result of the european indoor championships after 1974? Context: CREATE TABLE table_name_41 (result VARCHAR, tournament VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_41 WHERE tournament = "european indoor championships" AND year > 1974</s> |
CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_37 WHERE location = "peru" | Which School has a Location of peru? | <s>[INST]Which School has a Location of peru? Context: CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR)[/INST]SELECT school FROM table_name_37 WHERE location = "peru"</s> |
CREATE TABLE table_name_33 (prize__ INTEGER, race VARCHAR) | SELECT AVG(prize__) AS £k_ FROM table_name_33 WHERE race = "buttercross limited stakes" | What is the average prize for the Buttercross Limited Stakes? | <s>[INST]What is the average prize for the Buttercross Limited Stakes? Context: CREATE TABLE table_name_33 (prize__ INTEGER, race VARCHAR)[/INST]SELECT AVG(prize__) AS £k_ FROM table_name_33 WHERE race = "buttercross limited stakes"</s> |
CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR) | SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = "1st Class" AND city_municipality = "Itogon, Benguet" | When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010? | <s>[INST]When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010? Context: CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)[/INST]SELECT COUNT(population__2010_) FROM table_292... |
CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_10 WHERE call_sign = "w298ak" | What class does the w298ak sign belong to? | <s>[INST]What class does the w298ak sign belong to? Context: CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR)[/INST]SELECT class FROM table_name_10 WHERE call_sign = "w298ak"</s> |
CREATE TABLE table_name_87 (country VARCHAR, content VARCHAR, television_service VARCHAR) | SELECT country FROM table_name_87 WHERE content = "general television" AND television_service = "rai 1" | What is the Country when the Content was general television, and a Television service of rai 1? | <s>[INST]What is the Country when the Content was general television, and a Television service of rai 1? Context: CREATE TABLE table_name_87 (country VARCHAR, content VARCHAR, television_service VARCHAR)[/INST]SELECT country FROM table_name_87 WHERE content = "general television" AND television_service = "rai 1"</s> |
CREATE TABLE table_name_26 (year INTEGER, position VARCHAR, player VARCHAR) | SELECT SUM(year) FROM table_name_26 WHERE position = "center" AND player = "ann wauters" | What year is center Ann Wauters? | <s>[INST]What year is center Ann Wauters? Context: CREATE TABLE table_name_26 (year INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT SUM(year) FROM table_name_26 WHERE position = "center" AND player = "ann wauters"</s> |
CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR) | SELECT nationality FROM table_name_97 WHERE elevator = "nicholas iii" | What's the nationality for Nicholas III? | <s>[INST]What's the nationality for Nicholas III? Context: CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR)[/INST]SELECT nationality FROM table_name_97 WHERE elevator = "nicholas iii"</s> |
CREATE TABLE table_name_8 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_8 WHERE country = "united states" AND score = 68 - 73 - 68 = 209 | What place is the United States in that has a score of 68-73-68=209? | <s>[INST]What place is the United States in that has a score of 68-73-68=209? Context: CREATE TABLE table_name_8 (place VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_8 WHERE country = "united states" AND score = 68 - 73 - 68 = 209</s> |
CREATE TABLE table_name_59 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_59 WHERE venue = "glenferrie oval" | What is glenferrie oval's home team? | <s>[INST]What is glenferrie oval's home team? Context: CREATE TABLE table_name_59 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_59 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 28" | On April 28, what was the average number of people attending? | <s>[INST]On April 28, what was the average number of people attending? Context: CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 28"</s> |
CREATE TABLE table_name_57 (born_in_other_eu_state__millions_ INTEGER, total_foreign_born__millions_ VARCHAR, total_population__millions_ VARCHAR) | SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_57 WHERE total_foreign_born__millions_ = 0.5 AND total_population__millions_ < 5.534 | What was the average number of people born in other EU states in millions, when the total number of foreign-born people in millions was 0.5, and when the total population in millions was less than 5.534? | <s>[INST]What was the average number of people born in other EU states in millions, when the total number of foreign-born people in millions was 0.5, and when the total population in millions was less than 5.534? Context: CREATE TABLE table_name_57 (born_in_other_eu_state__millions_ INTEGER, total_foreign_born__million... |
CREATE TABLE table_name_12 (attendance VARCHAR, away_team VARCHAR, tie_no VARCHAR) | SELECT COUNT(attendance) FROM table_name_12 WHERE away_team = "southend manor" AND tie_no < 93 | What is the attendance total when Southend Manor is the away team and there are less than 93 ties? | <s>[INST]What is the attendance total when Southend Manor is the away team and there are less than 93 ties? Context: CREATE TABLE table_name_12 (attendance VARCHAR, away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_12 WHERE away_team = "southend manor" AND tie_no < 93</s> |
CREATE TABLE table_name_26 (matches INTEGER, goalkeeper VARCHAR, goals VARCHAR) | SELECT MIN(matches) FROM table_name_26 WHERE goalkeeper = "josé bermúdez" AND goals > 18 | What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18? | <s>[INST]What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18? Context: CREATE TABLE table_name_26 (matches INTEGER, goalkeeper VARCHAR, goals VARCHAR)[/INST]SELECT MIN(matches) FROM table_name_26 WHERE goalkeeper = "josé bermúdez" AND goals > 18</s> |
CREATE TABLE table_25947046_1 (jews_and_others_1 INTEGER) | SELECT MAX(jews_and_others_1) FROM table_25947046_1 | What is the highest Jews and others 1? | <s>[INST]What is the highest Jews and others 1? Context: CREATE TABLE table_25947046_1 (jews_and_others_1 INTEGER)[/INST]SELECT MAX(jews_and_others_1) FROM table_25947046_1</s> |
CREATE TABLE table_name_82 (minister VARCHAR, party VARCHAR, governments VARCHAR) | SELECT minister FROM table_name_82 WHERE party = "labor party" AND governments = "26" | Who was the minister of the labor party and had 26 goverments? | <s>[INST]Who was the minister of the labor party and had 26 goverments? Context: CREATE TABLE table_name_82 (minister VARCHAR, party VARCHAR, governments VARCHAR)[/INST]SELECT minister FROM table_name_82 WHERE party = "labor party" AND governments = "26"</s> |
CREATE TABLE table_26593762_3 (manner_of_departure VARCHAR, incoming_manager VARCHAR) | SELECT manner_of_departure FROM table_26593762_3 WHERE incoming_manager = "George Burley" | What was the manner of departure for the team whose incoming manager was George Burley? | <s>[INST]What was the manner of departure for the team whose incoming manager was George Burley? Context: CREATE TABLE table_26593762_3 (manner_of_departure VARCHAR, incoming_manager VARCHAR)[/INST]SELECT manner_of_departure FROM table_26593762_3 WHERE incoming_manager = "George Burley"</s> |
CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR) | SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian" | how many colombia in bangladesh is serbian | <s>[INST]how many colombia in bangladesh is serbian Context: CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR)[/INST]SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian"</s> |
CREATE TABLE table_name_56 (wins VARCHAR, losses VARCHAR, points VARCHAR, goals_against VARCHAR) | SELECT COUNT(wins) FROM table_name_56 WHERE points > 51 AND goals_against > 23 AND losses = 5 | How many wins when points are more than 51, goals against are more than 23 and losses are 5? | <s>[INST]How many wins when points are more than 51, goals against are more than 23 and losses are 5? Context: CREATE TABLE table_name_56 (wins VARCHAR, losses VARCHAR, points VARCHAR, goals_against VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_56 WHERE points > 51 AND goals_against > 23 AND losses = 5</s> |
CREATE TABLE table_name_34 (drivers VARCHAR, races VARCHAR) | SELECT drivers FROM table_name_34 WHERE races = "15-20" | What driver had a 15-20 record? | <s>[INST]What driver had a 15-20 record? Context: CREATE TABLE table_name_34 (drivers VARCHAR, races VARCHAR)[/INST]SELECT drivers FROM table_name_34 WHERE races = "15-20"</s> |
CREATE TABLE table_name_26 (seats VARCHAR, year VARCHAR, _percentage_votes VARCHAR) | SELECT seats FROM table_name_26 WHERE year > 1993 AND _percentage_votes = 38.72 | After 1993, what is the Seats with a % votes of 38.72? | <s>[INST]After 1993, what is the Seats with a % votes of 38.72? Context: CREATE TABLE table_name_26 (seats VARCHAR, year VARCHAR, _percentage_votes VARCHAR)[/INST]SELECT seats FROM table_name_26 WHERE year > 1993 AND _percentage_votes = 38.72</s> |
CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_66 WHERE pick__number = 16 | The position that has a pick # of 16 is what? | <s>[INST]The position that has a pick # of 16 is what? Context: CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_name_66 WHERE pick__number = 16</s> |
CREATE TABLE table_name_6 (b_score VARCHAR, a_score VARCHAR) | SELECT b_score FROM table_name_6 WHERE a_score = 6.9 | what is the b score when the a score is 6.9? | <s>[INST]what is the b score when the a score is 6.9? Context: CREATE TABLE table_name_6 (b_score VARCHAR, a_score VARCHAR)[/INST]SELECT b_score FROM table_name_6 WHERE a_score = 6.9</s> |
CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_15 WHERE venue = "corio oval" | What was the home team that played at Corio Oval? | <s>[INST]What was the home team that played at Corio Oval? Context: CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_15 WHERE venue = "corio oval"</s> |
CREATE TABLE table_name_92 (general_election INTEGER, share_of_votes VARCHAR) | SELECT SUM(general_election) FROM table_name_92 WHERE share_of_votes = "17%" | How much General election has a Share of votes of 17%? | <s>[INST]How much General election has a Share of votes of 17%? Context: CREATE TABLE table_name_92 (general_election INTEGER, share_of_votes VARCHAR)[/INST]SELECT SUM(general_election) FROM table_name_92 WHERE share_of_votes = "17%"</s> |
CREATE TABLE table_name_24 (name VARCHAR, novelty VARCHAR, location VARCHAR, status VARCHAR, authors VARCHAR) | SELECT name FROM table_name_24 WHERE status = "valid" AND authors = "maisch" AND location = "tanzania" AND novelty = "gen et sp nov" | What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov? | <s>[INST]What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov? Context: CREATE TABLE table_name_24 (name VARCHAR, novelty VARCHAR, location VARCHAR, status VARCHAR, authors VARCHAR)[/INST]SELECT name FROM table_name_24 WHERE status = "valid" AND author... |
CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR) | SELECT ended FROM table_name_37 WHERE country = "ghana" | when was the loan ended when the country is ghana? | <s>[INST]when was the loan ended when the country is ghana? Context: CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR)[/INST]SELECT ended FROM table_name_37 WHERE country = "ghana"</s> |
CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR) | SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = "china" | Who were the rowers from china wh had a rank smaller than 4? | <s>[INST]Who were the rowers from china wh had a rank smaller than 4? Context: CREATE TABLE table_name_51 (rowers VARCHAR, rank VARCHAR, country VARCHAR)[/INST]SELECT rowers FROM table_name_51 WHERE rank < 4 AND country = "china"</s> |
CREATE TABLE table_name_88 (rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT COUNT(rank) FROM table_name_88 WHERE total < 2 AND silver > 0 | What is the total rank with more than 0 silver and less than 2 medals total? | <s>[INST]What is the total rank with more than 0 silver and less than 2 medals total? Context: CREATE TABLE table_name_88 (rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_88 WHERE total < 2 AND silver > 0</s> |
CREATE TABLE table_name_56 (club VARCHAR, home_result VARCHAR, away_result VARCHAR) | SELECT club FROM table_name_56 WHERE home_result = "1–0" AND away_result = "0–1" | Home result of 1–0, and a Away result of 0–1 involves what club? | <s>[INST]Home result of 1–0, and a Away result of 0–1 involves what club? Context: CREATE TABLE table_name_56 (club VARCHAR, home_result VARCHAR, away_result VARCHAR)[/INST]SELECT club FROM table_name_56 WHERE home_result = "1–0" AND away_result = "0–1"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.