context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" | Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic | <s>[INST]Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic Context: CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "leg... |
CREATE TABLE table_name_61 (year INTEGER, points VARCHAR) | SELECT AVG(year) FROM table_name_61 WHERE points = 142 | What is the average year having 142 points? | <s>[INST]What is the average year having 142 points? Context: CREATE TABLE table_name_61 (year INTEGER, points VARCHAR)[/INST]SELECT AVG(year) FROM table_name_61 WHERE points = 142</s> |
CREATE TABLE table_name_82 (province VARCHAR, capital VARCHAR) | SELECT province FROM table_name_82 WHERE capital = "muju" | Which province has muju as the capital? | <s>[INST]Which province has muju as the capital? Context: CREATE TABLE table_name_82 (province VARCHAR, capital VARCHAR)[/INST]SELECT province FROM table_name_82 WHERE capital = "muju"</s> |
CREATE TABLE table_24850487_5 (field_goals INTEGER, blocks VARCHAR) | SELECT MIN(field_goals) FROM table_24850487_5 WHERE blocks = 8 | How many field goals did the player who had 8 blocks have? | <s>[INST]How many field goals did the player who had 8 blocks have? Context: CREATE TABLE table_24850487_5 (field_goals INTEGER, blocks VARCHAR)[/INST]SELECT MIN(field_goals) FROM table_24850487_5 WHERE blocks = 8</s> |
CREATE TABLE table_name_46 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_46 WHERE name = "martina wood" | What is Martina Wood's Position? | <s>[INST]What is Martina Wood's Position? Context: CREATE TABLE table_name_46 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_46 WHERE name = "martina wood"</s> |
CREATE TABLE table_name_40 (game INTEGER, march VARCHAR) | SELECT MAX(game) FROM table_name_40 WHERE march = 29 | March of 29 involves what highest scoring game? | <s>[INST]March of 29 involves what highest scoring game? Context: CREATE TABLE table_name_40 (game INTEGER, march VARCHAR)[/INST]SELECT MAX(game) FROM table_name_40 WHERE march = 29</s> |
CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR) | SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Rehbar-II" | Which authority has a rocket launch called rehbar-ii? | <s>[INST]Which authority has a rocket launch called rehbar-ii? Context: CREATE TABLE table_11869952_1 (institutional_authority VARCHAR, rocket_launch VARCHAR)[/INST]SELECT institutional_authority FROM table_11869952_1 WHERE rocket_launch = "Rehbar-II"</s> |
CREATE TABLE table_name_81 (goals_conceded INTEGER, played VARCHAR, draw VARCHAR, points VARCHAR) | SELECT SUM(goals_conceded) FROM table_name_81 WHERE draw > 5 AND points > 21 AND played < 18 | How many goals were conceded by the team with more than 21 points more than 5 draws and less than 18 games played? | <s>[INST]How many goals were conceded by the team with more than 21 points more than 5 draws and less than 18 games played? Context: CREATE TABLE table_name_81 (goals_conceded INTEGER, played VARCHAR, draw VARCHAR, points VARCHAR)[/INST]SELECT SUM(goals_conceded) FROM table_name_81 WHERE draw > 5 AND points > 21 AND pl... |
CREATE TABLE table_name_18 (winning_driver VARCHAR, winning_constructor VARCHAR) | SELECT winning_driver FROM table_name_18 WHERE winning_constructor = "mercer" | What kind of Winning driver has a Winning constructor of mercer? | <s>[INST]What kind of Winning driver has a Winning constructor of mercer? Context: CREATE TABLE table_name_18 (winning_driver VARCHAR, winning_constructor VARCHAR)[/INST]SELECT winning_driver FROM table_name_18 WHERE winning_constructor = "mercer"</s> |
CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR) | SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905" | Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905? | <s>[INST]Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905? Context: CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR)[/INST]SELECT appointed_by FROM table_name_15 WHERE title = "envoy extra... |
CREATE TABLE table_name_66 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_name_66 WHERE date = "november 8, 1970" | What is the highest Week, when Date is "November 8, 1970"? | <s>[INST]What is the highest Week, when Date is "November 8, 1970"? Context: CREATE TABLE table_name_66 (week INTEGER, date VARCHAR)[/INST]SELECT MAX(week) FROM table_name_66 WHERE date = "november 8, 1970"</s> |
CREATE TABLE table_name_89 (order INTEGER, built VARCHAR) | SELECT SUM(order) FROM table_name_89 WHERE built = "5/69-6/69" | with build 5/69-6/69 what's the order? | <s>[INST]with build 5/69-6/69 what's the order? Context: CREATE TABLE table_name_89 (order INTEGER, built VARCHAR)[/INST]SELECT SUM(order) FROM table_name_89 WHERE built = "5/69-6/69"</s> |
CREATE TABLE table_name_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR) | SELECT date FROM table_name_29 WHERE place = "chernivtsi" AND race_winners = "etienne bax / kaspars stupelis" | What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? What | <s>[INST]What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? What Context: CREATE TABLE table_name_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE place = "chernivtsi" AND race_winners = "etienne bax / kaspars stupelis"</s> |
CREATE TABLE table_name_12 (average_attendance INTEGER, _number_of_home_games VARCHAR) | SELECT MAX(average_attendance) FROM table_name_12 WHERE _number_of_home_games = 9 | What was the Average Attendance during the Year in which there were 9 Home Games? | <s>[INST]What was the Average Attendance during the Year in which there were 9 Home Games? Context: CREATE TABLE table_name_12 (average_attendance INTEGER, _number_of_home_games VARCHAR)[/INST]SELECT MAX(average_attendance) FROM table_name_12 WHERE _number_of_home_games = 9</s> |
CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR) | SELECT category FROM table_name_20 WHERE result = "nominated" AND film_or_series = "the wire" AND year > 2005 | Which award category was the film series The Wire nominated for after 2005? | <s>[INST]Which award category was the film series The Wire nominated for after 2005? Context: CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR)[/INST]SELECT category FROM table_name_20 WHERE result = "nominated" AND film_or_series = "the wire" AND year > 2005</s> |
CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR) | SELECT pos FROM table_name_31 WHERE driver = "stacy compton" | What was Stacy Compton's position? | <s>[INST]What was Stacy Compton's position? Context: CREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR)[/INST]SELECT pos FROM table_name_31 WHERE driver = "stacy compton"</s> |
CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR) | SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl" | What is the average number of laps when the country was NL and the race number was smaller than 8? | <s>[INST]What is the average number of laps when the country was NL and the race number was smaller than 8? Context: CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl"</s> |
CREATE TABLE table_name_54 (frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR, call_sign VARCHAR) | SELECT COUNT(frequency_mhz) FROM table_name_54 WHERE class = "d" AND call_sign = "k201bm" AND erp_w < 74 | Name the total number of frequency Mhz with class of d and call sign of k201bm and ERP W less than 74 | <s>[INST]Name the total number of frequency Mhz with class of d and call sign of k201bm and ERP W less than 74 Context: CREATE TABLE table_name_54 (frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR, call_sign VARCHAR)[/INST]SELECT COUNT(frequency_mhz) FROM table_name_54 WHERE class = "d" AND call_sign = "k201bm" AND ... |
CREATE TABLE table_16078390_2 (institution VARCHAR, team_nickname VARCHAR) | SELECT institution FROM table_16078390_2 WHERE team_nickname = "Wildcats" | Which school's team has the nickname of the Wildcats? | <s>[INST]Which school's team has the nickname of the Wildcats? Context: CREATE TABLE table_16078390_2 (institution VARCHAR, team_nickname VARCHAR)[/INST]SELECT institution FROM table_16078390_2 WHERE team_nickname = "Wildcats"</s> |
CREATE TABLE table_name_24 (speed VARCHAR, points VARCHAR) | SELECT speed FROM table_name_24 WHERE points = 1 | What was the speed of the rider that earned 1 point? | <s>[INST]What was the speed of the rider that earned 1 point? Context: CREATE TABLE table_name_24 (speed VARCHAR, points VARCHAR)[/INST]SELECT speed FROM table_name_24 WHERE points = 1</s> |
CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR) | SELECT MAX(Milliseconds), MIN(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop" | What are the duration of the longest and shortest pop tracks in milliseconds? | <s>[INST]What are the duration of the longest and shortest pop tracks in milliseconds? Context: CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR)[/INST]SELECT MAX(Milliseconds), MIN(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop"</s... |
CREATE TABLE table_name_25 (stadium VARCHAR, result VARCHAR) | SELECT stadium FROM table_name_25 WHERE result = "w 20–16" | What Stadium had a Result of w 20–16? | <s>[INST]What Stadium had a Result of w 20–16? Context: CREATE TABLE table_name_25 (stadium VARCHAR, result VARCHAR)[/INST]SELECT stadium FROM table_name_25 WHERE result = "w 20–16"</s> |
CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR) | SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships" | What are the categories of events that occurred after 2007 that were World Championships? | <s>[INST]What are the categories of events that occurred after 2007 that were World Championships? Context: CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships"</s> |
CREATE TABLE table_15887683_10 (dar VARCHAR, television_service VARCHAR) | SELECT dar FROM table_15887683_10 WHERE television_service = "MTV Rocks" | Name the dar for mtv rocks | <s>[INST]Name the dar for mtv rocks Context: CREATE TABLE table_15887683_10 (dar VARCHAR, television_service VARCHAR)[/INST]SELECT dar FROM table_15887683_10 WHERE television_service = "MTV Rocks"</s> |
CREATE TABLE table_14342592_5 (player VARCHAR, position VARCHAR) | SELECT player FROM table_14342592_5 WHERE position = "Left tackle" | What players played the position of left tackle? | <s>[INST]What players played the position of left tackle? Context: CREATE TABLE table_14342592_5 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_14342592_5 WHERE position = "Left tackle"</s> |
CREATE TABLE table_name_60 (event VARCHAR, method VARCHAR, record VARCHAR) | SELECT event FROM table_name_60 WHERE method = "tko (punches)" AND record = "7-1" | What is the event when the method was tko (punches), and the record was 7-1? | <s>[INST]What is the event when the method was tko (punches), and the record was 7-1? Context: CREATE TABLE table_name_60 (event VARCHAR, method VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_60 WHERE method = "tko (punches)" AND record = "7-1"</s> |
CREATE TABLE table_name_77 (name_of_horse VARCHAR, year_inducted VARCHAR, broodmare_sire VARCHAR) | SELECT name_of_horse FROM table_name_77 WHERE year_inducted = 2011 AND broodmare_sire = "cowboy p-12" | What horse was induced in 2011 with a sire of cowboy p-12? | <s>[INST]What horse was induced in 2011 with a sire of cowboy p-12? Context: CREATE TABLE table_name_77 (name_of_horse VARCHAR, year_inducted VARCHAR, broodmare_sire VARCHAR)[/INST]SELECT name_of_horse FROM table_name_77 WHERE year_inducted = 2011 AND broodmare_sire = "cowboy p-12"</s> |
CREATE TABLE table_name_56 (designation VARCHAR, manufacturer VARCHAR, quantity VARCHAR) | SELECT designation FROM table_name_56 WHERE manufacturer = "siemens" AND quantity = 52 | Which Designation has a Manufacturer of siemens, and a Quantity of 52? | <s>[INST]Which Designation has a Manufacturer of siemens, and a Quantity of 52? Context: CREATE TABLE table_name_56 (designation VARCHAR, manufacturer VARCHAR, quantity VARCHAR)[/INST]SELECT designation FROM table_name_56 WHERE manufacturer = "siemens" AND quantity = 52</s> |
CREATE TABLE table_name_81 (wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) | SELECT COUNT(wins) FROM table_name_81 WHERE top_25 < 4 AND top_10 < 1 | What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? | <s>[INST]What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? Context: CREATE TABLE table_name_81 (wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_81 WHERE top_25 < 4 AND top_10 < 1</s> |
CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_11 WHERE rank = "4" AND silver > 2 | Which Total has a Rank of 4, and a Silver larger than 2? | <s>[INST]Which Total has a Rank of 4, and a Silver larger than 2? Context: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_11 WHERE rank = "4" AND silver > 2</s> |
CREATE TABLE table_23265433_2 (week VARCHAR, transition VARCHAR) | SELECT week FROM table_23265433_2 WHERE transition = "Steve Toll" | Name the week for steve toll | <s>[INST]Name the week for steve toll Context: CREATE TABLE table_23265433_2 (week VARCHAR, transition VARCHAR)[/INST]SELECT week FROM table_23265433_2 WHERE transition = "Steve Toll"</s> |
CREATE TABLE table_17964087_2 (chinese_name VARCHAR, romanised_name VARCHAR) | SELECT chinese_name FROM table_17964087_2 WHERE romanised_name = "Chan Chi-yuen, Paul" | What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name? | <s>[INST]What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name? Context: CREATE TABLE table_17964087_2 (chinese_name VARCHAR, romanised_name VARCHAR)[/INST]SELECT chinese_name FROM table_17964087_2 WHERE romanised_name = "Chan Chi-yuen, Paul"</s> |
CREATE TABLE table_name_6 (builder VARCHAR, date_ordered VARCHAR, tc VARCHAR, stl_no__1883_84_ VARCHAR) | SELECT builder FROM table_name_6 WHERE tc & stl_no__1883_84_ > 54 AND date_ordered = "november 1881" | Who built the order on November 1881 of more than 54 TC&StL no. (1883–84)? | <s>[INST]Who built the order on November 1881 of more than 54 TC&StL no. (1883–84)? Context: CREATE TABLE table_name_6 (builder VARCHAR, date_ordered VARCHAR, tc VARCHAR, stl_no__1883_84_ VARCHAR)[/INST]SELECT builder FROM table_name_6 WHERE tc & stl_no__1883_84_ > 54 AND date_ordered = "november 1881"</s> |
CREATE TABLE table_23453931_5 (opponent VARCHAR, date VARCHAR) | SELECT COUNT(opponent) FROM table_23453931_5 WHERE date = "December 3" | Name the opponents for december 3 | <s>[INST]Name the opponents for december 3 Context: CREATE TABLE table_23453931_5 (opponent VARCHAR, date VARCHAR)[/INST]SELECT COUNT(opponent) FROM table_23453931_5 WHERE date = "December 3"</s> |
CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears" | Which team got a Behind outcome and had an opponent of Brisbane Bears? | <s>[INST]Which team got a Behind outcome and had an opponent of Brisbane Bears? Context: CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears"</s> |
CREATE TABLE table_name_50 (current_club VARCHAR, height VARCHAR) | SELECT current_club FROM table_name_50 WHERE height = 1.96 | What current club has a Height of 1.96? | <s>[INST]What current club has a Height of 1.96? Context: CREATE TABLE table_name_50 (current_club VARCHAR, height VARCHAR)[/INST]SELECT current_club FROM table_name_50 WHERE height = 1.96</s> |
CREATE TABLE table_23292220_13 (first_broadcast VARCHAR, episode VARCHAR) | SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = "12x03" | How many episodes are numbered 12x03? | <s>[INST]How many episodes are numbered 12x03? Context: CREATE TABLE table_23292220_13 (first_broadcast VARCHAR, episode VARCHAR)[/INST]SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = "12x03"</s> |
CREATE TABLE table_29063233_1 (original_air_date VARCHAR, uk_viewers__million_ VARCHAR) | SELECT original_air_date FROM table_29063233_1 WHERE uk_viewers__million_ = "6.02" | What was the airdate of the episode with a UK viewership of 6.02 million? | <s>[INST]What was the airdate of the episode with a UK viewership of 6.02 million? Context: CREATE TABLE table_29063233_1 (original_air_date VARCHAR, uk_viewers__million_ VARCHAR)[/INST]SELECT original_air_date FROM table_29063233_1 WHERE uk_viewers__million_ = "6.02"</s> |
CREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_14460085_3 WHERE team = "San Lorenzo" | How many points total for san lorenzo? | <s>[INST]How many points total for san lorenzo? Context: CREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR)[/INST]SELECT COUNT(points) FROM table_14460085_3 WHERE team = "San Lorenzo"</s> |
CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle Thunderbirds (WHL)" | What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)? | <s>[INST]What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)? Context: CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle ... |
CREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR) | SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30 | Name the number of records for 30 game | <s>[INST]Name the number of records for 30 game Context: CREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR)[/INST]SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30</s> |
CREATE TABLE table_name_5 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_5 WHERE date = "20 march 2007" | Name the surface for 20 march 2007 | <s>[INST]Name the surface for 20 march 2007 Context: CREATE TABLE table_name_5 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_5 WHERE date = "20 march 2007"</s> |
CREATE TABLE table_262560_2 (location VARCHAR, enrollment VARCHAR) | SELECT location FROM table_262560_2 WHERE enrollment = 850 | What location has a school with enrollment of 850? | <s>[INST]What location has a school with enrollment of 850? Context: CREATE TABLE table_262560_2 (location VARCHAR, enrollment VARCHAR)[/INST]SELECT location FROM table_262560_2 WHERE enrollment = 850</s> |
CREATE TABLE table_22496344_1 (weight INTEGER, _number VARCHAR) | SELECT MAX(weight) FROM table_22496344_1 WHERE _number = 20 | What is the weight when 20 is the number? | <s>[INST]What is the weight when 20 is the number? Context: CREATE TABLE table_22496344_1 (weight INTEGER, _number VARCHAR)[/INST]SELECT MAX(weight) FROM table_22496344_1 WHERE _number = 20</s> |
CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR) | SELECT born___died FROM table_name_1 WHERE notable_for = "professional wrestling" | The person that was notable for professional wrestling had a Born-Died of what year? | <s>[INST]The person that was notable for professional wrestling had a Born-Died of what year? Context: CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR)[/INST]SELECT born___died FROM table_name_1 WHERE notable_for = "professional wrestling"</s> |
CREATE TABLE table_1965650_7 (nhl_team VARCHAR, player VARCHAR) | SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = "Denis Andersen" | How many teams have a player named Denis Andersen? | <s>[INST]How many teams have a player named Denis Andersen? Context: CREATE TABLE table_1965650_7 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nhl_team) FROM table_1965650_7 WHERE player = "Denis Andersen"</s> |
CREATE TABLE table_name_21 (runs INTEGER, player VARCHAR) | SELECT AVG(runs) FROM table_name_21 WHERE player = "donald bradman" | What was Donald Bradman's average runs? | <s>[INST]What was Donald Bradman's average runs? Context: CREATE TABLE table_name_21 (runs INTEGER, player VARCHAR)[/INST]SELECT AVG(runs) FROM table_name_21 WHERE player = "donald bradman"</s> |
CREATE TABLE table_name_63 (born VARCHAR, current_club VARCHAR) | SELECT born FROM table_name_63 WHERE current_club = "elfsborg" | Where was the player whose Current Club Elfsborg born? | <s>[INST]Where was the player whose Current Club Elfsborg born? Context: CREATE TABLE table_name_63 (born VARCHAR, current_club VARCHAR)[/INST]SELECT born FROM table_name_63 WHERE current_club = "elfsborg"</s> |
CREATE TABLE table_name_21 (actor VARCHAR, duration VARCHAR, soap_opera VARCHAR) | SELECT actor FROM table_name_21 WHERE duration = "20 years" AND soap_opera = "home and away" | Which actor played on Home and Away for 20 years? | <s>[INST]Which actor played on Home and Away for 20 years? Context: CREATE TABLE table_name_21 (actor VARCHAR, duration VARCHAR, soap_opera VARCHAR)[/INST]SELECT actor FROM table_name_21 WHERE duration = "20 years" AND soap_opera = "home and away"</s> |
CREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_5 WHERE driver = "rubens barrichello" AND grid < 12 | what is the least laps when the driver is rubens barrichello and the grid is less than 12? | <s>[INST]what is the least laps when the driver is rubens barrichello and the grid is less than 12? Context: CREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_5 WHERE driver = "rubens barrichello" AND grid < 12</s> |
CREATE TABLE table_name_28 (races INTEGER, points VARCHAR) | SELECT SUM(races) FROM table_name_28 WHERE points = 257 | What is the number of races that took place with points of 257? | <s>[INST]What is the number of races that took place with points of 257? Context: CREATE TABLE table_name_28 (races INTEGER, points VARCHAR)[/INST]SELECT SUM(races) FROM table_name_28 WHERE points = 257</s> |
CREATE TABLE table_26998693_1 (f_laps VARCHAR, poles VARCHAR, season VARCHAR) | SELECT f_laps FROM table_26998693_1 WHERE poles > 1.0 AND season = 2008 | How much were the f/laps if poles is higher than 1.0 during 2008? | <s>[INST]How much were the f/laps if poles is higher than 1.0 during 2008? Context: CREATE TABLE table_26998693_1 (f_laps VARCHAR, poles VARCHAR, season VARCHAR)[/INST]SELECT f_laps FROM table_26998693_1 WHERE poles > 1.0 AND season = 2008</s> |
CREATE TABLE table_name_23 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_23 WHERE record = "9-2" | what is the location/attendance when the record is 9-2? | <s>[INST]what is the location/attendance when the record is 9-2? Context: CREATE TABLE table_name_23 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_name_23 WHERE record = "9-2"</s> |
CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun" | what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun? | <s>[INST]what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun? Context: CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun"</s> |
CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR) | SELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 10 | Find the names of the top 10 airlines that operate the most number of routes. | <s>[INST]Find the names of the top 10 airlines that operate the most number of routes. Context: CREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)[/INST]SELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 10... |
CREATE TABLE table_name_63 (subject VARCHAR, election VARCHAR, office VARCHAR) | SELECT subject FROM table_name_63 WHERE election = "general" AND office = "queen anne's county state's attorney" | What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney? | <s>[INST]What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney? Context: CREATE TABLE table_name_63 (subject VARCHAR, election VARCHAR, office VARCHAR)[/INST]SELECT subject FROM table_name_63 WHERE election = "general" AND office = "queen anne's county state's attorney... |
CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR) | SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse" | What is the year when Scuderia Lancia Corse competed? | <s>[INST]What is the year when Scuderia Lancia Corse competed? Context: CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse"</s> |
CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = "ynys môn/anglesey" AND total > 8 | Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8 | <s>[INST]Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8 Context: CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = "yny... |
CREATE TABLE table_25017530_6 (position VARCHAR, player VARCHAR) | SELECT position FROM table_25017530_6 WHERE player = "Michael Warner" | Name the position for michael warner | <s>[INST]Name the position for michael warner Context: CREATE TABLE table_25017530_6 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_25017530_6 WHERE player = "Michael Warner"</s> |
CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR) | SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3" | What season has a regionalliga süd league, a 1-0 home, and an away of 2-3? | <s>[INST]What season has a regionalliga süd league, a 1-0 home, and an away of 2-3? Context: CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)[/INST]SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3"</s> |
CREATE TABLE table_11677760_1 (player VARCHAR, year VARCHAR, college VARCHAR, school VARCHAR) | SELECT player FROM table_11677760_1 WHERE college = "Direct to NBA" AND school = "St. Vincent – St. Mary High school" AND year = "2001-2002" | what is the player who's college is listed as direct to nba, school is st. vincent – st. mary high school and the year is 2001-2002? | <s>[INST]what is the player who's college is listed as direct to nba, school is st. vincent – st. mary high school and the year is 2001-2002? Context: CREATE TABLE table_11677760_1 (player VARCHAR, year VARCHAR, college VARCHAR, school VARCHAR)[/INST]SELECT player FROM table_11677760_1 WHERE college = "Direct to NBA" A... |
CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988" | What is Opponent, when Date is December 18, 1988? | <s>[INST]What is Opponent, when Date is December 18, 1988? Context: CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988"</s> |
CREATE TABLE table_name_94 (laps INTEGER, rider VARCHAR) | SELECT SUM(laps) FROM table_name_94 WHERE rider = "alex baldolini" | How many laps did the rider Alex Baldolini take? | <s>[INST]How many laps did the rider Alex Baldolini take? Context: CREATE TABLE table_name_94 (laps INTEGER, rider VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_94 WHERE rider = "alex baldolini"</s> |
CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments" | What is the 2007 that has a grand slam tournaments in 2006. | <s>[INST]What is the 2007 that has a grand slam tournaments in 2006. Context: CREATE TABLE table_name_32 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments"</s> |
CREATE TABLE table_13282157_1 (Reset INTEGER, events VARCHAR) | SELECT MAX(Reset) AS points FROM table_13282157_1 WHERE events = 23 | What is the highest reset points where the events is 23? | <s>[INST]What is the highest reset points where the events is 23? Context: CREATE TABLE table_13282157_1 (Reset INTEGER, events VARCHAR)[/INST]SELECT MAX(Reset) AS points FROM table_13282157_1 WHERE events = 23</s> |
CREATE TABLE table_24364690_1 (federal_subjects VARCHAR) | SELECT MIN(2007 AS __usd_) FROM table_24364690_1 WHERE federal_subjects = "Kabardino-Balkaria" | What is the minimum 2007 USD in Kabardino-Balkaria? | <s>[INST]What is the minimum 2007 USD in Kabardino-Balkaria? Context: CREATE TABLE table_24364690_1 (federal_subjects VARCHAR)[/INST]SELECT MIN(2007 AS __usd_) FROM table_24364690_1 WHERE federal_subjects = "Kabardino-Balkaria"</s> |
CREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR) | SELECT tyre FROM table_name_91 WHERE driver = "sergio mantovani" | What tyre had Sergio Mantovani as a driver? | <s>[INST]What tyre had Sergio Mantovani as a driver? Context: CREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR)[/INST]SELECT tyre FROM table_name_91 WHERE driver = "sergio mantovani"</s> |
CREATE TABLE table_name_85 (original_air_date VARCHAR, series__number VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_name_85 WHERE series__number > 78 AND written_by = "jenee v. giles" | What was the original air date of a series number after 78, written by Jenee V. Giles? | <s>[INST]What was the original air date of a series number after 78, written by Jenee V. Giles? Context: CREATE TABLE table_name_85 (original_air_date VARCHAR, series__number VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_name_85 WHERE series__number > 78 AND written_by = "jenee v. giles"</s> |
CREATE TABLE table_name_24 (opponent VARCHAR, location VARCHAR) | SELECT opponent FROM table_name_24 WHERE location = "america west arena" | Who is the opponent at america west arena? | <s>[INST]Who is the opponent at america west arena? Context: CREATE TABLE table_name_24 (opponent VARCHAR, location VARCHAR)[/INST]SELECT opponent FROM table_name_24 WHERE location = "america west arena"</s> |
CREATE TABLE table_name_48 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_48 WHERE venue = "brunswick street oval" | How large of a crowd can the Brunswick Street Oval hold? | <s>[INST]How large of a crowd can the Brunswick Street Oval hold? Context: CREATE TABLE table_name_48 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_48 WHERE venue = "brunswick street oval"</s> |
CREATE TABLE table_name_23 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_23 WHERE bronze = 1 AND total < 3 | What is the lowest Silver, when Bronze is 1, and when Total is less than 3? | <s>[INST]What is the lowest Silver, when Bronze is 1, and when Total is less than 3? Context: CREATE TABLE table_name_23 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_23 WHERE bronze = 1 AND total < 3</s> |
CREATE TABLE table_name_15 (number VARCHAR, builder VARCHAR, works_number VARCHAR) | SELECT number FROM table_name_15 WHERE builder = "baldwin locomotive works" AND works_number = 40864 | With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is? | <s>[INST]With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is? Context: CREATE TABLE table_name_15 (number VARCHAR, builder VARCHAR, works_number VARCHAR)[/INST]SELECT number FROM table_name_15 WHERE builder = "baldwin locomotive works" AND works_number = 40864</s> |
CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER, crs_code VARCHAR) | SELECT SUM(T1.crs_credit), T1.dept_code FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code GROUP BY T1.dept_code | Find the total credits of all classes offered by each department. | <s>[INST]Find the total credits of all classes offered by each department. Context: CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER, crs_code VARCHAR)[/INST]SELECT SUM(T1.crs_credit), T1.dept_code FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code GROUP BY ... |
CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR) | SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets" | Who was the man of the match when the Rockets won by 9 wickets? | <s>[INST]Who was the man of the match when the Rockets won by 9 wickets? Context: CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR)[/INST]SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets"</s> |
CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR) | SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = "aa" AND _number___county = "89 wayne" AND school = "centerville" | What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974? | <s>[INST]What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974? Context: CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)[/INST]SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_cla... |
CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR) | SELECT final_venue FROM table_name_17 WHERE winner = "sheffield reserves" | What was the Final Venue having Sheffield Reserves as the Winner? | <s>[INST]What was the Final Venue having Sheffield Reserves as the Winner? Context: CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR)[/INST]SELECT final_venue FROM table_name_17 WHERE winner = "sheffield reserves"</s> |
CREATE TABLE table_12962773_16 (position VARCHAR, current_club VARCHAR) | SELECT COUNT(position) FROM table_12962773_16 WHERE current_club = "Energa Czarni" | How many players are from energa czarni? | <s>[INST]How many players are from energa czarni? Context: CREATE TABLE table_12962773_16 (position VARCHAR, current_club VARCHAR)[/INST]SELECT COUNT(position) FROM table_12962773_16 WHERE current_club = "Energa Czarni"</s> |
CREATE TABLE table_name_75 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_75 WHERE result = "7–6 (7–5) , 6–3" | Who was the opponent when the result was 7–6 (7–5) , 6–3? | <s>[INST]Who was the opponent when the result was 7–6 (7–5) , 6–3? Context: CREATE TABLE table_name_75 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_75 WHERE result = "7–6 (7–5) , 6–3"</s> |
CREATE TABLE table_name_10 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_10 WHERE round = "r3" | What was the result for round r3? | <s>[INST]What was the result for round r3? Context: CREATE TABLE table_name_10 (result VARCHAR, round VARCHAR)[/INST]SELECT result FROM table_name_10 WHERE round = "r3"</s> |
CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR) | SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons" | What is the team whose driver Jeff Simmons? | <s>[INST]What is the team whose driver Jeff Simmons? Context: CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)[/INST]SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons"</s> |
CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70 | What driver has a grid of under 10, and under 70 laps? | <s>[INST]What driver has a grid of under 10, and under 70 laps? Context: CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70</s> |
CREATE TABLE Allergy_type (allergytype VARCHAR) | SELECT DISTINCT allergytype FROM Allergy_type | Show all allergy types. | <s>[INST]Show all allergy types. Context: CREATE TABLE Allergy_type (allergytype VARCHAR)[/INST]SELECT DISTINCT allergytype FROM Allergy_type</s> |
CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR) | SELECT captain FROM table_27631756_2 WHERE shirt_sponsor = "N/A" | What is the name of the captain when teh shirt sponsor is n/a? | <s>[INST]What is the name of the captain when teh shirt sponsor is n/a? Context: CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR)[/INST]SELECT captain FROM table_27631756_2 WHERE shirt_sponsor = "N/A"</s> |
CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR) | SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26" | Name the D 45 O that has D 46 O of d 26 | <s>[INST]Name the D 45 O that has D 46 O of d 26 Context: CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR)[/INST]SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26"</s> |
CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR) | SELECT winner FROM table_name_80 WHERE team_classification = "la vie claire" AND general_classification = "greg lemond" AND stage = "20" | Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond? | <s>[INST]Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond? Context: CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT winner FROM table_name_80 WHERE team_classification = "la vie cla... |
CREATE TABLE table_name_32 (votes VARCHAR, date VARCHAR) | SELECT votes FROM table_name_32 WHERE date = "november 10" | How many votes were there on November 10? | <s>[INST]How many votes were there on November 10? Context: CREATE TABLE table_name_32 (votes VARCHAR, date VARCHAR)[/INST]SELECT votes FROM table_name_32 WHERE date = "november 10"</s> |
CREATE TABLE table_name_48 (air_date VARCHAR, demo VARCHAR) | SELECT air_date FROM table_name_48 WHERE demo = "1.6/5" | When is the air date that demo-ed at 1.6/5? | <s>[INST]When is the air date that demo-ed at 1.6/5? Context: CREATE TABLE table_name_48 (air_date VARCHAR, demo VARCHAR)[/INST]SELECT air_date FROM table_name_48 WHERE demo = "1.6/5"</s> |
CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR) | SELECT model FROM table_name_68 WHERE fuel_or_propulsion = "diesel" AND manufacturer = "orion" AND year = 2005 | Tell me the model with fuel or propulsion of diesel and orion manufacturer in 2005 | <s>[INST]Tell me the model with fuel or propulsion of diesel and orion manufacturer in 2005 Context: CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR)[/INST]SELECT model FROM table_name_68 WHERE fuel_or_propulsion = "diesel" AND manufacturer = "orion" AND year = ... |
CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) | SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390" | How many tickets were sold/available when the gross revenue (2011) was $5,948,390? | <s>[INST]How many tickets were sold/available when the gross revenue (2011) was $5,948,390? Context: CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)[/INST]SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390"</s> |
CREATE TABLE table_name_41 (bronze INTEGER, rank VARCHAR, total VARCHAR) | SELECT AVG(bronze) FROM table_name_41 WHERE rank = "43" AND total < 11 | Tell me the average bronze for rank of 43 and total less than 11 | <s>[INST]Tell me the average bronze for rank of 43 and total less than 11 Context: CREATE TABLE table_name_41 (bronze INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_41 WHERE rank = "43" AND total < 11</s> |
CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_23 WHERE date = "july 31" | Which Record is on july 31? | <s>[INST]Which Record is on july 31? Context: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_23 WHERE date = "july 31"</s> |
CREATE TABLE table_12791809_1 (freight_carried_s_tonne INTEGER, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR) | SELECT MIN(freight_carried_s_tonne) FROM table_12791809_1 WHERE super_b_capacity_reached_[_citation_needed_] = "February 26" | What is the least amount of freight carried when the super b capacity reached was February 26? | <s>[INST]What is the least amount of freight carried when the super b capacity reached was February 26? Context: CREATE TABLE table_12791809_1 (freight_carried_s_tonne INTEGER, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)[/INST]SELECT MIN(freight_carried_s_tonne) FROM table_12791809_1 WHERE super_b_cap... |
CREATE TABLE table_name_36 (tournament VARCHAR) | SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon" | What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon? | <s>[INST]What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon? Context: CREATE TABLE table_name_36 (tournament VARCHAR)[/INST]SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon"</s> |
CREATE TABLE table_28253870_1 (founded VARCHAR, institution VARCHAR) | SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University" | Name the founded for florida state university | <s>[INST]Name the founded for florida state university Context: CREATE TABLE table_28253870_1 (founded VARCHAR, institution VARCHAR)[/INST]SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University"</s> |
CREATE TABLE table_name_57 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_57 WHERE home_team = "north melbourne" | What is the home team's score for north melbourne? | <s>[INST]What is the home team's score for north melbourne? Context: CREATE TABLE table_name_57 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_57 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_name_91 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_91 WHERE to_par = "+8" | For the player finishing at +8, what is his nationality? | <s>[INST]For the player finishing at +8, what is his nationality? Context: CREATE TABLE table_name_91 (country VARCHAR, to_par VARCHAR)[/INST]SELECT country FROM table_name_91 WHERE to_par = "+8"</s> |
CREATE TABLE table_name_52 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_52 WHERE iata = "tyn" | Which airport has an IATA of TYN? | <s>[INST]Which airport has an IATA of TYN? Context: CREATE TABLE table_name_52 (airport VARCHAR, iata VARCHAR)[/INST]SELECT airport FROM table_name_52 WHERE iata = "tyn"</s> |
CREATE TABLE table_name_51 (games INTEGER, name VARCHAR) | SELECT AVG(games) AS ↑ FROM table_name_51 WHERE name = "tony dixon" | What is the average games of Tony Dixon? | <s>[INST]What is the average games of Tony Dixon? Context: CREATE TABLE table_name_51 (games INTEGER, name VARCHAR)[/INST]SELECT AVG(games) AS ↑ FROM table_name_51 WHERE name = "tony dixon"</s> |
CREATE TABLE table_name_57 (location___state VARCHAR, winner VARCHAR) | SELECT location___state FROM table_name_57 WHERE winner = "craig lowndes" | The winner, Craig Lowndes, was in what location/state? | <s>[INST]The winner, Craig Lowndes, was in what location/state? Context: CREATE TABLE table_name_57 (location___state VARCHAR, winner VARCHAR)[/INST]SELECT location___state FROM table_name_57 WHERE winner = "craig lowndes"</s> |
CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR) | SELECT Election_Cycle, COUNT(*) FROM VOTING_RECORD GROUP BY Election_Cycle | For each election cycle, report the number of voting records. | <s>[INST]For each election cycle, report the number of voting records. Context: CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)[/INST]SELECT Election_Cycle, COUNT(*) FROM VOTING_RECORD GROUP BY Election_Cycle</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.