context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, player VARCHAR) | SELECT years_for_jazz FROM table_11545282_6 WHERE player = "Jim Farmer" | During which years did Jim Farmer play for Jazz? | <s>[INST]During which years did Jim Farmer play for Jazz? Context: CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, player VARCHAR)[/INST]SELECT years_for_jazz FROM table_11545282_6 WHERE player = "Jim Farmer"</s> |
CREATE TABLE table_28037619_2 (us_viewers__million_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT us_viewers__million_ FROM table_28037619_2 WHERE directed_by = "Roger Young" AND written_by = "Debra J. Fisher" | How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher? | <s>[INST]How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher? Context: CREATE TABLE table_28037619_2 (us_viewers__million_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_28037619_2 WHERE directed_by = "Roger Young" AND written_by = "Debra J. Fisher"</s> |
CREATE TABLE table_27537870_6 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_27537870_6 WHERE record = "22-21-5" | If the record was 22-21-5, who was the opponent? | <s>[INST]If the record was 22-21-5, who was the opponent? Context: CREATE TABLE table_27537870_6 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_27537870_6 WHERE record = "22-21-5"</s> |
CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_47 WHERE venue = "victoria park" | Who was the away team for the game at Victoria Park? | <s>[INST]Who was the away team for the game at Victoria Park? Context: CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_47 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR) | SELECT period FROM table_name_9 WHERE player = "stanislav chistov" | In which period did Stanislav Chistov get a penalty? | <s>[INST]In which period did Stanislav Chistov get a penalty? Context: CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR)[/INST]SELECT period FROM table_name_9 WHERE player = "stanislav chistov"</s> |
CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, pick VARCHAR) | SELECT player FROM table_name_69 WHERE position = "linebacker" AND pick > 28 | Which Player is linebacker and has a pick larger than 28? | <s>[INST]Which Player is linebacker and has a pick larger than 28? Context: CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_69 WHERE position = "linebacker" AND pick > 28</s> |
CREATE TABLE table_28039032_1 (clubs_involved VARCHAR, round VARCHAR) | SELECT clubs_involved FROM table_28039032_1 WHERE round = "Second round" | How many clubs were involved in the second round? | <s>[INST]How many clubs were involved in the second round? Context: CREATE TABLE table_28039032_1 (clubs_involved VARCHAR, round VARCHAR)[/INST]SELECT clubs_involved FROM table_28039032_1 WHERE round = "Second round"</s> |
CREATE TABLE table_2624098_1 (latin_day_name_meaning VARCHAR, glossed_from_latin_day_name VARCHAR) | SELECT latin_day_name_meaning FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Saturni" | what is the meaning of the latin day name "dies saturni"? | <s>[INST]what is the meaning of the latin day name "dies saturni"? Context: CREATE TABLE table_2624098_1 (latin_day_name_meaning VARCHAR, glossed_from_latin_day_name VARCHAR)[/INST]SELECT latin_day_name_meaning FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Saturni"</s> |
CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_77 WHERE venue = "princes park" | Which Away team uses Princes Park as it's venue? | <s>[INST]Which Away team uses Princes Park as it's venue? Context: CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_77 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_32 (feature INTEGER, wins VARCHAR, sprint VARCHAR) | SELECT MIN(feature) FROM table_name_32 WHERE wins = 2 AND sprint = 2 | What is the lowest feature with 2 wins and 2 sprints? | <s>[INST]What is the lowest feature with 2 wins and 2 sprints? Context: CREATE TABLE table_name_32 (feature INTEGER, wins VARCHAR, sprint VARCHAR)[/INST]SELECT MIN(feature) FROM table_name_32 WHERE wins = 2 AND sprint = 2</s> |
CREATE TABLE table_26919_7 (hebrew VARCHAR, english VARCHAR) | SELECT hebrew FROM table_26919_7 WHERE english = "heart" | If in english it is heart, what is it in hebrew? | <s>[INST]If in english it is heart, what is it in hebrew? Context: CREATE TABLE table_26919_7 (hebrew VARCHAR, english VARCHAR)[/INST]SELECT hebrew FROM table_26919_7 WHERE english = "heart"</s> |
CREATE TABLE table_name_63 (opposing_teams VARCHAR, date VARCHAR) | SELECT opposing_teams FROM table_name_63 WHERE date = "11/04/1999" | What opposing teams playing on 11/04/1999? | <s>[INST]What opposing teams playing on 11/04/1999? Context: CREATE TABLE table_name_63 (opposing_teams VARCHAR, date VARCHAR)[/INST]SELECT opposing_teams FROM table_name_63 WHERE date = "11/04/1999"</s> |
CREATE TABLE table_name_28 (current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR) | SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers" | What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers? | <s>[INST]What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers? Context: CREATE TABLE table_name_28 (current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR)[/INST]SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers"</s> |
CREATE TABLE table_name_13 (Id VARCHAR) | SELECT 1998 FROM table_name_13 WHERE 2007 = "8" | What is the 1998 value if the 2007 value is 8? | <s>[INST]What is the 1998 value if the 2007 value is 8? Context: CREATE TABLE table_name_13 (Id VARCHAR)[/INST]SELECT 1998 FROM table_name_13 WHERE 2007 = "8"</s> |
CREATE TABLE table_27423508_1 (english_title VARCHAR, result VARCHAR) | SELECT english_title FROM table_27423508_1 WHERE result = "Nominee" | What was the English title fo the film that was a nominee? | <s>[INST]What was the English title fo the film that was a nominee? Context: CREATE TABLE table_27423508_1 (english_title VARCHAR, result VARCHAR)[/INST]SELECT english_title FROM table_27423508_1 WHERE result = "Nominee"</s> |
CREATE TABLE table_name_49 (time VARCHAR, winner VARCHAR) | SELECT time FROM table_name_49 WHERE winner = "kentucky ii" | What was the winning time for the winning horse, Kentucky ii? | <s>[INST]What was the winning time for the winning horse, Kentucky ii? Context: CREATE TABLE table_name_49 (time VARCHAR, winner VARCHAR)[/INST]SELECT time FROM table_name_49 WHERE winner = "kentucky ii"</s> |
CREATE TABLE table_name_22 (accreditation_type VARCHAR, company_name VARCHAR) | SELECT accreditation_type FROM table_name_22 WHERE company_name = "vodacom group pty ltd (vodafone group)" | What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)? | <s>[INST]What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)? Context: CREATE TABLE table_name_22 (accreditation_type VARCHAR, company_name VARCHAR)[/INST]SELECT accreditation_type FROM table_name_22 WHERE company_name = "vodacom group pty ltd (vodafone group)"</s> |
CREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR) | SELECT date FROM table_11964047_9 WHERE visitor = "Phoenix Suns" AND record = "31–30" | what's the date where visitor is phoenix suns and record is 31–30 | <s>[INST] what's the date where visitor is phoenix suns and record is 31–30 Context: CREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_11964047_9 WHERE visitor = "Phoenix Suns" AND record = "31–30"</s> |
CREATE TABLE table_name_39 (Id VARCHAR) | SELECT 1989 FROM table_name_39 WHERE 1999 = "f" AND 1994 = "2r" | What is 1989, when 1999 is F, and when 1994 is 2R? | <s>[INST]What is 1989, when 1999 is F, and when 1994 is 2R? Context: CREATE TABLE table_name_39 (Id VARCHAR)[/INST]SELECT 1989 FROM table_name_39 WHERE 1999 = "f" AND 1994 = "2r"</s> |
CREATE TABLE table_1670921_1 (venue VARCHAR, batting_partners VARCHAR) | SELECT venue FROM table_1670921_1 WHERE batting_partners = "Mahela Jayawardene and Prasanna Jayawardene" | What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene | <s>[INST]What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene Context: CREATE TABLE table_1670921_1 (venue VARCHAR, batting_partners VARCHAR)[/INST]SELECT venue FROM table_1670921_1 WHERE batting_partners = "Mahela Jayawardene and Prasanna Jayawardene"</s> |
CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta" | Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta? | <s>[INST]Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta? Context: CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta"</s> |
CREATE TABLE table_name_62 (laps VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_62 WHERE grid = "5" | How many laps has a grid of 5? | <s>[INST]How many laps has a grid of 5? Context: CREATE TABLE table_name_62 (laps VARCHAR, grid VARCHAR)[/INST]SELECT laps FROM table_name_62 WHERE grid = "5"</s> |
CREATE TABLE table_name_94 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_94 WHERE opponent = "detroit lions" | What is the lowest week number where they played against the Detroit Lions? | <s>[INST]What is the lowest week number where they played against the Detroit Lions? Context: CREATE TABLE table_name_94 (week INTEGER, opponent VARCHAR)[/INST]SELECT MIN(week) FROM table_name_94 WHERE opponent = "detroit lions"</s> |
CREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR) | SELECT MIN(to_par) FROM table_name_8 WHERE player = "gary player" AND total > 145 | What is the lowest To par of gary player, with more than 145 total? | <s>[INST]What is the lowest To par of gary player, with more than 145 total? Context: CREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)[/INST]SELECT MIN(to_par) FROM table_name_8 WHERE player = "gary player" AND total > 145</s> |
CREATE TABLE table_name_99 (player VARCHAR, money___£__ VARCHAR, country VARCHAR) | SELECT player FROM table_name_99 WHERE money___£__ = "159,500" AND country = "france" | What player has money of (£) 159,500, and france is the country? | <s>[INST]What player has money of (£) 159,500, and france is the country? Context: CREATE TABLE table_name_99 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_99 WHERE money___£__ = "159,500" AND country = "france"</s> |
CREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (name VARCHAR, member_id VARCHAR) | SELECT name FROM member WHERE NOT member_id IN (SELECT member_id FROM membership_register_branch) | Show member names without any registered branch. | <s>[INST]Show member names without any registered branch. Context: CREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (name VARCHAR, member_id VARCHAR)[/INST]SELECT name FROM member WHERE NOT member_id IN (SELECT member_id FROM membership_register_branch)</s> |
CREATE TABLE table_name_17 (points VARCHAR, driver VARCHAR) | SELECT points FROM table_name_17 WHERE driver = "kosuke matsuura" | How many points does driver kosuke matsuura have? | <s>[INST]How many points does driver kosuke matsuura have? Context: CREATE TABLE table_name_17 (points VARCHAR, driver VARCHAR)[/INST]SELECT points FROM table_name_17 WHERE driver = "kosuke matsuura"</s> |
CREATE TABLE table_name_58 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT gold FROM table_name_58 WHERE bronze = 1 AND silver > 0 | Who ha the gold and 1 bronze, and more than 0 silver? | <s>[INST]Who ha the gold and 1 bronze, and more than 0 silver? Context: CREATE TABLE table_name_58 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT gold FROM table_name_58 WHERE bronze = 1 AND silver > 0</s> |
CREATE TABLE table_name_86 (pick INTEGER, player VARCHAR) | SELECT MAX(pick) FROM table_name_86 WHERE player = "todd van poppel" | What is the highest Pick, when Player is "Todd Van Poppel"? | <s>[INST]What is the highest Pick, when Player is "Todd Van Poppel"? Context: CREATE TABLE table_name_86 (pick INTEGER, player VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_86 WHERE player = "todd van poppel"</s> |
CREATE TABLE table_name_23 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_23 WHERE catalog = "sbp 234999" | What is the Format of the Label with Catalog SBP 234999? | <s>[INST]What is the Format of the Label with Catalog SBP 234999? Context: CREATE TABLE table_name_23 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_23 WHERE catalog = "sbp 234999"</s> |
CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR) | SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars" | What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars? | <s>[INST]What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars? Context: CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)[/INST]SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars"</s> |
CREATE TABLE table_name_79 (serie_a INTEGER, coppa_italia VARCHAR) | SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 5 | What's the Serie A when the coppa italia was 5? | <s>[INST]What's the Serie A when the coppa italia was 5? Context: CREATE TABLE table_name_79 (serie_a INTEGER, coppa_italia VARCHAR)[/INST]SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 5</s> |
CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR) | SELECT traditional FROM table_1638437_2 WHERE population = 74779 | Name the traditional for population 74779 | <s>[INST]Name the traditional for population 74779 Context: CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR)[/INST]SELECT traditional FROM table_1638437_2 WHERE population = 74779</s> |
CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_92 WHERE location_attendance = "the spectrum" | What was the date for the game that had a Location/Attendance of the spectrum? | <s>[INST]What was the date for the game that had a Location/Attendance of the spectrum? Context: CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE location_attendance = "the spectrum"</s> |
CREATE TABLE table_1601935_1 (archive VARCHAR, viewers__in_millions_ VARCHAR) | SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ = "6.6" | What was the archive for episode with 6.6 million viewers? | <s>[INST]What was the archive for episode with 6.6 million viewers? Context: CREATE TABLE table_1601935_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ = "6.6"</s> |
CREATE TABLE table_name_80 (round VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT round FROM table_name_80 WHERE winning_driver = "uwe alzen" AND circuit = "sepang international circuit" | Which round had a winning driver of Uwe Alzen, at the Sepang International circuit? | <s>[INST]Which round had a winning driver of Uwe Alzen, at the Sepang International circuit? Context: CREATE TABLE table_name_80 (round VARCHAR, winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT round FROM table_name_80 WHERE winning_driver = "uwe alzen" AND circuit = "sepang international circuit"</s> |
CREATE TABLE table_1360997_3 (winner_2nd VARCHAR, time VARCHAR) | SELECT winner_2nd FROM table_1360997_3 WHERE time = "1:36.30" | When the time is 1:36.30 what shows as winner? | <s>[INST]When the time is 1:36.30 what shows as winner? Context: CREATE TABLE table_1360997_3 (winner_2nd VARCHAR, time VARCHAR)[/INST]SELECT winner_2nd FROM table_1360997_3 WHERE time = "1:36.30"</s> |
CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, points VARCHAR, class VARCHAR) | SELECT MIN(wins) FROM table_name_75 WHERE points < 32 AND class = "350cc" AND rank = "8th" | What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class? | <s>[INST]What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class? Context: CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, points VARCHAR, class VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_75 WHERE points < 32 AND class = "350cc" AND rank = "8th"</s> |
CREATE TABLE table_name_61 (colonized VARCHAR, charter_range VARCHAR, school VARCHAR) | SELECT colonized FROM table_name_61 WHERE charter_range = "n/a" AND school = "appalachian state" | What is the colonized date for the n/a charter range for appalachian state? | <s>[INST]What is the colonized date for the n/a charter range for appalachian state? Context: CREATE TABLE table_name_61 (colonized VARCHAR, charter_range VARCHAR, school VARCHAR)[/INST]SELECT colonized FROM table_name_61 WHERE charter_range = "n/a" AND school = "appalachian state"</s> |
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135 | Which Country has a Score of 69-66=135? | <s>[INST]Which Country has a Score of 69-66=135? Context: CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_76 WHERE score = 69 - 66 = 135</s> |
CREATE TABLE table_name_99 (netflix VARCHAR, segment_b VARCHAR) | SELECT netflix FROM table_name_99 WHERE segment_b = "aerospace fuel lines" | Segment B of aerospace fuel lines is what netflix episode? | <s>[INST]Segment B of aerospace fuel lines is what netflix episode? Context: CREATE TABLE table_name_99 (netflix VARCHAR, segment_b VARCHAR)[/INST]SELECT netflix FROM table_name_99 WHERE segment_b = "aerospace fuel lines"</s> |
CREATE TABLE table_name_52 (round VARCHAR, college VARCHAR) | SELECT COUNT(round) FROM table_name_52 WHERE college = "lsu" | College of lsu has how many rounds? | <s>[INST]College of lsu has how many rounds? Context: CREATE TABLE table_name_52 (round VARCHAR, college VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_52 WHERE college = "lsu"</s> |
CREATE TABLE table_14951643_1 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_14951643_1 WHERE attendance = 40657 | what's the date with attendance being 40657 | <s>[INST]what's the date with attendance being 40657 Context: CREATE TABLE table_14951643_1 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_14951643_1 WHERE attendance = 40657</s> |
CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR) | SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College" | Name the least founded for gutenberg college | <s>[INST]Name the least founded for gutenberg college Context: CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR)[/INST]SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College"</s> |
CREATE TABLE table_22670216_1 (rnd VARCHAR, location VARCHAR, pole_position VARCHAR) | SELECT COUNT(rnd) FROM table_22670216_1 WHERE location = "Brooklyn, Michigan" AND pole_position = "Bobby Unser" | If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number? | <s>[INST]If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number? Context: CREATE TABLE table_22670216_1 (rnd VARCHAR, location VARCHAR, pole_position VARCHAR)[/INST]SELECT COUNT(rnd) FROM table_22670216_1 WHERE location = "Brooklyn, Michigan" AND pole_position = "Bobby Unser"</s> |
CREATE TABLE table_1342233_42 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342233_42 WHERE district = "Tennessee 9" | Who was the candidate in the election in the Tennessee 9 district? | <s>[INST]Who was the candidate in the election in the Tennessee 9 district? Context: CREATE TABLE table_1342233_42 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342233_42 WHERE district = "Tennessee 9"</s> |
CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR) | SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman" | what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman? | <s>[INST]what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman? Context: CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman"</s> |
CREATE TABLE table_name_36 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_36 WHERE score = "5–4" | Who is the opponent with a score of 5–4? | <s>[INST]Who is the opponent with a score of 5–4? Context: CREATE TABLE table_name_36 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_36 WHERE score = "5–4"</s> |
CREATE TABLE table_name_78 (telebooms VARCHAR, brigade VARCHAR) | SELECT telebooms FROM table_name_78 WHERE brigade = "total" | Which Telebooms have a Brigade of total? | <s>[INST]Which Telebooms have a Brigade of total? Context: CREATE TABLE table_name_78 (telebooms VARCHAR, brigade VARCHAR)[/INST]SELECT telebooms FROM table_name_78 WHERE brigade = "total"</s> |
CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_85 WHERE nationality = "czech republic" AND time > 21.05 | What is the lowest lane in the Czech Republic and a time larger than 21.05? | <s>[INST]What is the lowest lane in the Czech Republic and a time larger than 21.05? Context: CREATE TABLE table_name_85 (lane INTEGER, nationality VARCHAR, time VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_85 WHERE nationality = "czech republic" AND time > 21.05</s> |
CREATE TABLE table_26362472_1 (election_date VARCHAR, left_office VARCHAR) | SELECT COUNT(election_date) FROM table_26362472_1 WHERE left_office = "1850-11-15" | What is the election date for those politicians who left office on 1850-11-15? | <s>[INST]What is the election date for those politicians who left office on 1850-11-15? Context: CREATE TABLE table_26362472_1 (election_date VARCHAR, left_office VARCHAR)[/INST]SELECT COUNT(election_date) FROM table_26362472_1 WHERE left_office = "1850-11-15"</s> |
CREATE TABLE table_name_19 (competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT competition FROM table_name_19 WHERE result = "win" AND score = "3-1" | What is the competition that had a win result and a score of 3-1? | <s>[INST]What is the competition that had a win result and a score of 3-1? Context: CREATE TABLE table_name_19 (competition VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_19 WHERE result = "win" AND score = "3-1"</s> |
CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR) | SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs" | List the names, color descriptions and product descriptions of products with category "Herbs". | <s>[INST]List the names, color descriptions and product descriptions of products with category "Herbs". Context: CREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)[/INST]SELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = "Herbs"</s> |
CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_6 WHERE driver = "jo bonnier" AND grid < 11 | How many laps did Jo Bonnier driver when the grid number was smaller than 11? | <s>[INST]How many laps did Jo Bonnier driver when the grid number was smaller than 11? Context: CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_6 WHERE driver = "jo bonnier" AND grid < 11</s> |
CREATE TABLE table_1639689_2 (date VARCHAR, week VARCHAR) | SELECT date FROM table_1639689_2 WHERE week = 2 | What day(s) did they play on week 2? | <s>[INST]What day(s) did they play on week 2? Context: CREATE TABLE table_1639689_2 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_1639689_2 WHERE week = 2</s> |
CREATE TABLE table_23718905_6 (matchup_results VARCHAR, city VARCHAR) | SELECT COUNT(matchup_results) FROM table_23718905_6 WHERE city = "San Diego, California" | How many different matchup/results appear in San Diego, California? | <s>[INST]How many different matchup/results appear in San Diego, California? Context: CREATE TABLE table_23718905_6 (matchup_results VARCHAR, city VARCHAR)[/INST]SELECT COUNT(matchup_results) FROM table_23718905_6 WHERE city = "San Diego, California"</s> |
CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER) | SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 | Which record has an attendance larger than 28,459? | <s>[INST]Which record has an attendance larger than 28,459? Context: CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER)[/INST]SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459</s> |
CREATE TABLE table_name_16 (displacement VARCHAR, torque VARCHAR) | SELECT displacement FROM table_name_16 WHERE torque = "n·m (lb·ft) @ 3000 rpm" | What was the displacement having a torque of n·m (lb·ft) @ 3000 rpm? | <s>[INST]What was the displacement having a torque of n·m (lb·ft) @ 3000 rpm? Context: CREATE TABLE table_name_16 (displacement VARCHAR, torque VARCHAR)[/INST]SELECT displacement FROM table_name_16 WHERE torque = "n·m (lb·ft) @ 3000 rpm"</s> |
CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_19753079_12 WHERE district = "Florida 10" | Who were candidates in Florida 10 district? | <s>[INST]Who were candidates in Florida 10 district? Context: CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_19753079_12 WHERE district = "Florida 10"</s> |
CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR) | SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010" | Tell me europe for japan of january 28, 2010 | <s>[INST]Tell me europe for japan of january 28, 2010 Context: CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR)[/INST]SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010"</s> |
CREATE TABLE table_1670921_2 (wicket VARCHAR, runs VARCHAR, fielding_team VARCHAR) | SELECT wicket FROM table_1670921_2 WHERE runs = "451" AND fielding_team = "India" | What are the wickets when there are 451 runs and india is the fielding team? | <s>[INST]What are the wickets when there are 451 runs and india is the fielding team? Context: CREATE TABLE table_1670921_2 (wicket VARCHAR, runs VARCHAR, fielding_team VARCHAR)[/INST]SELECT wicket FROM table_1670921_2 WHERE runs = "451" AND fielding_team = "India"</s> |
CREATE TABLE table_25428629_1 (date VARCHAR, stadium VARCHAR) | SELECT date FROM table_25428629_1 WHERE stadium = "Thuwunna stadium" | If the stadium name is the Thuwunna Stadium, what is the date? | <s>[INST]If the stadium name is the Thuwunna Stadium, what is the date? Context: CREATE TABLE table_25428629_1 (date VARCHAR, stadium VARCHAR)[/INST]SELECT date FROM table_25428629_1 WHERE stadium = "Thuwunna stadium"</s> |
CREATE TABLE table_1342013_42 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1342013_42 WHERE first_elected = 1938 | In what district was incumbent first elected in 1938? | <s>[INST]In what district was incumbent first elected in 1938? Context: CREATE TABLE table_1342013_42 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_1342013_42 WHERE first_elected = 1938</s> |
CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR) | SELECT rnd FROM table_24865763_2 WHERE lmp2_winning_team = "Mike Newton Thomas Erdos Ben Collins" | In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2? | <s>[INST]In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2? Context: CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)[/INST]SELECT rnd FROM table_24865763_2 WHERE lmp2_winning_team = "Mike Newton Thomas Erdos Ben Collins"</s> |
CREATE TABLE table_name_21 (high_assists VARCHAR, game VARCHAR, record VARCHAR) | SELECT high_assists FROM table_name_21 WHERE game > 21 AND record = "18-6" | Which High assists have a Game larger than 21, and a Record of 18-6? | <s>[INST]Which High assists have a Game larger than 21, and a Record of 18-6? Context: CREATE TABLE table_name_21 (high_assists VARCHAR, game VARCHAR, record VARCHAR)[/INST]SELECT high_assists FROM table_name_21 WHERE game > 21 AND record = "18-6"</s> |
CREATE TABLE performance (LOCATION VARCHAR, Attendance INTEGER) | SELECT LOCATION FROM performance WHERE Attendance > 2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance < 1000 | Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees. | <s>[INST]Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees. Context: CREATE TABLE performance (LOCATION VARCHAR, Attendance INTEGER)[/INST]SELECT LOCATION FROM performance WHERE Attendance > 2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance < 1000</s> |
CREATE TABLE performance (LOCATION VARCHAR) | SELECT LOCATION, COUNT(*) FROM performance GROUP BY LOCATION | Show different locations and the number of performances at each location. | <s>[INST]Show different locations and the number of performances at each location. Context: CREATE TABLE performance (LOCATION VARCHAR)[/INST]SELECT LOCATION, COUNT(*) FROM performance GROUP BY LOCATION</s> |
CREATE TABLE table_28802165_1 (civil_parish VARCHAR, townland VARCHAR) | SELECT civil_parish FROM table_28802165_1 WHERE townland = "Aghafullim" | What is the civil parish of Aghafullim? | <s>[INST]What is the civil parish of Aghafullim? Context: CREATE TABLE table_28802165_1 (civil_parish VARCHAR, townland VARCHAR)[/INST]SELECT civil_parish FROM table_28802165_1 WHERE townland = "Aghafullim"</s> |
CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR) | SELECT date FROM table_name_2 WHERE match > 8 AND ground = "a" AND opponent = "guiseley" | On what date was the match higher than 8 on ground A against Guiseley? | <s>[INST]On what date was the match higher than 8 on ground A against Guiseley? Context: CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE match > 8 AND ground = "a" AND opponent = "guiseley"</s> |
CREATE TABLE table_name_88 (december INTEGER, opponent VARCHAR, game VARCHAR) | SELECT SUM(december) FROM table_name_88 WHERE opponent = "atlanta flames" AND game < 40 | What is the sum of the dates in december that were against the atlanta flames before game 40? | <s>[INST]What is the sum of the dates in december that were against the atlanta flames before game 40? Context: CREATE TABLE table_name_88 (december INTEGER, opponent VARCHAR, game VARCHAR)[/INST]SELECT SUM(december) FROM table_name_88 WHERE opponent = "atlanta flames" AND game < 40</s> |
CREATE TABLE table_name_83 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_83 WHERE position = "guard/forward" | What player had the position guard/forward? | <s>[INST]What player had the position guard/forward? Context: CREATE TABLE table_name_83 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_83 WHERE position = "guard/forward"</s> |
CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_32 WHERE circuit = "reims" | Which Report is on the Circuit of reims? | <s>[INST]Which Report is on the Circuit of reims? Context: CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_32 WHERE circuit = "reims"</s> |
CREATE TABLE table_name_44 (goals_for INTEGER, games_played INTEGER) | SELECT SUM(goals_for) FROM table_name_44 WHERE games_played > 8 | What is the number of Goals For for Games Played more than 8? | <s>[INST]What is the number of Goals For for Games Played more than 8? Context: CREATE TABLE table_name_44 (goals_for INTEGER, games_played INTEGER)[/INST]SELECT SUM(goals_for) FROM table_name_44 WHERE games_played > 8</s> |
CREATE TABLE table_name_64 (country VARCHAR) | SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana" | What is the 2010 total for ghana? | <s>[INST]What is the 2010 total for ghana? Context: CREATE TABLE table_name_64 (country VARCHAR)[/INST]SELECT COUNT(2010) FROM table_name_64 WHERE country = "ghana"</s> |
CREATE TABLE table_name_21 (season INTEGER, venue VARCHAR, second VARCHAR) | SELECT SUM(season) FROM table_name_21 WHERE venue = "donington park" AND second = "brazil" | What is the sum of season when the venue was donington park, and Brazil came in second? | <s>[INST]What is the sum of season when the venue was donington park, and Brazil came in second? Context: CREATE TABLE table_name_21 (season INTEGER, venue VARCHAR, second VARCHAR)[/INST]SELECT SUM(season) FROM table_name_21 WHERE venue = "donington park" AND second = "brazil"</s> |
CREATE TABLE table_name_30 (chassis VARCHAR, driver VARCHAR) | SELECT chassis FROM table_name_30 WHERE driver = "ricardo zonta" | What kind of chassis does Ricardo Zonta have? | <s>[INST]What kind of chassis does Ricardo Zonta have? Context: CREATE TABLE table_name_30 (chassis VARCHAR, driver VARCHAR)[/INST]SELECT chassis FROM table_name_30 WHERE driver = "ricardo zonta"</s> |
CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_4 WHERE venue = "victoria park" | What home team plays at victoria park? | <s>[INST]What home team plays at victoria park? Context: CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_4 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_54 (location VARCHAR, driver VARCHAR) | SELECT location FROM table_name_54 WHERE driver = "denny hulme" | What is the location where Denny Hulme was the driver? | <s>[INST]What is the location where Denny Hulme was the driver? Context: CREATE TABLE table_name_54 (location VARCHAR, driver VARCHAR)[/INST]SELECT location FROM table_name_54 WHERE driver = "denny hulme"</s> |
CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR) | SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd" | What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region? | <s>[INST]What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region? Context: CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR)[/INST]SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd"</s> |
CREATE TABLE table_name_97 (other_mozilla VARCHAR, opera VARCHAR) | SELECT other_mozilla FROM table_name_97 WHERE opera = "2.29%" | What percentage of users were using other Mozilla browsers during the period in which 2.29% were using Opera? | <s>[INST]What percentage of users were using other Mozilla browsers during the period in which 2.29% were using Opera? Context: CREATE TABLE table_name_97 (other_mozilla VARCHAR, opera VARCHAR)[/INST]SELECT other_mozilla FROM table_name_97 WHERE opera = "2.29%"</s> |
CREATE TABLE table_name_95 (location VARCHAR, rank_final VARCHAR, score_qualifying VARCHAR) | SELECT location FROM table_name_95 WHERE rank_final = "1st" AND score_qualifying < 28.975 | What was the location of the competition with a Rank-Final of 1st and a Score-Qualifying under 28.975? | <s>[INST]What was the location of the competition with a Rank-Final of 1st and a Score-Qualifying under 28.975? Context: CREATE TABLE table_name_95 (location VARCHAR, rank_final VARCHAR, score_qualifying VARCHAR)[/INST]SELECT location FROM table_name_95 WHERE rank_final = "1st" AND score_qualifying < 28.975</s> |
CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–73" | What was time of the game against the Royals with a record of 81–73? | <s>[INST]What was time of the game against the Royals with a record of 81–73? Context: CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–73"</s> |
CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR) | SELECT passenger FROM table_name_89 WHERE position = "21" AND points < 49 | Which passenger has a position of 21 and less than 49 points? | <s>[INST]Which passenger has a position of 21 and less than 49 points? Context: CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR)[/INST]SELECT passenger FROM table_name_89 WHERE position = "21" AND points < 49</s> |
CREATE TABLE table_name_47 (area__km_2__ INTEGER, type VARCHAR) | SELECT MIN(area__km_2__) FROM table_name_47 WHERE type = "apostolic administration" | What Area (km 2) is lowest with a type being Apostolic Administration? | <s>[INST]What Area (km 2) is lowest with a type being Apostolic Administration? Context: CREATE TABLE table_name_47 (area__km_2__ INTEGER, type VARCHAR)[/INST]SELECT MIN(area__km_2__) FROM table_name_47 WHERE type = "apostolic administration"</s> |
CREATE TABLE table_name_91 (retired VARCHAR, notes VARCHAR) | SELECT retired FROM table_name_91 WHERE notes = "replaced by 737-300s" | What year was the aircraft retired when it was replaced by 737-300s? | <s>[INST]What year was the aircraft retired when it was replaced by 737-300s? Context: CREATE TABLE table_name_91 (retired VARCHAR, notes VARCHAR)[/INST]SELECT retired FROM table_name_91 WHERE notes = "replaced by 737-300s"</s> |
CREATE TABLE table_10335_1 (occupied_territory VARCHAR, operational VARCHAR) | SELECT occupied_territory FROM table_10335_1 WHERE operational = "May 1940 – January 1945" | what's the occupied territory with operational period of may 1940 – january 1945 | <s>[INST]what's the occupied territory with operational period of may 1940 – january 1945 Context: CREATE TABLE table_10335_1 (occupied_territory VARCHAR, operational VARCHAR)[/INST]SELECT occupied_territory FROM table_10335_1 WHERE operational = "May 1940 – January 1945"</s> |
CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66" | What was the high rebounds for the game that had a score of w 76-66? | <s>[INST]What was the high rebounds for the game that had a score of w 76-66? Context: CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR)[/INST]SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66"</s> |
CREATE TABLE table_name_23 (cat_no VARCHAR, label_s_ VARCHAR, release_format VARCHAR) | SELECT cat_no FROM table_name_23 WHERE label_s_ = "mute" AND release_format = "standard cd" | What is the cat no for the label mute and the standard cd format? | <s>[INST]What is the cat no for the label mute and the standard cd format? Context: CREATE TABLE table_name_23 (cat_no VARCHAR, label_s_ VARCHAR, release_format VARCHAR)[/INST]SELECT cat_no FROM table_name_23 WHERE label_s_ = "mute" AND release_format = "standard cd"</s> |
CREATE TABLE employees (salary VARCHAR, first_name VARCHAR) | SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC | display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary. | <s>[INST]display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary. Context: CREATE TABLE employees (salary VARCHAR, first_name VARCHAR)[/INST]SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC</s> |
CREATE TABLE table_17176509_4 (driver___passenger VARCHAR, position VARCHAR) | SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30 | Name the driver/passenger for 30 | <s>[INST]Name the driver/passenger for 30 Context: CREATE TABLE table_17176509_4 (driver___passenger VARCHAR, position VARCHAR)[/INST]SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30</s> |
CREATE TABLE table_name_29 (place VARCHAR, dance VARCHAR, points_jury VARCHAR) | SELECT place FROM table_name_29 WHERE dance = "tango" AND points_jury = "24 (7,5,6,6)" | What was the place for the tango dance when the points was jury of 24 (7,5,6,6)? | <s>[INST]What was the place for the tango dance when the points was jury of 24 (7,5,6,6)? Context: CREATE TABLE table_name_29 (place VARCHAR, dance VARCHAR, points_jury VARCHAR)[/INST]SELECT place FROM table_name_29 WHERE dance = "tango" AND points_jury = "24 (7,5,6,6)"</s> |
CREATE TABLE table_name_31 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_31 WHERE frequency = "1290 khz" | Say the frequency of 1290 khz | <s>[INST]Say the frequency of 1290 khz Context: CREATE TABLE table_name_31 (format VARCHAR, frequency VARCHAR)[/INST]SELECT format FROM table_name_31 WHERE frequency = "1290 khz"</s> |
CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR) | SELECT AVG(established) FROM table_name_86 WHERE country_territory = "dominican republic" | What is the average year that the medical school in dominican republic was established? | <s>[INST]What is the average year that the medical school in dominican republic was established? Context: CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR)[/INST]SELECT AVG(established) FROM table_name_86 WHERE country_territory = "dominican republic"</s> |
CREATE TABLE table_28621502_1 (asia VARCHAR, title VARCHAR) | SELECT COUNT(asia) FROM table_28621502_1 WHERE title = "UNO HD" | How many of Asian release statuses does Uno HD have? | <s>[INST]How many of Asian release statuses does Uno HD have? Context: CREATE TABLE table_28621502_1 (asia VARCHAR, title VARCHAR)[/INST]SELECT COUNT(asia) FROM table_28621502_1 WHERE title = "UNO HD"</s> |
CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR) | SELECT launch_date FROM table_name_22 WHERE designation = "atv-002" | When did the atv-002 launch? | <s>[INST]When did the atv-002 launch? Context: CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR)[/INST]SELECT launch_date FROM table_name_22 WHERE designation = "atv-002"</s> |
CREATE TABLE table_name_8 (owner VARCHAR, format VARCHAR) | SELECT owner FROM table_name_8 WHERE format = "adult hits" | Who is the owner of the radio station that plays adult hits? | <s>[INST]Who is the owner of the radio station that plays adult hits? Context: CREATE TABLE table_name_8 (owner VARCHAR, format VARCHAR)[/INST]SELECT owner FROM table_name_8 WHERE format = "adult hits"</s> |
CREATE TABLE table_15988037_24 (total INTEGER, average VARCHAR) | SELECT MAX(total) FROM table_15988037_24 WHERE average = "28.5" | What is the maximum total in which the average is 28.5? | <s>[INST]What is the maximum total in which the average is 28.5? Context: CREATE TABLE table_15988037_24 (total INTEGER, average VARCHAR)[/INST]SELECT MAX(total) FROM table_15988037_24 WHERE average = "28.5"</s> |
CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_title VARCHAR) | SELECT catalogue_number FROM table_27932399_1 WHERE release_title = "Waves In The Air" | What is the catalogue number for "Waves in the Air"? | <s>[INST]What is the catalogue number for "Waves in the Air"? Context: CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_title VARCHAR)[/INST]SELECT catalogue_number FROM table_27932399_1 WHERE release_title = "Waves In The Air"</s> |
CREATE TABLE bank (city VARCHAR) | SELECT COUNT(DISTINCT city) FROM bank | Find the number of different cities which banks are located at. | <s>[INST]Find the number of different cities which banks are located at. Context: CREATE TABLE bank (city VARCHAR)[/INST]SELECT COUNT(DISTINCT city) FROM bank</s> |
CREATE TABLE table_name_92 (manager VARCHAR, captain VARCHAR) | SELECT manager FROM table_name_92 WHERE captain = "dean whitehead" | Who is Dean Whitehead's manager? | <s>[INST]Who is Dean Whitehead's manager? Context: CREATE TABLE table_name_92 (manager VARCHAR, captain VARCHAR)[/INST]SELECT manager FROM table_name_92 WHERE captain = "dean whitehead"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.