context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_66 (socket VARCHAR, multiplier_1 VARCHAR) | SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x" | What is the socket type for the processor with a multiplier 1 of 11.5x? | <s>[INST]What is the socket type for the processor with a multiplier 1 of 11.5x? Context: CREATE TABLE table_name_66 (socket VARCHAR, multiplier_1 VARCHAR)[/INST]SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x"</s> |
CREATE TABLE table_name_80 (total VARCHAR, ward INTEGER) | SELECT COUNT(total) FROM table_name_80 WHERE ward < 0 | WHAT IS THE TOTAL NUMBER WITH A WARD SMALLER THAN 0? | <s>[INST]WHAT IS THE TOTAL NUMBER WITH A WARD SMALLER THAN 0? Context: CREATE TABLE table_name_80 (total VARCHAR, ward INTEGER)[/INST]SELECT COUNT(total) FROM table_name_80 WHERE ward < 0</s> |
CREATE TABLE table_1342379_5 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342379_5 WHERE incumbent = "Henry E. Barbour" | Who was the incumbent when henry e. barbour ran? | <s>[INST]Who was the incumbent when henry e. barbour ran? Context: CREATE TABLE table_1342379_5 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342379_5 WHERE incumbent = "Henry E. Barbour"</s> |
CREATE TABLE table_1965650_11 (player VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)" | Who came from the University of Michigan (NCAA) team? | <s>[INST]Who came from the University of Michigan (NCAA) team? Context: CREATE TABLE table_1965650_11 (player VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT player FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"</s> |
CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_17 WHERE round = 4 | Which Nationality has a Round of 4? | <s>[INST]Which Nationality has a Round of 4? Context: CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_17 WHERE round = 4</s> |
CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_59 WHERE date = "april 30" | What is the playoff Game on April 30? | <s>[INST]What is the playoff Game on April 30? Context: CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_59 WHERE date = "april 30"</s> |
CREATE TABLE table_19874169_3 (power__kw_ VARCHAR, branding VARCHAR) | SELECT power__kw_ FROM table_19874169_3 WHERE branding = "YES! FM 91.1 Boracay" | If the branding is Yes! FM 91.1 Boracay, what is the power? | <s>[INST]If the branding is Yes! FM 91.1 Boracay, what is the power? Context: CREATE TABLE table_19874169_3 (power__kw_ VARCHAR, branding VARCHAR)[/INST]SELECT power__kw_ FROM table_19874169_3 WHERE branding = "YES! FM 91.1 Boracay"</s> |
CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR) | SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien" | Which Season has an Agg of 4–1, and an Opponent of rapid wien? | <s>[INST]Which Season has an Agg of 4–1, and an Opponent of rapid wien? Context: CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR)[/INST]SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien"</s> |
CREATE TABLE table_name_5 (max_fps VARCHAR, mpix VARCHAR, frame_size VARCHAR) | SELECT COUNT(max_fps) FROM table_name_5 WHERE mpix > 8.4 AND frame_size = "4k 16:9" | What is the max fps of a camera with mpix larger than 8.4 and frame size of 4k 16:9? | <s>[INST]What is the max fps of a camera with mpix larger than 8.4 and frame size of 4k 16:9? Context: CREATE TABLE table_name_5 (max_fps VARCHAR, mpix VARCHAR, frame_size VARCHAR)[/INST]SELECT COUNT(max_fps) FROM table_name_5 WHERE mpix > 8.4 AND frame_size = "4k 16:9"</s> |
CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR) | SELECT year FROM table_name_41 WHERE nominee = "patricia mcgourty" AND award = "tony award" | What year was Patricia Mcgourty nominated for a Tony award? | <s>[INST]What year was Patricia Mcgourty nominated for a Tony award? Context: CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)[/INST]SELECT year FROM table_name_41 WHERE nominee = "patricia mcgourty" AND award = "tony award"</s> |
CREATE TABLE table_name_83 (match INTEGER, points INTEGER) | SELECT SUM(match) FROM table_name_83 WHERE points > 22 | How many matches ended with more than 22 points? | <s>[INST]How many matches ended with more than 22 points? Context: CREATE TABLE table_name_83 (match INTEGER, points INTEGER)[/INST]SELECT SUM(match) FROM table_name_83 WHERE points > 22</s> |
CREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR) | SELECT build_date FROM table_name_80 WHERE total_produced = 2 | What is the build date when total produced is 2? | <s>[INST]What is the build date when total produced is 2? Context: CREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR)[/INST]SELECT build_date FROM table_name_80 WHERE total_produced = 2</s> |
CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, opening_film VARCHAR) | SELECT COUNT(award_winning_film) FROM table_18220102_1 WHERE opening_film = "Encounters at the End of the World" | How many award-winning films have the opening film of encounters at the end of the world? | <s>[INST]How many award-winning films have the opening film of encounters at the end of the world? Context: CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, opening_film VARCHAR)[/INST]SELECT COUNT(award_winning_film) FROM table_18220102_1 WHERE opening_film = "Encounters at the End of the World"</s> |
CREATE TABLE table_18428024_3 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT COUNT(original_air_date) FROM table_18428024_3 WHERE no_in_series = 360 | What is the original air date in series 360? | <s>[INST]What is the original air date in series 360? Context: CREATE TABLE table_18428024_3 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_18428024_3 WHERE no_in_series = 360</s> |
CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) | SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c" | Name the points for Engine of chevrolet 265c | <s>[INST]Name the points for Engine of chevrolet 265c Context: CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR)[/INST]SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c"</s> |
CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR) | SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower" | Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower? | <s>[INST]Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower? Context: CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower"</s> |
CREATE TABLE table_2886617_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_2886617_5 WHERE nhl_team = "Colorado Avalanche" | How may college/junior/club team has a the nhl team listed as Colorado Avalanche? | <s>[INST]How may college/junior/club team has a the nhl team listed as Colorado Avalanche? Context: CREATE TABLE table_2886617_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT COUNT(college_junior_club_team) FROM table_2886617_5 WHERE nhl_team = "Colorado Avalanche"</s> |
CREATE TABLE table_name_76 (opposing_team VARCHAR, status VARCHAR) | SELECT opposing_team FROM table_name_76 WHERE status = "test match" | Who was the opposing team in the test match? | <s>[INST]Who was the opposing team in the test match? Context: CREATE TABLE table_name_76 (opposing_team VARCHAR, status VARCHAR)[/INST]SELECT opposing_team FROM table_name_76 WHERE status = "test match"</s> |
CREATE TABLE table_2679061_4 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2679061_4 WHERE nhl_team = "Minnesota North Stars" | Which player was drafted by the Minnesota North Stars? | <s>[INST]Which player was drafted by the Minnesota North Stars? Context: CREATE TABLE table_2679061_4 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_2679061_4 WHERE nhl_team = "Minnesota North Stars"</s> |
CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_56 WHERE visitor = "canadiens" | What was the decision of the Lightning game when the Canadiens were the away team? | <s>[INST]What was the decision of the Lightning game when the Canadiens were the away team? Context: CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR)[/INST]SELECT decision FROM table_name_56 WHERE visitor = "canadiens"</s> |
CREATE TABLE table_name_57 (away VARCHAR, time VARCHAR) | SELECT away FROM table_name_57 WHERE time = "15:00" | Who was the away team of the game at the time 15:00? | <s>[INST]Who was the away team of the game at the time 15:00? Context: CREATE TABLE table_name_57 (away VARCHAR, time VARCHAR)[/INST]SELECT away FROM table_name_57 WHERE time = "15:00"</s> |
CREATE TABLE table_name_1 (wins INTEGER, class VARCHAR, year VARCHAR) | SELECT AVG(wins) FROM table_name_1 WHERE class = "250cc" AND year = 1972 | Count the average Wins which has a Class of 250cc, and a Year of 1972? | <s>[INST]Count the average Wins which has a Class of 250cc, and a Year of 1972? Context: CREATE TABLE table_name_1 (wins INTEGER, class VARCHAR, year VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_1 WHERE class = "250cc" AND year = 1972</s> |
CREATE TABLE table_name_24 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT year__ceremony_ FROM table_name_24 WHERE result = "not nominated" AND film_title_used_in_nomination = "in the navel of the sea" | What is the year when not nominated was the result, and In the Navel of the Sea was the film title used in nomination? | <s>[INST]What is the year when not nominated was the result, and In the Navel of the Sea was the film title used in nomination? Context: CREATE TABLE table_name_24 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT year__ceremony_ FROM table_name_24 WHERE result = "not nominat... |
CREATE TABLE table_name_59 (location VARCHAR, unit VARCHAR) | SELECT location FROM table_name_59 WHERE unit = "jiufotang formation" | What country is the Jiufotang Formation located in? | <s>[INST]What country is the Jiufotang Formation located in? Context: CREATE TABLE table_name_59 (location VARCHAR, unit VARCHAR)[/INST]SELECT location FROM table_name_59 WHERE unit = "jiufotang formation"</s> |
CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR) | SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33" | If the race time is 2:00:33, what is the average speed? | <s>[INST]If the race time is 2:00:33, what is the average speed? Context: CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)[/INST]SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33"</s> |
CREATE TABLE table_14345690_4 (entered VARCHAR, famous_for VARCHAR) | SELECT entered FROM table_14345690_4 WHERE famous_for = "Page 3 Model" | Name the entered for famous for page 3 model | <s>[INST]Name the entered for famous for page 3 model Context: CREATE TABLE table_14345690_4 (entered VARCHAR, famous_for VARCHAR)[/INST]SELECT entered FROM table_14345690_4 WHERE famous_for = "Page 3 Model"</s> |
CREATE TABLE perpetrator (Injured VARCHAR) | SELECT Injured FROM perpetrator ORDER BY Injured | List the number of people injured by perpetrators in ascending order. | <s>[INST]List the number of people injured by perpetrators in ascending order. Context: CREATE TABLE perpetrator (Injured VARCHAR)[/INST]SELECT Injured FROM perpetrator ORDER BY Injured</s> |
CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_85 WHERE place = "t1" AND score = 67 - 70 = 137 | What player is in the place of t1 and has the score of 67-70=137? | <s>[INST]What player is in the place of t1 and has the score of 67-70=137? Context: CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_85 WHERE place = "t1" AND score = 67 - 70 = 137</s> |
CREATE TABLE table_28798161_3 (average VARCHAR, bbi VARCHAR) | SELECT average FROM table_28798161_3 WHERE bbi = "4/39" | if the bbi is 4/39 what is the average | <s>[INST]if the bbi is 4/39 what is the average Context: CREATE TABLE table_28798161_3 (average VARCHAR, bbi VARCHAR)[/INST]SELECT average FROM table_28798161_3 WHERE bbi = "4/39"</s> |
CREATE TABLE table_name_38 (year INTEGER, points INTEGER) | SELECT MIN(year) FROM table_name_38 WHERE points > 0 | What is the earliest year when the points were more than 0? | <s>[INST]What is the earliest year when the points were more than 0? Context: CREATE TABLE table_name_38 (year INTEGER, points INTEGER)[/INST]SELECT MIN(year) FROM table_name_38 WHERE points > 0</s> |
CREATE TABLE table_15511178_3 (winning_driver VARCHAR, rd VARCHAR) | SELECT COUNT(winning_driver) FROM table_15511178_3 WHERE rd = 8 | how many winners were in round 8 | <s>[INST]how many winners were in round 8 Context: CREATE TABLE table_15511178_3 (winning_driver VARCHAR, rd VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_15511178_3 WHERE rd = 8</s> |
CREATE TABLE table_name_35 (category VARCHAR, opponent VARCHAR) | SELECT category FROM table_name_35 WHERE opponent = "matthew barton" | What category is Matthew Barton? | <s>[INST]What category is Matthew Barton? Context: CREATE TABLE table_name_35 (category VARCHAR, opponent VARCHAR)[/INST]SELECT category FROM table_name_35 WHERE opponent = "matthew barton"</s> |
CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle" | The event rip curl pro mademoiselle is in which location? | <s>[INST]The event rip curl pro mademoiselle is in which location? Context: CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_55 WHERE event = "rip curl pro mademoiselle"</s> |
CREATE TABLE table_name_25 (configuration VARCHAR, wheels VARCHAR, country VARCHAR, type VARCHAR) | SELECT configuration FROM table_name_25 WHERE country = "france" AND type = "accounting" AND wheels > 6 | What is the configuration for the country France, with accounting as the type, and wheels greater than 6? | <s>[INST]What is the configuration for the country France, with accounting as the type, and wheels greater than 6? Context: CREATE TABLE table_name_25 (configuration VARCHAR, wheels VARCHAR, country VARCHAR, type VARCHAR)[/INST]SELECT configuration FROM table_name_25 WHERE country = "france" AND type = "accounting" AND... |
CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR) | SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008" | What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? | <s>[INST]What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? Context: CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR)[/INST]SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008"</s> |
CREATE TABLE table_name_40 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) | SELECT year_s__won FROM table_name_40 WHERE total = 145 AND country = "united states" | What is Year(s) Won, when Total is "145", and when Country is "United States"? | <s>[INST]What is Year(s) Won, when Total is "145", and when Country is "United States"? Context: CREATE TABLE table_name_40 (year_s__won VARCHAR, total VARCHAR, country VARCHAR)[/INST]SELECT year_s__won FROM table_name_40 WHERE total = 145 AND country = "united states"</s> |
CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_93 WHERE home_team = "north melbourne" | If north melbourne played as the home team, who was the away team they played? | <s>[INST]If north melbourne played as the home team, who was the away team they played? Context: CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_93 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR) | SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "23/15" | What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15? | <s>[INST]What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15? Context: CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR)[/INST]SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "23/15"</s> |
CREATE TABLE table_name_14 (rank VARCHAR, assists VARCHAR) | SELECT rank FROM table_name_14 WHERE assists = "13" | What was the rank of the player who had 13 assists? | <s>[INST]What was the rank of the player who had 13 assists? Context: CREATE TABLE table_name_14 (rank VARCHAR, assists VARCHAR)[/INST]SELECT rank FROM table_name_14 WHERE assists = "13"</s> |
CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR) | SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–16" | what's the byu-uu score with uu-usu score being 44–16 | <s>[INST]what's the byu-uu score with uu-usu score being 44–16 Context: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR)[/INST]SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–16"</s> |
CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR) | SELECT AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards" | What year did was the Inside Soap Awards won? | <s>[INST]What year did was the Inside Soap Awards won? Context: CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR)[/INST]SELECT AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards"</s> |
CREATE TABLE table_name_70 (type VARCHAR, entered_service VARCHAR) | SELECT type FROM table_name_70 WHERE entered_service = "2000" | What type entered service in 2000? | <s>[INST]What type entered service in 2000? Context: CREATE TABLE table_name_70 (type VARCHAR, entered_service VARCHAR)[/INST]SELECT type FROM table_name_70 WHERE entered_service = "2000"</s> |
CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16 | What is the number against when losses are smaller than 3, and wins arelarger than 16? | <s>[INST]What is the number against when losses are smaller than 3, and wins arelarger than 16? Context: CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16</s> |
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR) | SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing') | What is the course title of the prerequisite of course Mobile Computing? | <s>[INST]What is the course title of the prerequisite of course Mobile Computing? Context: CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR)[/INST]SELECT title FROM course WHERE course_id IN (SELECT ... |
CREATE TABLE table_name_35 (chassis VARCHAR, year VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_35 WHERE year = 1974 AND entrant = "goldie hexagon racing" | Which chassis is from 1974 and was an entrant of Goldie Hexagon racing? | <s>[INST]Which chassis is from 1974 and was an entrant of Goldie Hexagon racing? Context: CREATE TABLE table_name_35 (chassis VARCHAR, year VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_35 WHERE year = 1974 AND entrant = "goldie hexagon racing"</s> |
CREATE TABLE table_name_94 (played INTEGER, points VARCHAR, drawn VARCHAR) | SELECT MAX(played) FROM table_name_94 WHERE points = 5 AND drawn < 1 | Which Played is the highest one that has Points of 5, and a Drawn smaller than 1? | <s>[INST]Which Played is the highest one that has Points of 5, and a Drawn smaller than 1? Context: CREATE TABLE table_name_94 (played INTEGER, points VARCHAR, drawn VARCHAR)[/INST]SELECT MAX(played) FROM table_name_94 WHERE points = 5 AND drawn < 1</s> |
CREATE TABLE table_name_59 (ceased_to_be_duchess VARCHAR, marriage VARCHAR) | SELECT ceased_to_be_duchess FROM table_name_59 WHERE marriage = "22 may 1657" | When did the woman, who was married 22 may 1657, cease to be the duchess? | <s>[INST]When did the woman, who was married 22 may 1657, cease to be the duchess? Context: CREATE TABLE table_name_59 (ceased_to_be_duchess VARCHAR, marriage VARCHAR)[/INST]SELECT ceased_to_be_duchess FROM table_name_59 WHERE marriage = "22 may 1657"</s> |
CREATE TABLE table_22815265_1 (opponents VARCHAR, cowboys_points VARCHAR) | SELECT opponents FROM table_22815265_1 WHERE cowboys_points = 10 | How many opponents are there when cowboy points were 10? | <s>[INST]How many opponents are there when cowboy points were 10? Context: CREATE TABLE table_22815265_1 (opponents VARCHAR, cowboys_points VARCHAR)[/INST]SELECT opponents FROM table_22815265_1 WHERE cowboys_points = 10</s> |
CREATE TABLE table_name_98 (game INTEGER, opponents VARCHAR, record VARCHAR) | SELECT MAX(game) FROM table_name_98 WHERE opponents < 80 AND record = "1-0" | What is the highest Game, when Opponents is less than 80, and when Record is "1-0"? | <s>[INST]What is the highest Game, when Opponents is less than 80, and when Record is "1-0"? Context: CREATE TABLE table_name_98 (game INTEGER, opponents VARCHAR, record VARCHAR)[/INST]SELECT MAX(game) FROM table_name_98 WHERE opponents < 80 AND record = "1-0"</s> |
CREATE TABLE table_10707142_2 (report VARCHAR, race_name VARCHAR) | SELECT report FROM table_10707142_2 WHERE race_name = "Long Beach Grand Prix" | what is the name of the report that lists the race name as long beach grand prix? | <s>[INST]what is the name of the report that lists the race name as long beach grand prix? Context: CREATE TABLE table_10707142_2 (report VARCHAR, race_name VARCHAR)[/INST]SELECT report FROM table_10707142_2 WHERE race_name = "Long Beach Grand Prix"</s> |
CREATE TABLE table_25764073_3 (director_s_ VARCHAR, writer_s_ VARCHAR) | SELECT director_s_ FROM table_25764073_3 WHERE writer_s_ = "Peter Gawler" | Name the directors for peter gawler | <s>[INST]Name the directors for peter gawler Context: CREATE TABLE table_25764073_3 (director_s_ VARCHAR, writer_s_ VARCHAR)[/INST]SELECT director_s_ FROM table_25764073_3 WHERE writer_s_ = "Peter Gawler"</s> |
CREATE TABLE table_name_67 (magnitude VARCHAR, time__utc_ VARCHAR, epicenter VARCHAR, intensity VARCHAR) | SELECT magnitude FROM table_name_67 WHERE epicenter = "vrancea county" AND intensity = "unknown" AND time__utc_ = "06:36" | What is the magnitude with epicenter at Vrancea County, unknown intensity and which happened at 06:36? | <s>[INST]What is the magnitude with epicenter at Vrancea County, unknown intensity and which happened at 06:36? Context: CREATE TABLE table_name_67 (magnitude VARCHAR, time__utc_ VARCHAR, epicenter VARCHAR, intensity VARCHAR)[/INST]SELECT magnitude FROM table_name_67 WHERE epicenter = "vrancea county" AND intensity = "... |
CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0" | What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? | <s>[INST]What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? Context: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = ... |
CREATE TABLE table_name_31 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_31 WHERE attendance = "71,060" | Where was the game played when 71,060 people attended? | <s>[INST]Where was the game played when 71,060 people attended? Context: CREATE TABLE table_name_31 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_31 WHERE attendance = "71,060"</s> |
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_14 WHERE record = "13-15" | What day is their record 13-15? | <s>[INST]What day is their record 13-15? Context: CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE record = "13-15"</s> |
CREATE TABLE table_name_73 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_73 WHERE venue = "junction oval" | Who was the home team at the game held at the Junction Oval? | <s>[INST]Who was the home team at the game held at the Junction Oval? Context: CREATE TABLE table_name_73 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_73 WHERE venue = "junction oval"</s> |
CREATE TABLE table_name_57 (score VARCHAR, set_2 VARCHAR) | SELECT score FROM table_name_57 WHERE set_2 = "25–18" | What is the overall score when the set 2 score is 25–18? | <s>[INST]What is the overall score when the set 2 score is 25–18? Context: CREATE TABLE table_name_57 (score VARCHAR, set_2 VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE set_2 = "25–18"</s> |
CREATE TABLE table_name_56 (december INTEGER, record VARCHAR) | SELECT SUM(december) FROM table_name_56 WHERE record = "22-12-5" | What is the sum for December when the record was 22-12-5? | <s>[INST]What is the sum for December when the record was 22-12-5? Context: CREATE TABLE table_name_56 (december INTEGER, record VARCHAR)[/INST]SELECT SUM(december) FROM table_name_56 WHERE record = "22-12-5"</s> |
CREATE TABLE files (duration INTEGER, f_id VARCHAR, formats VARCHAR); CREATE TABLE song (f_id VARCHAR, resolution VARCHAR) | SELECT AVG(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" AND T2.resolution < 800 | What is the average duration of songs that have mp3 format and resolution below 800? | <s>[INST]What is the average duration of songs that have mp3 format and resolution below 800? Context: CREATE TABLE files (duration INTEGER, f_id VARCHAR, formats VARCHAR); CREATE TABLE song (f_id VARCHAR, resolution VARCHAR)[/INST]SELECT AVG(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.f... |
CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs" | Which home captian has aus by 295 runs as the result? | <s>[INST]Which home captian has aus by 295 runs as the result? Context: CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR)[/INST]SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs"</s> |
CREATE TABLE table_name_98 (location VARCHAR, founded VARCHAR, left VARCHAR, type VARCHAR) | SELECT location FROM table_name_98 WHERE left = 1975 AND type = "private" AND founded = 1891 | Where was the former private member that was founded in 1891 and left in 1975? | <s>[INST]Where was the former private member that was founded in 1891 and left in 1975? Context: CREATE TABLE table_name_98 (location VARCHAR, founded VARCHAR, left VARCHAR, type VARCHAR)[/INST]SELECT location FROM table_name_98 WHERE left = 1975 AND type = "private" AND founded = 1891</s> |
CREATE TABLE table_name_71 (country VARCHAR, stadium VARCHAR) | SELECT country FROM table_name_71 WHERE stadium = "grandstand stadium" | What country has grandstand stadium as the stadium? | <s>[INST]What country has grandstand stadium as the stadium? Context: CREATE TABLE table_name_71 (country VARCHAR, stadium VARCHAR)[/INST]SELECT country FROM table_name_71 WHERE stadium = "grandstand stadium"</s> |
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR) | SELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE tourism_competitiveness__2011___ttci_ = "3.26" | Name the tourism receipts 2003 for tourism competitiveness 3.26 | <s>[INST]Name the tourism receipts 2003 for tourism competitiveness 3.26 Context: CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR)[/INST]SELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE touri... |
CREATE TABLE table_name_2 (tournament VARCHAR) | SELECT 2008 FROM table_name_2 WHERE 2009 = "a" AND 2010 = "a" AND 2012 = "1r" AND tournament = "cincinnati masters" | Which 2008 has a 2009 of A, and a 2010 of A, and a 2012 of 1r, and a Tournament of cincinnati masters? | <s>[INST]Which 2008 has a 2009 of A, and a 2010 of A, and a 2012 of 1r, and a Tournament of cincinnati masters? Context: CREATE TABLE table_name_2 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_2 WHERE 2009 = "a" AND 2010 = "a" AND 2012 = "1r" AND tournament = "cincinnati masters"</s> |
CREATE TABLE table_name_59 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4 | What Nationality of the person who has a Rank of 4 | <s>[INST]What Nationality of the person who has a Rank of 4 Context: CREATE TABLE table_name_59 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)[/INST]SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4</s> |
CREATE TABLE table_name_78 (name VARCHAR, city VARCHAR, years_as_tallest VARCHAR) | SELECT name FROM table_name_78 WHERE city = "frankfurt" AND years_as_tallest = "1990–1997" | What is the name of the building that was the tallest from 1990–1997 in Frankfurt? | <s>[INST]What is the name of the building that was the tallest from 1990–1997 in Frankfurt? Context: CREATE TABLE table_name_78 (name VARCHAR, city VARCHAR, years_as_tallest VARCHAR)[/INST]SELECT name FROM table_name_78 WHERE city = "frankfurt" AND years_as_tallest = "1990–1997"</s> |
CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_80 WHERE attendance = "38,062" | What is the date of the game with 38,062 people in attendance? | <s>[INST]What is the date of the game with 38,062 people in attendance? Context: CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_80 WHERE attendance = "38,062"</s> |
CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR) | SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82" | What is Game, when Road Team is "Syracuse", and when Result is "109-82"? | <s>[INST]What is Game, when Road Team is "Syracuse", and when Result is "109-82"? Context: CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR)[/INST]SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82"</s> |
CREATE TABLE table_22181917_2 (original_air_date VARCHAR, season__number VARCHAR) | SELECT COUNT(original_air_date) FROM table_22181917_2 WHERE season__number = 20 | How many original airdates did season 20 have? | <s>[INST]How many original airdates did season 20 have? Context: CREATE TABLE table_22181917_2 (original_air_date VARCHAR, season__number VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_22181917_2 WHERE season__number = 20</s> |
CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR) | SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson" | What position did Tara Palmer-Tomkinson finish? | <s>[INST]What position did Tara Palmer-Tomkinson finish? Context: CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR)[/INST]SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson"</s> |
CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR) | SELECT total FROM table_name_88 WHERE rank = "4" | what is the total when the rank is 4? | <s>[INST]what is the total when the rank is 4? Context: CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR)[/INST]SELECT total FROM table_name_88 WHERE rank = "4"</s> |
CREATE TABLE table_name_48 (venue VARCHAR, competition VARCHAR, goal VARCHAR) | SELECT venue FROM table_name_48 WHERE competition = "friendly" AND goal > 2 | What Venue had 2 or more Goals in a Friendly Competition? | <s>[INST]What Venue had 2 or more Goals in a Friendly Competition? Context: CREATE TABLE table_name_48 (venue VARCHAR, competition VARCHAR, goal VARCHAR)[/INST]SELECT venue FROM table_name_48 WHERE competition = "friendly" AND goal > 2</s> |
CREATE TABLE table_name_48 (nba_draft VARCHAR, college VARCHAR) | SELECT nba_draft FROM table_name_48 WHERE college = "kansas" | What is the NBA draft result of the player from the College of Kansas? | <s>[INST]What is the NBA draft result of the player from the College of Kansas? Context: CREATE TABLE table_name_48 (nba_draft VARCHAR, college VARCHAR)[/INST]SELECT nba_draft FROM table_name_48 WHERE college = "kansas"</s> |
CREATE TABLE table_name_17 (package VARCHAR, eeprom INTEGER) | SELECT package FROM table_name_17 WHERE eeprom < 128 | Tell me the package for EEPROM less than 128 | <s>[INST]Tell me the package for EEPROM less than 128 Context: CREATE TABLE table_name_17 (package VARCHAR, eeprom INTEGER)[/INST]SELECT package FROM table_name_17 WHERE eeprom < 128</s> |
CREATE TABLE player (Team VARCHAR, Age VARCHAR) | SELECT Team FROM player ORDER BY Age DESC LIMIT 5 | List the teams of the players with the top 5 largest ages. | <s>[INST]List the teams of the players with the top 5 largest ages. Context: CREATE TABLE player (Team VARCHAR, Age VARCHAR)[/INST]SELECT Team FROM player ORDER BY Age DESC LIMIT 5</s> |
CREATE TABLE table_name_24 (draw INTEGER, televoting VARCHAR, jury VARCHAR) | SELECT SUM(draw) FROM table_name_24 WHERE televoting = 9 AND jury < 10 | Televoting of 9, and a Jury smaller than 10 had what sum of draw? | <s>[INST]Televoting of 9, and a Jury smaller than 10 had what sum of draw? Context: CREATE TABLE table_name_24 (draw INTEGER, televoting VARCHAR, jury VARCHAR)[/INST]SELECT SUM(draw) FROM table_name_24 WHERE televoting = 9 AND jury < 10</s> |
CREATE TABLE table_name_99 (winter VARCHAR, year VARCHAR) | SELECT winter FROM table_name_99 WHERE year = 1906 | What is the Winter in 1906? | <s>[INST]What is the Winter in 1906? Context: CREATE TABLE table_name_99 (winter VARCHAR, year VARCHAR)[/INST]SELECT winter FROM table_name_99 WHERE year = 1906</s> |
CREATE TABLE table_name_49 (winner VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_49 WHERE circuit = "barbagallo raceway" | Who won at the Barbagallo Raceway circuit? | <s>[INST]Who won at the Barbagallo Raceway circuit? Context: CREATE TABLE table_name_49 (winner VARCHAR, circuit VARCHAR)[/INST]SELECT winner FROM table_name_49 WHERE circuit = "barbagallo raceway"</s> |
CREATE TABLE table_23294081_11 (performer_1 VARCHAR, performer_2 VARCHAR, _number VARCHAR) | SELECT performer_1 FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND _number = 7 | Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2? | <s>[INST]Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2? Context: CREATE TABLE table_23294081_11 (performer_1 VARCHAR, performer_2 VARCHAR, _number VARCHAR)[/INST]SELECT performer_1 FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND _number = 7</s> |
CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR) | SELECT country FROM table_name_50 WHERE lead = "sarah wazney" | Which country has a Lead of sarah wazney? | <s>[INST]Which country has a Lead of sarah wazney? Context: CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR)[/INST]SELECT country FROM table_name_50 WHERE lead = "sarah wazney"</s> |
CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR) | SELECT english_title FROM table_22128871_1 WHERE result = "Nominee" | What is every English title for the result of nominee? | <s>[INST]What is every English title for the result of nominee? Context: CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR)[/INST]SELECT english_title FROM table_22128871_1 WHERE result = "Nominee"</s> |
CREATE TABLE Sportsinfo (sportname VARCHAR) | SELECT sportname, COUNT(*) FROM Sportsinfo GROUP BY sportname | Show all sport name and the number of students. | <s>[INST]Show all sport name and the number of students. Context: CREATE TABLE Sportsinfo (sportname VARCHAR)[/INST]SELECT sportname, COUNT(*) FROM Sportsinfo GROUP BY sportname</s> |
CREATE TABLE table_1405704_1 (team VARCHAR, winning_driver VARCHAR) | SELECT team FROM table_1405704_1 WHERE winning_driver = "Al Unser" | What team does Al Unser drive for? | <s>[INST]What team does Al Unser drive for? Context: CREATE TABLE table_1405704_1 (team VARCHAR, winning_driver VARCHAR)[/INST]SELECT team FROM table_1405704_1 WHERE winning_driver = "Al Unser"</s> |
CREATE TABLE table_27539272_5 (location_attendance VARCHAR, score VARCHAR) | SELECT COUNT(location_attendance) FROM table_27539272_5 WHERE score = "1-3" | what is the total number of locations that had a score of 1-3? | <s>[INST]what is the total number of locations that had a score of 1-3? Context: CREATE TABLE table_27539272_5 (location_attendance VARCHAR, score VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_27539272_5 WHERE score = "1-3"</s> |
CREATE TABLE table_name_1 (final_round VARCHAR, year VARCHAR) | SELECT final_round FROM table_name_1 WHERE year = "1975" | In 1975, what was the final round? | <s>[INST]In 1975, what was the final round? Context: CREATE TABLE table_name_1 (final_round VARCHAR, year VARCHAR)[/INST]SELECT final_round FROM table_name_1 WHERE year = "1975"</s> |
CREATE TABLE CAR_MAKERS (Id VARCHAR, Country VARCHAR); CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR) | SELECT COUNT(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa' | How many car models are produced in the usa? | <s>[INST]How many car models are produced in the usa? Context: CREATE TABLE CAR_MAKERS (Id VARCHAR, Country VARCHAR); CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)[/INST]SELECT COUNT(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTR... |
CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_13759592_1 WHERE nickname = "Vikings" | Which location has a team that is nicknamed the Vikings? | <s>[INST]Which location has a team that is nicknamed the Vikings? Context: CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_13759592_1 WHERE nickname = "Vikings"</s> |
CREATE TABLE table_name_33 (rank VARCHAR, nationality VARCHAR) | SELECT rank FROM table_name_33 WHERE nationality = "zimbabwe" | What is Zimbabwe's rank? | <s>[INST]What is Zimbabwe's rank? Context: CREATE TABLE table_name_33 (rank VARCHAR, nationality VARCHAR)[/INST]SELECT rank FROM table_name_33 WHERE nationality = "zimbabwe"</s> |
CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR) | SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett" | How many US events did jason bennett win? | <s>[INST]How many US events did jason bennett win? Context: CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR)[/INST]SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett"</s> |
CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR) | SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing" | What is the type of Kuang-Hsing? | <s>[INST]What is the type of Kuang-Hsing? Context: CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR)[/INST]SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing"</s> |
CREATE TABLE table_25085059_1 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_25085059_1 WHERE pick__number = 1 | What player was the number 1 draft pick? | <s>[INST]What player was the number 1 draft pick? Context: CREATE TABLE table_25085059_1 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_25085059_1 WHERE pick__number = 1</s> |
CREATE TABLE table_name_78 (college VARCHAR, team VARCHAR, position VARCHAR) | SELECT college FROM table_name_78 WHERE team = "chicago stags" AND position = "g" | What college has the Chicago stags and position is G? | <s>[INST]What college has the Chicago stags and position is G? Context: CREATE TABLE table_name_78 (college VARCHAR, team VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_78 WHERE team = "chicago stags" AND position = "g"</s> |
CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR) | SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters" | Who was the losing team with a total of 24 when the winning team was Sydney Roosters? | <s>[INST]Who was the losing team with a total of 24 when the winning team was Sydney Roosters? Context: CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR)[/INST]SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters"</s> |
CREATE TABLE table_name_53 (runs VARCHAR, opponent VARCHAR) | SELECT runs FROM table_name_53 WHERE opponent = "south australia" | Which Runs has a Opponent of south australia? | <s>[INST]Which Runs has a Opponent of south australia? Context: CREATE TABLE table_name_53 (runs VARCHAR, opponent VARCHAR)[/INST]SELECT runs FROM table_name_53 WHERE opponent = "south australia"</s> |
CREATE TABLE table_name_62 (career_sr VARCHAR, tournament VARCHAR) | SELECT career_sr FROM table_name_62 WHERE tournament = "masters series sr" | What is the Career SR of the year that held the masters series Sr tournament | <s>[INST]What is the Career SR of the year that held the masters series Sr tournament Context: CREATE TABLE table_name_62 (career_sr VARCHAR, tournament VARCHAR)[/INST]SELECT career_sr FROM table_name_62 WHERE tournament = "masters series sr"</s> |
CREATE TABLE table_name_70 (position_in_1999 VARCHAR, capacity INTEGER) | SELECT position_in_1999 FROM table_name_70 WHERE capacity > 6 OFFSET 500 | What is the position of the team that played at the venue with more than 6,500 capacity? | <s>[INST]What is the position of the team that played at the venue with more than 6,500 capacity? Context: CREATE TABLE table_name_70 (position_in_1999 VARCHAR, capacity INTEGER)[/INST]SELECT position_in_1999 FROM table_name_70 WHERE capacity > 6 OFFSET 500</s> |
CREATE TABLE table_name_35 (code INTEGER, name VARCHAR, regional_county_municipality VARCHAR, type VARCHAR) | SELECT AVG(code) FROM table_name_35 WHERE regional_county_municipality = "matawinie" AND type = "p" AND name = "saint-damien" | What is the code for Saint-Damien in Matawinie with a type p? | <s>[INST]What is the code for Saint-Damien in Matawinie with a type p? Context: CREATE TABLE table_name_35 (code INTEGER, name VARCHAR, regional_county_municipality VARCHAR, type VARCHAR)[/INST]SELECT AVG(code) FROM table_name_35 WHERE regional_county_municipality = "matawinie" AND type = "p" AND name = "saint-damien"<... |
CREATE TABLE table_1715730_2 (nickname VARCHAR, founded VARCHAR) | SELECT nickname FROM table_1715730_2 WHERE founded = 1902 | what is the nickname founded in 1902? | <s>[INST]what is the nickname founded in 1902? Context: CREATE TABLE table_1715730_2 (nickname VARCHAR, founded VARCHAR)[/INST]SELECT nickname FROM table_1715730_2 WHERE founded = 1902</s> |
CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_74 WHERE home_team = "fitzroy" | On what date did Fitzroy play as the home team? | <s>[INST]On what date did Fitzroy play as the home team? Context: CREATE TABLE table_name_74 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_74 WHERE home_team = "fitzroy"</s> |
CREATE TABLE medicine (FDA_approved VARCHAR) | SELECT COUNT(DISTINCT FDA_approved) FROM medicine | How many distinct FDA approval statuses are there for the medicines? | <s>[INST]How many distinct FDA approval statuses are there for the medicines? Context: CREATE TABLE medicine (FDA_approved VARCHAR)[/INST]SELECT COUNT(DISTINCT FDA_approved) FROM medicine</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.