context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE station (installation_date VARCHAR, id VARCHAR); CREATE TABLE trip (id VARCHAR, end_station_id VARCHAR) | SELECT T1.id, T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id | For each trip, return its ending station's installation date. | <s>[INST]For each trip, return its ending station's installation date. Context: CREATE TABLE station (installation_date VARCHAR, id VARCHAR); CREATE TABLE trip (id VARCHAR, end_station_id VARCHAR)[/INST]SELECT T1.id, T2.installation_date FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id</s> |
CREATE TABLE table_name_50 (agg VARCHAR) | SELECT 2 AS nd_leg FROM table_name_50 WHERE agg = "4-6" | What was the score of the second leg with an agg of 4-6? | <s>[INST]What was the score of the second leg with an agg of 4-6? Context: CREATE TABLE table_name_50 (agg VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_50 WHERE agg = "4-6"</s> |
CREATE TABLE table_name_2 (winning_amount VARCHAR, date_premiered__2009_ VARCHAR) | SELECT winning_amount FROM table_name_2 WHERE date_premiered__2009_ = "may 30" | What is the winning amount that has May 30, 2009 as the date premiered? | <s>[INST]What is the winning amount that has May 30, 2009 as the date premiered? Context: CREATE TABLE table_name_2 (winning_amount VARCHAR, date_premiered__2009_ VARCHAR)[/INST]SELECT winning_amount FROM table_name_2 WHERE date_premiered__2009_ = "may 30"</s> |
CREATE TABLE table_21062353_1 (wildcats_points VARCHAR, game VARCHAR) | SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 11 | How many times did the Wildcats play a game 11 regardless of points scored? | <s>[INST]How many times did the Wildcats play a game 11 regardless of points scored? Context: CREATE TABLE table_21062353_1 (wildcats_points VARCHAR, game VARCHAR)[/INST]SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 11</s> |
CREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR) | SELECT winning_team FROM table_name_22 WHERE year = 2008 | Who was the winning team in 2008? | <s>[INST]Who was the winning team in 2008? Context: CREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR)[/INST]SELECT winning_team FROM table_name_22 WHERE year = 2008</s> |
CREATE TABLE table_22058547_1 (type VARCHAR, mascot VARCHAR) | SELECT type FROM table_22058547_1 WHERE mascot = "Trappers" | What school classifications have trappers as mascot? | <s>[INST]What school classifications have trappers as mascot? Context: CREATE TABLE table_22058547_1 (type VARCHAR, mascot VARCHAR)[/INST]SELECT type FROM table_22058547_1 WHERE mascot = "Trappers"</s> |
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR) | SELECT T1.template_type_code, COUNT(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code | Show all template type codes and the number of documents using each type. | <s>[INST]Show all template type codes and the number of documents using each type. Context: CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR)[/INST]SELECT T1.template_type_code, COUNT(*) FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_type_code</s> |
CREATE TABLE table_1886589_1 (socialist VARCHAR, lead VARCHAR) | SELECT COUNT(socialist) FROM table_1886589_1 WHERE lead = "12.6%" | How many socialist have a lead of 12.6%? | <s>[INST]How many socialist have a lead of 12.6%? Context: CREATE TABLE table_1886589_1 (socialist VARCHAR, lead VARCHAR)[/INST]SELECT COUNT(socialist) FROM table_1886589_1 WHERE lead = "12.6%"</s> |
CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_28 WHERE player = "ernie els" | What is the Score that has a Player of Ernie Els? | <s>[INST]What is the Score that has a Player of Ernie Els? Context: CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE player = "ernie els"</s> |
CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR) | SELECT date_to FROM table_name_47 WHERE name = "lee cook" | What is Date To, when Name is "Lee Cook"? | <s>[INST]What is Date To, when Name is "Lee Cook"? Context: CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)[/INST]SELECT date_to FROM table_name_47 WHERE name = "lee cook"</s> |
CREATE TABLE table_name_47 (riding VARCHAR, rank VARCHAR) | SELECT riding FROM table_name_47 WHERE rank = "4th" | What is the Riding, when the Rank is 4th? | <s>[INST]What is the Riding, when the Rank is 4th? Context: CREATE TABLE table_name_47 (riding VARCHAR, rank VARCHAR)[/INST]SELECT riding FROM table_name_47 WHERE rank = "4th"</s> |
CREATE TABLE table_name_2 (total INTEGER, player VARCHAR, scottish_cup VARCHAR) | SELECT AVG(total) FROM table_name_2 WHERE player = "simon donnelly" AND scottish_cup > 0 | What is the average total of player Simon Donnelly, with a Scottish Cup greater than 0? | <s>[INST]What is the average total of player Simon Donnelly, with a Scottish Cup greater than 0? Context: CREATE TABLE table_name_2 (total INTEGER, player VARCHAR, scottish_cup VARCHAR)[/INST]SELECT AVG(total) FROM table_name_2 WHERE player = "simon donnelly" AND scottish_cup > 0</s> |
CREATE TABLE table_name_55 (round VARCHAR, attendance VARCHAR) | SELECT round FROM table_name_55 WHERE attendance = "12,127" | What round has an attendance of 12,127? | <s>[INST]What round has an attendance of 12,127? Context: CREATE TABLE table_name_55 (round VARCHAR, attendance VARCHAR)[/INST]SELECT round FROM table_name_55 WHERE attendance = "12,127"</s> |
CREATE TABLE table_name_11 (serial_number VARCHAR, function__figure_ VARCHAR) | SELECT serial_number FROM table_name_11 WHERE function__figure_ = "space security trooper" | What is the Serial number for the Space Security Trooper Function (figure)? | <s>[INST]What is the Serial number for the Space Security Trooper Function (figure)? Context: CREATE TABLE table_name_11 (serial_number VARCHAR, function__figure_ VARCHAR)[/INST]SELECT serial_number FROM table_name_11 WHERE function__figure_ = "space security trooper"</s> |
CREATE TABLE table_name_73 (school VARCHAR, indoor_track VARCHAR, soccer VARCHAR, tennis VARCHAR) | SELECT school FROM table_name_73 WHERE soccer = "yes" AND tennis = "yes" AND indoor_track = "yes" | Which school has yes for soccer, tennis and indoor track. | <s>[INST]Which school has yes for soccer, tennis and indoor track. Context: CREATE TABLE table_name_73 (school VARCHAR, indoor_track VARCHAR, soccer VARCHAR, tennis VARCHAR)[/INST]SELECT school FROM table_name_73 WHERE soccer = "yes" AND tennis = "yes" AND indoor_track = "yes"</s> |
CREATE TABLE table_name_7 (score VARCHAR, partnering VARCHAR) | SELECT score FROM table_name_7 WHERE partnering = "nathalie tauziat" | What was the score of the game with Nathalie Tauziat as a partner? | <s>[INST]What was the score of the game with Nathalie Tauziat as a partner? Context: CREATE TABLE table_name_7 (score VARCHAR, partnering VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE partnering = "nathalie tauziat"</s> |
CREATE TABLE table_name_98 (venue VARCHAR, crowd INTEGER) | SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000 | What venue featured a crowd of over 30,000? | <s>[INST]What venue featured a crowd of over 30,000? Context: CREATE TABLE table_name_98 (venue VARCHAR, crowd INTEGER)[/INST]SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000</s> |
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR) | SELECT margin FROM table_262383_1 WHERE runner_s__up = "Skee Riegel" | what is the space where the next winner is skee riegel | <s>[INST]what is the space where the next winner is skee riegel Context: CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin FROM table_262383_1 WHERE runner_s__up = "Skee Riegel"</s> |
CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_17 WHERE away_team = "arsenal" | When was Arsenal was the away team? | <s>[INST]When was Arsenal was the away team? Context: CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE away_team = "arsenal"</s> |
CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR) | SELECT total FROM table_name_49 WHERE opponent = "csb uphds" | When the opposing team was CSB UPHDS what was the total? | <s>[INST]When the opposing team was CSB UPHDS what was the total? Context: CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR)[/INST]SELECT total FROM table_name_49 WHERE opponent = "csb uphds"</s> |
CREATE TABLE table_name_68 (points VARCHAR, year VARCHAR, engine VARCHAR) | SELECT points FROM table_name_68 WHERE year > 1950 AND engine = "maserati straight-6" | What points larger than 1950 has a maserati straight-6 engine? | <s>[INST]What points larger than 1950 has a maserati straight-6 engine? Context: CREATE TABLE table_name_68 (points VARCHAR, year VARCHAR, engine VARCHAR)[/INST]SELECT points FROM table_name_68 WHERE year > 1950 AND engine = "maserati straight-6"</s> |
CREATE TABLE table_1708050_3 (poles INTEGER) | SELECT MIN(poles) FROM table_1708050_3 | Name the most poles | <s>[INST]Name the most poles Context: CREATE TABLE table_1708050_3 (poles INTEGER)[/INST]SELECT MIN(poles) FROM table_1708050_3</s> |
CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, winner VARCHAR) | SELECT young_rider_classification FROM table_14710984_2 WHERE winner = "Marzio Bruseghin" | Who was awarded the young ride classification leader when the winner was Marzio Bruseghin? | <s>[INST]Who was awarded the young ride classification leader when the winner was Marzio Bruseghin? Context: CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, winner VARCHAR)[/INST]SELECT young_rider_classification FROM table_14710984_2 WHERE winner = "Marzio Bruseghin"</s> |
CREATE TABLE table_name_52 (laps INTEGER, rider VARCHAR) | SELECT SUM(laps) FROM table_name_52 WHERE rider = "pere riba" | How many laps did pere riba ride? | <s>[INST]How many laps did pere riba ride? Context: CREATE TABLE table_name_52 (laps INTEGER, rider VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_52 WHERE rider = "pere riba"</s> |
CREATE TABLE table_name_71 (country VARCHAR, wins INTEGER) | SELECT country FROM table_name_71 WHERE wins > 2 | Which Country has a number of Wins larger than 2? | <s>[INST]Which Country has a number of Wins larger than 2? Context: CREATE TABLE table_name_71 (country VARCHAR, wins INTEGER)[/INST]SELECT country FROM table_name_71 WHERE wins > 2</s> |
CREATE TABLE table_14363116_1 (birth_date VARCHAR, shirt_no VARCHAR) | SELECT birth_date FROM table_14363116_1 WHERE shirt_no = 7 | Name the birth date for shirt number 7 | <s>[INST]Name the birth date for shirt number 7 Context: CREATE TABLE table_14363116_1 (birth_date VARCHAR, shirt_no VARCHAR)[/INST]SELECT birth_date FROM table_14363116_1 WHERE shirt_no = 7</s> |
CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR) | SELECT school FROM table_11677100_18 WHERE hometown = "Irvine, CA" | What is the school for the player who's hometown was Irvine, CA? | <s>[INST]What is the school for the player who's hometown was Irvine, CA? Context: CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)[/INST]SELECT school FROM table_11677100_18 WHERE hometown = "Irvine, CA"</s> |
CREATE TABLE table_name_80 (record VARCHAR, game VARCHAR, date VARCHAR) | SELECT record FROM table_name_80 WHERE game > 55 AND date = "march 25" | What is Record, when Game is greater than 55, and when Date is "March 25"? | <s>[INST]What is Record, when Game is greater than 55, and when Date is "March 25"? Context: CREATE TABLE table_name_80 (record VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_80 WHERE game > 55 AND date = "march 25"</s> |
CREATE TABLE table_23128286_1 (races INTEGER) | SELECT MAX(races) FROM table_23128286_1 | What was the most races he had in a season? | <s>[INST]What was the most races he had in a season? Context: CREATE TABLE table_23128286_1 (races INTEGER)[/INST]SELECT MAX(races) FROM table_23128286_1</s> |
CREATE TABLE table_1601792_4 (transmitted VARCHAR, frequency VARCHAR) | SELECT COUNT(transmitted) FROM table_1601792_4 WHERE frequency = "7 UHF" | How many stations are transmitted on frequency 7 uhf? | <s>[INST]How many stations are transmitted on frequency 7 uhf? Context: CREATE TABLE table_1601792_4 (transmitted VARCHAR, frequency VARCHAR)[/INST]SELECT COUNT(transmitted) FROM table_1601792_4 WHERE frequency = "7 UHF"</s> |
CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR) | SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143" | What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143? | <s>[INST]What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143? Context: CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR)[/INST]SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143"</s> |
CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR) | SELECT SUM(season) FROM table_name_40 WHERE score = "1:3" AND venue = "national stadium, maldives" | Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives? | <s>[INST]Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives? Context: CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR)[/INST]SELECT SUM(season) FROM table_name_40 WHERE score = "1:3" AND venue = "national stadium, maldives"</s> |
CREATE TABLE table_name_95 (castilian VARCHAR, italian VARCHAR) | SELECT castilian FROM table_name_95 WHERE italian = "auto(mobile)" | What word would a Castilian speaker use for the Italian word auto(mobile)? | <s>[INST]What word would a Castilian speaker use for the Italian word auto(mobile)? Context: CREATE TABLE table_name_95 (castilian VARCHAR, italian VARCHAR)[/INST]SELECT castilian FROM table_name_95 WHERE italian = "auto(mobile)"</s> |
CREATE TABLE table_11677100_12 (position VARCHAR, hometown VARCHAR) | SELECT position FROM table_11677100_12 WHERE hometown = "Dallas, TX" | Which position did the player from the hometown of Dallas, TX play? | <s>[INST]Which position did the player from the hometown of Dallas, TX play? Context: CREATE TABLE table_11677100_12 (position VARCHAR, hometown VARCHAR)[/INST]SELECT position FROM table_11677100_12 WHERE hometown = "Dallas, TX"</s> |
CREATE TABLE table_3005450_1 (km_from_wellington VARCHAR, metlink_code VARCHAR) | SELECT km_from_wellington FROM table_3005450_1 WHERE metlink_code = "MAST" | what is the km from wellington where the metlink code is mast? | <s>[INST]what is the km from wellington where the metlink code is mast? Context: CREATE TABLE table_3005450_1 (km_from_wellington VARCHAR, metlink_code VARCHAR)[/INST]SELECT km_from_wellington FROM table_3005450_1 WHERE metlink_code = "MAST"</s> |
CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_24 WHERE away_team = "carlton" | what was the venue that hosted Carlton as the away team? | <s>[INST]what was the venue that hosted Carlton as the away team? Context: CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_24 WHERE away_team = "carlton"</s> |
CREATE TABLE table_name_7 (date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves" | What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves? | <s>[INST]What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves? Context: CREATE TABLE table_name_7 (date VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves"</s> |
CREATE TABLE table_27914606_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_27914606_1 WHERE us_viewers__millions_ = "5.56" | who were the writers of the episode that had 5.56 millions of north american viewers? | <s>[INST]who were the writers of the episode that had 5.56 millions of north american viewers? Context: CREATE TABLE table_27914606_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_27914606_1 WHERE us_viewers__millions_ = "5.56"</s> |
CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR, date VARCHAR) | SELECT venue FROM table_name_2 WHERE competition = "friendly match" AND date = "2 june 1992" | In what stadium was the friendly match on 2 June 1992 played in? | <s>[INST]In what stadium was the friendly match on 2 June 1992 played in? Context: CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_2 WHERE competition = "friendly match" AND date = "2 june 1992"</s> |
CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_33 WHERE home = "chicago" | what team was the visitor in the chicago game | <s>[INST]what team was the visitor in the chicago game Context: CREATE TABLE table_name_33 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_33 WHERE home = "chicago"</s> |
CREATE TABLE table_name_60 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR) | SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g" | Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g | <s>[INST]Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g Context: CREATE TABLE table_name_60 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR)[/INST]SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g"</s> |
CREATE TABLE table_28342423_1 (parent_unit VARCHAR, commanding_officer VARCHAR) | SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer = "Josef Priller" | Name the parent unit for josef priller | <s>[INST]Name the parent unit for josef priller Context: CREATE TABLE table_28342423_1 (parent_unit VARCHAR, commanding_officer VARCHAR)[/INST]SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer = "Josef Priller"</s> |
CREATE TABLE table_name_2 (rank__timeslot_ INTEGER, rank__night_ VARCHAR, rating VARCHAR) | SELECT AVG(rank__timeslot_) FROM table_name_2 WHERE rating > 2.9 AND rating / SHARE(18 - 49) = 2.6 / 8 AND rank__night_ > 5 | What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5? | <s>[INST]What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5? Context: CREATE TABLE table_name_2 (rank__timeslot_ INTEGER, rank__night_ VARCHAR, rating VARCHAR)[/INST]SELECT AVG(rank__timeslot_) FROM table_name_2 WHERE rating > 2.9 AND rating / SHARE(18 - 49) = 2.6 / 8 AND rank__night_ > 5</s> |
CREATE TABLE table_name_71 (stadium VARCHAR, score VARCHAR) | SELECT stadium FROM table_name_71 WHERE score = "6–3" | What stadium held the game that had a score of 6–3? | <s>[INST]What stadium held the game that had a score of 6–3? Context: CREATE TABLE table_name_71 (stadium VARCHAR, score VARCHAR)[/INST]SELECT stadium FROM table_name_71 WHERE score = "6–3"</s> |
CREATE TABLE table_name_2 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_2 WHERE opponents = "sun shengnan han xinyun" | What Date has Opponents of sun shengnan han xinyun? | <s>[INST]What Date has Opponents of sun shengnan han xinyun? Context: CREATE TABLE table_name_2 (date VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE opponents = "sun shengnan han xinyun"</s> |
CREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_27 WHERE tie_no = "6" | What was the score for Tie no. 6? | <s>[INST]What was the score for Tie no. 6? Context: CREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE tie_no = "6"</s> |
CREATE TABLE table_name_39 (report VARCHAR, fastest_lap VARCHAR) | SELECT report FROM table_name_39 WHERE fastest_lap = "douglas soares" | When Douglas Soares had the fastest lap, what was the report? | <s>[INST]When Douglas Soares had the fastest lap, what was the report? Context: CREATE TABLE table_name_39 (report VARCHAR, fastest_lap VARCHAR)[/INST]SELECT report FROM table_name_39 WHERE fastest_lap = "douglas soares"</s> |
CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_77 WHERE venue = "lake oval" | What was the away team's score in the match at Lake Oval? | <s>[INST]What was the away team's score in the match at Lake Oval? Context: CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_77 WHERE venue = "lake oval"</s> |
CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_36 WHERE venue = "windy hill" | What was the home team when the game was at Windy Hill? | <s>[INST]What was the home team when the game was at Windy Hill? Context: CREATE TABLE table_name_36 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_36 WHERE venue = "windy hill"</s> |
CREATE TABLE table_name_6 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_6 WHERE home_team = "essendon" | What is the average crowd size for the home team essendon? | <s>[INST]What is the average crowd size for the home team essendon? Context: CREATE TABLE table_name_6 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_6 WHERE home_team = "essendon"</s> |
CREATE TABLE table_2446333_2 (circuit VARCHAR, country VARCHAR) | SELECT circuit FROM table_2446333_2 WHERE country = "United Arab Emirates" | Name the circuit for united arab emirates | <s>[INST]Name the circuit for united arab emirates Context: CREATE TABLE table_2446333_2 (circuit VARCHAR, country VARCHAR)[/INST]SELECT circuit FROM table_2446333_2 WHERE country = "United Arab Emirates"</s> |
CREATE TABLE table_name_65 (quantity_made VARCHAR, year_made VARCHAR) | SELECT quantity_made FROM table_name_65 WHERE year_made = "4-4-0 — oooo — american" | What is Quantity Made, when Year Made is "4-4-0 — oooo — american"? | <s>[INST]What is Quantity Made, when Year Made is "4-4-0 — oooo — american"? Context: CREATE TABLE table_name_65 (quantity_made VARCHAR, year_made VARCHAR)[/INST]SELECT quantity_made FROM table_name_65 WHERE year_made = "4-4-0 — oooo — american"</s> |
CREATE TABLE table_name_10 (loss VARCHAR, opponent VARCHAR) | SELECT loss FROM table_name_10 WHERE opponent = "angels" | Name the loss for the angels opponent | <s>[INST]Name the loss for the angels opponent Context: CREATE TABLE table_name_10 (loss VARCHAR, opponent VARCHAR)[/INST]SELECT loss FROM table_name_10 WHERE opponent = "angels"</s> |
CREATE TABLE table_name_75 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_75 WHERE player = "jack nicklaus" | What country is jack nicklaus from? | <s>[INST]What country is jack nicklaus from? Context: CREATE TABLE table_name_75 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_75 WHERE player = "jack nicklaus"</s> |
CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63" | What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes? | <s>[INST]What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes? Context: CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63"</s> |
CREATE TABLE table_name_73 (points_for VARCHAR, played VARCHAR, tries_for VARCHAR) | SELECT points_for FROM table_name_73 WHERE played = "22" AND tries_for = "91" | Nam the points for when tries for is 91 and played of 22 | <s>[INST]Nam the points for when tries for is 91 and played of 22 Context: CREATE TABLE table_name_73 (points_for VARCHAR, played VARCHAR, tries_for VARCHAR)[/INST]SELECT points_for FROM table_name_73 WHERE played = "22" AND tries_for = "91"</s> |
CREATE TABLE table_14342592_5 (field_goals VARCHAR, position VARCHAR) | SELECT COUNT(field_goals) FROM table_14342592_5 WHERE position = "Right end" | How many field goals were made by someone playing position of right end? | <s>[INST]How many field goals were made by someone playing position of right end? Context: CREATE TABLE table_14342592_5 (field_goals VARCHAR, position VARCHAR)[/INST]SELECT COUNT(field_goals) FROM table_14342592_5 WHERE position = "Right end"</s> |
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_82 WHERE attendance = "34,063" | Who did the Chiefs play at the game attended by 34,063? | <s>[INST]Who did the Chiefs play at the game attended by 34,063? Context: CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_82 WHERE attendance = "34,063"</s> |
CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR) | SELECT AVG(game) FROM table_name_32 WHERE record = "1-3" AND opponents > 103 | In which game did the opponent score more than 103 and the record was 1-3? | <s>[INST]In which game did the opponent score more than 103 and the record was 1-3? Context: CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR)[/INST]SELECT AVG(game) FROM table_name_32 WHERE record = "1-3" AND opponents > 103</s> |
CREATE TABLE table_name_45 (top_25 INTEGER, events VARCHAR, wins VARCHAR) | SELECT AVG(top_25) FROM table_name_45 WHERE events = 20 AND wins > 2 | What is the Top-25 with an Events of 20, and a Wins larger than 2? | <s>[INST]What is the Top-25 with an Events of 20, and a Wins larger than 2? Context: CREATE TABLE table_name_45 (top_25 INTEGER, events VARCHAR, wins VARCHAR)[/INST]SELECT AVG(top_25) FROM table_name_45 WHERE events = 20 AND wins > 2</s> |
CREATE TABLE table_18278508_4 (main_contestant VARCHAR, position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT COUNT(main_contestant) FROM table_18278508_4 WHERE position = "Safe" AND co_contestant__yaar_vs_pyaar_ = "Tina Parekh" | Name the total number of main contestants for safe position for tina parekh | <s>[INST]Name the total number of main contestants for safe position for tina parekh Context: CREATE TABLE table_18278508_4 (main_contestant VARCHAR, position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT COUNT(main_contestant) FROM table_18278508_4 WHERE position = "Safe" AND co_contestant__yaar_vs_pyaar_ = "Tina Parekh"</s> |
CREATE TABLE table_name_9 (Id VARCHAR) | SELECT 2011 FROM table_name_9 WHERE 2002 = "1r" AND 2009 = "a" | Name the 2011 with 2002 of 1r and 2009 of a | <s>[INST]Name the 2011 with 2002 of 1r and 2009 of a Context: CREATE TABLE table_name_9 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_9 WHERE 2002 = "1r" AND 2009 = "a"</s> |
CREATE TABLE table_name_42 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_42 WHERE away_team = "arsenal" | What is the score for the game in which Arsenal was the away team? | <s>[INST]What is the score for the game in which Arsenal was the away team? Context: CREATE TABLE table_name_42 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_42 WHERE away_team = "arsenal"</s> |
CREATE TABLE table_name_20 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT high_assists FROM table_name_20 WHERE location_attendance = "20,562" | Who has the high assists when location attendance is 20,562? | <s>[INST]Who has the high assists when location attendance is 20,562? Context: CREATE TABLE table_name_20 (high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_assists FROM table_name_20 WHERE location_attendance = "20,562"</s> |
CREATE TABLE table_17319931_1 (car_no VARCHAR, time_retired VARCHAR) | SELECT COUNT(car_no) FROM table_17319931_1 WHERE time_retired = "+4.0019" | How many car numbers were recorded when the time/retired is +4.0019? | <s>[INST]How many car numbers were recorded when the time/retired is +4.0019? Context: CREATE TABLE table_17319931_1 (car_no VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(car_no) FROM table_17319931_1 WHERE time_retired = "+4.0019"</s> |
CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) | SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" | While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast? | <s>[INST]While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast? Context: CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)[/INST]SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell"</s> |
CREATE TABLE table_name_92 (name VARCHAR, license VARCHAR, current_version VARCHAR) | SELECT name FROM table_name_92 WHERE license = "gpl v2" AND current_version = "0.9.9" | Who has a licence of gpl v2 and a current version of 0.9.9? | <s>[INST]Who has a licence of gpl v2 and a current version of 0.9.9? Context: CREATE TABLE table_name_92 (name VARCHAR, license VARCHAR, current_version VARCHAR)[/INST]SELECT name FROM table_name_92 WHERE license = "gpl v2" AND current_version = "0.9.9"</s> |
CREATE TABLE table_name_97 (capacity VARCHAR, city_area VARCHAR) | SELECT capacity FROM table_name_97 WHERE city_area = "chester" | What is the capacity for the arena in Chester? | <s>[INST]What is the capacity for the arena in Chester? Context: CREATE TABLE table_name_97 (capacity VARCHAR, city_area VARCHAR)[/INST]SELECT capacity FROM table_name_97 WHERE city_area = "chester"</s> |
CREATE TABLE table_175980_2 (season VARCHAR, ranking VARCHAR) | SELECT season FROM table_175980_2 WHERE ranking = "#47" | What seasons had a ranking of #47? | <s>[INST]What seasons had a ranking of #47? Context: CREATE TABLE table_175980_2 (season VARCHAR, ranking VARCHAR)[/INST]SELECT season FROM table_175980_2 WHERE ranking = "#47"</s> |
CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_34 WHERE attendance = "62,657" | Who was the opponent at the game attended by 62,657? | <s>[INST]Who was the opponent at the game attended by 62,657? Context: CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_34 WHERE attendance = "62,657"</s> |
CREATE TABLE table_10975034_4 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_10975034_4 WHERE pick__number = 27 | Which players have a pick number of 27? | <s>[INST]Which players have a pick number of 27? Context: CREATE TABLE table_10975034_4 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_10975034_4 WHERE pick__number = 27</s> |
CREATE TABLE table_22875369_3 (irish_points INTEGER, opponent VARCHAR) | SELECT MAX(irish_points) FROM table_22875369_3 WHERE opponent = "Eastern Michigan" | Name the max irish points for eastern michigan | <s>[INST]Name the max irish points for eastern michigan Context: CREATE TABLE table_22875369_3 (irish_points INTEGER, opponent VARCHAR)[/INST]SELECT MAX(irish_points) FROM table_22875369_3 WHERE opponent = "Eastern Michigan"</s> |
CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, knobbilled_duck VARCHAR) | SELECT hadeda_ibis FROM table_20042805_2 WHERE knobbilled_duck = "Pied Crow" | What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? | <s>[INST]What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? Context: CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, knobbilled_duck VARCHAR)[/INST]SELECT hadeda_ibis FROM table_20042805_2 WHERE knobbilled_duck = "Pied Crow"</s> |
CREATE TABLE table_name_94 (chassis VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_94 WHERE year = 1993 | Which chassis was made in 1993? | <s>[INST]Which chassis was made in 1993? Context: CREATE TABLE table_name_94 (chassis VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_94 WHERE year = 1993</s> |
CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR) | SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186 | What is the average draw for 186 games? | <s>[INST]What is the average draw for 186 games? Context: CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR)[/INST]SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186</s> |
CREATE TABLE table_name_86 (wins INTEGER, top_25 VARCHAR, top_5 VARCHAR) | SELECT AVG(wins) FROM table_name_86 WHERE top_25 = 3 AND top_5 > 1 | What is the Wins with a Top-25 of 3, and a Top-5 larger than 1? | <s>[INST]What is the Wins with a Top-25 of 3, and a Top-5 larger than 1? Context: CREATE TABLE table_name_86 (wins INTEGER, top_25 VARCHAR, top_5 VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_86 WHERE top_25 = 3 AND top_5 > 1</s> |
CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, launch_date VARCHAR) | SELECT primary_payload_s_ FROM table_14118521_1 WHERE launch_date = "July 8, 1994" | what's the primary payload(s) with launch date being july 8, 1994 | <s>[INST]what's the primary payload(s) with launch date being july 8, 1994 Context: CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, launch_date VARCHAR)[/INST]SELECT primary_payload_s_ FROM table_14118521_1 WHERE launch_date = "July 8, 1994"</s> |
CREATE TABLE table_name_65 (chapter VARCHAR, location VARCHAR) | SELECT chapter FROM table_name_65 WHERE location = "normal, illinois" | What chapter is located in Normal, Illinois? | <s>[INST]What chapter is located in Normal, Illinois? Context: CREATE TABLE table_name_65 (chapter VARCHAR, location VARCHAR)[/INST]SELECT chapter FROM table_name_65 WHERE location = "normal, illinois"</s> |
CREATE TABLE table_27369069_1 (province VARCHAR, founded VARCHAR) | SELECT province FROM table_27369069_1 WHERE founded = 2005 | which providence's soccer stadium was founded in 2005? | <s>[INST]which providence's soccer stadium was founded in 2005? Context: CREATE TABLE table_27369069_1 (province VARCHAR, founded VARCHAR)[/INST]SELECT province FROM table_27369069_1 WHERE founded = 2005</s> |
CREATE TABLE table_name_38 (to_par INTEGER, player VARCHAR) | SELECT AVG(to_par) FROM table_name_38 WHERE player = "bud holscher" | What is average to par when Bud Holscher is the player? | <s>[INST]What is average to par when Bud Holscher is the player? Context: CREATE TABLE table_name_38 (to_par INTEGER, player VARCHAR)[/INST]SELECT AVG(to_par) FROM table_name_38 WHERE player = "bud holscher"</s> |
CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR) | SELECT built FROM table_name_8 WHERE wheels = "0-4-0" AND status = "in service" | What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service? | <s>[INST]What is found in the Built column of the locomotive with 0-4-0 wheels that is still in service? Context: CREATE TABLE table_name_8 (built VARCHAR, wheels VARCHAR, status VARCHAR)[/INST]SELECT built FROM table_name_8 WHERE wheels = "0-4-0" AND status = "in service"</s> |
CREATE TABLE table_name_28 (date VARCHAR, high_rebounds VARCHAR) | SELECT date FROM table_name_28 WHERE high_rebounds = "amar'e stoudemire (13)" | What is Date, when High Rebounds is "Amar'e Stoudemire (13)"? | <s>[INST]What is Date, when High Rebounds is "Amar'e Stoudemire (13)"? Context: CREATE TABLE table_name_28 (date VARCHAR, high_rebounds VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE high_rebounds = "amar'e stoudemire (13)"</s> |
CREATE TABLE table_1331313_1 (department VARCHAR, incumbent VARCHAR) | SELECT department FROM table_1331313_1 WHERE incumbent = "Enrique Ona" | what's the department with incumbent being enrique ona | <s>[INST]what's the department with incumbent being enrique ona Context: CREATE TABLE table_1331313_1 (department VARCHAR, incumbent VARCHAR)[/INST]SELECT department FROM table_1331313_1 WHERE incumbent = "Enrique Ona"</s> |
CREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR) | SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = "2000/01" | How many people are women's singles in the season of 2000/01? | <s>[INST]How many people are women's singles in the season of 2000/01? Context: CREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR)[/INST]SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = "2000/01"</s> |
CREATE TABLE table_name_32 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_name_32 WHERE college = "manitoba" | Which cfl team was associated with the college of manitoba? | <s>[INST]Which cfl team was associated with the college of manitoba? Context: CREATE TABLE table_name_32 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_name_32 WHERE college = "manitoba"</s> |
CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_7 WHERE attendance = "postponed" | Name the date for postponed attendance | <s>[INST]Name the date for postponed attendance Context: CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE attendance = "postponed"</s> |
CREATE TABLE table_name_75 (laps INTEGER, manufacturer VARCHAR, time VARCHAR) | SELECT MAX(laps) FROM table_name_75 WHERE manufacturer = "aprilia" AND time = "+1:36.557" | Which manufacturer of aprilia wth time of +1:36.557 has the highest lap? | <s>[INST]Which manufacturer of aprilia wth time of +1:36.557 has the highest lap? Context: CREATE TABLE table_name_75 (laps INTEGER, manufacturer VARCHAR, time VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_75 WHERE manufacturer = "aprilia" AND time = "+1:36.557"</s> |
CREATE TABLE table_name_71 (region VARCHAR, japanese VARCHAR) | SELECT region FROM table_name_71 WHERE japanese = "八尾" | What region has the symbol 八尾? | <s>[INST]What region has the symbol 八尾? Context: CREATE TABLE table_name_71 (region VARCHAR, japanese VARCHAR)[/INST]SELECT region FROM table_name_71 WHERE japanese = "八尾"</s> |
CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR) | SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236" | What is the Rank of industrial and commercial bank of china 277,236? | <s>[INST]What is the Rank of industrial and commercial bank of china 277,236? Context: CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR)[/INST]SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236"</s> |
CREATE TABLE table_name_23 (career_w_l VARCHAR) | SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = "4r" | What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974? | <s>[INST]What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974? Context: CREATE TABLE table_name_23 (career_w_l VARCHAR)[/INST]SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = "4r"</s> |
CREATE TABLE table_name_13 (position VARCHAR, number VARCHAR) | SELECT position FROM table_name_13 WHERE number = "23" | Which position does number 23 play? | <s>[INST]Which position does number 23 play? Context: CREATE TABLE table_name_13 (position VARCHAR, number VARCHAR)[/INST]SELECT position FROM table_name_13 WHERE number = "23"</s> |
CREATE TABLE table_26240481_1 (opponents_head_coach VARCHAR, result VARCHAR) | SELECT opponents_head_coach FROM table_26240481_1 WHERE result = "L, 56-6" | Who was the opponents head coach with the result L, 56-6? | <s>[INST]Who was the opponents head coach with the result L, 56-6? Context: CREATE TABLE table_26240481_1 (opponents_head_coach VARCHAR, result VARCHAR)[/INST]SELECT opponents_head_coach FROM table_26240481_1 WHERE result = "L, 56-6"</s> |
CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR) | SELECT season FROM table_name_48 WHERE country = "china" AND team = "dalian shide" AND goals = 0 | What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0? | <s>[INST]What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0? Context: CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR)[/INST]SELECT season FROM table_name_48 WHERE country = "china" AND team = "dalian shide" AND goals = 0</s> |
CREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR) | SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal" | What is the Elimination move listed against Regal? | <s>[INST]What is the Elimination move listed against Regal? Context: CREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR)[/INST]SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal"</s> |
CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR) | SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-6" | Tell me the carburetor for engine of 250-1v i-6 | <s>[INST]Tell me the carburetor for engine of 250-1v i-6 Context: CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR)[/INST]SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-6"</s> |
CREATE TABLE table_name_6 (country VARCHAR, type VARCHAR) | SELECT country FROM table_name_6 WHERE type = "loan" | What country has a loan as the type? | <s>[INST]What country has a loan as the type? Context: CREATE TABLE table_name_6 (country VARCHAR, type VARCHAR)[/INST]SELECT country FROM table_name_6 WHERE type = "loan"</s> |
CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR) | SELECT character_name FROM table_name_76 WHERE voice_actor__japanese_ = "masaharu satou" | what character did Masaharu satou play | <s>[INST]what character did Masaharu satou play Context: CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)[/INST]SELECT character_name FROM table_name_76 WHERE voice_actor__japanese_ = "masaharu satou"</s> |
CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_id VARCHAR) | SELECT COUNT(*), T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_id | For each product which has problems, what are the number of problems and the product id? | <s>[INST]For each product which has problems, what are the number of problems and the product id? Context: CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_id VARCHAR)[/INST]SELECT COUNT(*), T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_id</s> |
CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_52 WHERE score = "92–93" | Which Opponent has a Score of 92–93? | <s>[INST]Which Opponent has a Score of 92–93? Context: CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE score = "92–93"</s> |
CREATE TABLE table_name_59 (attendance VARCHAR, score VARCHAR) | SELECT COUNT(attendance) FROM table_name_59 WHERE score = "3–2" | What is the Attendance of the game with a Score of 3–2? | <s>[INST]What is the Attendance of the game with a Score of 3–2? Context: CREATE TABLE table_name_59 (attendance VARCHAR, score VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_59 WHERE score = "3–2"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.