context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray" | What is the largest crowd for any game where Footscray is the home team? | <s>[INST]What is the largest crowd for any game where Footscray is the home team? Context: CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_54 (grid INTEGER, laps INTEGER) | SELECT MIN(grid) FROM table_name_54 WHERE laps > 21 | What is the lowest grid number that a race took place doing more than 21 laps? | <s>[INST]What is the lowest grid number that a race took place doing more than 21 laps? Context: CREATE TABLE table_name_54 (grid INTEGER, laps INTEGER)[/INST]SELECT MIN(grid) FROM table_name_54 WHERE laps > 21</s> |
CREATE TABLE table_name_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_4 WHERE silver = 1 AND bronze = 1 AND nation = "austria" | What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria? | <s>[INST]What is the number of gold when the silver is 1, bronze is 1, and the nation is Austria? Context: CREATE TABLE table_name_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_4 WHERE silver = 1 AND bronze = 1 AND nation = "austria"</s> |
CREATE TABLE table_name_68 (british VARCHAR) | SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ" | What is the 17th c. pronunciation when the british is əʊ? | <s>[INST]What is the 17th c. pronunciation when the british is əʊ? Context: CREATE TABLE table_name_68 (british VARCHAR)[/INST]SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ"</s> |
CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR) | SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AND power = "ps (kw; hp)" AND model = "2000" | What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? | <s>[INST]What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? Context: CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR)[/INST]SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AN... |
CREATE TABLE table_name_60 (position INTEGER, lost VARCHAR, played VARCHAR) | SELECT AVG(position) FROM table_name_60 WHERE lost > 4 AND played > 14 | Which Position has a Lost larger than 4, and a Played larger than 14? | <s>[INST]Which Position has a Lost larger than 4, and a Played larger than 14? Context: CREATE TABLE table_name_60 (position INTEGER, lost VARCHAR, played VARCHAR)[/INST]SELECT AVG(position) FROM table_name_60 WHERE lost > 4 AND played > 14</s> |
CREATE TABLE table_name_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR) | SELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 10 | what is the lowest number of ties when the losses is 7 and games played is less than 10? | <s>[INST]what is the lowest number of ties when the losses is 7 and games played is less than 10? Context: CREATE TABLE table_name_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR)[/INST]SELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 10</s> |
CREATE TABLE table_1646960_3 (debut_album VARCHAR, winner VARCHAR) | SELECT COUNT(debut_album) FROM table_1646960_3 WHERE winner = "Mike Mohede" | How many debut albums did mike mohede have? | <s>[INST]How many debut albums did mike mohede have? Context: CREATE TABLE table_1646960_3 (debut_album VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(debut_album) FROM table_1646960_3 WHERE winner = "Mike Mohede"</s> |
CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR) | SELECT event FROM table_name_14 WHERE skip = "wang bingyu" | What event had Wang Bingyu for the skip? | <s>[INST]What event had Wang Bingyu for the skip? Context: CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR)[/INST]SELECT event FROM table_name_14 WHERE skip = "wang bingyu"</s> |
CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR) | SELECT event FROM table_name_8 WHERE method = "technical decision (split)" | In what event was the technical decision (split) method used? | <s>[INST]In what event was the technical decision (split) method used? Context: CREATE TABLE table_name_8 (event VARCHAR, method VARCHAR)[/INST]SELECT event FROM table_name_8 WHERE method = "technical decision (split)"</s> |
CREATE TABLE table_name_40 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley" | What is the Tie Number when Barnsley was the away team? | <s>[INST]What is the Tie Number when Barnsley was the away team? Context: CREATE TABLE table_name_40 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley"</s> |
CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR) | SELECT mixed_doubles FROM table_14496232_2 WHERE tour = "Hong Kong Super Series" | Name the mixed doubles when tour is hong kong super series | <s>[INST]Name the mixed doubles when tour is hong kong super series Context: CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, tour VARCHAR)[/INST]SELECT mixed_doubles FROM table_14496232_2 WHERE tour = "Hong Kong Super Series"</s> |
CREATE TABLE table_name_14 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_14 WHERE runner_s__up = "fernando roca" | What tournament that Fernando Roca is the runner-up? | <s>[INST]What tournament that Fernando Roca is the runner-up? Context: CREATE TABLE table_name_14 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_14 WHERE runner_s__up = "fernando roca"</s> |
CREATE TABLE table_name_99 (kit_manufacturer VARCHAR, team VARCHAR) | SELECT kit_manufacturer FROM table_name_99 WHERE team = "arsenal" | Which Kit manufacturer sponsers Arsenal? | <s>[INST]Which Kit manufacturer sponsers Arsenal? Context: CREATE TABLE table_name_99 (kit_manufacturer VARCHAR, team VARCHAR)[/INST]SELECT kit_manufacturer FROM table_name_99 WHERE team = "arsenal"</s> |
CREATE TABLE table_name_56 (debut_year INTEGER, player VARCHAR, goals VARCHAR) | SELECT MAX(debut_year) FROM table_name_56 WHERE player = "joe youlden" AND goals > 0 | What is the highest debut year for player Joe Youlden, with goals larger than 0? | <s>[INST]What is the highest debut year for player Joe Youlden, with goals larger than 0? Context: CREATE TABLE table_name_56 (debut_year INTEGER, player VARCHAR, goals VARCHAR)[/INST]SELECT MAX(debut_year) FROM table_name_56 WHERE player = "joe youlden" AND goals > 0</s> |
CREATE TABLE table_name_98 (event_name VARCHAR, pole_winner VARCHAR, race_winner VARCHAR) | SELECT event_name FROM table_name_98 WHERE pole_winner = "michael mcdowell" AND race_winner = "billy leslie" | Tell me the event name for michael mcdowell and billy leslie | <s>[INST]Tell me the event name for michael mcdowell and billy leslie Context: CREATE TABLE table_name_98 (event_name VARCHAR, pole_winner VARCHAR, race_winner VARCHAR)[/INST]SELECT event_name FROM table_name_98 WHERE pole_winner = "michael mcdowell" AND race_winner = "billy leslie"</s> |
CREATE TABLE table_name_85 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_85 WHERE week = 4 | Who was the opponent at the week 4 game? | <s>[INST]Who was the opponent at the week 4 game? Context: CREATE TABLE table_name_85 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_85 WHERE week = 4</s> |
CREATE TABLE table_27733909_10 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_27733909_10 WHERE game = 75 | Who had the highest assists in game 75? | <s>[INST]Who had the highest assists in game 75? Context: CREATE TABLE table_27733909_10 (high_assists VARCHAR, game VARCHAR)[/INST]SELECT high_assists FROM table_27733909_10 WHERE game = 75</s> |
CREATE TABLE school_details (Nickname VARCHAR, Division VARCHAR) | SELECT Nickname FROM school_details WHERE Division <> "Division 1" | Show the nicknames of schools that are not in division 1. | <s>[INST]Show the nicknames of schools that are not in division 1. Context: CREATE TABLE school_details (Nickname VARCHAR, Division VARCHAR)[/INST]SELECT Nickname FROM school_details WHERE Division <> "Division 1"</s> |
CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR) | SELECT MIN(bangladeshi_population) FROM table_19149550_9 WHERE rank = 7 | How many Bangladeshi citizens are there in the borough ranked at number 7? | <s>[INST]How many Bangladeshi citizens are there in the borough ranked at number 7? Context: CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR)[/INST]SELECT MIN(bangladeshi_population) FROM table_19149550_9 WHERE rank = 7</s> |
CREATE TABLE table_name_58 (car INTEGER, long VARCHAR) | SELECT AVG(car) FROM table_name_58 WHERE long = "3" | How many average carries for the player with 3 as a long? | <s>[INST]How many average carries for the player with 3 as a long? Context: CREATE TABLE table_name_58 (car INTEGER, long VARCHAR)[/INST]SELECT AVG(car) FROM table_name_58 WHERE long = "3"</s> |
CREATE TABLE table_name_62 (score VARCHAR, visitor VARCHAR, home VARCHAR) | SELECT score FROM table_name_62 WHERE visitor = "new jersey" AND home = "toronto" | What was the score when the home team, Toronto, played against New Jersey? | <s>[INST]What was the score when the home team, Toronto, played against New Jersey? Context: CREATE TABLE table_name_62 (score VARCHAR, visitor VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_62 WHERE visitor = "new jersey" AND home = "toronto"</s> |
CREATE TABLE table_23391714_1 (no VARCHAR, chassis_engine VARCHAR) | SELECT COUNT(no) FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick" | How many drivers used lola t92/00/ buick for their chassis/engine? | <s>[INST]How many drivers used lola t92/00/ buick for their chassis/engine? Context: CREATE TABLE table_23391714_1 (no VARCHAR, chassis_engine VARCHAR)[/INST]SELECT COUNT(no) FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick"</s> |
CREATE TABLE song (rating INTEGER, artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR) | SELECT AVG(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T1.gender = "Female" | What is the average rating of songs produced by female artists? | <s>[INST]What is the average rating of songs produced by female artists? Context: CREATE TABLE song (rating INTEGER, artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)[/INST]SELECT AVG(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T1.gender = "Female"... |
CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213 | What country placed t8 and scored 71-71-71=213? | <s>[INST]What country placed t8 and scored 71-71-71=213? Context: CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE place = "t8" AND score = 71 - 71 - 71 = 213</s> |
CREATE TABLE table_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR) | SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll" | When did Minnesota Poll administer their poll? | <s>[INST]When did Minnesota Poll administer their poll? Context: CREATE TABLE table_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR)[/INST]SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll"</s> |
CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR) | SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/" | What's the West Germanic when the German is /s/ or /ts/? | <s>[INST]What's the West Germanic when the German is /s/ or /ts/? Context: CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR)[/INST]SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/"</s> |
CREATE TABLE table_13018116_1 (pts_for INTEGER) | SELECT MIN(pts_for) FROM table_13018116_1 | Name the most points for | <s>[INST]Name the most points for Context: CREATE TABLE table_13018116_1 (pts_for INTEGER)[/INST]SELECT MIN(pts_for) FROM table_13018116_1</s> |
CREATE TABLE table_16815824_1 (round5 VARCHAR, total_points VARCHAR) | SELECT round5 FROM table_16815824_1 WHERE total_points = 212 | What was the round 5 score if the team's total points where 212? | <s>[INST]What was the round 5 score if the team's total points where 212? Context: CREATE TABLE table_16815824_1 (round5 VARCHAR, total_points VARCHAR)[/INST]SELECT round5 FROM table_16815824_1 WHERE total_points = 212</s> |
CREATE TABLE table_16494599_10 (nationality VARCHAR, player VARCHAR) | SELECT COUNT(nationality) FROM table_16494599_10 WHERE player = "Casey Jacobsen" | How many nationalities does athlete Casey Jacobsen have? | <s>[INST]How many nationalities does athlete Casey Jacobsen have? Context: CREATE TABLE table_16494599_10 (nationality VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nationality) FROM table_16494599_10 WHERE player = "Casey Jacobsen"</s> |
CREATE TABLE table_name_74 (tournament VARCHAR) | SELECT 2001 FROM table_name_74 WHERE 1994 = "a" AND tournament = "monte carlo masters" | What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"? | <s>[INST]What is 2001, when 1994 is "A", and when Tournament is "Monte Carlo Masters"? Context: CREATE TABLE table_name_74 (tournament VARCHAR)[/INST]SELECT 2001 FROM table_name_74 WHERE 1994 = "a" AND tournament = "monte carlo masters"</s> |
CREATE TABLE table_name_21 (name VARCHAR, best VARCHAR) | SELECT name FROM table_name_21 WHERE best = "1:32.269" | Who had the best time of 1:32.269? | <s>[INST]Who had the best time of 1:32.269? Context: CREATE TABLE table_name_21 (name VARCHAR, best VARCHAR)[/INST]SELECT name FROM table_name_21 WHERE best = "1:32.269"</s> |
CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR) | SELECT actor FROM table_name_22 WHERE year = "1978" | What actor won in 1978? | <s>[INST]What actor won in 1978? Context: CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)[/INST]SELECT actor FROM table_name_22 WHERE year = "1978"</s> |
CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR) | SELECT player FROM table_name_78 WHERE round = 17 | what player score is higher than 17 | <s>[INST]what player score is higher than 17 Context: CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_78 WHERE round = 17</s> |
CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 25 | What is the area with decile of 8, and a 25 roll? | <s>[INST]What is the area with decile of 8, and a 25 roll? Context: CREATE TABLE table_name_67 (area VARCHAR, decile VARCHAR, roll VARCHAR)[/INST]SELECT area FROM table_name_67 WHERE decile = 8 AND roll = 25</s> |
CREATE TABLE table_name_56 (elector VARCHAR, faction VARCHAR, elevated VARCHAR) | SELECT elector FROM table_name_56 WHERE faction = "roman" AND elevated = "1244, may 28" | What is the Elector with a Faction of roman, and an Elevated with 1244, may 28? | <s>[INST]What is the Elector with a Faction of roman, and an Elevated with 1244, may 28? Context: CREATE TABLE table_name_56 (elector VARCHAR, faction VARCHAR, elevated VARCHAR)[/INST]SELECT elector FROM table_name_56 WHERE faction = "roman" AND elevated = "1244, may 28"</s> |
CREATE TABLE table_name_36 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_36 WHERE result = "2–2 (d)" | What is the Venue of the Competition with a Result of 2–2 (d)? | <s>[INST]What is the Venue of the Competition with a Result of 2–2 (d)? Context: CREATE TABLE table_name_36 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_36 WHERE result = "2–2 (d)"</s> |
CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2008 VARCHAR) | SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2008 = "9.07" | how many countries have remittances in 2008 of 9.07? | <s>[INST]how many countries have remittances in 2008 of 9.07? Context: CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2008 VARCHAR)[/INST]SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2008 = "9.07"</s> |
CREATE TABLE table_name_8 (icao VARCHAR, airline VARCHAR) | SELECT icao FROM table_name_8 WHERE airline = "asiana airlines" | What is the ICAO for Asiana Airlines? | <s>[INST]What is the ICAO for Asiana Airlines? Context: CREATE TABLE table_name_8 (icao VARCHAR, airline VARCHAR)[/INST]SELECT icao FROM table_name_8 WHERE airline = "asiana airlines"</s> |
CREATE TABLE STUDENTS (student_id VARCHAR); CREATE TABLE Behavior_Incident (student_id VARCHAR) | SELECT COUNT(*) FROM STUDENTS WHERE NOT student_id IN (SELECT student_id FROM Behavior_Incident) | How many students are not involved in any behavior incident? | <s>[INST]How many students are not involved in any behavior incident? Context: CREATE TABLE STUDENTS (student_id VARCHAR); CREATE TABLE Behavior_Incident (student_id VARCHAR)[/INST]SELECT COUNT(*) FROM STUDENTS WHERE NOT student_id IN (SELECT student_id FROM Behavior_Incident)</s> |
CREATE TABLE table_name_2 (height_feet_m VARCHAR, surpassed_by VARCHAR) | SELECT height_feet_m FROM table_name_2 WHERE surpassed_by = "book tower" | Tell me the height which has a surpassed by of book tower | <s>[INST]Tell me the height which has a surpassed by of book tower Context: CREATE TABLE table_name_2 (height_feet_m VARCHAR, surpassed_by VARCHAR)[/INST]SELECT height_feet_m FROM table_name_2 WHERE surpassed_by = "book tower"</s> |
CREATE TABLE table_1300525_1 (population VARCHAR, pinyin VARCHAR) | SELECT population FROM table_1300525_1 WHERE pinyin = "Héngfēng Xiàn" | How many people live in the district who's capital is héngfēng xiàn? | <s>[INST]How many people live in the district who's capital is héngfēng xiàn? Context: CREATE TABLE table_1300525_1 (population VARCHAR, pinyin VARCHAR)[/INST]SELECT population FROM table_1300525_1 WHERE pinyin = "Héngfēng Xiàn"</s> |
CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_34 WHERE player = "dexter bailey" | What is Pick, when Player is "Dexter Bailey"? | <s>[INST]What is Pick, when Player is "Dexter Bailey"? Context: CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_34 WHERE player = "dexter bailey"</s> |
CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE player = "Joakim Persson" | Which team drafted Joakim Persson? | <s>[INST]Which team drafted Joakim Persson? Context: CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_2850912_10 WHERE player = "Joakim Persson"</s> |
CREATE TABLE table_name_48 (yards INTEGER, rushes VARCHAR, games VARCHAR) | SELECT MAX(yards) FROM table_name_48 WHERE rushes < 51 AND games > 12 | What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games? | <s>[INST]What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games? Context: CREATE TABLE table_name_48 (yards INTEGER, rushes VARCHAR, games VARCHAR)[/INST]SELECT MAX(yards) FROM table_name_48 WHERE rushes < 51 AND games > 12</s> |
CREATE TABLE table_name_67 (game__number INTEGER, date VARCHAR) | SELECT AVG(game__number) FROM table_name_67 WHERE date = "march 4" | What game number was played on March 4? | <s>[INST]What game number was played on March 4? Context: CREATE TABLE table_name_67 (game__number INTEGER, date VARCHAR)[/INST]SELECT AVG(game__number) FROM table_name_67 WHERE date = "march 4"</s> |
CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) | SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey" | What event type had BODY CMAS in 1980 and underwater hockey? | <s>[INST]What event type had BODY CMAS in 1980 and underwater hockey? Context: CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR)[/INST]SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey"</s> |
CREATE TABLE table_name_57 (year INTEGER, category VARCHAR, nominated_for VARCHAR) | SELECT AVG(year) FROM table_name_57 WHERE category = "most popular actress" AND nominated_for = "birds of a feather" | Name the year that Birds of a feather category for most popular actress was nominated | <s>[INST]Name the year that Birds of a feather category for most popular actress was nominated Context: CREATE TABLE table_name_57 (year INTEGER, category VARCHAR, nominated_for VARCHAR)[/INST]SELECT AVG(year) FROM table_name_57 WHERE category = "most popular actress" AND nominated_for = "birds of a feather"</s> |
CREATE TABLE table_name_85 (hanja VARCHAR, revised VARCHAR) | SELECT hanja FROM table_name_85 WHERE revised = "eum" | Tell me the hanja of eum | <s>[INST]Tell me the hanja of eum Context: CREATE TABLE table_name_85 (hanja VARCHAR, revised VARCHAR)[/INST]SELECT hanja FROM table_name_85 WHERE revised = "eum"</s> |
CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 3" | who is the candidate where district is louisiana 3? | <s>[INST]who is the candidate where district is louisiana 3? Context: CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 3"</s> |
CREATE TABLE table_11680175_1 (year VARCHAR, Neu VARCHAR, vehlefanz VARCHAR) | SELECT COUNT(year) FROM table_11680175_1 WHERE Neu - vehlefanz = 365 | How many years where Neu-Vehlefanz had a number of 365? | <s>[INST]How many years where Neu-Vehlefanz had a number of 365? Context: CREATE TABLE table_11680175_1 (year VARCHAR, Neu VARCHAR, vehlefanz VARCHAR)[/INST]SELECT COUNT(year) FROM table_11680175_1 WHERE Neu - vehlefanz = 365</s> |
CREATE TABLE table_name_94 (parameter VARCHAR, best_fit__wmap_only_ VARCHAR, symbol VARCHAR) | SELECT parameter FROM table_name_94 WHERE best_fit__wmap_only_ = ".9 ± .1" AND symbol = "a" | What is the parameter when the best fit (WMAP only) is .9 ± .1, and symbol is a? | <s>[INST]What is the parameter when the best fit (WMAP only) is .9 ± .1, and symbol is a? Context: CREATE TABLE table_name_94 (parameter VARCHAR, best_fit__wmap_only_ VARCHAR, symbol VARCHAR)[/INST]SELECT parameter FROM table_name_94 WHERE best_fit__wmap_only_ = ".9 ± .1" AND symbol = "a"</s> |
CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = "geelong" | How big was the crowd when Geelong was the home team? | <s>[INST]How big was the crowd when Geelong was the home team? Context: CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR) | SELECT class FROM table_name_10 WHERE type = "a1 bm" | What is the class of the a1 bm type? | <s>[INST]What is the class of the a1 bm type? Context: CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR)[/INST]SELECT class FROM table_name_10 WHERE type = "a1 bm"</s> |
CREATE TABLE table_name_39 (name VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m" | Who had a transfer fee of dkk 6m? | <s>[INST]Who had a transfer fee of dkk 6m? Context: CREATE TABLE table_name_39 (name VARCHAR, transfer_fee VARCHAR)[/INST]SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m"</s> |
CREATE TABLE table_name_91 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_91 WHERE away_team = "wrexham" | What was the tie number when the away team was Wrexham? | <s>[INST]What was the tie number when the away team was Wrexham? Context: CREATE TABLE table_name_91 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_91 WHERE away_team = "wrexham"</s> |
CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate__p_ VARCHAR) | SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate__p_ = "162" | What is the rate limit when the desired rate (p) is 162? | <s>[INST]What is the rate limit when the desired rate (p) is 162? Context: CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate__p_ VARCHAR)[/INST]SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate__p_ = "162"</s> |
CREATE TABLE table_27756474_2 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_27756474_2 WHERE game = 5 | What location and attendance were there for game 5? | <s>[INST]What location and attendance were there for game 5? Context: CREATE TABLE table_27756474_2 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT location_attendance FROM table_27756474_2 WHERE game = 5</s> |
CREATE TABLE table_23050383_1 (education VARCHAR, country VARCHAR) | SELECT education FROM table_23050383_1 WHERE country = "Nepal" | What is the education in Nepal? | <s>[INST]What is the education in Nepal? Context: CREATE TABLE table_23050383_1 (education VARCHAR, country VARCHAR)[/INST]SELECT education FROM table_23050383_1 WHERE country = "Nepal"</s> |
CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR) | SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried" | Tell me the sum of the grid with alfa romeo and toulo de graffenried | <s>[INST]Tell me the sum of the grid with alfa romeo and toulo de graffenried Context: CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried"</s> |
CREATE TABLE table_name_64 (year INTEGER, album VARCHAR, us_hot_100 VARCHAR) | SELECT MAX(year) FROM table_name_64 WHERE album = "airwaves" AND us_hot_100 = "–" | Which Year has an Album of airwaves, and a US Hot 100 of –? | <s>[INST]Which Year has an Album of airwaves, and a US Hot 100 of –? Context: CREATE TABLE table_name_64 (year INTEGER, album VARCHAR, us_hot_100 VARCHAR)[/INST]SELECT MAX(year) FROM table_name_64 WHERE album = "airwaves" AND us_hot_100 = "–"</s> |
CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR) | SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%" | If the polling average in July 2009 was 7.2%, what was it in May 2009? | <s>[INST]If the polling average in July 2009 was 7.2%, what was it in May 2009? Context: CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)[/INST]SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%"</s> |
CREATE TABLE table_name_36 (drawn INTEGER, lost INTEGER) | SELECT MIN(drawn) FROM table_name_36 WHERE lost < 2 | What is the lowest number drawn with less than 2 lost? | <s>[INST]What is the lowest number drawn with less than 2 lost? Context: CREATE TABLE table_name_36 (drawn INTEGER, lost INTEGER)[/INST]SELECT MIN(drawn) FROM table_name_36 WHERE lost < 2</s> |
CREATE TABLE table_15475116_1 (league VARCHAR, nickname VARCHAR) | SELECT league FROM table_15475116_1 WHERE nickname = "Cavaliers" | What league does the team with the nickname Cavaliers belong to | <s>[INST]What league does the team with the nickname Cavaliers belong to Context: CREATE TABLE table_15475116_1 (league VARCHAR, nickname VARCHAR)[/INST]SELECT league FROM table_15475116_1 WHERE nickname = "Cavaliers"</s> |
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_88 WHERE date = "22 january 2008" | What is the score on 22 january 2008? | <s>[INST]What is the score on 22 january 2008? Context: CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_88 WHERE date = "22 january 2008"</s> |
CREATE TABLE table_name_51 (copa_mercosur_1999 VARCHAR, team VARCHAR, copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR) | SELECT copa_mercosur_1999 FROM table_name_51 WHERE copa_libertadores_1999 = "did not qualify" AND copa_conmebol_1999 = "did not qualify" AND team = "grêmio" | What is the copa mercosur 1999 result for team grêmio, who did not qualify for the Copa Libertadores 1999 and Copa Conmebol 1999? | <s>[INST]What is the copa mercosur 1999 result for team grêmio, who did not qualify for the Copa Libertadores 1999 and Copa Conmebol 1999? Context: CREATE TABLE table_name_51 (copa_mercosur_1999 VARCHAR, team VARCHAR, copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR)[/INST]SELECT copa_mercosur_1999 FROM table... |
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_90 WHERE player = "scott mccarron" | Which country is Scott McCarron from? | <s>[INST]Which country is Scott McCarron from? Context: CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_90 WHERE player = "scott mccarron"</s> |
CREATE TABLE Plays_games (StuID VARCHAR, GameID VARCHAR); CREATE TABLE Student (lname VARCHAR, sex VARCHAR, StuID VARCHAR); CREATE TABLE Video_games (GameID VARCHAR, Gname VARCHAR) | SELECT lname, sex FROM Student WHERE StuID IN (SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID = T2.GameID WHERE T2.Gname = "Call of Destiny" INTERSECT SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID = T2.GameID WHERE T2.Gname = "Works of Widenius") | Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games. | <s>[INST]Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games. Context: CREATE TABLE Plays_games (StuID VARCHAR, GameID VARCHAR); CREATE TABLE Student (lname VARCHAR, sex VARCHAR, StuID VARCHAR); CREATE TABLE Video_games (GameID VARCHAR, Gname VARCHAR)[/INST]SEL... |
CREATE TABLE table_name_52 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_52 WHERE week > 5 AND opponent = "st. louis rams" | What is the result of the game after week 5 against the st. louis rams? | <s>[INST]What is the result of the game after week 5 against the st. louis rams? Context: CREATE TABLE table_name_52 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_52 WHERE week > 5 AND opponent = "st. louis rams"</s> |
CREATE TABLE table_20236726_2 (serial_no VARCHAR, wd_no VARCHAR) | SELECT COUNT(serial_no) FROM table_20236726_2 WHERE wd_no = 24 | Name the total number of serial number for 24 wd no | <s>[INST]Name the total number of serial number for 24 wd no Context: CREATE TABLE table_20236726_2 (serial_no VARCHAR, wd_no VARCHAR)[/INST]SELECT COUNT(serial_no) FROM table_20236726_2 WHERE wd_no = 24</s> |
CREATE TABLE table_name_10 (pick INTEGER, round VARCHAR) | SELECT SUM(pick) FROM table_name_10 WHERE round = 17 | What is the sum of the pick in round 17? | <s>[INST]What is the sum of the pick in round 17? Context: CREATE TABLE table_name_10 (pick INTEGER, round VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_10 WHERE round = 17</s> |
CREATE TABLE table_27905664_1 (COUNT VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT AS № FROM table_27905664_1 WHERE us_viewers__million_ = "4.26" | How many episode numbers had US viewership of 4.26 million? | <s>[INST]How many episode numbers had US viewership of 4.26 million? Context: CREATE TABLE table_27905664_1 (COUNT VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT AS № FROM table_27905664_1 WHERE us_viewers__million_ = "4.26"</s> |
CREATE TABLE table_name_24 (home_ground VARCHAR, position_in_2012_13 VARCHAR) | SELECT home_ground FROM table_name_24 WHERE position_in_2012_13 = "7th, third division" | When the position in 2012-12 is 7th, third division what is the home ground? | <s>[INST]When the position in 2012-12 is 7th, third division what is the home ground? Context: CREATE TABLE table_name_24 (home_ground VARCHAR, position_in_2012_13 VARCHAR)[/INST]SELECT home_ground FROM table_name_24 WHERE position_in_2012_13 = "7th, third division"</s> |
CREATE TABLE table_18602462_22 (semifinals VARCHAR, athlete VARCHAR) | SELECT semifinals FROM table_18602462_22 WHERE athlete = "Dorrie Timmermans-Van Hall" | What is the semifinal result for Dorrie Timmermans-Van Hall? | <s>[INST]What is the semifinal result for Dorrie Timmermans-Van Hall? Context: CREATE TABLE table_18602462_22 (semifinals VARCHAR, athlete VARCHAR)[/INST]SELECT semifinals FROM table_18602462_22 WHERE athlete = "Dorrie Timmermans-Van Hall"</s> |
CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_22 WHERE player = "tiger woods" | What country is Tiger Woods from? | <s>[INST]What country is Tiger Woods from? Context: CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_22 WHERE player = "tiger woods"</s> |
CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR) | SELECT surface FROM table_name_59 WHERE opponent = "rafael nadal" AND NOT event = 2 | Which Surface has an Opponent of rafael nadal, and an Event of 2? | <s>[INST]Which Surface has an Opponent of rafael nadal, and an Event of 2? Context: CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR)[/INST]SELECT surface FROM table_name_59 WHERE opponent = "rafael nadal" AND NOT event = 2</s> |
CREATE TABLE table_2015453_1 (res VARCHAR, team__number2 VARCHAR) | SELECT res FROM table_2015453_1 WHERE team__number2 = "Payam" | What was the res for the game against Payam? | <s>[INST]What was the res for the game against Payam? Context: CREATE TABLE table_2015453_1 (res VARCHAR, team__number2 VARCHAR)[/INST]SELECT res FROM table_2015453_1 WHERE team__number2 = "Payam"</s> |
CREATE TABLE table_name_18 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_18 WHERE away_team = "derby county" | What is the home team that played Derby County as the away team? | <s>[INST]What is the home team that played Derby County as the away team? Context: CREATE TABLE table_name_18 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_18 WHERE away_team = "derby county"</s> |
CREATE TABLE table_name_8 (silver INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_8 WHERE nation = "japan" AND total < 1 | what is the silver when the nation is japan and the total is less than 1? | <s>[INST]what is the silver when the nation is japan and the total is less than 1? Context: CREATE TABLE table_name_8 (silver INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_8 WHERE nation = "japan" AND total < 1</s> |
CREATE TABLE table_name_27 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_27 WHERE original_title = "báng-kah (艋舺)" | What is Film Title Used In Nomination, when Original Title is "Báng-Kah (艋舺)" | <s>[INST]What is Film Title Used In Nomination, when Original Title is "Báng-Kah (艋舺)" Context: CREATE TABLE table_name_27 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_27 WHERE original_title = "báng-kah (艋舺)"</s> |
CREATE TABLE table_name_34 (bronze INTEGER, silver INTEGER) | SELECT MIN(bronze) FROM table_name_34 WHERE silver < 0 | What is the least bronze number when the silver is less than 0? | <s>[INST]What is the least bronze number when the silver is less than 0? Context: CREATE TABLE table_name_34 (bronze INTEGER, silver INTEGER)[/INST]SELECT MIN(bronze) FROM table_name_34 WHERE silver < 0</s> |
CREATE TABLE table_name_83 (title VARCHAR, production_number VARCHAR) | SELECT title FROM table_name_83 WHERE production_number = "1039" | What is the title of the production with a number of 1039? | <s>[INST]What is the title of the production with a number of 1039? Context: CREATE TABLE table_name_83 (title VARCHAR, production_number VARCHAR)[/INST]SELECT title FROM table_name_83 WHERE production_number = "1039"</s> |
CREATE TABLE table_name_81 (gold INTEGER, total INTEGER) | SELECT MAX(gold) FROM table_name_81 WHERE total > 32 | For countries that won more than 32 gold medals, what was the highest number of golds? | <s>[INST]For countries that won more than 32 gold medals, what was the highest number of golds? Context: CREATE TABLE table_name_81 (gold INTEGER, total INTEGER)[/INST]SELECT MAX(gold) FROM table_name_81 WHERE total > 32</s> |
CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_33 WHERE time = "1:42.309" | What is the notes entry for the row with a Time of 1:42.309? | <s>[INST]What is the notes entry for the row with a Time of 1:42.309? Context: CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_33 WHERE time = "1:42.309"</s> |
CREATE TABLE table_name_37 (state VARCHAR, city VARCHAR) | SELECT state FROM table_name_37 WHERE city = "suwon" | What is the State with Suwon as the city | <s>[INST]What is the State with Suwon as the city Context: CREATE TABLE table_name_37 (state VARCHAR, city VARCHAR)[/INST]SELECT state FROM table_name_37 WHERE city = "suwon"</s> |
CREATE TABLE table_name_81 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_81 WHERE score = 73 - 65 = 138 | What is the name of the golfer that has the score of 73-65=138? | <s>[INST]What is the name of the golfer that has the score of 73-65=138? Context: CREATE TABLE table_name_81 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_81 WHERE score = 73 - 65 = 138</s> |
CREATE TABLE table_name_24 (notes VARCHAR, athlete VARCHAR) | SELECT notes FROM table_name_24 WHERE athlete = "andre vonarburg" | what is the notes for andre vonarburg? | <s>[INST]what is the notes for andre vonarburg? Context: CREATE TABLE table_name_24 (notes VARCHAR, athlete VARCHAR)[/INST]SELECT notes FROM table_name_24 WHERE athlete = "andre vonarburg"</s> |
CREATE TABLE table_name_95 (date VARCHAR, race VARCHAR) | SELECT date FROM table_name_95 WHERE race = "british grand prix" | When were the British Grand Prix races? | <s>[INST]When were the British Grand Prix races? Context: CREATE TABLE table_name_95 (date VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE race = "british grand prix"</s> |
CREATE TABLE table_14871601_1 (conceded INTEGER, team VARCHAR) | SELECT MIN(conceded) FROM table_14871601_1 WHERE team = "12 de Octubre" | What is the smallest conceded value for the team 12 De Octubre? | <s>[INST]What is the smallest conceded value for the team 12 De Octubre? Context: CREATE TABLE table_14871601_1 (conceded INTEGER, team VARCHAR)[/INST]SELECT MIN(conceded) FROM table_14871601_1 WHERE team = "12 de Octubre"</s> |
CREATE TABLE roller_coaster (Name VARCHAR, LENGTH VARCHAR) | SELECT Name FROM roller_coaster ORDER BY LENGTH | List the names of roller coasters by ascending order of length. | <s>[INST]List the names of roller coasters by ascending order of length. Context: CREATE TABLE roller_coaster (Name VARCHAR, LENGTH VARCHAR)[/INST]SELECT Name FROM roller_coaster ORDER BY LENGTH</s> |
CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_68 WHERE attendance = "16,971" | What home team had an attendance record of 16,971? | <s>[INST]What home team had an attendance record of 16,971? Context: CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR)[/INST]SELECT home_team FROM table_name_68 WHERE attendance = "16,971"</s> |
CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, parent_unit VARCHAR) | SELECT aircraft_type FROM table_28342423_1 WHERE parent_unit = "Jagdgeschwader 26" | Name the aircraft type for jagdgeschwader 26 | <s>[INST]Name the aircraft type for jagdgeschwader 26 Context: CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, parent_unit VARCHAR)[/INST]SELECT aircraft_type FROM table_28342423_1 WHERE parent_unit = "Jagdgeschwader 26"</s> |
CREATE TABLE table_17839_1 (length VARCHAR, map_colour VARCHAR) | SELECT length FROM table_17839_1 WHERE map_colour = "Turquoise" | When turquoise is the map colour what is the length? | <s>[INST]When turquoise is the map colour what is the length? Context: CREATE TABLE table_17839_1 (length VARCHAR, map_colour VARCHAR)[/INST]SELECT length FROM table_17839_1 WHERE map_colour = "Turquoise"</s> |
CREATE TABLE table_name_33 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_33 WHERE game = 40 | Can you tell me the Score that has the Game of 40? | <s>[INST]Can you tell me the Score that has the Game of 40? Context: CREATE TABLE table_name_33 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE game = 40</s> |
CREATE TABLE Flight (aid VARCHAR, flno VARCHAR); CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR) | SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T1.flno = 99 | What is the aircraft name for the flight with number 99 | <s>[INST]What is the aircraft name for the flight with number 99 Context: CREATE TABLE Flight (aid VARCHAR, flno VARCHAR); CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR)[/INST]SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T1.flno = 99</s> |
CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR) | SELECT first_year_aired FROM table_name_79 WHERE name = "zone rouge" | What year did Zone Rouge first air? | <s>[INST]What year did Zone Rouge first air? Context: CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR)[/INST]SELECT first_year_aired FROM table_name_79 WHERE name = "zone rouge"</s> |
CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR, game VARCHAR, decision VARCHAR) | SELECT score FROM table_name_18 WHERE game > 56 AND decision = "lundqvist" AND record = "29-24-7" | What's the score for a game over 56 with a record of 29-24-7 with a lundqvist decision? | <s>[INST]What's the score for a game over 56 with a record of 29-24-7 with a lundqvist decision? Context: CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR, game VARCHAR, decision VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE game > 56 AND decision = "lundqvist" AND record = "29-24-7"</s> |
CREATE TABLE table_13564637_4 (drawn VARCHAR, club VARCHAR) | SELECT drawn FROM table_13564637_4 WHERE club = "Tylorstown RFC" | How many total games drawn for club tylorstown rfc? | <s>[INST]How many total games drawn for club tylorstown rfc? Context: CREATE TABLE table_13564637_4 (drawn VARCHAR, club VARCHAR)[/INST]SELECT drawn FROM table_13564637_4 WHERE club = "Tylorstown RFC"</s> |
CREATE TABLE table_name_18 (goals_for INTEGER, ties INTEGER) | SELECT MAX(goals_for) FROM table_name_18 WHERE ties > 0 | What is the largest Goals For by a team that has more than 0 ties? | <s>[INST]What is the largest Goals For by a team that has more than 0 ties? Context: CREATE TABLE table_name_18 (goals_for INTEGER, ties INTEGER)[/INST]SELECT MAX(goals_for) FROM table_name_18 WHERE ties > 0</s> |
CREATE TABLE table_name_83 (performer_2 VARCHAR, performer_4 VARCHAR, date VARCHAR) | SELECT performer_2 FROM table_name_83 WHERE performer_4 = "josie lawrence" AND date = "9 april 1993" | Who is performer 2 of the episode on 9 April 1993 with Josie Lawrence as performer 4? | <s>[INST]Who is performer 2 of the episode on 9 April 1993 with Josie Lawrence as performer 4? Context: CREATE TABLE table_name_83 (performer_2 VARCHAR, performer_4 VARCHAR, date VARCHAR)[/INST]SELECT performer_2 FROM table_name_83 WHERE performer_4 = "josie lawrence" AND date = "9 april 1993"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.