context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_74 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_74 WHERE laps = 42 AND grid = 4 | Tell me the time/retired for Laps of 42 and Grids of 4 | <s>[INST]Tell me the time/retired for Laps of 42 and Grids of 4 Context: CREATE TABLE table_name_74 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_74 WHERE laps = 42 AND grid = 4</s> |
CREATE TABLE table_24535095_2 (_number INTEGER, listed_owner_s_ VARCHAR) | SELECT MIN(_number) FROM table_24535095_2 WHERE listed_owner_s_ = "Pete Raymer" | Name the least listed owner for pete raymer | <s>[INST]Name the least listed owner for pete raymer Context: CREATE TABLE table_24535095_2 (_number INTEGER, listed_owner_s_ VARCHAR)[/INST]SELECT MIN(_number) FROM table_24535095_2 WHERE listed_owner_s_ = "Pete Raymer"</s> |
CREATE TABLE table_name_94 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_94 WHERE date = "october 13" | What was the score on October 13? | <s>[INST]What was the score on October 13? Context: CREATE TABLE table_name_94 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE date = "october 13"</s> |
CREATE TABLE table_name_8 (goals VARCHAR, club_apps VARCHAR, nationality VARCHAR, position VARCHAR) | SELECT goals FROM table_name_8 WHERE nationality = "england" AND position = "mf" AND club_apps = "170" | How many goals did the player from England who played the position of mf and had 170 club apps had? | <s>[INST]How many goals did the player from England who played the position of mf and had 170 club apps had? Context: CREATE TABLE table_name_8 (goals VARCHAR, club_apps VARCHAR, nationality VARCHAR, position VARCHAR)[/INST]SELECT goals FROM table_name_8 WHERE nationality = "england" AND position = "mf" AND club_apps = "170"</s> |
CREATE TABLE table_12547903_3 (branding VARCHAR, location VARCHAR) | SELECT branding FROM table_12547903_3 WHERE location = "Dagupan" | What was the branding in Dagupan? | <s>[INST]What was the branding in Dagupan? Context: CREATE TABLE table_12547903_3 (branding VARCHAR, location VARCHAR)[/INST]SELECT branding FROM table_12547903_3 WHERE location = "Dagupan"</s> |
CREATE TABLE table_name_2 (series VARCHAR, game INTEGER) | SELECT series FROM table_name_2 WHERE game > 4 | What was the series standing for games over 4? | <s>[INST]What was the series standing for games over 4? Context: CREATE TABLE table_name_2 (series VARCHAR, game INTEGER)[/INST]SELECT series FROM table_name_2 WHERE game > 4</s> |
CREATE TABLE table_name_43 (period VARCHAR, built VARCHAR, model VARCHAR) | SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 70" | Between which years were there 241 fokker 70 model cabins built? | <s>[INST]Between which years were there 241 fokker 70 model cabins built? Context: CREATE TABLE table_name_43 (period VARCHAR, built VARCHAR, model VARCHAR)[/INST]SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 70"</s> |
CREATE TABLE table_26986076_2 (wed_25_aug VARCHAR, mon_23_aug VARCHAR) | SELECT wed_25_aug FROM table_26986076_2 WHERE mon_23_aug = "26' 57.82 89.957mph" | what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph? | <s>[INST]what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph? Context: CREATE TABLE table_26986076_2 (wed_25_aug VARCHAR, mon_23_aug VARCHAR)[/INST]SELECT wed_25_aug FROM table_26986076_2 WHERE mon_23_aug = "26' 57.82 89.957mph"</s> |
CREATE TABLE table_17503169_1 (republican VARCHAR, incumbent VARCHAR) | SELECT republican FROM table_17503169_1 WHERE incumbent = "Thelma Drake" | Who was the republican candidate in the race with incumbent thelma drake? | <s>[INST]Who was the republican candidate in the race with incumbent thelma drake? Context: CREATE TABLE table_17503169_1 (republican VARCHAR, incumbent VARCHAR)[/INST]SELECT republican FROM table_17503169_1 WHERE incumbent = "Thelma Drake"</s> |
CREATE TABLE table_name_9 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_9 WHERE attendance = "73,855" | What is the result of the match with an attendance of 73,855? | <s>[INST]What is the result of the match with an attendance of 73,855? Context: CREATE TABLE table_name_9 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_9 WHERE attendance = "73,855"</s> |
CREATE TABLE table_name_48 (ship VARCHAR, pennant_number VARCHAR) | SELECT ship FROM table_name_48 WHERE pennant_number = "h55" | What is the name of the ship that had a Pennant number of h55? | <s>[INST]What is the name of the ship that had a Pennant number of h55? Context: CREATE TABLE table_name_48 (ship VARCHAR, pennant_number VARCHAR)[/INST]SELECT ship FROM table_name_48 WHERE pennant_number = "h55"</s> |
CREATE TABLE table_27514362_7 (car_make VARCHAR, driver VARCHAR) | SELECT car_make FROM table_27514362_7 WHERE driver = "Sterling Marlin" | What is the car make for Sterling Marlin? | <s>[INST]What is the car make for Sterling Marlin? Context: CREATE TABLE table_27514362_7 (car_make VARCHAR, driver VARCHAR)[/INST]SELECT car_make FROM table_27514362_7 WHERE driver = "Sterling Marlin"</s> |
CREATE TABLE table_name_28 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, position VARCHAR) | SELECT MIN(draws) FROM table_name_28 WHERE goals_against < 47 AND position < 13 AND goals_for = 52 | Which Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52? | <s>[INST]Which Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52? Context: CREATE TABLE table_name_28 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, position VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_28 WHERE goals_against < 47 AND position < 13 AND goals_for = 52</s> |
CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR) | SELECT position FROM table_name_6 WHERE team = "baltimore orioles" | What is the position of the player for the Baltimore Orioles? | <s>[INST]What is the position of the player for the Baltimore Orioles? Context: CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_name_6 WHERE team = "baltimore orioles"</s> |
CREATE TABLE company (Headquarters VARCHAR) | SELECT COUNT(*) FROM company WHERE Headquarters = 'USA' | How many companies are headquartered in the US? | <s>[INST]How many companies are headquartered in the US? Context: CREATE TABLE company (Headquarters VARCHAR)[/INST]SELECT COUNT(*) FROM company WHERE Headquarters = 'USA'</s> |
CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_17 WHERE circuit = "oran park raceway" | Who won at the Oran Park Raceway? | <s>[INST]Who won at the Oran Park Raceway? Context: CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR)[/INST]SELECT winner FROM table_name_17 WHERE circuit = "oran park raceway"</s> |
CREATE TABLE table_name_10 (round VARCHAR, time VARCHAR, opponent VARCHAR) | SELECT COUNT(round) FROM table_name_10 WHERE time = "5:00" AND opponent = "drew fickett" | What is the total number of rounds when Drew Fickett was the opponent and the time is 5:00? | <s>[INST]What is the total number of rounds when Drew Fickett was the opponent and the time is 5:00? Context: CREATE TABLE table_name_10 (round VARCHAR, time VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_10 WHERE time = "5:00" AND opponent = "drew fickett"</s> |
CREATE TABLE ship (id VARCHAR, lost_in_battle VARCHAR, tonnage VARCHAR); CREATE TABLE battle (id VARCHAR, lost_in_battle VARCHAR, tonnage VARCHAR) | SELECT COUNT(*) FROM battle WHERE NOT id IN (SELECT lost_in_battle FROM ship WHERE tonnage = '225') | How many battles did not lose any ship with tonnage '225'? | <s>[INST]How many battles did not lose any ship with tonnage '225'? Context: CREATE TABLE ship (id VARCHAR, lost_in_battle VARCHAR, tonnage VARCHAR); CREATE TABLE battle (id VARCHAR, lost_in_battle VARCHAR, tonnage VARCHAR)[/INST]SELECT COUNT(*) FROM battle WHERE NOT id IN (SELECT lost_in_battle FROM ship WHERE tonnage = '225')</s> |
CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR) | SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear" | Tyne and Wear County has what total membership for their metropolitan area? | <s>[INST]Tyne and Wear County has what total membership for their metropolitan area? Context: CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR)[/INST]SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear"</s> |
CREATE TABLE table_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR) | SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 2 | What is the total number of Draws, when Against is "1134", and when Byes is less than 2? | <s>[INST]What is the total number of Draws, when Against is "1134", and when Byes is less than 2? Context: CREATE TABLE table_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 2</s> |
CREATE TABLE table_name_62 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_5 VARCHAR) | SELECT SUM(cuts_made) FROM table_name_62 WHERE wins < 1 AND top_5 = 1 AND top_10 > 4 | How many cuts were made when there weren't any wins but had a top-5 of 1 and a top 10 larger than 4? | <s>[INST]How many cuts were made when there weren't any wins but had a top-5 of 1 and a top 10 larger than 4? Context: CREATE TABLE table_name_62 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_5 VARCHAR)[/INST]SELECT SUM(cuts_made) FROM table_name_62 WHERE wins < 1 AND top_5 = 1 AND top_10 > 4</s> |
CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Everlasting Moments" | What language was spoken in Everlasting Moments? | <s>[INST]What language was spoken in Everlasting Moments? Context: CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Everlasting Moments"</s> |
CREATE TABLE table_name_8 (winner VARCHAR, event VARCHAR) | SELECT winner FROM table_name_8 WHERE event = "ept german open" | The EPT German open was won by which listed winner? | <s>[INST]The EPT German open was won by which listed winner? Context: CREATE TABLE table_name_8 (winner VARCHAR, event VARCHAR)[/INST]SELECT winner FROM table_name_8 WHERE event = "ept german open"</s> |
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) | SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "LORIA" AND T2.lastname = "ONDERSMA" | How many students does LORIA ONDERSMA teaches? | <s>[INST]How many students does LORIA ONDERSMA teaches? Context: CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "LORIA" AND T2.lastname = "ONDERSMA"</s> |
CREATE TABLE table_name_61 (report VARCHAR, winning_driver VARCHAR) | SELECT report FROM table_name_61 WHERE winning_driver = "emerson fittipaldi" | Which Report has a Winning driver of emerson fittipaldi? | <s>[INST]Which Report has a Winning driver of emerson fittipaldi? Context: CREATE TABLE table_name_61 (report VARCHAR, winning_driver VARCHAR)[/INST]SELECT report FROM table_name_61 WHERE winning_driver = "emerson fittipaldi"</s> |
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_75 WHERE away_team = "richmond" | What home team played the away team of Richmond? | <s>[INST]What home team played the away team of Richmond? Context: CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_75 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_84 (rank VARCHAR, country VARCHAR) | SELECT rank FROM table_name_84 WHERE country = "canada" | Which rank has canada as the country? | <s>[INST]Which rank has canada as the country? Context: CREATE TABLE table_name_84 (rank VARCHAR, country VARCHAR)[/INST]SELECT rank FROM table_name_84 WHERE country = "canada"</s> |
CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_54 WHERE venue = "princes park" | What is the home team at princes park? | <s>[INST]What is the home team at princes park? Context: CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_54 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_65 WHERE tie_no = "29" | What is the score when the tie no is 29? | <s>[INST]What is the score when the tie no is 29? Context: CREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE tie_no = "29"</s> |
CREATE TABLE table_name_78 (stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR, winner VARCHAR) | SELECT stage FROM table_name_78 WHERE trofeo_fast_team = "carrera jeans-tassoni" AND winner = "mario cipollini" AND points_classification = "claudio chiappucci" | What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points? | <s>[INST]What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points? Context: CREATE TABLE table_name_78 (stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR, winner VARCHAR)[/INST]SELECT stage FROM table_name_78 WHERE trofeo_fast_team = "carrera jeans-tassoni" AND winner = "mario cipollini" AND points_classification = "claudio chiappucci"</s> |
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52 | Which driver has a grid value larger than 11, and drove more than 52 laps? | <s>[INST]Which driver has a grid value larger than 11, and drove more than 52 laps? Context: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52</s> |
CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_83 WHERE opponent = "lauren embree" | In which tournament was the opponent Lauren Embree? | <s>[INST]In which tournament was the opponent Lauren Embree? Context: CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_83 WHERE opponent = "lauren embree"</s> |
CREATE TABLE table_name_69 (position VARCHAR, game_1 VARCHAR) | SELECT position FROM table_name_69 WHERE game_1 = "noel cleal" | Which Position has a Game 1 of noel cleal? | <s>[INST]Which Position has a Game 1 of noel cleal? Context: CREATE TABLE table_name_69 (position VARCHAR, game_1 VARCHAR)[/INST]SELECT position FROM table_name_69 WHERE game_1 = "noel cleal"</s> |
CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_name_56 WHERE opponent = "atlanta hawks" | Can you tell me the highest Game that has the Opponent of atlanta hawks? | <s>[INST]Can you tell me the highest Game that has the Opponent of atlanta hawks? Context: CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR)[/INST]SELECT MAX(game) FROM table_name_56 WHERE opponent = "atlanta hawks"</s> |
CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR) | SELECT points FROM table_27293285_6 WHERE won = "15" | For teams that won exactly 15, how many points were scored? | <s>[INST]For teams that won exactly 15, how many points were scored? Context: CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR)[/INST]SELECT points FROM table_27293285_6 WHERE won = "15"</s> |
CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341453_11 WHERE incumbent = "Robert Wexler" | How did the election end for Robert Wexler? | <s>[INST]How did the election end for Robert Wexler? Context: CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1341453_11 WHERE incumbent = "Robert Wexler"</s> |
CREATE TABLE table_name_8 (position VARCHAR, team VARCHAR) | SELECT position FROM table_name_8 WHERE team = "chicago cubs" | What position is played by the player from the Chicago Cubs? | <s>[INST]What position is played by the player from the Chicago Cubs? Context: CREATE TABLE table_name_8 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_name_8 WHERE team = "chicago cubs"</s> |
CREATE TABLE table_14345690_2 (entered VARCHAR, finished VARCHAR) | SELECT entered FROM table_14345690_2 WHERE finished = "4th" | When did the 4th finisher enter? | <s>[INST]When did the 4th finisher enter? Context: CREATE TABLE table_14345690_2 (entered VARCHAR, finished VARCHAR)[/INST]SELECT entered FROM table_14345690_2 WHERE finished = "4th"</s> |
CREATE TABLE table_name_82 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_82 WHERE date = "september 26-30, 2012" | What is the Winner of the Event on September 26-30, 2012? | <s>[INST]What is the Winner of the Event on September 26-30, 2012? Context: CREATE TABLE table_name_82 (winner VARCHAR, date VARCHAR)[/INST]SELECT winner FROM table_name_82 WHERE date = "september 26-30, 2012"</s> |
CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) | SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" | What is the parent magazine of Dengeki g's festival! deluxe? | <s>[INST]What is the parent magazine of Dengeki g's festival! deluxe? Context: CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR)[/INST]SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe"</s> |
CREATE TABLE table_25517718_3 (touchdowns INTEGER, player VARCHAR) | SELECT MIN(touchdowns) FROM table_25517718_3 WHERE player = "Boggs" | How many touchdowns does Boggs have? | <s>[INST]How many touchdowns does Boggs have? Context: CREATE TABLE table_25517718_3 (touchdowns INTEGER, player VARCHAR)[/INST]SELECT MIN(touchdowns) FROM table_25517718_3 WHERE player = "Boggs"</s> |
CREATE TABLE table_name_30 (abb VARCHAR, disorder VARCHAR) | SELECT abb FROM table_name_30 WHERE disorder = "carbamoyl phosphate synthetase i deficiency" | What is the abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency? | <s>[INST]What is the abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency? Context: CREATE TABLE table_name_30 (abb VARCHAR, disorder VARCHAR)[/INST]SELECT abb FROM table_name_30 WHERE disorder = "carbamoyl phosphate synthetase i deficiency"</s> |
CREATE TABLE table_name_63 (name VARCHAR, region VARCHAR, date_of_reclassification VARCHAR) | SELECT name FROM table_name_63 WHERE region = "kansai" AND date_of_reclassification = "2012-04-01 ( core city )" | WHose Name has a Region of kansai on 2012-04-01 ( core city )? | <s>[INST]WHose Name has a Region of kansai on 2012-04-01 ( core city )? Context: CREATE TABLE table_name_63 (name VARCHAR, region VARCHAR, date_of_reclassification VARCHAR)[/INST]SELECT name FROM table_name_63 WHERE region = "kansai" AND date_of_reclassification = "2012-04-01 ( core city )"</s> |
CREATE TABLE table_name_24 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_24 WHERE date = "august 28" | Name the record for august 28 | <s>[INST]Name the record for august 28 Context: CREATE TABLE table_name_24 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_24 WHERE date = "august 28"</s> |
CREATE TABLE table_name_7 (years INTEGER, lost VARCHAR, tied VARCHAR, total_games VARCHAR) | SELECT SUM(years) FROM table_name_7 WHERE tied < 37 AND total_games > 33 AND lost = 15 | What is the year total for teams with under 37 games tied, over 33 games, and 15 losses? | <s>[INST]What is the year total for teams with under 37 games tied, over 33 games, and 15 losses? Context: CREATE TABLE table_name_7 (years INTEGER, lost VARCHAR, tied VARCHAR, total_games VARCHAR)[/INST]SELECT SUM(years) FROM table_name_7 WHERE tied < 37 AND total_games > 33 AND lost = 15</s> |
CREATE TABLE table_name_3 (away_team VARCHAR, date VARCHAR) | SELECT away_team FROM table_name_3 WHERE date = "9 february 1988" | Who was the away team on 9 February 1988? | <s>[INST]Who was the away team on 9 February 1988? Context: CREATE TABLE table_name_3 (away_team VARCHAR, date VARCHAR)[/INST]SELECT away_team FROM table_name_3 WHERE date = "9 february 1988"</s> |
CREATE TABLE table_name_54 (line VARCHAR, name VARCHAR) | SELECT line FROM table_name_54 WHERE name = "mangalore" | What is the line of Mangalore station? | <s>[INST]What is the line of Mangalore station? Context: CREATE TABLE table_name_54 (line VARCHAR, name VARCHAR)[/INST]SELECT line FROM table_name_54 WHERE name = "mangalore"</s> |
CREATE TABLE table_name_4 (club VARCHAR, capacity VARCHAR) | SELECT club FROM table_name_4 WHERE capacity = "25138" | Which club has a capacity of 25138? | <s>[INST]Which club has a capacity of 25138? Context: CREATE TABLE table_name_4 (club VARCHAR, capacity VARCHAR)[/INST]SELECT club FROM table_name_4 WHERE capacity = "25138"</s> |
CREATE TABLE table_name_21 (defending_forces VARCHAR, name VARCHAR) | SELECT defending_forces FROM table_name_21 WHERE name = "al-murassas" | What is the defending forces when Al-Murassas shows for name? | <s>[INST]What is the defending forces when Al-Murassas shows for name? Context: CREATE TABLE table_name_21 (defending_forces VARCHAR, name VARCHAR)[/INST]SELECT defending_forces FROM table_name_21 WHERE name = "al-murassas"</s> |
CREATE TABLE table_11326124_3 (result VARCHAR, round VARCHAR) | SELECT COUNT(result) FROM table_11326124_3 WHERE round = "2R" | How many rounds were 2r? | <s>[INST]How many rounds were 2r? Context: CREATE TABLE table_11326124_3 (result VARCHAR, round VARCHAR)[/INST]SELECT COUNT(result) FROM table_11326124_3 WHERE round = "2R"</s> |
CREATE TABLE table_name_66 (bandwidth_included VARCHAR, price VARCHAR) | SELECT bandwidth_included FROM table_name_66 WHERE price = "266 sar" | For the provider that costs 266 sar, what is the Bandwidth Included? | <s>[INST]For the provider that costs 266 sar, what is the Bandwidth Included? Context: CREATE TABLE table_name_66 (bandwidth_included VARCHAR, price VARCHAR)[/INST]SELECT bandwidth_included FROM table_name_66 WHERE price = "266 sar"</s> |
CREATE TABLE table_1342149_6 (result VARCHAR, district VARCHAR) | SELECT COUNT(result) FROM table_1342149_6 WHERE district = "California 29" | How many results does the California 29 voting district have? | <s>[INST]How many results does the California 29 voting district have? Context: CREATE TABLE table_1342149_6 (result VARCHAR, district VARCHAR)[/INST]SELECT COUNT(result) FROM table_1342149_6 WHERE district = "California 29"</s> |
CREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR) | SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998 | How many figures are named for security forces in 1998? | <s>[INST]How many figures are named for security forces in 1998? Context: CREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR)[/INST]SELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998</s> |
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR) | SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30" | What are all the approved treatments for the target CD30? | <s>[INST]What are all the approved treatments for the target CD30? Context: CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR)[/INST]SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30"</s> |
CREATE TABLE table_name_2 (population__2011_ VARCHAR, area__km²_ VARCHAR, change___percentage_ VARCHAR, population__2006_ VARCHAR, population_density VARCHAR) | SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5 | What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km²) larger than 4.5? | <s>[INST]What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km²) larger than 4.5? Context: CREATE TABLE table_name_2 (population__2011_ VARCHAR, area__km²_ VARCHAR, change___percentage_ VARCHAR, population__2006_ VARCHAR, population_density VARCHAR)[/INST]SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5</s> |
CREATE TABLE table_name_60 (losses INTEGER, win__percentage VARCHAR, wins VARCHAR, team VARCHAR) | SELECT MIN(losses) FROM table_name_60 WHERE wins = 1 AND team = "dallas stars" AND win__percentage < 0.25 | What's the lowest Losses recorded wiht a Wins of 1, Team of Dallas Stars, and a Win % that's smaller than 0.25? | <s>[INST]What's the lowest Losses recorded wiht a Wins of 1, Team of Dallas Stars, and a Win % that's smaller than 0.25? Context: CREATE TABLE table_name_60 (losses INTEGER, win__percentage VARCHAR, wins VARCHAR, team VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_60 WHERE wins = 1 AND team = "dallas stars" AND win__percentage < 0.25</s> |
CREATE TABLE table_name_18 (location VARCHAR, name VARCHAR, type VARCHAR, opened VARCHAR) | SELECT location FROM table_name_18 WHERE type = "cable-stayed" AND opened = 2005 AND name = "badong bridge" | Where did the cable-stayed Badong Bridge open in 2005? | <s>[INST]Where did the cable-stayed Badong Bridge open in 2005? Context: CREATE TABLE table_name_18 (location VARCHAR, name VARCHAR, type VARCHAR, opened VARCHAR)[/INST]SELECT location FROM table_name_18 WHERE type = "cable-stayed" AND opened = 2005 AND name = "badong bridge"</s> |
CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_25 WHERE date = "oct. 26" | What is the highest Attendance, when Date is "Oct. 26"? | <s>[INST]What is the highest Attendance, when Date is "Oct. 26"? Context: CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_25 WHERE date = "oct. 26"</s> |
CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR) | SELECT COUNT(year) FROM table_name_65 WHERE venue = "stockholm, sweden" | How many year was the venue in stockholm, sweden used? | <s>[INST]How many year was the venue in stockholm, sweden used? Context: CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_65 WHERE venue = "stockholm, sweden"</s> |
CREATE TABLE table_27969432_3 (no_in_series INTEGER) | SELECT MIN(no_in_series) FROM table_27969432_3 | What is the lowest numbered episode in the series? | <s>[INST]What is the lowest numbered episode in the series? Context: CREATE TABLE table_27969432_3 (no_in_series INTEGER)[/INST]SELECT MIN(no_in_series) FROM table_27969432_3</s> |
CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHAR) | SELECT COUNT(first_elected) FROM table_2668243_17 WHERE candidates = "Thomas Maxwell (J) 60.1% David Woodcock (AJ) 39.9%" | Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9% | <s>[INST]Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9% Context: CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_2668243_17 WHERE candidates = "Thomas Maxwell (J) 60.1% David Woodcock (AJ) 39.9%"</s> |
CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR) | SELECT name FROM table_name_5 WHERE number = "8" | What name has 8 as the number? | <s>[INST]What name has 8 as the number? Context: CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)[/INST]SELECT name FROM table_name_5 WHERE number = "8"</s> |
CREATE TABLE table_18600760_3 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_18600760_3 WHERE latitude = "48.075823" | What was the longitude of the township with a latitude of 48.075823? | <s>[INST]What was the longitude of the township with a latitude of 48.075823? Context: CREATE TABLE table_18600760_3 (longitude VARCHAR, latitude VARCHAR)[/INST]SELECT longitude FROM table_18600760_3 WHERE latitude = "48.075823"</s> |
CREATE TABLE table_name_64 (decile INTEGER, area VARCHAR, roll VARCHAR) | SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835 | What is the total decile with an Area of whitianga, and a Roll smaller than 835? | <s>[INST]What is the total decile with an Area of whitianga, and a Roll smaller than 835? Context: CREATE TABLE table_name_64 (decile INTEGER, area VARCHAR, roll VARCHAR)[/INST]SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835</s> |
CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR) | SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5 | List the top 5 genres by number of tracks. List genres name and total tracks. | <s>[INST]List the top 5 genres by number of tracks. List genres name and total tracks. Context: CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)[/INST]SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5</s> |
CREATE TABLE table_name_77 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_77 WHERE class = "c1" AND identifier = "cbcd-fm" | Which city has a C1 class and Identifier of CBCD-FM? | <s>[INST]Which city has a C1 class and Identifier of CBCD-FM? Context: CREATE TABLE table_name_77 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)[/INST]SELECT city_of_license FROM table_name_77 WHERE class = "c1" AND identifier = "cbcd-fm"</s> |
CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR) | SELECT MAX(rank) FROM table_name_49 WHERE county = "offaly" AND player = "mark corrigan" AND total < 8 | What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8? | <s>[INST]What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8? Context: CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_49 WHERE county = "offaly" AND player = "mark corrigan" AND total < 8</s> |
CREATE TABLE table_name_73 (man_of_the_match VARCHAR, result VARCHAR) | SELECT man_of_the_match FROM table_name_73 WHERE result = "lost 2-5" | What is the Man of the Match of the Competition with a Result of lost 2-5? | <s>[INST]What is the Man of the Match of the Competition with a Result of lost 2-5? Context: CREATE TABLE table_name_73 (man_of_the_match VARCHAR, result VARCHAR)[/INST]SELECT man_of_the_match FROM table_name_73 WHERE result = "lost 2-5"</s> |
CREATE TABLE table_17340355_10 (team VARCHAR, high_points VARCHAR) | SELECT COUNT(team) FROM table_17340355_10 WHERE high_points = "Steve Nash (24)" | Steve Nash (24) got high points for how many teams? | <s>[INST]Steve Nash (24) got high points for how many teams? Context: CREATE TABLE table_17340355_10 (team VARCHAR, high_points VARCHAR)[/INST]SELECT COUNT(team) FROM table_17340355_10 WHERE high_points = "Steve Nash (24)"</s> |
CREATE TABLE table_name_34 (type VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT type FROM table_name_34 WHERE opponent = "robert villemain" AND record = "109–1–2" | What is the type when Robert Villemain had a record at 109–1–2? | <s>[INST]What is the type when Robert Villemain had a record at 109–1–2? Context: CREATE TABLE table_name_34 (type VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT type FROM table_name_34 WHERE opponent = "robert villemain" AND record = "109–1–2"</s> |
CREATE TABLE table_name_5 (title VARCHAR, download VARCHAR, issue_date VARCHAR) | SELECT title FROM table_name_5 WHERE download = "crazy frog" AND issue_date = "july 2" | What is the title of the July 2 song that is downloaded as Crazy Frog? | <s>[INST]What is the title of the July 2 song that is downloaded as Crazy Frog? Context: CREATE TABLE table_name_5 (title VARCHAR, download VARCHAR, issue_date VARCHAR)[/INST]SELECT title FROM table_name_5 WHERE download = "crazy frog" AND issue_date = "july 2"</s> |
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR) | SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Bob' | Who are the friends of Bob? | <s>[INST]Who are the friends of Bob? Context: CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR)[/INST]SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Bob'</s> |
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_89 WHERE venue = "victoria park" | What was the away team's score for the match played at Victoria Park? | <s>[INST]What was the away team's score for the match played at Victoria Park? Context: CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_89 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_57 (draw VARCHAR, match VARCHAR, team VARCHAR) | SELECT draw FROM table_name_57 WHERE match = "8" AND team = "lpż gdańsk" | What was the draw for Lpż Gdańsk with a match of 8? | <s>[INST]What was the draw for Lpż Gdańsk with a match of 8? Context: CREATE TABLE table_name_57 (draw VARCHAR, match VARCHAR, team VARCHAR)[/INST]SELECT draw FROM table_name_57 WHERE match = "8" AND team = "lpż gdańsk"</s> |
CREATE TABLE table_name_78 (year INTEGER, wins VARCHAR, loses VARCHAR) | SELECT MAX(year) FROM table_name_78 WHERE wins = 15 AND loses < 5 | What highest Year has Wins 15 and Losses less than 5? | <s>[INST]What highest Year has Wins 15 and Losses less than 5? Context: CREATE TABLE table_name_78 (year INTEGER, wins VARCHAR, loses VARCHAR)[/INST]SELECT MAX(year) FROM table_name_78 WHERE wins = 15 AND loses < 5</s> |
CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10" | How many sitting Representatives are there in the New York 10 polling area? | <s>[INST]How many sitting Representatives are there in the New York 10 polling area? Context: CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10"</s> |
CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR) | SELECT round FROM table_name_21 WHERE record = "15-5" | What round did the fight last when Mikhail Ilyukhin's record was 15-5? | <s>[INST]What round did the fight last when Mikhail Ilyukhin's record was 15-5? Context: CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR)[/INST]SELECT round FROM table_name_21 WHERE record = "15-5"</s> |
CREATE TABLE table_name_6 (power_output__kw_ VARCHAR, model VARCHAR) | SELECT power_output__kw_ FROM table_name_6 WHERE model = "hxd3d" | What is the power output (kw) of model hxd3d? | <s>[INST]What is the power output (kw) of model hxd3d? Context: CREATE TABLE table_name_6 (power_output__kw_ VARCHAR, model VARCHAR)[/INST]SELECT power_output__kw_ FROM table_name_6 WHERE model = "hxd3d"</s> |
CREATE TABLE table_name_67 (beer VARCHAR, recorded VARCHAR) | SELECT beer FROM table_name_67 WHERE recorded = 4.08 | What beer has a record of 4.08? | <s>[INST]What beer has a record of 4.08? Context: CREATE TABLE table_name_67 (beer VARCHAR, recorded VARCHAR)[/INST]SELECT beer FROM table_name_67 WHERE recorded = 4.08</s> |
CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0 | Name the average bronze with silver more than 0, total of 6 and gold more than 0 | <s>[INST]Name the average bronze with silver more than 0, total of 6 and gold more than 0 Context: CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0</s> |
CREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR); CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR) | SELECT T2.day_Number, T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date | What is the day Number and date of all the documents? | <s>[INST]What is the day Number and date of all the documents? Context: CREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR); CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR)[/INST]SELECT T2.day_Number, T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date</s> |
CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR) | SELECT MIN(series_episode) FROM table_23513241_5 WHERE prod_code = 406 | What is the lowest series episode with a production code of 406? | <s>[INST]What is the lowest series episode with a production code of 406? Context: CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR)[/INST]SELECT MIN(series_episode) FROM table_23513241_5 WHERE prod_code = 406</s> |
CREATE TABLE table_name_65 (type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR) | SELECT type FROM table_name_65 WHERE source = "leeds united" AND transfer_window = "winter" AND moving_from = "northampton town" | What is the type of the Leeds United source, winter transfer window and moving from Northampton town? | <s>[INST]What is the type of the Leeds United source, winter transfer window and moving from Northampton town? Context: CREATE TABLE table_name_65 (type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR)[/INST]SELECT type FROM table_name_65 WHERE source = "leeds united" AND transfer_window = "winter" AND moving_from = "northampton town"</s> |
CREATE TABLE table_name_78 (total INTEGER, silver INTEGER) | SELECT MIN(total) FROM table_name_78 WHERE silver > 14 | What is the smallest number of medals a country with more than 14 silver has? | <s>[INST]What is the smallest number of medals a country with more than 14 silver has? Context: CREATE TABLE table_name_78 (total INTEGER, silver INTEGER)[/INST]SELECT MIN(total) FROM table_name_78 WHERE silver > 14</s> |
CREATE TABLE table_name_23 (class VARCHAR, race VARCHAR) | SELECT class FROM table_name_23 WHERE race = "the dodge dealers grand prix" | What class is the dodge dealers grand prix? | <s>[INST]What class is the dodge dealers grand prix? Context: CREATE TABLE table_name_23 (class VARCHAR, race VARCHAR)[/INST]SELECT class FROM table_name_23 WHERE race = "the dodge dealers grand prix"</s> |
CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_25 WHERE catalog = "865 821-1" | what is the format of catalog 865 821-1? | <s>[INST]what is the format of catalog 865 821-1? Context: CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_25 WHERE catalog = "865 821-1"</s> |
CREATE TABLE table_255205_1 (founded VARCHAR, nickname VARCHAR) | SELECT founded FROM table_255205_1 WHERE nickname = "Fightin' Engineers" | This institution nicknamed Fightin' engineers was founded on what year? | <s>[INST]This institution nicknamed Fightin' engineers was founded on what year? Context: CREATE TABLE table_255205_1 (founded VARCHAR, nickname VARCHAR)[/INST]SELECT founded FROM table_255205_1 WHERE nickname = "Fightin' Engineers"</s> |
CREATE TABLE table_name_11 (engine_code VARCHAR, model VARCHAR) | SELECT engine_code FROM table_name_11 WHERE model = "xdrive23d" | What is the engine code of the xdrive23d model? | <s>[INST]What is the engine code of the xdrive23d model? Context: CREATE TABLE table_name_11 (engine_code VARCHAR, model VARCHAR)[/INST]SELECT engine_code FROM table_name_11 WHERE model = "xdrive23d"</s> |
CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_51 WHERE venue = "doha" | What was the results of the game at Doha? | <s>[INST]What was the results of the game at Doha? Context: CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_51 WHERE venue = "doha"</s> |
CREATE TABLE table_name_31 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_31 WHERE location = "mex cancun" | which Score has a Location of mex cancun? | <s>[INST]which Score has a Location of mex cancun? Context: CREATE TABLE table_name_31 (score VARCHAR, location VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE location = "mex cancun"</s> |
CREATE TABLE table_name_4 (date_of_death VARCHAR, name VARCHAR) | SELECT date_of_death FROM table_name_4 WHERE name = "charles iii" | When did Charles III die? | <s>[INST]When did Charles III die? Context: CREATE TABLE table_name_4 (date_of_death VARCHAR, name VARCHAR)[/INST]SELECT date_of_death FROM table_name_4 WHERE name = "charles iii"</s> |
CREATE TABLE table_name_41 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_41 WHERE score = 72 - 67 - 71 = 210 | What player has 72-67-71=210 as the score? | <s>[INST]What player has 72-67-71=210 as the score? Context: CREATE TABLE table_name_41 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_41 WHERE score = 72 - 67 - 71 = 210</s> |
CREATE TABLE table_name_64 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_64 WHERE circuit = "wanneroo park" | What date is the circuit at wanneroo park? | <s>[INST]What date is the circuit at wanneroo park? Context: CREATE TABLE table_name_64 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_64 WHERE circuit = "wanneroo park"</s> |
CREATE TABLE WINE (Name VARCHAR, YEAR VARCHAR) | SELECT DISTINCT Name FROM WINE WHERE YEAR < 2000 OR YEAR > 2010 | Find the distinct names of wines produced before the year of 2000 or after the year of 2010. | <s>[INST]Find the distinct names of wines produced before the year of 2000 or after the year of 2010. Context: CREATE TABLE WINE (Name VARCHAR, YEAR VARCHAR)[/INST]SELECT DISTINCT Name FROM WINE WHERE YEAR < 2000 OR YEAR > 2010</s> |
CREATE TABLE table_name_59 (leading_scorer VARCHAR, visitor VARCHAR) | SELECT leading_scorer FROM table_name_59 WHERE visitor = "celtics" | What is the leading scorer of the game with the Celtics as the visiting team? | <s>[INST]What is the leading scorer of the game with the Celtics as the visiting team? Context: CREATE TABLE table_name_59 (leading_scorer VARCHAR, visitor VARCHAR)[/INST]SELECT leading_scorer FROM table_name_59 WHERE visitor = "celtics"</s> |
CREATE TABLE table_19753079_35 (result VARCHAR, district VARCHAR) | SELECT result FROM table_19753079_35 WHERE district = "New York 8" | Name the result for new york 8 | <s>[INST]Name the result for new york 8 Context: CREATE TABLE table_19753079_35 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_19753079_35 WHERE district = "New York 8"</s> |
CREATE TABLE table_20107762_1 (games INTEGER, mins VARCHAR) | SELECT MIN(games) FROM table_20107762_1 WHERE mins = "385:33" | What is the game number with 385:33 mins? | <s>[INST]What is the game number with 385:33 mins? Context: CREATE TABLE table_20107762_1 (games INTEGER, mins VARCHAR)[/INST]SELECT MIN(games) FROM table_20107762_1 WHERE mins = "385:33"</s> |
CREATE TABLE table_name_73 (losses INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(losses) FROM table_name_73 WHERE position = 7 AND goals_for > 45 | What is the highest number of loss with a 7 position and more than 45 goals? | <s>[INST]What is the highest number of loss with a 7 position and more than 45 goals? Context: CREATE TABLE table_name_73 (losses INTEGER, position VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_73 WHERE position = 7 AND goals_for > 45</s> |
CREATE TABLE table_name_69 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MIN(rank) FROM table_name_69 WHERE bronze = 0 AND silver = 1 AND gold > 0 | What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold? | <s>[INST]What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold? Context: CREATE TABLE table_name_69 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_69 WHERE bronze = 0 AND silver = 1 AND gold > 0</s> |
CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR) | SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.61" | What is the area in kilometers squared the population density is 137.61? | <s>[INST]What is the area in kilometers squared the population density is 137.61? Context: CREATE TABLE table_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)[/INST]SELECT area__km²_ FROM table_14325808_1 WHERE density__pop_km²_ = "137.61"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.