context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_47 (water__sqmi_ INTEGER, county VARCHAR, longitude VARCHAR) | SELECT MIN(water__sqmi_) FROM table_name_47 WHERE county = "dickey" AND longitude < -98.444062 | What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062? | <s>[INST]What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062? Context: CREATE TABLE table_name_47 (water__sqmi_ INTEGER, county VARCHAR, longitude VARCHAR)[/INST]SELECT MIN(water__sqmi_) FROM table_name_47 WHERE county = "dickey" AND longitude < -98.444062</s> |
CREATE TABLE table_26615633_3 (gender VARCHAR, species VARCHAR) | SELECT gender FROM table_26615633_3 WHERE species = "Asian black bear" | what gender has an asian black bear? | <s>[INST]what gender has an asian black bear? Context: CREATE TABLE table_26615633_3 (gender VARCHAR, species VARCHAR)[/INST]SELECT gender FROM table_26615633_3 WHERE species = "Asian black bear"</s> |
CREATE TABLE table_27514362_7 (status VARCHAR, entrant VARCHAR) | SELECT COUNT(status) FROM table_27514362_7 WHERE entrant = "James Finch" | How many status figures does James Finch have? | <s>[INST]How many status figures does James Finch have? Context: CREATE TABLE table_27514362_7 (status VARCHAR, entrant VARCHAR)[/INST]SELECT COUNT(status) FROM table_27514362_7 WHERE entrant = "James Finch"</s> |
CREATE TABLE table_name_81 (draws INTEGER, byes INTEGER) | SELECT MIN(draws) FROM table_name_81 WHERE byes > 2 | What is the lowest number of draws with more than 2 byes? | <s>[INST]What is the lowest number of draws with more than 2 byes? Context: CREATE TABLE table_name_81 (draws INTEGER, byes INTEGER)[/INST]SELECT MIN(draws) FROM table_name_81 WHERE byes > 2</s> |
CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_84 WHERE date = "june 22" | What was the score from the game played on June 22? | <s>[INST]What was the score from the game played on June 22? Context: CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE date = "june 22"</s> |
CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_93 WHERE venue = "western oval" | What home team played at the western oval? | <s>[INST]What home team played at the western oval? Context: CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_93 WHERE venue = "western oval"</s> |
CREATE TABLE table_name_21 (location VARCHAR, promotor VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_21 WHERE promotor = "frank moloney" AND opponent = "gennadiy rasalev" | Which location has the promotor Frank Moloney, and the opponent Gennadiy Rasalev? | <s>[INST]Which location has the promotor Frank Moloney, and the opponent Gennadiy Rasalev? Context: CREATE TABLE table_name_21 (location VARCHAR, promotor VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_21 WHERE promotor = "frank moloney" AND opponent = "gennadiy rasalev"</s> |
CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR) | SELECT method FROM table_name_60 WHERE round = 1 AND time = "1:58" | What is the method of the match with 1 round and a time of 1:58? | <s>[INST]What is the method of the match with 1 round and a time of 1:58? Context: CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_60 WHERE round = 1 AND time = "1:58"</s> |
CREATE TABLE table_name_77 (elevator VARCHAR, elector VARCHAR) | SELECT elevator FROM table_name_77 WHERE elector = "pietro colonna" | What is the elevator when the elector is Pietro Colonna? | <s>[INST]What is the elevator when the elector is Pietro Colonna? Context: CREATE TABLE table_name_77 (elevator VARCHAR, elector VARCHAR)[/INST]SELECT elevator FROM table_name_77 WHERE elector = "pietro colonna"</s> |
CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_18274425_1 WHERE production_code = "3T7573" | Who were the authors of episode having production code 3t7573? | <s>[INST]Who were the authors of episode having production code 3t7573? Context: CREATE TABLE table_18274425_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_18274425_1 WHERE production_code = "3T7573"</s> |
CREATE TABLE table_name_17 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR) | SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = "dodge" AND start < 9 AND year < 2008 | Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time? | <s>[INST]Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time? Context: CREATE TABLE table_name_17 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR)[/INST]SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = "dodge" AND start < 9 AND year < 2008</s> |
CREATE TABLE table_18590048_1 (platform VARCHAR, units_sold__in_millions_ VARCHAR) | SELECT platform FROM table_18590048_1 WHERE units_sold__in_millions_ = "11.18" | What platform sold 11.18 million units? | <s>[INST]What platform sold 11.18 million units? Context: CREATE TABLE table_18590048_1 (platform VARCHAR, units_sold__in_millions_ VARCHAR)[/INST]SELECT platform FROM table_18590048_1 WHERE units_sold__in_millions_ = "11.18"</s> |
CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR) | SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041 | Which country has a reaction time of under 0.242 seconds and over 1041 points? | <s>[INST]Which country has a reaction time of under 0.242 seconds and over 1041 points? Context: CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR)[/INST]SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041</s> |
CREATE TABLE table_13555999_1 (specification VARCHAR, senior_high_school__15_18_yrs_ VARCHAR) | SELECT specification FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "25mm" | What is the specification where senior high school is 25mm? | <s>[INST]What is the specification where senior high school is 25mm? Context: CREATE TABLE table_13555999_1 (specification VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)[/INST]SELECT specification FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "25mm"</s> |
CREATE TABLE table_name_55 (opponent VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_55 WHERE method = "points (4 x 0)" | Who was the opponent when the method was points (4 x 0)? | <s>[INST]Who was the opponent when the method was points (4 x 0)? Context: CREATE TABLE table_name_55 (opponent VARCHAR, method VARCHAR)[/INST]SELECT opponent FROM table_name_55 WHERE method = "points (4 x 0)"</s> |
CREATE TABLE table_20403667_2 (crop_damaged__in_lakh_inr__ VARCHAR, public_property_damaged__in_lakh_inr__ VARCHAR) | SELECT crop_damaged__in_lakh_inr__ FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ = "1,03,049.60" | How many crops were damaged when the public property damage was 1,03,049.60? | <s>[INST]How many crops were damaged when the public property damage was 1,03,049.60? Context: CREATE TABLE table_20403667_2 (crop_damaged__in_lakh_inr__ VARCHAR, public_property_damaged__in_lakh_inr__ VARCHAR)[/INST]SELECT crop_damaged__in_lakh_inr__ FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ =... |
CREATE TABLE table_name_79 (class VARCHAR, frequency_mhz VARCHAR) | SELECT class FROM table_name_79 WHERE frequency_mhz = 89.3 | The frequency 89.3 belongs to what class? | <s>[INST]The frequency 89.3 belongs to what class? Context: CREATE TABLE table_name_79 (class VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT class FROM table_name_79 WHERE frequency_mhz = 89.3</s> |
CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27704187_2 WHERE date = "October 5" | Who had the most assists and how many did they have on October 5? | <s>[INST]Who had the most assists and how many did they have on October 5? Context: CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27704187_2 WHERE date = "October 5"</s> |
CREATE TABLE table_name_58 (hand VARCHAR) | SELECT 5 AS _credits FROM table_name_58 WHERE hand = "full house" | What does full house have as a 5 credits? | <s>[INST]What does full house have as a 5 credits? Context: CREATE TABLE table_name_58 (hand VARCHAR)[/INST]SELECT 5 AS _credits FROM table_name_58 WHERE hand = "full house"</s> |
CREATE TABLE table_name_61 (away VARCHAR, home VARCHAR, season VARCHAR) | SELECT away FROM table_name_61 WHERE home = "3-2" AND season = "1959-60" | What is the away when the home is 3-2, and the season is 1959-60? | <s>[INST]What is the away when the home is 3-2, and the season is 1959-60? Context: CREATE TABLE table_name_61 (away VARCHAR, home VARCHAR, season VARCHAR)[/INST]SELECT away FROM table_name_61 WHERE home = "3-2" AND season = "1959-60"</s> |
CREATE TABLE table_name_79 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_79 WHERE airport = "gatwick airport" | What is the IATA for Gatwick airport? | <s>[INST]What is the IATA for Gatwick airport? Context: CREATE TABLE table_name_79 (iata VARCHAR, airport VARCHAR)[/INST]SELECT iata FROM table_name_79 WHERE airport = "gatwick airport"</s> |
CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_17121262_9 WHERE game = 60 | What was the location and attendance for game 60? | <s>[INST]What was the location and attendance for game 60? Context: CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT location_attendance FROM table_17121262_9 WHERE game = 60</s> |
CREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers" | What's the IHSAA Class Football if the panthers are the mascot? | <s>[INST]What's the IHSAA Class Football if the panthers are the mascot? Context: CREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR)[/INST]SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers"</s> |
CREATE TABLE table_25421463_1 (season VARCHAR, final_placing VARCHAR, team_name VARCHAR) | SELECT season FROM table_25421463_1 WHERE final_placing = "NC†" AND team_name = "SL Formula Racing" | In what season was the final placing NC† and the team SL Formula Racing? | <s>[INST]In what season was the final placing NC† and the team SL Formula Racing? Context: CREATE TABLE table_25421463_1 (season VARCHAR, final_placing VARCHAR, team_name VARCHAR)[/INST]SELECT season FROM table_25421463_1 WHERE final_placing = "NC†" AND team_name = "SL Formula Racing"</s> |
CREATE TABLE table_17355408_7 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_17355408_7 WHERE team = "@ Chicago" | @ Chicago had a high points of what? | <s>[INST]@ Chicago had a high points of what? Context: CREATE TABLE table_17355408_7 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_17355408_7 WHERE team = "@ Chicago"</s> |
CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_47 WHERE tie_no = "19" | What's the score during a game than had a tie no of 19? | <s>[INST]What's the score during a game than had a tie no of 19? Context: CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_47 WHERE tie_no = "19"</s> |
CREATE TABLE table_name_12 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_12 WHERE opponent = "jonathan goulet" | What is Location, when Opponent is "Jonathan Goulet"? | <s>[INST]What is Location, when Opponent is "Jonathan Goulet"? Context: CREATE TABLE table_name_12 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_12 WHERE opponent = "jonathan goulet"</s> |
CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR) | SELECT bowling FROM table_name_7 WHERE player = "min patel" | What was Min Patel's bowling? | <s>[INST]What was Min Patel's bowling? Context: CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR)[/INST]SELECT bowling FROM table_name_7 WHERE player = "min patel"</s> |
CREATE TABLE table_10718525_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(title) FROM table_10718525_2 WHERE us_viewers__millions_ = "26.53" | How many titles got a viewership of 26.53 million? | <s>[INST]How many titles got a viewership of 26.53 million? Context: CREATE TABLE table_10718525_2 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(title) FROM table_10718525_2 WHERE us_viewers__millions_ = "26.53"</s> |
CREATE TABLE table_name_85 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_85 WHERE title = "“some lapse of time”" | What is the Director for the episode titled “some lapse of time”? | <s>[INST]What is the Director for the episode titled “some lapse of time”? Context: CREATE TABLE table_name_85 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_85 WHERE title = "“some lapse of time”"</s> |
CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_2 WHERE country = "united states" AND to_par = 14 | Which United States player has a To par of 14? | <s>[INST]Which United States player has a To par of 14? Context: CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_2 WHERE country = "united states" AND to_par = 14</s> |
CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr" AND time = "+1'04.877" | Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? | <s>[INST]Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? Context: CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr... |
CREATE TABLE table_141541_5 (year VARCHAR, change VARCHAR) | SELECT year FROM table_141541_5 WHERE change = "+8.0%" | what's the year with change being +8.0% | <s>[INST]what's the year with change being +8.0% Context: CREATE TABLE table_141541_5 (year VARCHAR, change VARCHAR)[/INST]SELECT year FROM table_141541_5 WHERE change = "+8.0%"</s> |
CREATE TABLE table_19161046_1 (bus_width___bit__ VARCHAR, core___mhz__ VARCHAR) | SELECT COUNT(bus_width___bit__) FROM table_19161046_1 WHERE core___mhz__ = 650 | What's the bus width (in bit) of the model whose core is 650 MHz? | <s>[INST]What's the bus width (in bit) of the model whose core is 650 MHz? Context: CREATE TABLE table_19161046_1 (bus_width___bit__ VARCHAR, core___mhz__ VARCHAR)[/INST]SELECT COUNT(bus_width___bit__) FROM table_19161046_1 WHERE core___mhz__ = 650</s> |
CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR) | SELECT COUNT(rank) FROM table_23938357_6 WHERE name = "Keauna McLaughlin / Rockne Brubaker" | How many times is keauna mclaughlin / rockne brubaker ranked? | <s>[INST]How many times is keauna mclaughlin / rockne brubaker ranked? Context: CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR)[/INST]SELECT COUNT(rank) FROM table_23938357_6 WHERE name = "Keauna McLaughlin / Rockne Brubaker"</s> |
CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR) | SELECT davids_team FROM table_23575917_4 WHERE lees_team = "Jack Dee and Peter Serafinowicz" | Who is on the David's Team for the episode with the Lees Team of Jack Dee and Peter Serafinowicz | <s>[INST]Who is on the David's Team for the episode with the Lees Team of Jack Dee and Peter Serafinowicz Context: CREATE TABLE table_23575917_4 (davids_team VARCHAR, lees_team VARCHAR)[/INST]SELECT davids_team FROM table_23575917_4 WHERE lees_team = "Jack Dee and Peter Serafinowicz"</s> |
CREATE TABLE table_254234_1 (area³ INTEGER, density² VARCHAR) | SELECT MAX(area³) FROM table_254234_1 WHERE density² = "533.59" | What is the area of the province with a density of 533.59? | <s>[INST]What is the area of the province with a density of 533.59? Context: CREATE TABLE table_254234_1 (area³ INTEGER, density² VARCHAR)[/INST]SELECT MAX(area³) FROM table_254234_1 WHERE density² = "533.59"</s> |
CREATE TABLE table_261906_2 (enrollment INTEGER, joined_mac VARCHAR) | SELECT MAX(enrollment) FROM table_261906_2 WHERE joined_mac = 1997 | What is the highest enrollment schools that joined the mac in 1997? | <s>[INST]What is the highest enrollment schools that joined the mac in 1997? Context: CREATE TABLE table_261906_2 (enrollment INTEGER, joined_mac VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_261906_2 WHERE joined_mac = 1997</s> |
CREATE TABLE table_name_82 (date VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR) | SELECT date FROM table_name_82 WHERE winner = "new york giants" AND year > 1985 AND result = "17-14" | Which date had a game with the New York Giants as the winner, year over 1985, and a result of 17-14? | <s>[INST]Which date had a game with the New York Giants as the winner, year over 1985, and a result of 17-14? Context: CREATE TABLE table_name_82 (date VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE winner = "new york giants" AND year > 1985 AND result = "17-14"</s> |
CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR) | SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376 | How many townships are there in the region with 376 village groups? | <s>[INST]How many townships are there in the region with 376 village groups? Context: CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR)[/INST]SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376</s> |
CREATE TABLE table_name_81 (tries INTEGER, played INTEGER) | SELECT SUM(tries) FROM table_name_81 WHERE played > 16 | What is the number of tries for the player who is larger than 16? | <s>[INST]What is the number of tries for the player who is larger than 16? Context: CREATE TABLE table_name_81 (tries INTEGER, played INTEGER)[/INST]SELECT SUM(tries) FROM table_name_81 WHERE played > 16</s> |
CREATE TABLE table_1342013_31 (party VARCHAR, result VARCHAR) | SELECT COUNT(party) FROM table_1342013_31 WHERE result = "Resigned when appointed judge Democratic hold" | What number of party had a candidate resigned when appointed judge democratic hold? | <s>[INST]What number of party had a candidate resigned when appointed judge democratic hold? Context: CREATE TABLE table_1342013_31 (party VARCHAR, result VARCHAR)[/INST]SELECT COUNT(party) FROM table_1342013_31 WHERE result = "Resigned when appointed judge Democratic hold"</s> |
CREATE TABLE table_name_46 (status VARCHAR, venue VARCHAR) | SELECT status FROM table_name_46 WHERE venue = "sydney sports ground , sydney" | Name the Status of Venue of sydney sports ground , sydney? | <s>[INST]Name the Status of Venue of sydney sports ground , sydney? Context: CREATE TABLE table_name_46 (status VARCHAR, venue VARCHAR)[/INST]SELECT status FROM table_name_46 WHERE venue = "sydney sports ground , sydney"</s> |
CREATE TABLE table_2801442_1 (population__2001_census_ VARCHAR, headquarters VARCHAR) | SELECT population__2001_census_ FROM table_2801442_1 WHERE headquarters = "Bhubaneswar" | How many people lived in the district whose headquarters is in Bhubaneswar in 2001? | <s>[INST]How many people lived in the district whose headquarters is in Bhubaneswar in 2001? Context: CREATE TABLE table_2801442_1 (population__2001_census_ VARCHAR, headquarters VARCHAR)[/INST]SELECT population__2001_census_ FROM table_2801442_1 WHERE headquarters = "Bhubaneswar"</s> |
CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR) | SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = "open cluster" AND ngc_number > 2547 | Tell me the right ascension for open cluster and NGC number more than 2547 | <s>[INST]Tell me the right ascension for open cluster and NGC number more than 2547 Context: CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR)[/INST]SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = "open cluster" AND ngc_number > 2547</s> |
CREATE TABLE table_name_12 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_12 WHERE total = 19 AND silver = 8 AND rank = "31" | I want the average bronze for total of 19 and silver of 8 with rank of 31 | <s>[INST]I want the average bronze for total of 19 and silver of 8 with rank of 31 Context: CREATE TABLE table_name_12 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_12 WHERE total = 19 AND silver = 8 AND rank = "31"</s> |
CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR) | SELECT runner_up FROM table_name_88 WHERE winner = "kiveton park" AND season = "2005-06" | What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner? | <s>[INST]What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner? Context: CREATE TABLE table_name_88 (runner_up VARCHAR, winner VARCHAR, season VARCHAR)[/INST]SELECT runner_up FROM table_name_88 WHERE winner = "kiveton park" AND season = "2005-06"</s> |
CREATE TABLE table_name_27 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_27 WHERE catalog = "vlmx 1087-3" | What is the Region with a Catalog that is vlmx 1087-3? | <s>[INST]What is the Region with a Catalog that is vlmx 1087-3? Context: CREATE TABLE table_name_27 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_27 WHERE catalog = "vlmx 1087-3"</s> |
CREATE TABLE table_1570003_2 (open_cup VARCHAR, year VARCHAR) | SELECT open_cup FROM table_1570003_2 WHERE year = 2003 | During 2003 what was open cup qualifying status? | <s>[INST]During 2003 what was open cup qualifying status? Context: CREATE TABLE table_1570003_2 (open_cup VARCHAR, year VARCHAR)[/INST]SELECT open_cup FROM table_1570003_2 WHERE year = 2003</s> |
CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts" | What is the Result of the game against the Indianapolis Colts? | <s>[INST]What is the Result of the game against the Indianapolis Colts? Context: CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts"</s> |
CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_32 WHERE score = 72 - 67 = 139 | Which country had a score of 72-67=139? | <s>[INST]Which country had a score of 72-67=139? Context: CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_32 WHERE score = 72 - 67 = 139</s> |
CREATE TABLE table_17355408_9 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_17355408_9 WHERE team = "Sacramento" | Who had the high rebounds when the team played Sacramento? | <s>[INST]Who had the high rebounds when the team played Sacramento? Context: CREATE TABLE table_17355408_9 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_17355408_9 WHERE team = "Sacramento"</s> |
CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR) | SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach" | Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? | <s>[INST]Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? Context: CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR)[/INST]SELECT hh_principal FROM table_name_... |
CREATE TABLE table_name_82 (wins VARCHAR, wpct VARCHAR) | SELECT wins FROM table_name_82 WHERE wpct = "0.2" | What wins has WPct of 0.2? | <s>[INST]What wins has WPct of 0.2? Context: CREATE TABLE table_name_82 (wins VARCHAR, wpct VARCHAR)[/INST]SELECT wins FROM table_name_82 WHERE wpct = "0.2"</s> |
CREATE TABLE table_name_97 (the_year INTEGER, playoffs VARCHAR, division VARCHAR) | SELECT SUM(the_year) FROM table_name_97 WHERE playoffs = "did not qualify" AND division < 3 | Which Year did not qualify for Playoffs, and had a Division smaller than 3? | <s>[INST]Which Year did not qualify for Playoffs, and had a Division smaller than 3? Context: CREATE TABLE table_name_97 (the_year INTEGER, playoffs VARCHAR, division VARCHAR)[/INST]SELECT SUM(the_year) FROM table_name_97 WHERE playoffs = "did not qualify" AND division < 3</s> |
CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "3" | what is 1958 when 1957 is 2 and 1956 is 3? | <s>[INST]what is 1958 when 1957 is 2 and 1956 is 3? Context: CREATE TABLE table_name_67 (Id VARCHAR)[/INST]SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "3"</s> |
CREATE TABLE table_name_2 (points VARCHAR, chassis VARCHAR) | SELECT COUNT(points) FROM table_name_2 WHERE chassis = "bmw t269 (f2)" | Name the total number of points for chassis of bmw t269 (f2) | <s>[INST]Name the total number of points for chassis of bmw t269 (f2) Context: CREATE TABLE table_name_2 (points VARCHAR, chassis VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_2 WHERE chassis = "bmw t269 (f2)"</s> |
CREATE TABLE table_name_88 (club VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR) | SELECT club FROM table_name_88 WHERE draws < 8 AND points = 37 AND goals_for < 71 | What club has less than 8 draws, 37 points, and less than 71 goals? | <s>[INST]What club has less than 8 draws, 37 points, and less than 71 goals? Context: CREATE TABLE table_name_88 (club VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)[/INST]SELECT club FROM table_name_88 WHERE draws < 8 AND points = 37 AND goals_for < 71</s> |
CREATE TABLE table_24786958_2 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_24786958_2 WHERE attendance = 30701 | Who did Rhein Fire play Against where 30701 people attended? | <s>[INST]Who did Rhein Fire play Against where 30701 people attended? Context: CREATE TABLE table_24786958_2 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_24786958_2 WHERE attendance = 30701</s> |
CREATE TABLE table_12310814_1 (song_choice VARCHAR, original_artist VARCHAR) | SELECT song_choice FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones" | Which one of the songs was originally performed by Rickie Lee Jones? | <s>[INST]Which one of the songs was originally performed by Rickie Lee Jones? Context: CREATE TABLE table_12310814_1 (song_choice VARCHAR, original_artist VARCHAR)[/INST]SELECT song_choice FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"</s> |
CREATE TABLE user_profiles (name VARCHAR, email VARCHAR, followers INTEGER) | SELECT name, email FROM user_profiles WHERE followers > 1000 | Find the name and email of the users who have more than 1000 followers. | <s>[INST]Find the name and email of the users who have more than 1000 followers. Context: CREATE TABLE user_profiles (name VARCHAR, email VARCHAR, followers INTEGER)[/INST]SELECT name, email FROM user_profiles WHERE followers > 1000</s> |
CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR) | SELECT MIN(points) FROM table_name_17 WHERE opponent = "@ florida panthers" AND game > 58 | Which Points have an Opponent of @ florida panthers, and a Game larger than 58? | <s>[INST]Which Points have an Opponent of @ florida panthers, and a Game larger than 58? Context: CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR)[/INST]SELECT MIN(points) FROM table_name_17 WHERE opponent = "@ florida panthers" AND game > 58</s> |
CREATE TABLE table_2190919_3 (top_5 VARCHAR, winnings VARCHAR) | SELECT COUNT(top_5) FROM table_2190919_3 WHERE winnings = "$250,667" | If the winnings was $250,667, what is the top 5 total number? | <s>[INST]If the winnings was $250,667, what is the top 5 total number? Context: CREATE TABLE table_2190919_3 (top_5 VARCHAR, winnings VARCHAR)[/INST]SELECT COUNT(top_5) FROM table_2190919_3 WHERE winnings = "$250,667"</s> |
CREATE TABLE table_name_64 (capacity INTEGER, coach VARCHAR) | SELECT SUM(capacity) FROM table_name_64 WHERE coach = "trevor gleeson" | What is the total capacity for coach Trevor Gleeson? | <s>[INST]What is the total capacity for coach Trevor Gleeson? Context: CREATE TABLE table_name_64 (capacity INTEGER, coach VARCHAR)[/INST]SELECT SUM(capacity) FROM table_name_64 WHERE coach = "trevor gleeson"</s> |
CREATE TABLE table_name_79 (where_built VARCHAR, year_built INTEGER) | SELECT where_built FROM table_name_79 WHERE year_built < 1858 | Where was something built earlier than 1858? | <s>[INST]Where was something built earlier than 1858? Context: CREATE TABLE table_name_79 (where_built VARCHAR, year_built INTEGER)[/INST]SELECT where_built FROM table_name_79 WHERE year_built < 1858</s> |
CREATE TABLE table_name_87 (pick INTEGER, school VARCHAR) | SELECT AVG(pick) FROM table_name_87 WHERE school = "pasco, wa" | What is the average Pick for the Pasco, Wa school? | <s>[INST]What is the average Pick for the Pasco, Wa school? Context: CREATE TABLE table_name_87 (pick INTEGER, school VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_87 WHERE school = "pasco, wa"</s> |
CREATE TABLE table_name_92 (Id VARCHAR) | SELECT 2007 FROM table_name_92 WHERE 2010 = "qf" AND 2012 = "w" | What in 2007 has a 2010 of qf, and a 2012 of w? | <s>[INST]What in 2007 has a 2010 of qf, and a 2012 of w? Context: CREATE TABLE table_name_92 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_92 WHERE 2010 = "qf" AND 2012 = "w"</s> |
CREATE TABLE table_name_56 (administration VARCHAR, season VARCHAR) | SELECT administration FROM table_name_56 WHERE season = 2000 | What Adminstration has a Season of 2000? | <s>[INST]What Adminstration has a Season of 2000? Context: CREATE TABLE table_name_56 (administration VARCHAR, season VARCHAR)[/INST]SELECT administration FROM table_name_56 WHERE season = 2000</s> |
CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR) | SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer" | Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? | <s>[INST]Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? Context: CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR)[/INST]SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer"</... |
CREATE TABLE table_name_62 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) | SELECT MIN(top_5) FROM table_name_62 WHERE top_25 > 4 AND cuts_made = 29 AND top_10 > 18 | What are the lowest top-5 with a top-25 larger than 4, 29 cuts and a top-10 larger than 18? | <s>[INST]What are the lowest top-5 with a top-25 larger than 4, 29 cuts and a top-10 larger than 18? Context: CREATE TABLE table_name_62 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)[/INST]SELECT MIN(top_5) FROM table_name_62 WHERE top_25 > 4 AND cuts_made = 29 AND top_10 > 18</s> |
CREATE TABLE table_name_89 (wins VARCHAR, poles VARCHAR, final_placing VARCHAR) | SELECT wins FROM table_name_89 WHERE poles = "0" AND final_placing = "15th" | How many wins did Hobbs had a 15th finish at poles 0? | <s>[INST]How many wins did Hobbs had a 15th finish at poles 0? Context: CREATE TABLE table_name_89 (wins VARCHAR, poles VARCHAR, final_placing VARCHAR)[/INST]SELECT wins FROM table_name_89 WHERE poles = "0" AND final_placing = "15th"</s> |
CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_7 WHERE result = "0-5" | Where was a 0-5 game played? | <s>[INST]Where was a 0-5 game played? Context: CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_7 WHERE result = "0-5"</s> |
CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador" | What is the surface when the tournament is manta, ecuador? | <s>[INST]What is the surface when the tournament is manta, ecuador? Context: CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador"</s> |
CREATE TABLE table_256286_43 (passed VARCHAR, no_votes VARCHAR) | SELECT passed FROM table_256286_43 WHERE no_votes = 312187 | What is every entry for passed when NO votes is 312187? | <s>[INST]What is every entry for passed when NO votes is 312187? Context: CREATE TABLE table_256286_43 (passed VARCHAR, no_votes VARCHAR)[/INST]SELECT passed FROM table_256286_43 WHERE no_votes = 312187</s> |
CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR) | SELECT COUNT(week) FROM table_name_67 WHERE result = "w 35–7" | Tell me the total number of week for w 35–7 | <s>[INST]Tell me the total number of week for w 35–7 Context: CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_67 WHERE result = "w 35–7"</s> |
CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) | SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 May" | Who left a position on 29 May? | <s>[INST]Who left a position on 29 May? Context: CREATE TABLE table_17327458_1 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT outgoing_manager FROM table_17327458_1 WHERE date_of_vacancy = "29 May"</s> |
CREATE TABLE table_name_86 (notes VARCHAR, capacity__mw_ VARCHAR) | SELECT notes FROM table_name_86 WHERE capacity__mw_ = 343 | What special notes are included for the windfarm with a capacity (MW) of 343? | <s>[INST]What special notes are included for the windfarm with a capacity (MW) of 343? Context: CREATE TABLE table_name_86 (notes VARCHAR, capacity__mw_ VARCHAR)[/INST]SELECT notes FROM table_name_86 WHERE capacity__mw_ = 343</s> |
CREATE TABLE table_name_50 (season VARCHAR, acquisition_via VARCHAR, number VARCHAR) | SELECT season FROM table_name_50 WHERE acquisition_via = "rookie draft" AND number = "15" | What is the Season with an Acquisition via of rookie draft, and the number is 15? | <s>[INST]What is the Season with an Acquisition via of rookie draft, and the number is 15? Context: CREATE TABLE table_name_50 (season VARCHAR, acquisition_via VARCHAR, number VARCHAR)[/INST]SELECT season FROM table_name_50 WHERE acquisition_via = "rookie draft" AND number = "15"</s> |
CREATE TABLE table_name_43 (year VARCHAR, theme VARCHAR) | SELECT year FROM table_name_43 WHERE theme = "year of the pig" | What year was the year of the pig theme? | <s>[INST]What year was the year of the pig theme? Context: CREATE TABLE table_name_43 (year VARCHAR, theme VARCHAR)[/INST]SELECT year FROM table_name_43 WHERE theme = "year of the pig"</s> |
CREATE TABLE table_name_94 (rank INTEGER, location VARCHAR) | SELECT MAX(rank) FROM table_name_94 WHERE location = "kingston" | What was the highest rink for Kingston? | <s>[INST]What was the highest rink for Kingston? Context: CREATE TABLE table_name_94 (rank INTEGER, location VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_94 WHERE location = "kingston"</s> |
CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_75 WHERE driver = "jean alesi" AND laps < 24 | When Jean Alesi had laps less than 24, what was his highest grid? | <s>[INST]When Jean Alesi had laps less than 24, what was his highest grid? Context: CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_75 WHERE driver = "jean alesi" AND laps < 24</s> |
CREATE TABLE table_name_33 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_33 WHERE college = "illinois" | What is the player from Illinois? | <s>[INST]What is the player from Illinois? Context: CREATE TABLE table_name_33 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_33 WHERE college = "illinois"</s> |
CREATE TABLE table_name_84 (award VARCHAR, organisation VARCHAR) | SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao" | Which award was given to Lianhe Zaobao? | <s>[INST]Which award was given to Lianhe Zaobao? Context: CREATE TABLE table_name_84 (award VARCHAR, organisation VARCHAR)[/INST]SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao"</s> |
CREATE TABLE table_name_40 (total INTEGER, sport VARCHAR, bronze VARCHAR) | SELECT MAX(total) FROM table_name_40 WHERE sport = "shooting" AND bronze < 0 | What is the highest Shooting Total with a Bronze less than 0? | <s>[INST]What is the highest Shooting Total with a Bronze less than 0? Context: CREATE TABLE table_name_40 (total INTEGER, sport VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(total) FROM table_name_40 WHERE sport = "shooting" AND bronze < 0</s> |
CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR) | SELECT record FROM table_name_83 WHERE leading_scorer = "glenn robinson (16)" | What record has Glenn Robinson (16) as the leading scorer? | <s>[INST]What record has Glenn Robinson (16) as the leading scorer? Context: CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR)[/INST]SELECT record FROM table_name_83 WHERE leading_scorer = "glenn robinson (16)"</s> |
CREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR) | SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups" | Which regular season had the playoffs of 0 mls cups? | <s>[INST]Which regular season had the playoffs of 0 mls cups? Context: CREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR)[/INST]SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups"</s> |
CREATE TABLE table_name_23 (episode VARCHAR, xii_season VARCHAR) | SELECT episode FROM table_name_23 WHERE xii_season = "4 118 160 (26 september 2010)" | What is Episode, when XII Season is 4 118 160 (26 september 2010)? | <s>[INST]What is Episode, when XII Season is 4 118 160 (26 september 2010)? Context: CREATE TABLE table_name_23 (episode VARCHAR, xii_season VARCHAR)[/INST]SELECT episode FROM table_name_23 WHERE xii_season = "4 118 160 (26 september 2010)"</s> |
CREATE TABLE table_27184837_1 (asia VARCHAR, americas VARCHAR) | SELECT COUNT(asia) FROM table_27184837_1 WHERE americas = 14 | How many program data on Asia was written if the organization launched 14 programs iin the Americas? | <s>[INST]How many program data on Asia was written if the organization launched 14 programs iin the Americas? Context: CREATE TABLE table_27184837_1 (asia VARCHAR, americas VARCHAR)[/INST]SELECT COUNT(asia) FROM table_27184837_1 WHERE americas = 14</s> |
CREATE TABLE table_name_46 (location VARCHAR, round VARCHAR, event VARCHAR) | SELECT location FROM table_name_46 WHERE round = 3 AND event = "fightfest 2" | What is the location of fightfest 2, which has 3 rounds? | <s>[INST]What is the location of fightfest 2, which has 3 rounds? Context: CREATE TABLE table_name_46 (location VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_46 WHERE round = 3 AND event = "fightfest 2"</s> |
CREATE TABLE table_171236_2 (population VARCHAR, official_name VARCHAR) | SELECT COUNT(population) FROM table_171236_2 WHERE official_name = "Westfield" | What is the population in Westfield? | <s>[INST]What is the population in Westfield? Context: CREATE TABLE table_171236_2 (population VARCHAR, official_name VARCHAR)[/INST]SELECT COUNT(population) FROM table_171236_2 WHERE official_name = "Westfield"</s> |
CREATE TABLE table_1000181_1 (text_background_colour VARCHAR, state_territory VARCHAR) | SELECT text_background_colour FROM table_1000181_1 WHERE state_territory = "Australian Capital Territory" | Name the background colour for the Australian Capital Territory | <s>[INST]Name the background colour for the Australian Capital Territory Context: CREATE TABLE table_1000181_1 (text_background_colour VARCHAR, state_territory VARCHAR)[/INST]SELECT text_background_colour FROM table_1000181_1 WHERE state_territory = "Australian Capital Territory"</s> |
CREATE TABLE table_27721131_11 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_27721131_11 WHERE game = 78 | Who had the highest assists during game 78? | <s>[INST]Who had the highest assists during game 78? Context: CREATE TABLE table_27721131_11 (high_assists VARCHAR, game VARCHAR)[/INST]SELECT high_assists FROM table_27721131_11 WHERE game = 78</s> |
CREATE TABLE table_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR) | SELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = "Navy Distinguished Service Medal" | What is the coast guard cross when you recieve the navy distinguished service medal? | <s>[INST]What is the coast guard cross when you recieve the navy distinguished service medal? Context: CREATE TABLE table_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR)[/INST]SELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = "Navy Distinguished Service Medal"<... |
CREATE TABLE table_name_59 (joined INTEGER, institution VARCHAR) | SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern university" | When did Northeastern University join? | <s>[INST]When did Northeastern University join? Context: CREATE TABLE table_name_59 (joined INTEGER, institution VARCHAR)[/INST]SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern university"</s> |
CREATE TABLE table_name_5 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_5 WHERE player = "cuttino mobley" | Cuttino Mobley is what nationality? | <s>[INST]Cuttino Mobley is what nationality? Context: CREATE TABLE table_name_5 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_5 WHERE player = "cuttino mobley"</s> |
CREATE TABLE Flight (flno VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR) | SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T2.name = "Airbus A340-300" | Show all flight numbers with aircraft Airbus A340-300. | <s>[INST]Show all flight numbers with aircraft Airbus A340-300. Context: CREATE TABLE Flight (flno VARCHAR, aid VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)[/INST]SELECT T1.flno FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T2.name = "Airbus A340-300"</s> |
CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_32 WHERE home_team = "collingwood" | Which venue did the match where Collingwood was the home team take place? | <s>[INST]Which venue did the match where Collingwood was the home team take place? Context: CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_32 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR) | SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1 | Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1? | <s>[INST]Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1? Context: CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR)[/INST]SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1</s> |
CREATE TABLE table_name_5 (flap INTEGER, class VARCHAR) | SELECT MAX(flap) FROM table_name_5 WHERE class = "500 cc" | What is the highest flap for class 500 cc? | <s>[INST]What is the highest flap for class 500 cc? Context: CREATE TABLE table_name_5 (flap INTEGER, class VARCHAR)[/INST]SELECT MAX(flap) FROM table_name_5 WHERE class = "500 cc"</s> |
CREATE TABLE table_name_61 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_61 WHERE away_team = "south melbourne" | On what date was South Melbourne the away team? | <s>[INST]On what date was South Melbourne the away team? Context: CREATE TABLE table_name_61 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE away_team = "south melbourne"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.