context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_9 (event VARCHAR) | SELECT 2008 AS _09 FROM table_name_9 WHERE event = "autumn gold" | What is the value in 2008-09 for the Autumn Gold event? | <s>[INST]What is the value in 2008-09 for the Autumn Gold event? Context: CREATE TABLE table_name_9 (event VARCHAR)[/INST]SELECT 2008 AS _09 FROM table_name_9 WHERE event = "autumn gold"</s> |
CREATE TABLE table_name_79 (set_3 VARCHAR, date VARCHAR, set_1 VARCHAR) | SELECT set_3 FROM table_name_79 WHERE date = "30 may" AND set_1 = "20–25" | What is the Set 3 on 30 may, and a Set 1 is 20–25? | <s>[INST]What is the Set 3 on 30 may, and a Set 1 is 20–25? Context: CREATE TABLE table_name_79 (set_3 VARCHAR, date VARCHAR, set_1 VARCHAR)[/INST]SELECT set_3 FROM table_name_79 WHERE date = "30 may" AND set_1 = "20–25"</s> |
CREATE TABLE table_name_86 (draws INTEGER, season VARCHAR, wins VARCHAR) | SELECT MIN(draws) FROM table_name_86 WHERE season > 1919 AND wins > 0 | What is the lowest Draws for a season later than 1919 with more than 0 wins? | <s>[INST]What is the lowest Draws for a season later than 1919 with more than 0 wins? Context: CREATE TABLE table_name_86 (draws INTEGER, season VARCHAR, wins VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_86 WHERE season > 1919 AND wins > 0</s> |
CREATE TABLE table_name_92 (zx_spectrum VARCHAR, year VARCHAR, genre VARCHAR) | SELECT zx_spectrum FROM table_name_92 WHERE year > 1984 AND genre = "arcade/strategy" | Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy? | <s>[INST]Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy? Context: CREATE TABLE table_name_92 (zx_spectrum VARCHAR, year VARCHAR, genre VARCHAR)[/INST]SELECT zx_spectrum FROM table_name_92 WHERE year > 1984 AND genre = "arcade/strategy"</s> |
CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR) | SELECT metro_vincity FROM table_name_84 WHERE opened = "1999" | What metro vincity has the venue that opened in 1999? | <s>[INST]What metro vincity has the venue that opened in 1999? Context: CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR)[/INST]SELECT metro_vincity FROM table_name_84 WHERE opened = "1999"</s> |
CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR) | SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = "Matthias" AND t1.lname = "Blume" | What is the name of the institution that "Matthias Blume" belongs to? | <s>[INST]What is the name of the institution that "Matthias Blume" belongs to? Context: CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR)[/INST]SELECT DISTINCT t3.name FROM authors AS t1 JOIN au... |
CREATE TABLE table_1182314_5 (norwegian_americans__2000_ INTEGER, norwegian_americans__1990_ VARCHAR) | SELECT MAX(norwegian_americans__2000_) FROM table_1182314_5 WHERE norwegian_americans__1990_ = 9170 | what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170 | <s>[INST]what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170 Context: CREATE TABLE table_1182314_5 (norwegian_americans__2000_ INTEGER, norwegian_americans__1990_ VARCHAR)[/INST]SELECT MAX(norwegian_americans__2000_) FROM table_1182314_5 WHERE norwegian_americans__1990_ = 9170</s> |
CREATE TABLE table_1974443_1 (institution VARCHAR, location VARCHAR) | SELECT institution FROM table_1974443_1 WHERE location = "Watertown, Wisconsin" | What institution is located in Watertown, Wisconsin? | <s>[INST]What institution is located in Watertown, Wisconsin? Context: CREATE TABLE table_1974443_1 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_1974443_1 WHERE location = "Watertown, Wisconsin"</s> |
CREATE TABLE authors (Id VARCHAR) | SELECT COUNT(*) FROM authors | How many authors are there? | <s>[INST]How many authors are there? Context: CREATE TABLE authors (Id VARCHAR)[/INST]SELECT COUNT(*) FROM authors</s> |
CREATE TABLE table_name_47 (date VARCHAR, man_of_the_match VARCHAR) | SELECT date FROM table_name_47 WHERE man_of_the_match = "stuart potts" | On what date was Stuart Potts the Man of the Match? | <s>[INST]On what date was Stuart Potts the Man of the Match? Context: CREATE TABLE table_name_47 (date VARCHAR, man_of_the_match VARCHAR)[/INST]SELECT date FROM table_name_47 WHERE man_of_the_match = "stuart potts"</s> |
CREATE TABLE table_21321804_3 (pick__number INTEGER) | SELECT MAX(pick__number) FROM table_21321804_3 | What is the highest number any of the players were picked at? | <s>[INST]What is the highest number any of the players were picked at? Context: CREATE TABLE table_21321804_3 (pick__number INTEGER)[/INST]SELECT MAX(pick__number) FROM table_21321804_3</s> |
CREATE TABLE table_name_48 (score VARCHAR, winning_team VARCHAR) | SELECT score FROM table_name_48 WHERE winning_team = "san antonio spurs" | What is the Score with a Winning team that is san antonio spurs? | <s>[INST]What is the Score with a Winning team that is san antonio spurs? Context: CREATE TABLE table_name_48 (score VARCHAR, winning_team VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE winning_team = "san antonio spurs"</s> |
CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR) | SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson" | What is the smallest grid for Bob Anderson? | <s>[INST]What is the smallest grid for Bob Anderson? Context: CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson"</s> |
CREATE TABLE table_name_54 (killed INTEGER, perpetrator VARCHAR) | SELECT AVG(killed) FROM table_name_54 WHERE perpetrator = "wirjo, 42" | What is the average number of people killed with a Perpetrator of wirjo, 42? | <s>[INST]What is the average number of people killed with a Perpetrator of wirjo, 42? Context: CREATE TABLE table_name_54 (killed INTEGER, perpetrator VARCHAR)[/INST]SELECT AVG(killed) FROM table_name_54 WHERE perpetrator = "wirjo, 42"</s> |
CREATE TABLE table_18424435_5 (_number INTEGER) | SELECT MIN(_number) FROM table_18424435_5 | What is the smallest number? | <s>[INST]What is the smallest number? Context: CREATE TABLE table_18424435_5 (_number INTEGER)[/INST]SELECT MIN(_number) FROM table_18424435_5</s> |
CREATE TABLE table_name_42 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_42 WHERE player = "lee trevino" | What was Lee Trevino's score? | <s>[INST]What was Lee Trevino's score? Context: CREATE TABLE table_name_42 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_42 WHERE player = "lee trevino"</s> |
CREATE TABLE table_name_45 (country VARCHAR, time VARCHAR, rank VARCHAR, notes VARCHAR) | SELECT country FROM table_name_45 WHERE rank < 6 AND notes = "fb" AND time = "6:32.32" | What country has a rank smaller than 6, a time of 6:32.32 and notes of FB? | <s>[INST]What country has a rank smaller than 6, a time of 6:32.32 and notes of FB? Context: CREATE TABLE table_name_45 (country VARCHAR, time VARCHAR, rank VARCHAR, notes VARCHAR)[/INST]SELECT country FROM table_name_45 WHERE rank < 6 AND notes = "fb" AND time = "6:32.32"</s> |
CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR) | SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes" | When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? | <s>[INST]When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? Context: CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR)[/INST]SELECT conversion_from_patent_applicatio... |
CREATE TABLE table_name_86 (LNER VARCHAR, class VARCHAR) | SELECT LNER AS class FROM table_name_86 WHERE class = "3" | What LNER Class has a Class of 3? | <s>[INST]What LNER Class has a Class of 3? Context: CREATE TABLE table_name_86 (LNER VARCHAR, class VARCHAR)[/INST]SELECT LNER AS class FROM table_name_86 WHERE class = "3"</s> |
CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott" | Which Event resulted in a Win for Opponent, Shane Ott? | <s>[INST]Which Event resulted in a Win for Opponent, Shane Ott? Context: CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott"</s> |
CREATE TABLE table_name_71 (wins VARCHAR, events VARCHAR, rank VARCHAR) | SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND rank < 3 | How many win total which has the rank smaller than 3 and events smaller than 22 | <s>[INST]How many win total which has the rank smaller than 3 and events smaller than 22 Context: CREATE TABLE table_name_71 (wins VARCHAR, events VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND rank < 3</s> |
CREATE TABLE table_name_42 (title_playoff INTEGER, league VARCHAR, super_cup VARCHAR) | SELECT MIN(title_playoff) FROM table_name_42 WHERE league > 3 AND super_cup < 0 | What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0? | <s>[INST]What is the lowest Title Playoff, when League is greater than 3, and when Super Cup is less than 0? Context: CREATE TABLE table_name_42 (title_playoff INTEGER, league VARCHAR, super_cup VARCHAR)[/INST]SELECT MIN(title_playoff) FROM table_name_42 WHERE league > 3 AND super_cup < 0</s> |
CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR) | SELECT round FROM table_name_51 WHERE clubs_involved = 4 | Which round has 4 clubs involved? | <s>[INST]Which round has 4 clubs involved? Context: CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR)[/INST]SELECT round FROM table_name_51 WHERE clubs_involved = 4</s> |
CREATE TABLE table_name_52 (team VARCHAR, rank VARCHAR, name VARCHAR) | SELECT team FROM table_name_52 WHERE rank > 2 AND name = "paolo maldini" | Ranking higher than 2, what Team has Player Paolo Maldini? | <s>[INST]Ranking higher than 2, what Team has Player Paolo Maldini? Context: CREATE TABLE table_name_52 (team VARCHAR, rank VARCHAR, name VARCHAR)[/INST]SELECT team FROM table_name_52 WHERE rank > 2 AND name = "paolo maldini"</s> |
CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR) | SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw" | How few km 2 does the area with Nay Pyi Taw as capital cover? | <s>[INST]How few km 2 does the area with Nay Pyi Taw as capital cover? Context: CREATE TABLE table_28741_1 (area__km_2__ INTEGER, capital VARCHAR)[/INST]SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw"</s> |
CREATE TABLE table_23314951_4 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_23314951_4 WHERE date = "7-21-2006" | If the date is 7-21-2006, who was the opponent? | <s>[INST]If the date is 7-21-2006, who was the opponent? Context: CREATE TABLE table_23314951_4 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_23314951_4 WHERE date = "7-21-2006"</s> |
CREATE TABLE table_17111812_1 (seventh VARCHAR, sixth VARCHAR) | SELECT COUNT(seventh) FROM table_17111812_1 WHERE sixth = "Interpol" | When Interpol is in 6th, who is in 7th? | <s>[INST]When Interpol is in 6th, who is in 7th? Context: CREATE TABLE table_17111812_1 (seventh VARCHAR, sixth VARCHAR)[/INST]SELECT COUNT(seventh) FROM table_17111812_1 WHERE sixth = "Interpol"</s> |
CREATE TABLE table_17607663_1 (builder VARCHAR, br_no VARCHAR) | SELECT builder FROM table_17607663_1 WHERE br_no = 31779 | Who is the builder for br no. 31779? | <s>[INST]Who is the builder for br no. 31779? Context: CREATE TABLE table_17607663_1 (builder VARCHAR, br_no VARCHAR)[/INST]SELECT builder FROM table_17607663_1 WHERE br_no = 31779</s> |
CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR) | SELECT engine FROM table_name_36 WHERE team = "parts washer service" AND drivers = "chip mead" | What engine does Chip Mead of Parts Washer Service use? | <s>[INST]What engine does Chip Mead of Parts Washer Service use? Context: CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR)[/INST]SELECT engine FROM table_name_36 WHERE team = "parts washer service" AND drivers = "chip mead"</s> |
CREATE TABLE table_name_84 (fatalities INTEGER, epicenter VARCHAR) | SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan" | What is the average number of deaths for earthquakes centered in Damghan? | <s>[INST]What is the average number of deaths for earthquakes centered in Damghan? Context: CREATE TABLE table_name_84 (fatalities INTEGER, epicenter VARCHAR)[/INST]SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan"</s> |
CREATE TABLE table_name_78 (time VARCHAR, rank VARCHAR) | SELECT time FROM table_name_78 WHERE rank = 3 | What's the time of Rank 3? | <s>[INST]What's the time of Rank 3? Context: CREATE TABLE table_name_78 (time VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_78 WHERE rank = 3</s> |
CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR) | SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513" | How many yards per attempt were there when total yards were 513? | <s>[INST]How many yards per attempt were there when total yards were 513? Context: CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR)[/INST]SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513"</s> |
CREATE TABLE airports (name VARCHAR, elevation INTEGER) | SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50 | Find the name of airports whose altitude is between -50 and 50. | <s>[INST]Find the name of airports whose altitude is between -50 and 50. Context: CREATE TABLE airports (name VARCHAR, elevation INTEGER)[/INST]SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50</s> |
CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5" | What is the least attendance that has 3-5 as a record? | <s>[INST]What is the least attendance that has 3-5 as a record? Context: CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5"</s> |
CREATE TABLE table_28211103_1 (attendance VARCHAR, hawthorn_score VARCHAR) | SELECT attendance FROM table_28211103_1 WHERE hawthorn_score = "18.15.123" | What is the attendance when the hawthorn score is 18.15.123? | <s>[INST]What is the attendance when the hawthorn score is 18.15.123? Context: CREATE TABLE table_28211103_1 (attendance VARCHAR, hawthorn_score VARCHAR)[/INST]SELECT attendance FROM table_28211103_1 WHERE hawthorn_score = "18.15.123"</s> |
CREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR) | SELECT purse___us$__ FROM table_name_30 WHERE dist = "1 mile" AND winning_horse = "crafty bear" | How much money did Crafty Bear wins with a dist of 1 mile? | <s>[INST]How much money did Crafty Bear wins with a dist of 1 mile? Context: CREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR)[/INST]SELECT purse___us$__ FROM table_name_30 WHERE dist = "1 mile" AND winning_horse = "crafty bear"</s> |
CREATE TABLE table_18590048_1 (rank INTEGER, title VARCHAR) | SELECT MIN(rank) FROM table_18590048_1 WHERE title = "Super Mario Land 2: 6 Golden Coins" | What rank is Super Mario Land 2: 6 Golden Coins? | <s>[INST]What rank is Super Mario Land 2: 6 Golden Coins? Context: CREATE TABLE table_18590048_1 (rank INTEGER, title VARCHAR)[/INST]SELECT MIN(rank) FROM table_18590048_1 WHERE title = "Super Mario Land 2: 6 Golden Coins"</s> |
CREATE TABLE table_1566852_10 (cover_model VARCHAR, interview_subject VARCHAR) | SELECT cover_model FROM table_1566852_10 WHERE interview_subject = "Benicio del Toro" | Who were the cover models in the edition that included Benicio Del Toro as the interview subject? | <s>[INST]Who were the cover models in the edition that included Benicio Del Toro as the interview subject? Context: CREATE TABLE table_1566852_10 (cover_model VARCHAR, interview_subject VARCHAR)[/INST]SELECT cover_model FROM table_1566852_10 WHERE interview_subject = "Benicio del Toro"</s> |
CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR) | SELECT status FROM table_name_33 WHERE date = "15/04/1967" | What status has 15/04/1967 as the date? | <s>[INST]What status has 15/04/1967 as the date? Context: CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)[/INST]SELECT status FROM table_name_33 WHERE date = "15/04/1967"</s> |
CREATE TABLE table_name_61 (first_elected VARCHAR, party VARCHAR, result VARCHAR) | SELECT first_elected FROM table_name_61 WHERE party = "republican" AND result = "retired democratic gain" | What is First elected that has republican Party and a Result of retired democratic gain? | <s>[INST]What is First elected that has republican Party and a Result of retired democratic gain? Context: CREATE TABLE table_name_61 (first_elected VARCHAR, party VARCHAR, result VARCHAR)[/INST]SELECT first_elected FROM table_name_61 WHERE party = "republican" AND result = "retired democratic gain"</s> |
CREATE TABLE table_name_42 (Id VARCHAR) | SELECT 2001 FROM table_name_42 WHERE 1991 = "4r" | what 2001 has 1991 of 4r? | <s>[INST]what 2001 has 1991 of 4r? Context: CREATE TABLE table_name_42 (Id VARCHAR)[/INST]SELECT 2001 FROM table_name_42 WHERE 1991 = "4r"</s> |
CREATE TABLE table_name_85 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_85 WHERE team_1 = "fc rouen (d1)" | what is team 2 when team 1 is fc rouen (d1)? | <s>[INST]what is team 2 when team 1 is fc rouen (d1)? Context: CREATE TABLE table_name_85 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_85 WHERE team_1 = "fc rouen (d1)"</s> |
CREATE TABLE table_name_20 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_20 WHERE winner = "km (mi)" | What was the date with a winner of km (mi)? | <s>[INST]What was the date with a winner of km (mi)? Context: CREATE TABLE table_name_20 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE winner = "km (mi)"</s> |
CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10 | What was the earliest round that Purdue had a pick larger than 10? | <s>[INST]What was the earliest round that Purdue had a pick larger than 10? Context: CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR)[/INST]SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10</s> |
CREATE TABLE table_1404456_1 (code INTEGER, area__km_2__ VARCHAR) | SELECT MIN(code) FROM table_1404456_1 WHERE area__km_2__ = "12,245.9" | what is the minimum code with area (km 2 ) being 12,245.9 | <s>[INST]what is the minimum code with area (km 2 ) being 12,245.9 Context: CREATE TABLE table_1404456_1 (code INTEGER, area__km_2__ VARCHAR)[/INST]SELECT MIN(code) FROM table_1404456_1 WHERE area__km_2__ = "12,245.9"</s> |
CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_53 WHERE home_team = "philadelphia" AND result = "105-102" | What is the road team of the game with Philadelphia as the home team with a result of 105-102? | <s>[INST]What is the road team of the game with Philadelphia as the home team with a result of 105-102? Context: CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)[/INST]SELECT road_team FROM table_name_53 WHERE home_team = "philadelphia" AND result = "105-102"</s> |
CREATE TABLE table_name_26 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_26 WHERE place = "t5" AND score = 69 - 74 = 143 | who is the player when the place is t5 and the score is 69-74=143? | <s>[INST]who is the player when the place is t5 and the score is 69-74=143? Context: CREATE TABLE table_name_26 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_26 WHERE place = "t5" AND score = 69 - 74 = 143</s> |
CREATE TABLE table_name_70 (class VARCHAR, type VARCHAR, quantity VARCHAR) | SELECT class FROM table_name_70 WHERE type = "4-6-0" AND quantity < 3 | Which class has less than 3 in quantity with a type of 4-6-0? | <s>[INST]Which class has less than 3 in quantity with a type of 4-6-0? Context: CREATE TABLE table_name_70 (class VARCHAR, type VARCHAR, quantity VARCHAR)[/INST]SELECT class FROM table_name_70 WHERE type = "4-6-0" AND quantity < 3</s> |
CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR) | SELECT race FROM table_name_88 WHERE time = "17:11.572" | Who holds the time of 17:11.572? | <s>[INST]Who holds the time of 17:11.572? Context: CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR)[/INST]SELECT race FROM table_name_88 WHERE time = "17:11.572"</s> |
CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR) | SELECT MAX(lane) FROM table_name_43 WHERE time = 52.84 | What lane did the swimmer with a time of 52.84 have? | <s>[INST]What lane did the swimmer with a time of 52.84 have? Context: CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_43 WHERE time = 52.84</s> |
CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_96 WHERE bronze < 7 AND gold > 0 AND total > 7 AND silver < 3 | What is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3? | <s>[INST]What is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3? Context: CREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT nation FROM table_name_96 WHERE bronze < 7 AND gold > 0 AND ... |
CREATE TABLE table_name_20 (engine VARCHAR, tyres VARCHAR, driver VARCHAR) | SELECT engine FROM table_name_20 WHERE tyres = "p" AND driver = "pierluigi martini" | What was the engine belonging to Pierluigi Martini with a Tyre of P? | <s>[INST]What was the engine belonging to Pierluigi Martini with a Tyre of P? Context: CREATE TABLE table_name_20 (engine VARCHAR, tyres VARCHAR, driver VARCHAR)[/INST]SELECT engine FROM table_name_20 WHERE tyres = "p" AND driver = "pierluigi martini"</s> |
CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR) | SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena" | Who is 1.92 m tall and a current club member of Montepaschi Siena | <s>[INST]Who is 1.92 m tall and a current club member of Montepaschi Siena Context: CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena"</s> |
CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, tuesday_mars__mars_ VARCHAR) | SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE tuesday_mars__mars_ = "Marterì" | what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marterì | <s>[INST]what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marterì Context: CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, tuesday_mars__mars_ VARCHAR)[/INST]SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE tuesday_mars__mars_ = "Marterì"</s> |
CREATE TABLE constructorStandings (constructorid VARCHAR) | SELECT COUNT(*), constructorid FROM constructorStandings GROUP BY constructorid | What are the numbers of races for each constructor id? | <s>[INST]What are the numbers of races for each constructor id? Context: CREATE TABLE constructorStandings (constructorid VARCHAR)[/INST]SELECT COUNT(*), constructorid FROM constructorStandings GROUP BY constructorid</s> |
CREATE TABLE table_name_65 (position VARCHAR, drawn VARCHAR, difference VARCHAR) | SELECT position FROM table_name_65 WHERE drawn < "2" AND difference = "2" | What is the Position when the Drawn is less than 2, with a Difference of 2? | <s>[INST]What is the Position when the Drawn is less than 2, with a Difference of 2? Context: CREATE TABLE table_name_65 (position VARCHAR, drawn VARCHAR, difference VARCHAR)[/INST]SELECT position FROM table_name_65 WHERE drawn < "2" AND difference = "2"</s> |
CREATE TABLE table_29920800_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97" | Who wrote the episode that was watched by 2.97 million U.S. viewers? | <s>[INST]Who wrote the episode that was watched by 2.97 million U.S. viewers? Context: CREATE TABLE table_29920800_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97"</s> |
CREATE TABLE table_name_99 (year VARCHAR, comp VARCHAR) | SELECT year FROM table_name_99 WHERE comp = "33" | What year was the comp 33? | <s>[INST]What year was the comp 33? Context: CREATE TABLE table_name_99 (year VARCHAR, comp VARCHAR)[/INST]SELECT year FROM table_name_99 WHERE comp = "33"</s> |
CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_9 WHERE record = "46-31" | What was the date of the game when the record was 46-31? | <s>[INST]What was the date of the game when the record was 46-31? Context: CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_9 WHERE record = "46-31"</s> |
CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" | Name the tournament for march 25, 2012 | <s>[INST]Name the tournament for march 25, 2012 Context: CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012"</s> |
CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) | SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023 | Name the number of record when attendance is 44023 | <s>[INST]Name the number of record when attendance is 44023 Context: CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023</s> |
CREATE TABLE table_name_81 (position VARCHAR, birthplace VARCHAR) | SELECT position FROM table_name_81 WHERE birthplace = "phoenix, new york" | What is the Position of the person with a birthplace of phoenix, new york? | <s>[INST]What is the Position of the person with a birthplace of phoenix, new york? Context: CREATE TABLE table_name_81 (position VARCHAR, birthplace VARCHAR)[/INST]SELECT position FROM table_name_81 WHERE birthplace = "phoenix, new york"</s> |
CREATE TABLE table_name_64 (years VARCHAR, total VARCHAR) | SELECT years FROM table_name_64 WHERE total = "395 (0)" | What years have a total of 395 (0)? | <s>[INST]What years have a total of 395 (0)? Context: CREATE TABLE table_name_64 (years VARCHAR, total VARCHAR)[/INST]SELECT years FROM table_name_64 WHERE total = "395 (0)"</s> |
CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER) | SELECT AVG(played) FROM table_name_62 WHERE conceded < 7 | Mean of played with smaller than 7 conceded? | <s>[INST]Mean of played with smaller than 7 conceded? Context: CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER)[/INST]SELECT AVG(played) FROM table_name_62 WHERE conceded < 7</s> |
CREATE TABLE table_name_56 (rank INTEGER, notes VARCHAR, time VARCHAR) | SELECT MAX(rank) FROM table_name_56 WHERE notes = "sa/b" AND time = "6:39.07" | What is the highest rank with the notes of sa/b, and a time of 6:39.07? | <s>[INST]What is the highest rank with the notes of sa/b, and a time of 6:39.07? Context: CREATE TABLE table_name_56 (rank INTEGER, notes VARCHAR, time VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_56 WHERE notes = "sa/b" AND time = "6:39.07"</s> |
CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "7" | Which Name has a Reserved for of none, and a Constituency number of 7? | <s>[INST]Which Name has a Reserved for of none, and a Constituency number of 7? Context: CREATE TABLE table_name_96 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)[/INST]SELECT name FROM table_name_96 WHERE reserved_for___sc___st__none_ = "none" AND constituency_number = "7"</s> |
CREATE TABLE table_19210674_1 (rank VARCHAR, hk_viewers VARCHAR) | SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 million" | How was the episode seen by 2.26 million HK viewers ranked? | <s>[INST]How was the episode seen by 2.26 million HK viewers ranked? Context: CREATE TABLE table_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)[/INST]SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 million"</s> |
CREATE TABLE table_name_77 (in_swedish VARCHAR, in_english VARCHAR) | SELECT in_swedish FROM table_name_77 WHERE in_english = "south karelia" | What is the Swedish name for South Karelia? | <s>[INST]What is the Swedish name for South Karelia? Context: CREATE TABLE table_name_77 (in_swedish VARCHAR, in_english VARCHAR)[/INST]SELECT in_swedish FROM table_name_77 WHERE in_english = "south karelia"</s> |
CREATE TABLE table_name_95 (winner VARCHAR, circuit VARCHAR, series VARCHAR) | SELECT winner FROM table_name_95 WHERE circuit = "mallala motor sport park" AND series = "astc round 6" | What is Winner, when Circuit is Mallala Motor Sport Park, and when Series is ASTC Round 6? | <s>[INST]What is Winner, when Circuit is Mallala Motor Sport Park, and when Series is ASTC Round 6? Context: CREATE TABLE table_name_95 (winner VARCHAR, circuit VARCHAR, series VARCHAR)[/INST]SELECT winner FROM table_name_95 WHERE circuit = "mallala motor sport park" AND series = "astc round 6"</s> |
CREATE TABLE table_21094951_1 (black_knights_points INTEGER, result VARCHAR) | SELECT MAX(black_knights_points) FROM table_21094951_1 WHERE result = "Loss" | Name the black knights points for loss result | <s>[INST]Name the black knights points for loss result Context: CREATE TABLE table_21094951_1 (black_knights_points INTEGER, result VARCHAR)[/INST]SELECT MAX(black_knights_points) FROM table_21094951_1 WHERE result = "Loss"</s> |
CREATE TABLE table_name_52 (comune VARCHAR, total__km²_ INTEGER) | SELECT comune FROM table_name_52 WHERE total__km²_ > 70.99 | Who has a larger than 70.99 km2? | <s>[INST]Who has a larger than 70.99 km2? Context: CREATE TABLE table_name_52 (comune VARCHAR, total__km²_ INTEGER)[/INST]SELECT comune FROM table_name_52 WHERE total__km²_ > 70.99</s> |
CREATE TABLE table_name_96 (rank INTEGER, country VARCHAR) | SELECT SUM(rank) FROM table_name_96 WHERE country = "china" | What is the rank for China? | <s>[INST]What is the rank for China? Context: CREATE TABLE table_name_96 (rank INTEGER, country VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_96 WHERE country = "china"</s> |
CREATE TABLE table_10725629_2 (rnd VARCHAR, race_name VARCHAR) | SELECT COUNT(rnd) FROM table_10725629_2 WHERE race_name = "Bosch Spark Plug Grand Prix" | How many rounds were there of the Bosch Spark Plug Grand Prix? | <s>[INST]How many rounds were there of the Bosch Spark Plug Grand Prix? Context: CREATE TABLE table_10725629_2 (rnd VARCHAR, race_name VARCHAR)[/INST]SELECT COUNT(rnd) FROM table_10725629_2 WHERE race_name = "Bosch Spark Plug Grand Prix"</s> |
CREATE TABLE table_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR) | SELECT COUNT(game) FROM table_23308178_5 WHERE opponent = "Florida Panthers" AND location = "Verizon Center" | How many different games against Florida Panthers were played in Verizon Center? | <s>[INST]How many different games against Florida Panthers were played in Verizon Center? Context: CREATE TABLE table_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR)[/INST]SELECT COUNT(game) FROM table_23308178_5 WHERE opponent = "Florida Panthers" AND location = "Verizon Center"</s> |
CREATE TABLE table_name_64 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_64 WHERE score = "6-2, 6-4" | On what Date was the match with a Score of 6-2, 6-4? | <s>[INST]On what Date was the match with a Score of 6-2, 6-4? Context: CREATE TABLE table_name_64 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_64 WHERE score = "6-2, 6-4"</s> |
CREATE TABLE table_19189856_1 (first_performance VARCHAR, last_performance VARCHAR) | SELECT first_performance FROM table_19189856_1 WHERE last_performance = "03/29/1957" | what is the first performance of the last performance on 03/29/1957 | <s>[INST]what is the first performance of the last performance on 03/29/1957 Context: CREATE TABLE table_19189856_1 (first_performance VARCHAR, last_performance VARCHAR)[/INST]SELECT first_performance FROM table_19189856_1 WHERE last_performance = "03/29/1957"</s> |
CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR) | SELECT season FROM table_name_54 WHERE lead = "john shuster" AND third = "shawn rojeski" | what is the season when the lead is john shuster and third is shawn rojeski? | <s>[INST]what is the season when the lead is john shuster and third is shawn rojeski? Context: CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR)[/INST]SELECT season FROM table_name_54 WHERE lead = "john shuster" AND third = "shawn rojeski"</s> |
CREATE TABLE table_27882867_4 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_27882867_4 WHERE location_attendance = "Oakland-Alameda County Coliseum Arena 15,025" | Name the record for oakland-alameda county coliseum arena 15,025 | <s>[INST]Name the record for oakland-alameda county coliseum arena 15,025 Context: CREATE TABLE table_27882867_4 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT record FROM table_27882867_4 WHERE location_attendance = "Oakland-Alameda County Coliseum Arena 15,025"</s> |
CREATE TABLE table_name_20 (highest INTEGER, average VARCHAR, capacity VARCHAR) | SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000 | What's the highest with a capacity of greater than 4,000 and an average of 615? | <s>[INST]What's the highest with a capacity of greater than 4,000 and an average of 615? Context: CREATE TABLE table_name_20 (highest INTEGER, average VARCHAR, capacity VARCHAR)[/INST]SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000</s> |
CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR) | SELECT school FROM table_name_80 WHERE location = "lagrange" AND ihsaa_class = "aaa" | What school is in Lagrange, with an IHSAA Class of aaa? | <s>[INST]What school is in Lagrange, with an IHSAA Class of aaa? Context: CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR)[/INST]SELECT school FROM table_name_80 WHERE location = "lagrange" AND ihsaa_class = "aaa"</s> |
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR) | SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena" | What is the maximum capacity of the Otkrytie Arena stadium? | <s>[INST]What is the maximum capacity of the Otkrytie Arena stadium? Context: CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)[/INST]SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena"</s> |
CREATE TABLE table_name_24 (distance VARCHAR, race VARCHAR) | SELECT distance FROM table_name_24 WHERE race = "sam's town 250" | What is the distance of the Sam's town 250 race? | <s>[INST]What is the distance of the Sam's town 250 race? Context: CREATE TABLE table_name_24 (distance VARCHAR, race VARCHAR)[/INST]SELECT distance FROM table_name_24 WHERE race = "sam's town 250"</s> |
CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_14 WHERE tie_no = "10" | What home team has 10 as the tie no? | <s>[INST]What home team has 10 as the tie no? Context: CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_14 WHERE tie_no = "10"</s> |
CREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR) | SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%" | Name the csa 4/16/09 for opinionway being 4/17/09 of 12% | <s>[INST]Name the csa 4/16/09 for opinionway being 4/17/09 of 12% Context: CREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR)[/INST]SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%"</s> |
CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281 | What country was the player with the score line 69-71-72-69=281 from? | <s>[INST]What country was the player with the score line 69-71-72-69=281 from? Context: CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281</s> |
CREATE TABLE table_name_35 (largest_city VARCHAR) | SELECT 3 AS rd_largest FROM table_name_35 WHERE largest_city = "ardabil" | What is the 3rd largest where the largest city is Ardabil? | <s>[INST]What is the 3rd largest where the largest city is Ardabil? Context: CREATE TABLE table_name_35 (largest_city VARCHAR)[/INST]SELECT 3 AS rd_largest FROM table_name_35 WHERE largest_city = "ardabil"</s> |
CREATE TABLE table_name_38 (date VARCHAR, set_3 VARCHAR, score VARCHAR, time VARCHAR) | SELECT date FROM table_name_38 WHERE score = "2–3" AND time = "20:30" AND set_3 = "16–25" | Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25? | <s>[INST]Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25? Context: CREATE TABLE table_name_38 (date VARCHAR, set_3 VARCHAR, score VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_38 WHERE score = "2–3" AND time = "20:30" AND set_3 = "16–25"</s> |
CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR) | SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily" | Which english website has a daily frequency ? | <s>[INST]Which english website has a daily frequency ? Context: CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR)[/INST]SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily"</s> |
CREATE TABLE table_name_83 (loss INTEGER, avg_g VARCHAR, gain VARCHAR) | SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3.5 AND gain < 42 | Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42? | <s>[INST]Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42? Context: CREATE TABLE table_name_83 (loss INTEGER, avg_g VARCHAR, gain VARCHAR)[/INST]SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3.5 AND gain < 42</s> |
CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR) | SELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = "both" AND established = 1969 | What country has a medical school established in 1969 with both an IMED and avicenna? | <s>[INST]What country has a medical school established in 1969 with both an IMED and avicenna? Context: CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR)[/INST]SELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = "both" AND established = 1969</... |
CREATE TABLE table_name_82 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_82 WHERE team_1 = "harbour view" | What team 2 has a team 1 of harbour view? | <s>[INST]What team 2 has a team 1 of harbour view? Context: CREATE TABLE table_name_82 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_82 WHERE team_1 = "harbour view"</s> |
CREATE TABLE table_10577579_2 (joined VARCHAR, institution VARCHAR) | SELECT joined FROM table_10577579_2 WHERE institution = "Tougaloo College" | What is the year the institution Tougaloo College joined? | <s>[INST]What is the year the institution Tougaloo College joined? Context: CREATE TABLE table_10577579_2 (joined VARCHAR, institution VARCHAR)[/INST]SELECT joined FROM table_10577579_2 WHERE institution = "Tougaloo College"</s> |
CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR) | SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04" | How many episodes have the production code 8.04 | <s>[INST]How many episodes have the production code 8.04 Context: CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04"</s> |
CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR) | SELECT name FROM table_24565004_15 WHERE goals¹ = 4 | List the player that scored 4 times. | <s>[INST]List the player that scored 4 times. Context: CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR)[/INST]SELECT name FROM table_24565004_15 WHERE goals¹ = 4</s> |
CREATE TABLE table_23058971_8 (winner VARCHAR, big_ten_team VARCHAR) | SELECT winner FROM table_23058971_8 WHERE big_ten_team = "#4 Purdue" | What is the record for Big Ten Team #4 Purdue? | <s>[INST]What is the record for Big Ten Team #4 Purdue? Context: CREATE TABLE table_23058971_8 (winner VARCHAR, big_ten_team VARCHAR)[/INST]SELECT winner FROM table_23058971_8 WHERE big_ten_team = "#4 Purdue"</s> |
CREATE TABLE table_name_46 (date VARCHAR, outcome VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_46 WHERE outcome = "winner" AND opponents = "dinah pfizenmaier anna zaja" | Tell me the date for dinah pfizenmaier anna zaja and winner | <s>[INST]Tell me the date for dinah pfizenmaier anna zaja and winner Context: CREATE TABLE table_name_46 (date VARCHAR, outcome VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE outcome = "winner" AND opponents = "dinah pfizenmaier anna zaja"</s> |
CREATE TABLE election (District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR) | SELECT T1.County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District GROUP BY T1.County_id | Show the name of each county along with the corresponding number of delegates from that county. | <s>[INST]Show the name of each county along with the corresponding number of delegates from that county. Context: CREATE TABLE election (District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)[/INST]SELECT T1.County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.Distri... |
CREATE TABLE table_23284271_10 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_23284271_10 WHERE record = "50-26" | Who has high points when 50-26 is the record? | <s>[INST]Who has high points when 50-26 is the record? Context: CREATE TABLE table_23284271_10 (high_points VARCHAR, record VARCHAR)[/INST]SELECT high_points FROM table_23284271_10 WHERE record = "50-26"</s> |
CREATE TABLE table_name_72 (form VARCHAR, pages INTEGER) | SELECT COUNT(form) FROM table_name_72 WHERE pages < 18 | How many forms have less than 18 pages? | <s>[INST]How many forms have less than 18 pages? Context: CREATE TABLE table_name_72 (form VARCHAR, pages INTEGER)[/INST]SELECT COUNT(form) FROM table_name_72 WHERE pages < 18</s> |
CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_13 WHERE result = "w 31-21" AND week < 9 | What was the total attendance with a result of W 31-21 before week 9? | <s>[INST]What was the total attendance with a result of W 31-21 before week 9? Context: CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_13 WHERE result = "w 31-21" AND week < 9</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.