context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR) | SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 2010" | What is the series number of the episode that aired March 25, 2010? | <s>[INST]What is the series number of the episode that aired March 25, 2010? Context: CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 2010"</s> |
CREATE TABLE table_name_27 (points INTEGER, date VARCHAR, game VARCHAR) | SELECT MAX(points) FROM table_name_27 WHERE date = "february 10, 2009" AND game > 54 | What game in February 10, 2009 has the most points and a game number larger than 54? | <s>[INST]What game in February 10, 2009 has the most points and a game number larger than 54? Context: CREATE TABLE table_name_27 (points INTEGER, date VARCHAR, game VARCHAR)[/INST]SELECT MAX(points) FROM table_name_27 WHERE date = "february 10, 2009" AND game > 54</s> |
CREATE TABLE table_name_31 (points_for VARCHAR, played VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_31 WHERE played = "18" AND club = "bala rfc" | What points has 18 for the played and bala rfc as the club? | <s>[INST]What points has 18 for the played and bala rfc as the club? Context: CREATE TABLE table_name_31 (points_for VARCHAR, played VARCHAR, club VARCHAR)[/INST]SELECT points_for FROM table_name_31 WHERE played = "18" AND club = "bala rfc"</s> |
CREATE TABLE table_2199290_2 (outcome VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_2199290_2 WHERE score_in_the_final = "7–6(9), 7–6(1)" | What was the outcome when the final score was 7–6(9), 7–6(1)? | <s>[INST]What was the outcome when the final score was 7–6(9), 7–6(1)? Context: CREATE TABLE table_2199290_2 (outcome VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_2199290_2 WHERE score_in_the_final = "7–6(9), 7–6(1)"</s> |
CREATE TABLE table_26250155_1 (song_choice VARCHAR, original_artist VARCHAR) | SELECT COUNT(song_choice) FROM table_26250155_1 WHERE original_artist = "Bright Eyes" | What is the number of song choices where the original artist was Bright Eyes? | <s>[INST]What is the number of song choices where the original artist was Bright Eyes? Context: CREATE TABLE table_26250155_1 (song_choice VARCHAR, original_artist VARCHAR)[/INST]SELECT COUNT(song_choice) FROM table_26250155_1 WHERE original_artist = "Bright Eyes"</s> |
CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_49 WHERE competition = "friendly" | On what Date did the friendly Competition take place? | <s>[INST]On what Date did the friendly Competition take place? Context: CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE competition = "friendly"</s> |
CREATE TABLE table_name_80 (other VARCHAR, atheism VARCHAR) | SELECT other FROM table_name_80 WHERE atheism = "1.86%" | What is the value of other religions associated with atheism at 1.86%? | <s>[INST]What is the value of other religions associated with atheism at 1.86%? Context: CREATE TABLE table_name_80 (other VARCHAR, atheism VARCHAR)[/INST]SELECT other FROM table_name_80 WHERE atheism = "1.86%"</s> |
CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, rank_in_spanish VARCHAR) | SELECT commonwealth_equivalent FROM table_1015521_2 WHERE rank_in_spanish = "Coronel" | What could a spanish coronel be addressed as in the commonwealth military? | <s>[INST] What could a spanish coronel be addressed as in the commonwealth military? Context: CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, rank_in_spanish VARCHAR)[/INST]SELECT commonwealth_equivalent FROM table_1015521_2 WHERE rank_in_spanish = "Coronel"</s> |
CREATE TABLE table_27704187_10 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27704187_10 WHERE date = "March 26" | Who had the high assists on March 26? | <s>[INST]Who had the high assists on March 26? Context: CREATE TABLE table_27704187_10 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27704187_10 WHERE date = "March 26"</s> |
CREATE TABLE table_30120633_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR) | SELECT area__acres__ FROM table_30120633_1 WHERE poor_law_union = "Bandon" AND townland = "Lissagroom" | How many acres does the area of Lissagroom with Bandon as its poor law union cover? | <s>[INST]How many acres does the area of Lissagroom with Bandon as its poor law union cover? Context: CREATE TABLE table_30120633_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT area__acres__ FROM table_30120633_1 WHERE poor_law_union = "Bandon" AND townland = "Lissagroom"</s> |
CREATE TABLE table_name_80 (draws INTEGER, byes INTEGER) | SELECT MIN(draws) FROM table_name_80 WHERE byes < 4 | What is the smallest draws for Byes less than 4? | <s>[INST]What is the smallest draws for Byes less than 4? Context: CREATE TABLE table_name_80 (draws INTEGER, byes INTEGER)[/INST]SELECT MIN(draws) FROM table_name_80 WHERE byes < 4</s> |
CREATE TABLE table_30120605_1 (barony VARCHAR, townland VARCHAR) | SELECT barony FROM table_30120605_1 WHERE townland = "Mountcotton" | What is the barony of mountcotton? | <s>[INST]What is the barony of mountcotton? Context: CREATE TABLE table_30120605_1 (barony VARCHAR, townland VARCHAR)[/INST]SELECT barony FROM table_30120605_1 WHERE townland = "Mountcotton"</s> |
CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR) | SELECT result FROM table_name_1 WHERE goal > 6 AND score = "1–0" AND competition = "friendly" AND date = "may 31, 1998" | Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998? | <s>[INST]Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998? Context: CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_1 WHERE goal > 6 AND score = "1–0" AND co... |
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_56 WHERE venue = "windy hill" | Who is the home team based at windy hill? | <s>[INST]Who is the home team based at windy hill? Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_56 WHERE venue = "windy hill"</s> |
CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR) | SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki" | What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki? | <s>[INST]What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki? Context: CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR)[/INST]SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki"</s> |
CREATE TABLE table_2897457_4 (player VARCHAR, position VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2897457_4 WHERE position = "Centre" AND nhl_team = "Detroit Red Wings" | Which player is the centre for the Detroit Red Wings? | <s>[INST]Which player is the centre for the Detroit Red Wings? Context: CREATE TABLE table_2897457_4 (player VARCHAR, position VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_2897457_4 WHERE position = "Centre" AND nhl_team = "Detroit Red Wings"</s> |
CREATE TABLE table_10595672_1 (score VARCHAR, record VARCHAR) | SELECT score FROM table_10595672_1 WHERE record = "6-9" | What was the score of the game when the team reached a record of 6-9? | <s>[INST]What was the score of the game when the team reached a record of 6-9? Context: CREATE TABLE table_10595672_1 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_10595672_1 WHERE record = "6-9"</s> |
CREATE TABLE table_name_73 (Id VARCHAR) | SELECT 2005 FROM table_name_73 WHERE 2006 = "1r" | What is 2005, when 2006 is "1R"? | <s>[INST]What is 2005, when 2006 is "1R"? Context: CREATE TABLE table_name_73 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_73 WHERE 2006 = "1r"</s> |
CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR) | SELECT score1 FROM table_name_9 WHERE match = 42 | What is the Score1 of Match 42? | <s>[INST]What is the Score1 of Match 42? Context: CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR)[/INST]SELECT score1 FROM table_name_9 WHERE match = 42</s> |
CREATE TABLE table_21796261_4 (week VARCHAR, date VARCHAR) | SELECT week FROM table_21796261_4 WHERE date = "July 10" | During what week was the July 10 game played? | <s>[INST]During what week was the July 10 game played? Context: CREATE TABLE table_21796261_4 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_21796261_4 WHERE date = "July 10"</s> |
CREATE TABLE table_name_45 (goals INTEGER, leading_scorer VARCHAR) | SELECT MIN(goals) FROM table_name_45 WHERE leading_scorer = "ian rush" | Leading Scorer of Ian rush is what lowest # of goals? | <s>[INST]Leading Scorer of Ian rush is what lowest # of goals? Context: CREATE TABLE table_name_45 (goals INTEGER, leading_scorer VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_45 WHERE leading_scorer = "ian rush"</s> |
CREATE TABLE table_name_59 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_59 WHERE points_classification = "tony rominger" AND stage = "18" | What is the general classification at stage 18 that has a points classification of Tony Rominger? | <s>[INST]What is the general classification at stage 18 that has a points classification of Tony Rominger? Context: CREATE TABLE table_name_59 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR)[/INST]SELECT general_classification FROM table_name_59 WHERE points_classification = "tony rominge... |
CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR) | SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,1995" | who directed with original air date being november18,1995 | <s>[INST]who directed with original air date being november18,1995 Context: CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,1995"</s> |
CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_81 WHERE game = 2 | When the game is listed as 2, what is the score? | <s>[INST]When the game is listed as 2, what is the score? Context: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE game = 2</s> |
CREATE TABLE table_name_30 (to_par INTEGER, country VARCHAR, place VARCHAR, score VARCHAR) | SELECT MAX(to_par) FROM table_name_30 WHERE country = "united states" AND place = "t3" AND score = 74 - 73 - 72 - 69 = 288 | What is the highest to par of the player from the United States with a t3 place and a 74-73-72-69=288 place? | <s>[INST]What is the highest to par of the player from the United States with a t3 place and a 74-73-72-69=288 place? Context: CREATE TABLE table_name_30 (to_par INTEGER, country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT MAX(to_par) FROM table_name_30 WHERE country = "united states" AND place = "t3" AND score... |
CREATE TABLE table_2267465_1 (driver VARCHAR, race_time VARCHAR) | SELECT driver FROM table_2267465_1 WHERE race_time = "3:50:12" | What driver achieved a 3:50:12 race time? | <s>[INST]What driver achieved a 3:50:12 race time? Context: CREATE TABLE table_2267465_1 (driver VARCHAR, race_time VARCHAR)[/INST]SELECT driver FROM table_2267465_1 WHERE race_time = "3:50:12"</s> |
CREATE TABLE table_27723228_12 (record VARCHAR, score VARCHAR) | SELECT record FROM table_27723228_12 WHERE score = "W 101–93 (OT)" | Name the record for w 101–93 (ot) | <s>[INST]Name the record for w 101–93 (ot) Context: CREATE TABLE table_27723228_12 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_27723228_12 WHERE score = "W 101–93 (OT)"</s> |
CREATE TABLE table_name_49 (captain VARCHAR, team VARCHAR) | SELECT captain FROM table_name_49 WHERE team = "norwich city" | What is the name of the captain for team Norwich City? | <s>[INST]What is the name of the captain for team Norwich City? Context: CREATE TABLE table_name_49 (captain VARCHAR, team VARCHAR)[/INST]SELECT captain FROM table_name_49 WHERE team = "norwich city"</s> |
CREATE TABLE table_26804862_1 (season__number VARCHAR, directed_by VARCHAR) | SELECT season__number FROM table_26804862_1 WHERE directed_by = "Harvey Laidman" | When harvey laidman is the director what is the season number? | <s>[INST]When harvey laidman is the director what is the season number? Context: CREATE TABLE table_26804862_1 (season__number VARCHAR, directed_by VARCHAR)[/INST]SELECT season__number FROM table_26804862_1 WHERE directed_by = "Harvey Laidman"</s> |
CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR) | SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = "I-2: Peak (18:30-22:30)" | What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)? | <s>[INST]What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)? Context: CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR)[/INST]SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = "I-2: Peak (18:30-22:30)"</s> |
CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_16 WHERE home_team = "bath city" | What is the score of the home team, bath city? | <s>[INST]What is the score of the home team, bath city? Context: CREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE home_team = "bath city"</s> |
CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR) | SELECT COUNT(round) FROM table_name_92 WHERE pick = "242" | In which round is pick number 242? | <s>[INST]In which round is pick number 242? Context: CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_92 WHERE pick = "242"</s> |
CREATE TABLE table_name_84 (appearances VARCHAR, team VARCHAR) | SELECT COUNT(appearances) FROM table_name_84 WHERE team = "shakhtar donetsk" | How many apperances for shakhtar donetsk? | <s>[INST]How many apperances for shakhtar donetsk? Context: CREATE TABLE table_name_84 (appearances VARCHAR, team VARCHAR)[/INST]SELECT COUNT(appearances) FROM table_name_84 WHERE team = "shakhtar donetsk"</s> |
CREATE TABLE table_21676617_1 (horse VARCHAR, year VARCHAR) | SELECT COUNT(horse) FROM table_21676617_1 WHERE year = 1985 | How many horses are mentioned competing in 1985? | <s>[INST]How many horses are mentioned competing in 1985? Context: CREATE TABLE table_21676617_1 (horse VARCHAR, year VARCHAR)[/INST]SELECT COUNT(horse) FROM table_21676617_1 WHERE year = 1985</s> |
CREATE TABLE table_name_69 (points VARCHAR, year INTEGER) | SELECT COUNT(points) FROM table_name_69 WHERE year > 1966 | How many points have a Year larger than 1966? | <s>[INST]How many points have a Year larger than 1966? Context: CREATE TABLE table_name_69 (points VARCHAR, year INTEGER)[/INST]SELECT COUNT(points) FROM table_name_69 WHERE year > 1966</s> |
CREATE TABLE Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR) | SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager" | Show the employee ids for all employees with role name "Human Resource" or "Manager". | <s>[INST]Show the employee ids for all employees with role name "Human Resource" or "Manager". Context: CREATE TABLE Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)[/INST]SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_c... |
CREATE TABLE table_name_72 (Id VARCHAR) | SELECT 1997 FROM table_name_72 WHERE 1999 = "1r" AND 1992 = "qf" AND 1995 = "1r" | What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R? | <s>[INST]What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R? Context: CREATE TABLE table_name_72 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_72 WHERE 1999 = "1r" AND 1992 = "qf" AND 1995 = "1r"</s> |
CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) | SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AND flag = "great britain" AND date = "26 september 1940" AND deaths = 2 | How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2? | <s>[INST]How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2? Context: CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR)[/INST]SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AN... |
CREATE TABLE table_14342210_14 (field_goals__5_points_ INTEGER, total_points VARCHAR) | SELECT MAX(field_goals__5_points_) FROM table_14342210_14 WHERE total_points = 100 | How many field goals were made by the person with 100 points in total? | <s>[INST]How many field goals were made by the person with 100 points in total? Context: CREATE TABLE table_14342210_14 (field_goals__5_points_ INTEGER, total_points VARCHAR)[/INST]SELECT MAX(field_goals__5_points_) FROM table_14342210_14 WHERE total_points = 100</s> |
CREATE TABLE Person (name VARCHAR, gender VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, gender VARCHAR, age INTEGER) | SELECT name FROM Person WHERE gender = 'male' AND age = (SELECT MIN(age) FROM person WHERE gender = 'male') | Who is the youngest male? | <s>[INST]Who is the youngest male? Context: CREATE TABLE Person (name VARCHAR, gender VARCHAR, age INTEGER); CREATE TABLE person (name VARCHAR, gender VARCHAR, age INTEGER)[/INST]SELECT name FROM Person WHERE gender = 'male' AND age = (SELECT MIN(age) FROM person WHERE gender = 'male')</s> |
CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342292_2 WHERE incumbent = "John Sparkman" | what's the party with incumbent being john sparkman | <s>[INST]what's the party with incumbent being john sparkman Context: CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342292_2 WHERE incumbent = "John Sparkman"</s> |
CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR) | SELECT MAX(horizontal_bar) FROM table_name_4 WHERE country = "france" AND rings < 58.975 | Name the highest Horizontal Bar which is in france and Rings smaller than 58.975? | <s>[INST]Name the highest Horizontal Bar which is in france and Rings smaller than 58.975? Context: CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR)[/INST]SELECT MAX(horizontal_bar) FROM table_name_4 WHERE country = "france" AND rings < 58.975</s> |
CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR) | SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces" | what are the endings of examples achilles, appendices, fæces | <s>[INST]what are the endings of examples achilles, appendices, fæces Context: CREATE TABLE table_17798093_20 (ending VARCHAR, examples VARCHAR)[/INST]SELECT ending FROM table_17798093_20 WHERE examples = "Achilles, appendices, fæces"</s> |
CREATE TABLE table_name_88 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_88 WHERE score = "3-5" | Which attendance has a Score of 3-5? | <s>[INST]Which attendance has a Score of 3-5? Context: CREATE TABLE table_name_88 (attendance VARCHAR, score VARCHAR)[/INST]SELECT attendance FROM table_name_88 WHERE score = "3-5"</s> |
CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER) | SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000 | What was the away team at the match where the crowd was larger than 30,000? | <s>[INST]What was the away team at the match where the crowd was larger than 30,000? Context: CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000</s> |
CREATE TABLE table_name_39 (team VARCHAR, laps VARCHAR, points VARCHAR) | SELECT team FROM table_name_39 WHERE laps = 64 AND points = 13 | Which team had 64 laps and 13 points? | <s>[INST]Which team had 64 laps and 13 points? Context: CREATE TABLE table_name_39 (team VARCHAR, laps VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_name_39 WHERE laps = 64 AND points = 13</s> |
CREATE TABLE table_name_47 (attendance INTEGER, away VARCHAR) | SELECT MIN(attendance) FROM table_name_47 WHERE away = "vida" | What was the lowest attendance by the game that had an away team of Vida? | <s>[INST]What was the lowest attendance by the game that had an away team of Vida? Context: CREATE TABLE table_name_47 (attendance INTEGER, away VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_47 WHERE away = "vida"</s> |
CREATE TABLE table_name_81 (country VARCHAR, year VARCHAR) | SELECT country FROM table_name_81 WHERE year = 2002 | Name the country for 2002 | <s>[INST]Name the country for 2002 Context: CREATE TABLE table_name_81 (country VARCHAR, year VARCHAR)[/INST]SELECT country FROM table_name_81 WHERE year = 2002</s> |
CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) | SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "short patent" | For short patent type of protections, what type of PCT route is available? | <s>[INST]For short patent type of protections, what type of PCT route is available? Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR)[/INST]SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "short patent"</s> |
CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR) | SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "February 24, 2010" | How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4? | <s>[INST]How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4? Context: CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR)[/INST]SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original... |
CREATE TABLE table_name_77 (founded VARCHAR, venue VARCHAR) | SELECT COUNT(founded) FROM table_name_77 WHERE venue = "champion window field" | How many different dates are there for founded teams for the venue of champion window field? | <s>[INST]How many different dates are there for founded teams for the venue of champion window field? Context: CREATE TABLE table_name_77 (founded VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(founded) FROM table_name_77 WHERE venue = "champion window field"</s> |
CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR) | SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2" | What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees? | <s>[INST]What is the foot per second speed where time to feet ratio is 9.2 at 25 degrees? Context: CREATE TABLE table_16439764_1 (m_v_ft_s VARCHAR, time_to_ft__m__at_25°__seconds_ VARCHAR)[/INST]SELECT m_v_ft_s FROM table_16439764_1 WHERE time_to_ft__m__at_25°__seconds_ = "9.2"</s> |
CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50" | with lola t86/50 chassis and less than 7 points what is the entrant? | <s>[INST]with lola t86/50 chassis and less than 7 points what is the entrant? Context: CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50"</s> |
CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR) | SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116" | What is the cardinalatial order of the elector elevated circa 1116? | <s>[INST]What is the cardinalatial order of the elector elevated circa 1116? Context: CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR)[/INST]SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116"</s> |
CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Name VARCHAR, Score VARCHAR, Grape VARCHAR) | SELECT T2.Name, T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "White" | What are the names and scores of wines that are made of white color grapes? | <s>[INST]What are the names and scores of wines that are made of white color grapes? Context: CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Name VARCHAR, Score VARCHAR, Grape VARCHAR)[/INST]SELECT T2.Name, T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "White... |
CREATE TABLE table_name_33 (mecha VARCHAR, bird_uniform VARCHAR) | SELECT mecha FROM table_name_33 WHERE bird_uniform = "condor" | What is the mecha with a condor bird uniform? | <s>[INST]What is the mecha with a condor bird uniform? Context: CREATE TABLE table_name_33 (mecha VARCHAR, bird_uniform VARCHAR)[/INST]SELECT mecha FROM table_name_33 WHERE bird_uniform = "condor"</s> |
CREATE TABLE table_name_20 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_20 WHERE opponent = "philadelphia eagles" | What was the results against the Philadelphia Eagles? | <s>[INST]What was the results against the Philadelphia Eagles? Context: CREATE TABLE table_name_20 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_20 WHERE opponent = "philadelphia eagles"</s> |
CREATE TABLE table_2144863_1 (laps VARCHAR, driver VARCHAR) | SELECT laps FROM table_2144863_1 WHERE driver = "Ryan Newman" | Name the laps for ryan newman | <s>[INST]Name the laps for ryan newman Context: CREATE TABLE table_2144863_1 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_2144863_1 WHERE driver = "Ryan Newman"</s> |
CREATE TABLE table_name_97 (comp INTEGER, rating VARCHAR, yards VARCHAR) | SELECT MAX(comp) FROM table_name_97 WHERE rating < 52.8 AND yards < 0 | What is the highest comp for ratings less than 52.8 and yards less than 0? | <s>[INST]What is the highest comp for ratings less than 52.8 and yards less than 0? Context: CREATE TABLE table_name_97 (comp INTEGER, rating VARCHAR, yards VARCHAR)[/INST]SELECT MAX(comp) FROM table_name_97 WHERE rating < 52.8 AND yards < 0</s> |
CREATE TABLE table_name_27 (title VARCHAR, label VARCHAR, standard_number VARCHAR) | SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760" | What Title has the Label of Columbia and Standard number of CODC-8760? | <s>[INST]What Title has the Label of Columbia and Standard number of CODC-8760? Context: CREATE TABLE table_name_27 (title VARCHAR, label VARCHAR, standard_number VARCHAR)[/INST]SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760"</s> |
CREATE TABLE table_name_59 (year INTEGER, studio_s_ VARCHAR) | SELECT SUM(year) FROM table_name_59 WHERE studio_s_ = "walt disney pictures imagemovers digital" | What is Year is Walt Disney Pictures Imagemovers Digital? | <s>[INST]What is Year is Walt Disney Pictures Imagemovers Digital? Context: CREATE TABLE table_name_59 (year INTEGER, studio_s_ VARCHAR)[/INST]SELECT SUM(year) FROM table_name_59 WHERE studio_s_ = "walt disney pictures imagemovers digital"</s> |
CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR) | SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz" | What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ? | <s>[INST]What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ? Context: CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)[/INST]SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz"</s> |
CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR) | SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown" | Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown | <s>[INST]Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown Context: CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)[/INST]SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_ye... |
CREATE TABLE table_name_17 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_name_17 WHERE position = "fullback" | What is the lowest round a fullback went in? | <s>[INST]What is the lowest round a fullback went in? Context: CREATE TABLE table_name_17 (round INTEGER, position VARCHAR)[/INST]SELECT MIN(round) FROM table_name_17 WHERE position = "fullback"</s> |
CREATE TABLE table_167354_2 (rank_07_11 VARCHAR, world_ranking VARCHAR) | SELECT COUNT(rank_07_11) FROM table_167354_2 WHERE world_ranking = "4" | How many figures are there for Rank 07-11 when the world ranking is 4? | <s>[INST]How many figures are there for Rank 07-11 when the world ranking is 4? Context: CREATE TABLE table_167354_2 (rank_07_11 VARCHAR, world_ranking VARCHAR)[/INST]SELECT COUNT(rank_07_11) FROM table_167354_2 WHERE world_ranking = "4"</s> |
CREATE TABLE table_name_70 (career_w_l VARCHAR) | SELECT 2006 FROM table_name_70 WHERE career_w_l = "career statistics" | What is the value in 2006 when Career Statistics is in Career W-L? | <s>[INST]What is the value in 2006 when Career Statistics is in Career W-L? Context: CREATE TABLE table_name_70 (career_w_l VARCHAR)[/INST]SELECT 2006 FROM table_name_70 WHERE career_w_l = "career statistics"</s> |
CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_22669044_9 WHERE record = "31-27" | Name the high points 31-27 | <s>[INST]Name the high points 31-27 Context: CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR)[/INST]SELECT high_points FROM table_22669044_9 WHERE record = "31-27"</s> |
CREATE TABLE table_name_4 (date VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) | SELECT date FROM table_name_4 WHERE visitor = "jazz" AND leading_scorer = "mehmet okur (22)" | Which date's visitor was jazz, when the leading scorer was Mehmet Okur (22)? | <s>[INST]Which date's visitor was jazz, when the leading scorer was Mehmet Okur (22)? Context: CREATE TABLE table_name_4 (date VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE visitor = "jazz" AND leading_scorer = "mehmet okur (22)"</s> |
CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR) | SELECT label FROM table_name_45 WHERE year = "1993" | Which label's year is 1993? | <s>[INST]Which label's year is 1993? Context: CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR)[/INST]SELECT label FROM table_name_45 WHERE year = "1993"</s> |
CREATE TABLE table_name_22 (population INTEGER, county VARCHAR, number_of_households VARCHAR) | SELECT MAX(population) FROM table_name_22 WHERE county = "deuel" AND number_of_households < 1 OFFSET 819 | What is the highest population of Deuel county's 1,819 households? | <s>[INST]What is the highest population of Deuel county's 1,819 households? Context: CREATE TABLE table_name_22 (population INTEGER, county VARCHAR, number_of_households VARCHAR)[/INST]SELECT MAX(population) FROM table_name_22 WHERE county = "deuel" AND number_of_households < 1 OFFSET 819</s> |
CREATE TABLE table_name_76 (attendance VARCHAR, time VARCHAR) | SELECT attendance FROM table_name_76 WHERE time = "3:31" | What was the attendance for the game played at 3:31? | <s>[INST]What was the attendance for the game played at 3:31? Context: CREATE TABLE table_name_76 (attendance VARCHAR, time VARCHAR)[/INST]SELECT attendance FROM table_name_76 WHERE time = "3:31"</s> |
CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR) | SELECT host FROM table_name_6 WHERE network = "rtl-tvi" | Tell me the host for rtl-tvi | <s>[INST]Tell me the host for rtl-tvi Context: CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR)[/INST]SELECT host FROM table_name_6 WHERE network = "rtl-tvi"</s> |
CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR) | SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV" | What positions were drafted from Las Vegas, NV? | <s>[INST]What positions were drafted from Las Vegas, NV? Context: CREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)[/INST]SELECT position FROM table_11677100_16 WHERE hometown = "Las Vegas, NV"</s> |
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_27 WHERE date = "december 14, 1967" | Which week was the game on December 14, 1967? | <s>[INST]Which week was the game on December 14, 1967? Context: CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_27 WHERE date = "december 14, 1967"</s> |
CREATE TABLE table_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR) | SELECT COUNT(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = "Indonesia" | What was the GDP (in millions USD) of Indonesia in 2009? | <s>[INST]What was the GDP (in millions USD) of Indonesia in 2009? Context: CREATE TABLE table_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR)[/INST]SELECT COUNT(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = "Indonesia"</s> |
CREATE TABLE table_name_58 (race VARCHAR, date VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) | SELECT race AS Winner FROM table_name_58 WHERE pole_position = "james hunt" AND fastest_lap = "james hunt" AND date = "15 august" | Who was the race winner with a pole position james hunt, and a Fastest Lap of james hunt, and a Date of 15 august? | <s>[INST]Who was the race winner with a pole position james hunt, and a Fastest Lap of james hunt, and a Date of 15 august? Context: CREATE TABLE table_name_58 (race VARCHAR, date VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)[/INST]SELECT race AS Winner FROM table_name_58 WHERE pole_position = "james hunt" AND f... |
CREATE TABLE table_name_99 (country VARCHAR, director VARCHAR) | SELECT country FROM table_name_99 WHERE director = "dariush mehrjui" | Where is the director Dariush Mehrjui from? | <s>[INST]Where is the director Dariush Mehrjui from? Context: CREATE TABLE table_name_99 (country VARCHAR, director VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE director = "dariush mehrjui"</s> |
CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR) | SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760 | When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power? | <s>[INST]When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power? Context: CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR)[/INST]SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM tabl... |
CREATE TABLE table_17941032_3 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_17941032_3 WHERE tries_for = "30" | Name the tries against when tries for is 30 | <s>[INST]Name the tries against when tries for is 30 Context: CREATE TABLE table_17941032_3 (tries_against VARCHAR, tries_for VARCHAR)[/INST]SELECT tries_against FROM table_17941032_3 WHERE tries_for = "30"</s> |
CREATE TABLE table_name_82 (home_run INTEGER, opposing_pitcher VARCHAR) | SELECT MAX(home_run) FROM table_name_82 WHERE opposing_pitcher = "efrain valdez" | When Efrain Valdez was pitching, what was the highest home run? | <s>[INST]When Efrain Valdez was pitching, what was the highest home run? Context: CREATE TABLE table_name_82 (home_run INTEGER, opposing_pitcher VARCHAR)[/INST]SELECT MAX(home_run) FROM table_name_82 WHERE opposing_pitcher = "efrain valdez"</s> |
CREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR) | SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida" | What is the position of the player from Fort Lauderdale, Florida? | <s>[INST]What is the position of the player from Fort Lauderdale, Florida? Context: CREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR)[/INST]SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida"</s> |
CREATE TABLE table_name_5 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_name_5 WHERE college = "boston college" | Which CFL team drafted a pick from Boston College? | <s>[INST]Which CFL team drafted a pick from Boston College? Context: CREATE TABLE table_name_5 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_name_5 WHERE college = "boston college"</s> |
CREATE TABLE storm (Name VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE region (region_id VARCHAR, Region_name VARCHAR) | SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T2.Region_name = 'Afghanistan' INTERSECT SELECT T3.Name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id... | Find the name of the storm that affected both Afghanistan and Albania regions. | <s>[INST]Find the name of the storm that affected both Afghanistan and Albania regions. Context: CREATE TABLE storm (Name VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE region (region_id VARCHAR, Region_name VARCHAR)[/INST]SELECT T3.Name FROM affected_region... |
CREATE TABLE table_name_74 (dist__f_ INTEGER, odds VARCHAR, placing VARCHAR) | SELECT MAX(dist__f_) FROM table_name_74 WHERE odds = "11/4" AND placing > 1 | Name the highest Dist (f) with Odds of 11/4 and a Placing larger than 1? | <s>[INST]Name the highest Dist (f) with Odds of 11/4 and a Placing larger than 1? Context: CREATE TABLE table_name_74 (dist__f_ INTEGER, odds VARCHAR, placing VARCHAR)[/INST]SELECT MAX(dist__f_) FROM table_name_74 WHERE odds = "11/4" AND placing > 1</s> |
CREATE TABLE table_name_20 (hometown VARCHAR, year VARCHAR, club VARCHAR) | SELECT hometown FROM table_name_20 WHERE year = "fr" AND club = "brown's gymnastics" | What hometown was FR Year, and ha Brown's Gymnastics club? | <s>[INST]What hometown was FR Year, and ha Brown's Gymnastics club? Context: CREATE TABLE table_name_20 (hometown VARCHAR, year VARCHAR, club VARCHAR)[/INST]SELECT hometown FROM table_name_20 WHERE year = "fr" AND club = "brown's gymnastics"</s> |
CREATE TABLE table_26708105_5 (nt_identity VARCHAR, species VARCHAR) | SELECT nt_identity FROM table_26708105_5 WHERE species = "Drosophilia melanogaster" | What is the nt identity when the species is drosophilia melanogaster? | <s>[INST]What is the nt identity when the species is drosophilia melanogaster? Context: CREATE TABLE table_26708105_5 (nt_identity VARCHAR, species VARCHAR)[/INST]SELECT nt_identity FROM table_26708105_5 WHERE species = "Drosophilia melanogaster"</s> |
CREATE TABLE table_name_91 (nation VARCHAR, sail VARCHAR) | SELECT nation FROM table_name_91 WHERE sail = "usa-18" | Which Nation has the USA-18 sail? | <s>[INST]Which Nation has the USA-18 sail? Context: CREATE TABLE table_name_91 (nation VARCHAR, sail VARCHAR)[/INST]SELECT nation FROM table_name_91 WHERE sail = "usa-18"</s> |
CREATE TABLE table_name_76 (away VARCHAR, club VARCHAR) | SELECT away FROM table_name_76 WHERE club = "sevilla" | what place has the club of sevilla | <s>[INST]what place has the club of sevilla Context: CREATE TABLE table_name_76 (away VARCHAR, club VARCHAR)[/INST]SELECT away FROM table_name_76 WHERE club = "sevilla"</s> |
CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR) | SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd" | For the Enernoc Australia Pty Ltd, what's the country with an unknown date? | <s>[INST]For the Enernoc Australia Pty Ltd, what's the country with an unknown date? Context: CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR)[/INST]SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd"</s> |
CREATE TABLE table_name_68 (position VARCHAR, college VARCHAR, years_exp VARCHAR, weight VARCHAR, number VARCHAR) | SELECT position FROM table_name_68 WHERE weight > 200 AND number < 44 AND years_exp = "9" AND college = "university of new mexico" | What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"? | <s>[INST]What is Position, when Weight is greater than 200, when Number is less than 44, when Years Exp is 9, and when College is "University of New Mexico"? Context: CREATE TABLE table_name_68 (position VARCHAR, college VARCHAR, years_exp VARCHAR, weight VARCHAR, number VARCHAR)[/INST]SELECT position FROM table_name_6... |
CREATE TABLE table_name_56 (original_broadway_cast VARCHAR, original_west_end_cast VARCHAR) | SELECT original_broadway_cast FROM table_name_56 WHERE original_west_end_cast = "sheila hancock" | What is the name of the person who was in the Original Broadway Cast that was Original West End Cast of sheila hancock? | <s>[INST]What is the name of the person who was in the Original Broadway Cast that was Original West End Cast of sheila hancock? Context: CREATE TABLE table_name_56 (original_broadway_cast VARCHAR, original_west_end_cast VARCHAR)[/INST]SELECT original_broadway_cast FROM table_name_56 WHERE original_west_end_cast = "she... |
CREATE TABLE table_name_56 (title VARCHAR, riaa VARCHAR) | SELECT title FROM table_name_56 WHERE riaa = "gold" | What is the title of the album that had a RIAA of gold? | <s>[INST]What is the title of the album that had a RIAA of gold? Context: CREATE TABLE table_name_56 (title VARCHAR, riaa VARCHAR)[/INST]SELECT title FROM table_name_56 WHERE riaa = "gold"</s> |
CREATE TABLE table_22582663_1 (seats_contested VARCHAR, party_name VARCHAR) | SELECT seats_contested FROM table_22582663_1 WHERE party_name = "Akhil Bharatiya Rashtriya Azad Hind Party" | How many akhil bharatiya rashtriya azad hind party seats were contested? | <s>[INST]How many akhil bharatiya rashtriya azad hind party seats were contested? Context: CREATE TABLE table_22582663_1 (seats_contested VARCHAR, party_name VARCHAR)[/INST]SELECT seats_contested FROM table_22582663_1 WHERE party_name = "Akhil Bharatiya Rashtriya Azad Hind Party"</s> |
CREATE TABLE table_name_36 (name VARCHAR, local_board VARCHAR, decile VARCHAR) | SELECT name FROM table_name_36 WHERE local_board = "albert–eden" AND decile = "9" | What is the name when the local board is albert–eden, and a Decile of 9? | <s>[INST]What is the name when the local board is albert–eden, and a Decile of 9? Context: CREATE TABLE table_name_36 (name VARCHAR, local_board VARCHAR, decile VARCHAR)[/INST]SELECT name FROM table_name_36 WHERE local_board = "albert–eden" AND decile = "9"</s> |
CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_61 WHERE opponent = "shahar pe'er" | What surface was played on against Shahar Pe'er? | <s>[INST]What surface was played on against Shahar Pe'er? Context: CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_61 WHERE opponent = "shahar pe'er"</s> |
CREATE TABLE table_16741821_9 (round VARCHAR, opponents VARCHAR) | SELECT round FROM table_16741821_9 WHERE opponents = "Jesse Huta Galung Peter Wessels" | What is the name of the round against the opponents jesse huta galung peter wessels? | <s>[INST]What is the name of the round against the opponents jesse huta galung peter wessels? Context: CREATE TABLE table_16741821_9 (round VARCHAR, opponents VARCHAR)[/INST]SELECT round FROM table_16741821_9 WHERE opponents = "Jesse Huta Galung Peter Wessels"</s> |
CREATE TABLE table_name_93 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR) | SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 0 | What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0? | <s>[INST]What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0? Context: CREATE TABLE table_name_93 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR)[/INST]SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 0</s> |
CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR) | SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english" GROUP BY T2.artist_name HAVING COUNT(*) >= 1 | Find the names and number of works of all artists who have at least one English songs. | <s>[INST]Find the names and number of works of all artists who have at least one English songs. Context: CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR)[/INST]SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE ... |
CREATE TABLE table_name_75 (points VARCHAR, engine VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_name_75 WHERE engine = "chevrolet" AND team = "kv racing technology" | What is the total number of points for the KV Racing Technology team when they use a chevrolet engine? | <s>[INST]What is the total number of points for the KV Racing Technology team when they use a chevrolet engine? Context: CREATE TABLE table_name_75 (points VARCHAR, engine VARCHAR, team VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_75 WHERE engine = "chevrolet" AND team = "kv racing technology"</s> |
CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR) | SELECT record FROM table_name_89 WHERE february = 10 | What is the record after the game on Feb 10? | <s>[INST]What is the record after the game on Feb 10? Context: CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR)[/INST]SELECT record FROM table_name_89 WHERE february = 10</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.