context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2828803_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_2828803_1 WHERE written_by = "Nick Thiel" | What is th title of the episode written by Nick Thiel? | <s>[INST]What is th title of the episode written by Nick Thiel? Context: CREATE TABLE table_2828803_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_2828803_1 WHERE written_by = "Nick Thiel"</s> |
CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR) | SELECT conference AS Tournament FROM table_22779004_1 WHERE regular_season_winner = "Idaho State" | Who won the tournament when Idaho State won the regular season? | <s>[INST]Who won the tournament when Idaho State won the regular season? Context: CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR)[/INST]SELECT conference AS Tournament FROM table_22779004_1 WHERE regular_season_winner = "Idaho State"</s> |
CREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = "2012 (85th)" | When 2012 (85th) is the year (ceremony) how many results? | <s>[INST]When 2012 (85th) is the year (ceremony) how many results? Context: CREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = "2012 (85th)"</s> |
CREATE TABLE table_name_51 (october VARCHAR, february VARCHAR) | SELECT october FROM table_name_51 WHERE february = "cristy thom" | Who is the october playmate with February playmate Cristy Thom? | <s>[INST]Who is the october playmate with February playmate Cristy Thom? Context: CREATE TABLE table_name_51 (october VARCHAR, february VARCHAR)[/INST]SELECT october FROM table_name_51 WHERE february = "cristy thom"</s> |
CREATE TABLE table_17978052_2 (_number_s_lake_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) | SELECT MIN(_number_s_lake_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Valdez-Cordova (CA)" | How many number of lakes are there in the Valdez-Cordova (CA) area? | <s>[INST]How many number of lakes are there in the Valdez-Cordova (CA) area? Context: CREATE TABLE table_17978052_2 (_number_s_lake_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)[/INST]SELECT MIN(_number_s_lake_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Valdez-Cordova (CA)"... |
CREATE TABLE table_24910733_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(written_by) FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21" | How many writers are listed when the U.S viewers are 11.21 million? | <s>[INST]How many writers are listed when the U.S viewers are 11.21 million? Context: CREATE TABLE table_24910733_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"</s> |
CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR) | SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898 | Name the total number of affiliation for enrollment being 14898 | <s>[INST]Name the total number of affiliation for enrollment being 14898 Context: CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)[/INST]SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898</s> |
CREATE TABLE table_14342210_6 (extra_points INTEGER) | SELECT MIN(extra_points) FROM table_14342210_6 | What is the least amount of extra points made in by a player? | <s>[INST]What is the least amount of extra points made in by a player? Context: CREATE TABLE table_14342210_6 (extra_points INTEGER)[/INST]SELECT MIN(extra_points) FROM table_14342210_6</s> |
CREATE TABLE table_name_36 (heat INTEGER, nation VARCHAR, rank VARCHAR) | SELECT MAX(heat) FROM table_name_36 WHERE nation = "australia" AND rank > 7 | Which Heat has a Nation of australia, and a Rank larger than 7? | <s>[INST]Which Heat has a Nation of australia, and a Rank larger than 7? Context: CREATE TABLE table_name_36 (heat INTEGER, nation VARCHAR, rank VARCHAR)[/INST]SELECT MAX(heat) FROM table_name_36 WHERE nation = "australia" AND rank > 7</s> |
CREATE TABLE player (birth_country VARCHAR) | SELECT birth_country FROM player GROUP BY birth_country ORDER BY COUNT(*) LIMIT 3 | List three countries which are the origins of the least players. | <s>[INST]List three countries which are the origins of the least players. Context: CREATE TABLE player (birth_country VARCHAR)[/INST]SELECT birth_country FROM player GROUP BY birth_country ORDER BY COUNT(*) LIMIT 3</s> |
CREATE TABLE table_25468520_1 (paper_type VARCHAR, date_of_issue VARCHAR) | SELECT paper_type FROM table_25468520_1 WHERE date_of_issue = "July 8" | What is the paper type for the date of issue July 8? | <s>[INST]What is the paper type for the date of issue July 8? Context: CREATE TABLE table_25468520_1 (paper_type VARCHAR, date_of_issue VARCHAR)[/INST]SELECT paper_type FROM table_25468520_1 WHERE date_of_issue = "July 8"</s> |
CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_58 WHERE nation = "mexico" AND total > 1 | How much Bronze has a Nation of mexico, and a Total larger than 1? | <s>[INST]How much Bronze has a Nation of mexico, and a Total larger than 1? Context: CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_58 WHERE nation = "mexico" AND total > 1</s> |
CREATE TABLE table_name_12 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_12 WHERE tournament = "cordenons" | What is the score for the Tournament of Cordenons? | <s>[INST]What is the score for the Tournament of Cordenons? Context: CREATE TABLE table_name_12 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_12 WHERE tournament = "cordenons"</s> |
CREATE TABLE table_name_94 (career VARCHAR, average VARCHAR, player VARCHAR) | SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov" | What years did Tymerlan Huseynov, whose average is larger than 0.361, play? | <s>[INST]What years did Tymerlan Huseynov, whose average is larger than 0.361, play? Context: CREATE TABLE table_name_94 (career VARCHAR, average VARCHAR, player VARCHAR)[/INST]SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov"</s> |
CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods" | What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? | <s>[INST]What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? Context: CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods"</s> |
CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)" | Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)? | <s>[INST]Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)? Context: CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)[/INST]SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)"</s> |
CREATE TABLE table_name_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR) | SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce" | What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE? | <s>[INST]What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE? Context: CREATE TABLE table_name_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR)[/INST]SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce"</s> |
CREATE TABLE table_name_29 (location_attendance VARCHAR, high_assists VARCHAR) | SELECT location_attendance FROM table_name_29 WHERE high_assists = "alvin williams (9)" | What is Location Attendance, when High Assists is Alvin Williams (9)? | <s>[INST]What is Location Attendance, when High Assists is Alvin Williams (9)? Context: CREATE TABLE table_name_29 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_name_29 WHERE high_assists = "alvin williams (9)"</s> |
CREATE TABLE table_name_22 (city VARCHAR, result VARCHAR) | SELECT city FROM table_name_22 WHERE result = "brisbane broncos def. halifax blue sox" | What city has a Result of brisbane broncos def. halifax blue sox? | <s>[INST]What city has a Result of brisbane broncos def. halifax blue sox? Context: CREATE TABLE table_name_22 (city VARCHAR, result VARCHAR)[/INST]SELECT city FROM table_name_22 WHERE result = "brisbane broncos def. halifax blue sox"</s> |
CREATE TABLE table_13619135_6 (game VARCHAR, record VARCHAR) | SELECT COUNT(game) FROM table_13619135_6 WHERE record = "26-21" | How many games were played when the record was 26-21? | <s>[INST]How many games were played when the record was 26-21? Context: CREATE TABLE table_13619135_6 (game VARCHAR, record VARCHAR)[/INST]SELECT COUNT(game) FROM table_13619135_6 WHERE record = "26-21"</s> |
CREATE TABLE table_name_6 (goals VARCHAR, player VARCHAR) | SELECT goals FROM table_name_6 WHERE player = "mike eruzione" | How many goals does Mike Eruzione have in total? | <s>[INST]How many goals does Mike Eruzione have in total? Context: CREATE TABLE table_name_6 (goals VARCHAR, player VARCHAR)[/INST]SELECT goals FROM table_name_6 WHERE player = "mike eruzione"</s> |
CREATE TABLE table_1697190_1 (wins VARCHAR, best_finish VARCHAR) | SELECT wins FROM table_1697190_1 WHERE best_finish = "2nd" | Name the wins for best finish being 2nd | <s>[INST]Name the wins for best finish being 2nd Context: CREATE TABLE table_1697190_1 (wins VARCHAR, best_finish VARCHAR)[/INST]SELECT wins FROM table_1697190_1 WHERE best_finish = "2nd"</s> |
CREATE TABLE table_11734041_11 (player VARCHAR, no_s_ VARCHAR) | SELECT player FROM table_11734041_11 WHERE no_s_ = "3" | Who is the player who's number is 3? | <s>[INST]Who is the player who's number is 3? Context: CREATE TABLE table_11734041_11 (player VARCHAR, no_s_ VARCHAR)[/INST]SELECT player FROM table_11734041_11 WHERE no_s_ = "3"</s> |
CREATE TABLE table_name_92 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_92 WHERE opponent = "white sox" AND record = "2-0" | Which score has an Opponent of white sox, and a Record of 2-0? | <s>[INST]Which score has an Opponent of white sox, and a Record of 2-0? Context: CREATE TABLE table_name_92 (score VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE opponent = "white sox" AND record = "2-0"</s> |
CREATE TABLE table_name_25 (cws_best_finish VARCHAR, head_coach VARCHAR) | SELECT cws_best_finish FROM table_name_25 WHERE head_coach = "jim morris" | What was Head Coach Jim Morris's best finish? | <s>[INST]What was Head Coach Jim Morris's best finish? Context: CREATE TABLE table_name_25 (cws_best_finish VARCHAR, head_coach VARCHAR)[/INST]SELECT cws_best_finish FROM table_name_25 WHERE head_coach = "jim morris"</s> |
CREATE TABLE table_1676073_12 (club VARCHAR, points_against VARCHAR) | SELECT club FROM table_1676073_12 WHERE points_against = "608" | What clubs had 608 points against? | <s>[INST]What clubs had 608 points against? Context: CREATE TABLE table_1676073_12 (club VARCHAR, points_against VARCHAR)[/INST]SELECT club FROM table_1676073_12 WHERE points_against = "608"</s> |
CREATE TABLE table_1467951_4 (dvd_no INTEGER) | SELECT MAX(dvd_no) FROM table_1467951_4 | What is the largest number of DVDs? | <s>[INST]What is the largest number of DVDs? Context: CREATE TABLE table_1467951_4 (dvd_no INTEGER)[/INST]SELECT MAX(dvd_no) FROM table_1467951_4</s> |
CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR) | SELECT founded FROM table_1971074_1 WHERE type = "Private/Non-sectarian" | When was the private/non-sectarian school founded? | <s>[INST]When was the private/non-sectarian school founded? Context: CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR)[/INST]SELECT founded FROM table_1971074_1 WHERE type = "Private/Non-sectarian"</s> |
CREATE TABLE tryout (decision VARCHAR) | SELECT COUNT(*) FROM tryout WHERE decision = 'yes' | How many students got accepted after the tryout? | <s>[INST]How many students got accepted after the tryout? Context: CREATE TABLE tryout (decision VARCHAR)[/INST]SELECT COUNT(*) FROM tryout WHERE decision = 'yes'</s> |
CREATE TABLE table_name_89 (matches VARCHAR, rank VARCHAR) | SELECT matches FROM table_name_89 WHERE rank = 1 | Can you tell me the Matches that has the Rank of 1? | <s>[INST]Can you tell me the Matches that has the Rank of 1? Context: CREATE TABLE table_name_89 (matches VARCHAR, rank VARCHAR)[/INST]SELECT matches FROM table_name_89 WHERE rank = 1</s> |
CREATE TABLE table_name_82 (losing_bonus VARCHAR, tries_for VARCHAR) | SELECT losing_bonus FROM table_name_82 WHERE tries_for = "0" | What is the losing bonus associated with 0 tries for? | <s>[INST]What is the losing bonus associated with 0 tries for? Context: CREATE TABLE table_name_82 (losing_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT losing_bonus FROM table_name_82 WHERE tries_for = "0"</s> |
CREATE TABLE table_name_59 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667 | What week had attendance of 48,667? | <s>[INST]What week had attendance of 48,667? Context: CREATE TABLE table_name_59 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667</s> |
CREATE TABLE MATCH (venue VARCHAR, date VARCHAR) | SELECT venue FROM MATCH ORDER BY date DESC | List venues of all matches in the order of their dates starting from the most recent one. | <s>[INST]List venues of all matches in the order of their dates starting from the most recent one. Context: CREATE TABLE MATCH (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM MATCH ORDER BY date DESC</s> |
CREATE TABLE table_name_72 (long INTEGER, player VARCHAR, yards VARCHAR) | SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31 | What was the longest carry for kevin clemens with under 31 yards total? | <s>[INST]What was the longest carry for kevin clemens with under 31 yards total? Context: CREATE TABLE table_name_72 (long INTEGER, player VARCHAR, yards VARCHAR)[/INST]SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31</s> |
CREATE TABLE table_2108684_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) | SELECT run_time FROM table_2108684_1 WHERE viewers__in_millions_ = "7.9" | What is the run time for the episode with 7.9 million viewers? | <s>[INST]What is the run time for the episode with 7.9 million viewers? Context: CREATE TABLE table_2108684_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT run_time FROM table_2108684_1 WHERE viewers__in_millions_ = "7.9"</s> |
CREATE TABLE table_name_21 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_21 WHERE player = "ben hogan" | What is Ben Hogan's Place? | <s>[INST]What is Ben Hogan's Place? Context: CREATE TABLE table_name_21 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_21 WHERE player = "ben hogan"</s> |
CREATE TABLE table_name_10 (purse VARCHAR, year VARCHAR) | SELECT purse FROM table_name_10 WHERE year = "1998" | What is the Purse listed for the Year of 1998? | <s>[INST]What is the Purse listed for the Year of 1998? Context: CREATE TABLE table_name_10 (purse VARCHAR, year VARCHAR)[/INST]SELECT purse FROM table_name_10 WHERE year = "1998"</s> |
CREATE TABLE table_name_33 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_33 WHERE result = "l 31–23" | What was the Attendance when the Result was L 31–23? | <s>[INST]What was the Attendance when the Result was L 31–23? Context: CREATE TABLE table_name_33 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_33 WHERE result = "l 31–23"</s> |
CREATE TABLE table_name_26 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_26 WHERE week = 6 | Which opponent was played in Week 6? | <s>[INST]Which opponent was played in Week 6? Context: CREATE TABLE table_name_26 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_26 WHERE week = 6</s> |
CREATE TABLE table_name_99 (meet VARCHAR, event VARCHAR) | SELECT meet FROM table_name_99 WHERE event = "flying 200 m time trial" | what is the meet when the event is flying 200 m time trial? | <s>[INST]what is the meet when the event is flying 200 m time trial? Context: CREATE TABLE table_name_99 (meet VARCHAR, event VARCHAR)[/INST]SELECT meet FROM table_name_99 WHERE event = "flying 200 m time trial"</s> |
CREATE TABLE table_name_37 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_name_37 WHERE school_club_team = "villanova" | What are the years when the grizzles had a player who attended Villanova? | <s>[INST]What are the years when the grizzles had a player who attended Villanova? Context: CREATE TABLE table_name_37 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_name_37 WHERE school_club_team = "villanova"</s> |
CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR) | SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons" | What is the highest year with field reporter Steve Lyons? | <s>[INST]What is the highest year with field reporter Steve Lyons? Context: CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR)[/INST]SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"</s> |
CREATE TABLE dept_locations (dnumber VARCHAR, dlocation VARCHAR); CREATE TABLE department (dname VARCHAR, dnumber VARCHAR) | SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber = t2.dnumber WHERE t2.dlocation = 'Houston' | Find the names of departments that are located in Houston. | <s>[INST]Find the names of departments that are located in Houston. Context: CREATE TABLE dept_locations (dnumber VARCHAR, dlocation VARCHAR); CREATE TABLE department (dname VARCHAR, dnumber VARCHAR)[/INST]SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber = t2.dnumber WHERE t2.dlocation = 'H... |
CREATE TABLE table_name_89 (country VARCHAR, money__$_ VARCHAR, player VARCHAR) | SELECT country FROM table_name_89 WHERE money__$_ = "400" AND player = "leland gibson" | What Country is Player Leland Gibson with Money of 400 from? | <s>[INST]What Country is Player Leland Gibson with Money of 400 from? Context: CREATE TABLE table_name_89 (country VARCHAR, money__$_ VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_89 WHERE money__$_ = "400" AND player = "leland gibson"</s> |
CREATE TABLE table_23465011_5 (average VARCHAR, couple VARCHAR) | SELECT average FROM table_23465011_5 WHERE couple = "Anh & Luda" | What is the average for the couple anh & luda? | <s>[INST]What is the average for the couple anh & luda? Context: CREATE TABLE table_23465011_5 (average VARCHAR, couple VARCHAR)[/INST]SELECT average FROM table_23465011_5 WHERE couple = "Anh & Luda"</s> |
CREATE TABLE table_name_66 (interview INTEGER, country VARCHAR, swimsuit VARCHAR) | SELECT MIN(interview) FROM table_name_66 WHERE country = "missouri" AND swimsuit > 9.433 | What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433? | <s>[INST]What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433? Context: CREATE TABLE table_name_66 (interview INTEGER, country VARCHAR, swimsuit VARCHAR)[/INST]SELECT MIN(interview) FROM table_name_66 WHERE country = "missouri" AND swimsuit > 9.433</s> |
CREATE TABLE table_name_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_11 WHERE silver = 2 AND bronze > 2 | How many Gold medals does the country with 2 Silver and more than 2 Bronze have? | <s>[INST]How many Gold medals does the country with 2 Silver and more than 2 Bronze have? Context: CREATE TABLE table_name_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_11 WHERE silver = 2 AND bronze > 2</s> |
CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR) | SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes" | What was the result of the Todman stakes race at rosehill? | <s>[INST]What was the result of the Todman stakes race at rosehill? Context: CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR)[/INST]SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes"</s> |
CREATE TABLE table_22879323_8 (score VARCHAR, high_rebounds VARCHAR) | SELECT score FROM table_22879323_8 WHERE high_rebounds = "Brook Lopez (8)" | What was the score of the game in which Brook Lopez (8) did the high rebounds? | <s>[INST]What was the score of the game in which Brook Lopez (8) did the high rebounds? Context: CREATE TABLE table_22879323_8 (score VARCHAR, high_rebounds VARCHAR)[/INST]SELECT score FROM table_22879323_8 WHERE high_rebounds = "Brook Lopez (8)"</s> |
CREATE TABLE table_name_42 (status VARCHAR, date_performed VARCHAR, position VARCHAR) | SELECT status FROM table_name_42 WHERE date_performed = "august 13" AND position = "safe" | What Status has a Date performed of august 13, and a Position of safe? | <s>[INST]What Status has a Date performed of august 13, and a Position of safe? Context: CREATE TABLE table_name_42 (status VARCHAR, date_performed VARCHAR, position VARCHAR)[/INST]SELECT status FROM table_name_42 WHERE date_performed = "august 13" AND position = "safe"</s> |
CREATE TABLE table_17736890_5 (tie_no INTEGER, home_team VARCHAR) | SELECT MIN(tie_no) FROM table_17736890_5 WHERE home_team = "Chelsea" | What tie number featured Chelsea as the home team? | <s>[INST]What tie number featured Chelsea as the home team? Context: CREATE TABLE table_17736890_5 (tie_no INTEGER, home_team VARCHAR)[/INST]SELECT MIN(tie_no) FROM table_17736890_5 WHERE home_team = "Chelsea"</s> |
CREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR) | SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.9%" | Name the region for automatic washing machine being 60.9% | <s>[INST]Name the region for automatic washing machine being 60.9% Context: CREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR)[/INST]SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.9%"</s> |
CREATE TABLE table_name_75 (class VARCHAR, power_output__kw_ VARCHAR, number_in_class VARCHAR) | SELECT class FROM table_name_75 WHERE power_output__kw_ > 700 AND number_in_class = 48 | Which class has a power output larger than 700 and a class of 48? | <s>[INST]Which class has a power output larger than 700 and a class of 48? Context: CREATE TABLE table_name_75 (class VARCHAR, power_output__kw_ VARCHAR, number_in_class VARCHAR)[/INST]SELECT class FROM table_name_75 WHERE power_output__kw_ > 700 AND number_in_class = 48</s> |
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_95 WHERE home_team = "collingwood" | What was the away team at collingwood? | <s>[INST]What was the away team at collingwood? Context: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_95 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_5 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_5 WHERE opponent = "fenerbahçe" | What was the result when the opponent was fenerbahçe? | <s>[INST]What was the result when the opponent was fenerbahçe? Context: CREATE TABLE table_name_5 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_5 WHERE opponent = "fenerbahçe"</s> |
CREATE TABLE table_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR) | SELECT MIN(constituency_no) FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Kargahar (Vidhan Sabha constituency)" | How many were in the Kargahar (vidhan sabha constituency)? | <s>[INST]How many were in the Kargahar (vidhan sabha constituency)? Context: CREATE TABLE table_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR)[/INST]SELECT MIN(constituency_no) FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Kargahar (Vidhan Sabha constituency)"</s> |
CREATE TABLE table_name_44 (mark VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT mark FROM table_name_44 WHERE lane > 2 AND heat > 4 AND name = "rabangaki nawai" | What is the mark number when the lane for Rabangaki Nawai when it is greater than 2 and the heat is larger than 4? | <s>[INST]What is the mark number when the lane for Rabangaki Nawai when it is greater than 2 and the heat is larger than 4? Context: CREATE TABLE table_name_44 (mark VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)[/INST]SELECT mark FROM table_name_44 WHERE lane > 2 AND heat > 4 AND name = "rabangaki nawai"</s> |
CREATE TABLE table_name_71 (year INTEGER, runner_s__up VARCHAR) | SELECT MIN(year) FROM table_name_71 WHERE runner_s__up = "tammie green" | Which Year has a Runner(s)-up of tammie green? | <s>[INST]Which Year has a Runner(s)-up of tammie green? Context: CREATE TABLE table_name_71 (year INTEGER, runner_s__up VARCHAR)[/INST]SELECT MIN(year) FROM table_name_71 WHERE runner_s__up = "tammie green"</s> |
CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR) | SELECT points_against FROM table_name_34 WHERE points_difference = "points difference" | What are the points against with a points difference? | <s>[INST]What are the points against with a points difference? Context: CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR)[/INST]SELECT points_against FROM table_name_34 WHERE points_difference = "points difference"</s> |
CREATE TABLE table_name_28 (time VARCHAR, rank VARCHAR, country VARCHAR) | SELECT time FROM table_name_28 WHERE rank < 4 AND country = "finland" | What is the Time of the Rowers from Finland with a Rank of less than 4? | <s>[INST]What is the Time of the Rowers from Finland with a Rank of less than 4? Context: CREATE TABLE table_name_28 (time VARCHAR, rank VARCHAR, country VARCHAR)[/INST]SELECT time FROM table_name_28 WHERE rank < 4 AND country = "finland"</s> |
CREATE TABLE table_name_19 (match INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR) | SELECT SUM(match) FROM table_name_19 WHERE draw > 0 AND team = "polonia bydgoszcz" AND points < 17 | What is the number for match when the draws in more than 0, the team is Polonia Bydgoszcz, and there are less than 17 points? | <s>[INST]What is the number for match when the draws in more than 0, the team is Polonia Bydgoszcz, and there are less than 17 points? Context: CREATE TABLE table_name_19 (match INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR)[/INST]SELECT SUM(match) FROM table_name_19 WHERE draw > 0 AND team = "polonia bydgoszcz" ... |
CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_95 WHERE record = "8:39.49" | Which Date has a Record of 8:39.49? | <s>[INST]Which Date has a Record of 8:39.49? Context: CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE record = "8:39.49"</s> |
CREATE TABLE table_name_36 (pavilion_depth VARCHAR, brilliance_grade VARCHAR, pavilion_angle VARCHAR) | SELECT pavilion_depth FROM table_name_36 WHERE brilliance_grade = "100%" AND pavilion_angle = "n/a" | Which Pavilion depth has a Brilliance Grade of 100% and a Pavilion angle of n/a? | <s>[INST]Which Pavilion depth has a Brilliance Grade of 100% and a Pavilion angle of n/a? Context: CREATE TABLE table_name_36 (pavilion_depth VARCHAR, brilliance_grade VARCHAR, pavilion_angle VARCHAR)[/INST]SELECT pavilion_depth FROM table_name_36 WHERE brilliance_grade = "100%" AND pavilion_angle = "n/a"</s> |
CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR) | SELECT conference FROM table_name_8 WHERE season = 2009 AND format = "super leg final" | What conference has 2009 as the season, with super leg final as the format? | <s>[INST]What conference has 2009 as the season, with super leg final as the format? Context: CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR)[/INST]SELECT conference FROM table_name_8 WHERE season = 2009 AND format = "super leg final"</s> |
CREATE TABLE table_25304789_1 (share INTEGER) | SELECT MAX(share) FROM table_25304789_1 | What was the highest share? | <s>[INST]What was the highest share? Context: CREATE TABLE table_25304789_1 (share INTEGER)[/INST]SELECT MAX(share) FROM table_25304789_1</s> |
CREATE TABLE table_name_38 (player VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_38 WHERE country = "united states" AND score = 71 - 72 = 143 | Who is the player from the United States with a score of 71-72=143? | <s>[INST]Who is the player from the United States with a score of 71-72=143? Context: CREATE TABLE table_name_38 (player VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_38 WHERE country = "united states" AND score = 71 - 72 = 143</s> |
CREATE TABLE table_2668336_17 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%" | Candiates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% had what result? | <s>[INST]Candiates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% had what result? Context: CREATE TABLE table_2668336_17 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%"</s> |
CREATE TABLE table_1817879_2 (_number_of_new_stations VARCHAR, length__miles_ VARCHAR) | SELECT COUNT(_number_of_new_stations) FROM table_1817879_2 WHERE length__miles_ = "6.0" | How many new stations have a lenght (miles) of 6.0? | <s>[INST]How many new stations have a lenght (miles) of 6.0? Context: CREATE TABLE table_1817879_2 (_number_of_new_stations VARCHAR, length__miles_ VARCHAR)[/INST]SELECT COUNT(_number_of_new_stations) FROM table_1817879_2 WHERE length__miles_ = "6.0"</s> |
CREATE TABLE table_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR) | SELECT yes_votes FROM table_256286_23 WHERE _percentage_yes = "60.39%" | How many yes votes did the measure that got 60.39% yes votes get? | <s>[INST]How many yes votes did the measure that got 60.39% yes votes get? Context: CREATE TABLE table_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT yes_votes FROM table_256286_23 WHERE _percentage_yes = "60.39%"</s> |
CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_35 WHERE name = "senyi n'diaye" | What is Senyi N'Diaye's Position? | <s>[INST]What is Senyi N'Diaye's Position? Context: CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_35 WHERE name = "senyi n'diaye"</s> |
CREATE TABLE table_24143253_2 (children_together VARCHAR, deceased_spouse VARCHAR) | SELECT children_together FROM table_24143253_2 WHERE deceased_spouse = "Dennis Hawley" | How many children did Dennis Hawley have at his time of death? | <s>[INST]How many children did Dennis Hawley have at his time of death? Context: CREATE TABLE table_24143253_2 (children_together VARCHAR, deceased_spouse VARCHAR)[/INST]SELECT children_together FROM table_24143253_2 WHERE deceased_spouse = "Dennis Hawley"</s> |
CREATE TABLE table_name_44 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_44 WHERE away_team = "guatemala" | What is the date where Guatemala is the Away team? | <s>[INST]What is the date where Guatemala is the Away team? Context: CREATE TABLE table_name_44 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_44 WHERE away_team = "guatemala"</s> |
CREATE TABLE table_name_5 (venue VARCHAR, score VARCHAR, season VARCHAR) | SELECT venue FROM table_name_5 WHERE score = "0-2" AND season = 2004 | In the 2004 season with a 0-2 score what was the name of the venue? | <s>[INST]In the 2004 season with a 0-2 score what was the name of the venue? Context: CREATE TABLE table_name_5 (venue VARCHAR, score VARCHAR, season VARCHAR)[/INST]SELECT venue FROM table_name_5 WHERE score = "0-2" AND season = 2004</s> |
CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_92 WHERE home_team = "north melbourne" | What is the lowest crowd when North Melbourne played at home? | <s>[INST]What is the lowest crowd when North Melbourne played at home? Context: CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_92 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR) | SELECT tyre FROM table_name_85 WHERE chassis = "p57 p61" | What tyre has a chassis of p57 p61? | <s>[INST]What tyre has a chassis of p57 p61? Context: CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR)[/INST]SELECT tyre FROM table_name_85 WHERE chassis = "p57 p61"</s> |
CREATE TABLE table_name_95 (payload_to_gto VARCHAR, ccbs VARCHAR, payload_to_leo VARCHAR) | SELECT payload_to_gto FROM table_name_95 WHERE ccbs > 1 AND payload_to_leo = "29,400kg" | What Payload to GTO has CCBs larger than 1, and a Payload to LEO of 29,400kg? | <s>[INST]What Payload to GTO has CCBs larger than 1, and a Payload to LEO of 29,400kg? Context: CREATE TABLE table_name_95 (payload_to_gto VARCHAR, ccbs VARCHAR, payload_to_leo VARCHAR)[/INST]SELECT payload_to_gto FROM table_name_95 WHERE ccbs > 1 AND payload_to_leo = "29,400kg"</s> |
CREATE TABLE table_name_39 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_39 WHERE place = "t9" AND player = "jeff sluman" | What is Score, when Place is "T9", and when Player is "Jeff Sluman"? | <s>[INST]What is Score, when Place is "T9", and when Player is "Jeff Sluman"? Context: CREATE TABLE table_name_39 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE place = "t9" AND player = "jeff sluman"</s> |
CREATE TABLE table_name_83 (builder’s_model VARCHAR, total_produced VARCHAR, build_date VARCHAR) | SELECT builder’s_model FROM table_name_83 WHERE total_produced > 40 AND build_date = "1966" | Who built the train in 1966 with over 40 produced? | <s>[INST]Who built the train in 1966 with over 40 produced? Context: CREATE TABLE table_name_83 (builder’s_model VARCHAR, total_produced VARCHAR, build_date VARCHAR)[/INST]SELECT builder’s_model FROM table_name_83 WHERE total_produced > 40 AND build_date = "1966"</s> |
CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR) | SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%" | For the group with 1.92% population in 1981, what was their percentage of the population in 1971? | <s>[INST]For the group with 1.92% population in 1981, what was their percentage of the population in 1971? Context: CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)[/INST]SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%... |
CREATE TABLE table_name_78 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_78 WHERE attendance = 3188 | When the attendance was 3188 what was the score? | <s>[INST]When the attendance was 3188 what was the score? Context: CREATE TABLE table_name_78 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE attendance = 3188</s> |
CREATE TABLE table_name_2 (constructor VARCHAR, rank VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT constructor FROM table_name_2 WHERE grid > 14 AND laps > 93 AND rank > 25 | Which constructor had a grid number bigger than 14, laps of more than 93, and rank higher than 25? | <s>[INST]Which constructor had a grid number bigger than 14, laps of more than 93, and rank higher than 25? Context: CREATE TABLE table_name_2 (constructor VARCHAR, rank VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT constructor FROM table_name_2 WHERE grid > 14 AND laps > 93 AND rank > 25</s> |
CREATE TABLE table_22673956_1 (race_name VARCHAR, date VARCHAR) | SELECT COUNT(race_name) FROM table_22673956_1 WHERE date = "October 1" | How many races took place on October 1? | <s>[INST]How many races took place on October 1? Context: CREATE TABLE table_22673956_1 (race_name VARCHAR, date VARCHAR)[/INST]SELECT COUNT(race_name) FROM table_22673956_1 WHERE date = "October 1"</s> |
CREATE TABLE table_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR) | SELECT MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257 AND games > 72 | What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played? | <s>[INST]What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played? Context: CREATE TABLE table_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257... |
CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR) | SELECT AVG(home_run) FROM table_name_43 WHERE location = "tiger stadium" AND date = "june 17" | On June 17 in Tiger stadium, what was the average home run? | <s>[INST]On June 17 in Tiger stadium, what was the average home run? Context: CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR)[/INST]SELECT AVG(home_run) FROM table_name_43 WHERE location = "tiger stadium" AND date = "june 17"</s> |
CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR) | SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 2003" | What is the title of the 8th doctor published in January 2003? | <s>[INST]What is the title of the 8th doctor published in January 2003? Context: CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR)[/INST]SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 2003"</s> |
CREATE TABLE table_name_76 (Id VARCHAR) | SELECT 2001 FROM table_name_76 WHERE 1999 = "toyota 1nz-fxe hybrid prius" | Which car won the same award in 2001 that the toyota 1nz-fxe hybrid prius won in 1999? | <s>[INST]Which car won the same award in 2001 that the toyota 1nz-fxe hybrid prius won in 1999? Context: CREATE TABLE table_name_76 (Id VARCHAR)[/INST]SELECT 2001 FROM table_name_76 WHERE 1999 = "toyota 1nz-fxe hybrid prius"</s> |
CREATE TABLE table_name_20 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_20 WHERE venue = "princes park" | When was the game played at Princes Park? | <s>[INST]When was the game played at Princes Park? Context: CREATE TABLE table_name_20 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE venue = "princes park"</s> |
CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR) | SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano" | Name the Valley Vista of Anthony Capuano | <s>[INST]Name the Valley Vista of Anthony Capuano Context: CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR)[/INST]SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano"</s> |
CREATE TABLE table_name_85 (last_5_meetings VARCHAR, current_streak VARCHAR) | SELECT last_5_meetings FROM table_name_85 WHERE current_streak = "l 1" | What was the result of the last 5 meetings for a team with an L 1 streak? | <s>[INST]What was the result of the last 5 meetings for a team with an L 1 streak? Context: CREATE TABLE table_name_85 (last_5_meetings VARCHAR, current_streak VARCHAR)[/INST]SELECT last_5_meetings FROM table_name_85 WHERE current_streak = "l 1"</s> |
CREATE TABLE table_name_62 (city VARCHAR, home_arena VARCHAR) | SELECT city FROM table_name_62 WHERE home_arena = "target center" | Which city includes the Target Center arena? | <s>[INST]Which city includes the Target Center arena? Context: CREATE TABLE table_name_62 (city VARCHAR, home_arena VARCHAR)[/INST]SELECT city FROM table_name_62 WHERE home_arena = "target center"</s> |
CREATE TABLE table_name_31 (year VARCHAR, result VARCHAR) | SELECT COUNT(year) FROM table_name_31 WHERE result = "11th" | In which year did he finish 11th? | <s>[INST]In which year did he finish 11th? Context: CREATE TABLE table_name_31 (year VARCHAR, result VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_31 WHERE result = "11th"</s> |
CREATE TABLE table_name_59 (european VARCHAR, play_off VARCHAR) | SELECT european FROM table_name_59 WHERE play_off = "relegated" | Which European has a Play-Off of relegated? | <s>[INST]Which European has a Play-Off of relegated? Context: CREATE TABLE table_name_59 (european VARCHAR, play_off VARCHAR)[/INST]SELECT european FROM table_name_59 WHERE play_off = "relegated"</s> |
CREATE TABLE table_name_80 (events INTEGER, top_10 VARCHAR, top_5 VARCHAR) | SELECT SUM(events) FROM table_name_80 WHERE top_10 = 7 AND top_5 > 4 | What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4? | <s>[INST]What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4? Context: CREATE TABLE table_name_80 (events INTEGER, top_10 VARCHAR, top_5 VARCHAR)[/INST]SELECT SUM(events) FROM table_name_80 WHERE top_10 = 7 AND top_5 > 4</s> |
CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR) | SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16" | What was the 'calling at' station of the train that departed on 18.16? | <s>[INST]What was the 'calling at' station of the train that departed on 18.16? Context: CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR)[/INST]SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16"</s> |
CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Project_outcomes (outcome_code VARCHAR) | SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code = T2.outcome_code | What are the descriptions of all the project outcomes? | <s>[INST]What are the descriptions of all the project outcomes? Context: CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Project_outcomes (outcome_code VARCHAR)[/INST]SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_cod... |
CREATE TABLE table_name_57 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_57 WHERE loss = "hideo nomo (3–5)" | What was the score when the loss was hideo nomo (3–5)? | <s>[INST]What was the score when the loss was hideo nomo (3–5)? Context: CREATE TABLE table_name_57 (score VARCHAR, loss VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE loss = "hideo nomo (3–5)"</s> |
CREATE TABLE table_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83" | Who wrote the episode that received 1.83 million U.S. viewers? | <s>[INST]Who wrote the episode that received 1.83 million U.S. viewers? Context: CREATE TABLE table_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83"</s> |
CREATE TABLE table_2676980_4 (electoral_district VARCHAR, total_candidates VARCHAR) | SELECT electoral_district FROM table_2676980_4 WHERE total_candidates = 35 | What is the electoral district when total candidates were 35? | <s>[INST]What is the electoral district when total candidates were 35? Context: CREATE TABLE table_2676980_4 (electoral_district VARCHAR, total_candidates VARCHAR)[/INST]SELECT electoral_district FROM table_2676980_4 WHERE total_candidates = 35</s> |
CREATE TABLE Accounts (customer_id VARCHAR) | SELECT COUNT(DISTINCT customer_id) FROM Accounts | How many customers have an account? | <s>[INST]How many customers have an account? Context: CREATE TABLE Accounts (customer_id VARCHAR)[/INST]SELECT COUNT(DISTINCT customer_id) FROM Accounts</s> |
CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_62 WHERE rank = 2 | What notes have 2 as the rank? | <s>[INST]What notes have 2 as the rank? Context: CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)[/INST]SELECT notes FROM table_name_62 WHERE rank = 2</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.