instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
When was the most recent statue that was made out of solid granite completed? | CREATE TABLE table_name_89 (completed INTEGER, material VARCHAR) | SELECT MAX(completed) FROM table_name_89 WHERE material = "solid granite" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (completed INTEGER, material VARCHAR) Question: When was the most recent statue that was made out of solid granite completed? [/INST] SELECT MAX(completed) FROM table_name_89 WHERE material = "soli... |
What Game had a Result of 105-95? | CREATE TABLE table_name_86 (game VARCHAR, result VARCHAR) | SELECT game FROM table_name_86 WHERE result = "105-95" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (game VARCHAR, result VARCHAR) Question: What Game had a Result of 105-95? [/INST] SELECT game FROM table_name_86 WHERE result = "105-95" </s> |
What is the Home Team of the game against Seattle on June 1? | CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) Question: What is the Home Team of the game against Seattle on June 1? [/INST] SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND... |
What is the Home Team in Game 2? | CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR) | SELECT home_team FROM table_name_80 WHERE game = "game 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR) Question: What is the Home Team in Game 2? [/INST] SELECT home_team FROM table_name_80 WHERE game = "game 2" </s> |
What is the Road Team in the game with a Result of 105-95? | CREATE TABLE table_name_39 (road_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_39 WHERE result = "105-95" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (road_team VARCHAR, result VARCHAR) Question: What is the Road Team in the game with a Result of 105-95? [/INST] SELECT road_team FROM table_name_39 WHERE result = "105-95" </s> |
What is the Game on May 24 with Road Team Seattle? | CREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT game FROM table_name_76 WHERE road_team = "seattle" AND date = "may 24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR) Question: What is the Game on May 24 with Road Team Seattle? [/INST] SELECT game FROM table_name_76 WHERE road_team = "seattle" AND date = "may 24" <... |
On what Date was the Result 82-92? | CREATE TABLE table_name_52 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_52 WHERE result = "82-92" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (date VARCHAR, result VARCHAR) Question: On what Date was the Result 82-92? [/INST] SELECT date FROM table_name_52 WHERE result = "82-92" </s> |
What is the 2006 population of the area with vehicle registration code of G and population density of 1,432.0? | CREATE TABLE table_name_7 (population__2006_ VARCHAR, vehicle_registration_code VARCHAR, population_density VARCHAR) | SELECT population__2006_ FROM table_name_7 WHERE vehicle_registration_code = "g" AND population_density = "1,432.0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (population__2006_ VARCHAR, vehicle_registration_code VARCHAR, population_density VARCHAR) Question: What is the 2006 population of the area with vehicle registration code of G and population densit... |
What is the area of Waterford? | CREATE TABLE table_name_25 (area__km²_ VARCHAR, principal_town_city VARCHAR) | SELECT area__km²_ FROM table_name_25 WHERE principal_town_city = "waterford" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (area__km²_ VARCHAR, principal_town_city VARCHAR) Question: What is the area of Waterford? [/INST] SELECT area__km²_ FROM table_name_25 WHERE principal_town_city = "waterford" </s> |
What is the NUT 3 region with area of 41.58? | CREATE TABLE table_name_38 (nuts_3_region VARCHAR, area__km²_ VARCHAR) | SELECT nuts_3_region FROM table_name_38 WHERE area__km²_ = "41.58" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (nuts_3_region VARCHAR, area__km²_ VARCHAR) Question: What is the NUT 3 region with area of 41.58? [/INST] SELECT nuts_3_region FROM table_name_38 WHERE area__km²_ = "41.58" </s> |
What is Opponent, when Event is RITC 22 - Rage In The Cage 22? | CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_17 WHERE event = "ritc 22 - rage in the cage 22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR) Question: What is Opponent, when Event is RITC 22 - Rage In The Cage 22? [/INST] SELECT opponent FROM table_name_17 WHERE event = "ritc 22 - rage in the cage 22" <... |
What is Record, when Method is KO, and when Opponent is Rich Guerin? | CREATE TABLE table_name_99 (record VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_99 WHERE method = "ko" AND opponent = "rich guerin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (record VARCHAR, method VARCHAR, opponent VARCHAR) Question: What is Record, when Method is KO, and when Opponent is Rich Guerin? [/INST] SELECT record FROM table_name_99 WHERE method = "ko" AND op... |
What is Round, when Event is RITC 89 - Triple Main Event 89? | CREATE TABLE table_name_59 (round VARCHAR, event VARCHAR) | SELECT round FROM table_name_59 WHERE event = "ritc 89 - triple main event 89" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (round VARCHAR, event VARCHAR) Question: What is Round, when Event is RITC 89 - Triple Main Event 89? [/INST] SELECT round FROM table_name_59 WHERE event = "ritc 89 - triple main event 89" </s> |
What kind of Social Sec Leeds has a Media Officer of jason james and a Treasurer of james davidson? | CREATE TABLE table_name_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR) | SELECT social_sec_leeds FROM table_name_62 WHERE media_officer = "jason james" AND treasurer = "james davidson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR) Question: What kind of Social Sec Leeds has a Media Officer of jason james and a Treasurer of james davidson? [/INST] SELECT soc... |
Name the Social Sec Leeds has a President of tom dawson? | CREATE TABLE table_name_13 (social_sec_leeds VARCHAR, president VARCHAR) | SELECT social_sec_leeds FROM table_name_13 WHERE president = "tom dawson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (social_sec_leeds VARCHAR, president VARCHAR) Question: Name the Social Sec Leeds has a President of tom dawson? [/INST] SELECT social_sec_leeds FROM table_name_13 WHERE president = "tom dawson" </... |
Name the President has a Media Officer of pete marshall/ nazar striletski? | CREATE TABLE table_name_25 (president VARCHAR, media_officer VARCHAR) | SELECT president FROM table_name_25 WHERE media_officer = "pete marshall/ nazar striletski" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (president VARCHAR, media_officer VARCHAR) Question: Name the President has a Media Officer of pete marshall/ nazar striletski? [/INST] SELECT president FROM table_name_25 WHERE media_officer = "pe... |
Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006? | CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR) | SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR) Question: Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2... |
Name the President who has a Treasurer of james davidson, and a Season of 2006–2007? | CREATE TABLE table_name_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR) | SELECT president FROM table_name_26 WHERE treasurer = "james davidson" AND season = "2006–2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR) Question: Name the President who has a Treasurer of james davidson, and a Season of 2006–2007? [/INST] SELECT president FROM table_name_26 WH... |
Name the Fixtures Sec which has a Season of 2009–2010 | CREATE TABLE table_name_12 (fixtures_sec VARCHAR, season VARCHAR) | SELECT fixtures_sec FROM table_name_12 WHERE season = "2009–2010" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (fixtures_sec VARCHAR, season VARCHAR) Question: Name the Fixtures Sec which has a Season of 2009–2010 [/INST] SELECT fixtures_sec FROM table_name_12 WHERE season = "2009–2010" </s> |
What is the Format of the Epic/Sony Label after 1980? | CREATE TABLE table_name_33 (format VARCHAR, label VARCHAR, date VARCHAR) | SELECT format FROM table_name_33 WHERE label = "epic/sony" AND date > 1980 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (format VARCHAR, label VARCHAR, date VARCHAR) Question: What is the Format of the Epic/Sony Label after 1980? [/INST] SELECT format FROM table_name_33 WHERE label = "epic/sony" AND date > 1980 </s> |
What is the Format of the Label with Catalog SBP 234999? | CREATE TABLE table_name_23 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_23 WHERE catalog = "sbp 234999" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (format VARCHAR, catalog VARCHAR) Question: What is the Format of the Label with Catalog SBP 234999? [/INST] SELECT format FROM table_name_23 WHERE catalog = "sbp 234999" </s> |
Which poll source has a lead of 17? | CREATE TABLE table_name_87 (poll_source VARCHAR, lead_margin VARCHAR) | SELECT poll_source FROM table_name_87 WHERE lead_margin = 17 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (poll_source VARCHAR, lead_margin VARCHAR) Question: Which poll source has a lead of 17? [/INST] SELECT poll_source FROM table_name_87 WHERE lead_margin = 17 </s> |
What years did Elden Campbell category:articles with hcards and jersesy number of 41 play? | CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR) | SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = "elden campbell category:articles with hcards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR) Question: What years did Elden Campbell category:articles with hcards and jersesy number of 41 play? [/INST] SELECT years FROM table_name_3... |
What is the listed date of the Warren pony truss bridge that was built in 1925? | CREATE TABLE table_name_1 (listed VARCHAR, built VARCHAR, type VARCHAR) | SELECT listed FROM table_name_1 WHERE built = "1925" AND type = "warren pony truss" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (listed VARCHAR, built VARCHAR, type VARCHAR) Question: What is the listed date of the Warren pony truss bridge that was built in 1925? [/INST] SELECT listed FROM table_name_1 WHERE built = "1925" A... |
When was Moores Creek Bridge built? | CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR) | SELECT built FROM table_name_20 WHERE name = "moores creek bridge" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR) Question: When was Moores Creek Bridge built? [/INST] SELECT built FROM table_name_20 WHERE name = "moores creek bridge" </s> |
When was Blackburn Point Bridge built? | CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR) | SELECT built FROM table_name_55 WHERE name = "blackburn point bridge" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (built VARCHAR, name VARCHAR) Question: When was Blackburn Point Bridge built? [/INST] SELECT built FROM table_name_55 WHERE name = "blackburn point bridge" </s> |
What county is the St. Augustine bridge in? | CREATE TABLE table_name_98 (county VARCHAR, location VARCHAR) | SELECT county FROM table_name_98 WHERE location = "st. augustine" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (county VARCHAR, location VARCHAR) Question: What county is the St. Augustine bridge in? [/INST] SELECT county FROM table_name_98 WHERE location = "st. augustine" </s> |
Which Date has Notes of notes? | CREATE TABLE table_name_21 (date VARCHAR) | SELECT date FROM table_name_21 WHERE "notes" = "notes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (date VARCHAR) Question: Which Date has Notes of notes? [/INST] SELECT date FROM table_name_21 WHERE "notes" = "notes" </s> |
Which Date has a Location of davos, and a Time of 45.7? | CREATE TABLE table_name_86 (date VARCHAR, location VARCHAR, time VARCHAR) | SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (date VARCHAR, location VARCHAR, time VARCHAR) Question: Which Date has a Location of davos, and a Time of 45.7? [/INST] SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.7" </... |
Which Location has a Date of 1931-02-02? | CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_44 WHERE date = "1931-02-02" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR) Question: Which Location has a Date of 1931-02-02? [/INST] SELECT location FROM table_name_44 WHERE date = "1931-02-02" </s> |
Which Time has Notes of men's speed skating? | CREATE TABLE table_name_93 (time VARCHAR, notes VARCHAR) | SELECT time FROM table_name_93 WHERE notes = "men's speed skating" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (time VARCHAR, notes VARCHAR) Question: Which Time has Notes of men's speed skating? [/INST] SELECT time FROM table_name_93 WHERE notes = "men's speed skating" </s> |
Which Location has Notes of eisstadion, and a Date of 1930-01-11? | CREATE TABLE table_name_5 (location VARCHAR, notes VARCHAR, date VARCHAR) | SELECT location FROM table_name_5 WHERE notes = "eisstadion" AND date = "1930-01-11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (location VARCHAR, notes VARCHAR, date VARCHAR) Question: Which Location has Notes of eisstadion, and a Date of 1930-01-11? [/INST] SELECT location FROM table_name_5 WHERE notes = "eisstadion" AND d... |
Which Distance has a Date of 1930-01-11? | CREATE TABLE table_name_69 (distance VARCHAR, date VARCHAR) | SELECT distance FROM table_name_69 WHERE date = "1930-01-11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (distance VARCHAR, date VARCHAR) Question: Which Distance has a Date of 1930-01-11? [/INST] SELECT distance FROM table_name_69 WHERE date = "1930-01-11" </s> |
What is the weight when the race was the VRC Melbourne Cup? | CREATE TABLE table_name_76 (weight VARCHAR, race VARCHAR) | SELECT COUNT(weight) FROM table_name_76 WHERE race = "vrc melbourne cup" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (weight VARCHAR, race VARCHAR) Question: What is the weight when the race was the VRC Melbourne Cup? [/INST] SELECT COUNT(weight) FROM table_name_76 WHERE race = "vrc melbourne cup" </s> |
What weight has a distance of 8F, and RRC Hill Stakes (wfa) as the race? | CREATE TABLE table_name_7 (weight VARCHAR, distance VARCHAR, race VARCHAR) | SELECT weight FROM table_name_7 WHERE distance = "8f" AND race = "rrc hill stakes (wfa)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (weight VARCHAR, distance VARCHAR, race VARCHAR) Question: What weight has a distance of 8F, and RRC Hill Stakes (wfa) as the race? [/INST] SELECT weight FROM table_name_7 WHERE distance = "8f" AND ... |
What is the distance when the weight is 9.2? | CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR) | SELECT distance FROM table_name_16 WHERE weight = 9.2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR) Question: What is the distance when the weight is 9.2? [/INST] SELECT distance FROM table_name_16 WHERE weight = 9.2 </s> |
what is the pick for adam gettis? | CREATE TABLE table_name_12 (pick INTEGER, name VARCHAR) | SELECT MIN(pick) FROM table_name_12 WHERE name = "adam gettis" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (pick INTEGER, name VARCHAR) Question: what is the pick for adam gettis? [/INST] SELECT MIN(pick) FROM table_name_12 WHERE name = "adam gettis" </s> |
what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6? | CREATE TABLE table_name_49 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR) | SELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = "alfred morris" AND round < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR) Question: what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6? [/INST] SELECT MAX(pick... |
what is the college for keenan robinson when overall is more than 102? | CREATE TABLE table_name_55 (college VARCHAR, overall VARCHAR, name VARCHAR) | SELECT college FROM table_name_55 WHERE overall > 102 AND name = "keenan robinson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (college VARCHAR, overall VARCHAR, name VARCHAR) Question: what is the college for keenan robinson when overall is more than 102? [/INST] SELECT college FROM table_name_55 WHERE overall > 102 AND n... |
what is the pick for robert griffin iii? | CREATE TABLE table_name_97 (pick VARCHAR, name VARCHAR) | SELECT pick FROM table_name_97 WHERE name = "robert griffin iii" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (pick VARCHAR, name VARCHAR) Question: what is the pick for robert griffin iii? [/INST] SELECT pick FROM table_name_97 WHERE name = "robert griffin iii" </s> |
How many appearances did the flamengo player who was with flamengo during the years 1989–1993 1996–1998 2004–2005 have? | CREATE TABLE table_name_21 (appearances INTEGER, flamengo_career VARCHAR) | SELECT MAX(appearances) FROM table_name_21 WHERE flamengo_career = "1989–1993 1996–1998 2004–2005" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (appearances INTEGER, flamengo_career VARCHAR) Question: How many appearances did the flamengo player who was with flamengo during the years 1989–1993 1996–1998 2004–2005 have? [/INST] SELECT MAX(a... |
What was the attendance on week 1? | CREATE TABLE table_name_96 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_96 WHERE week = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (attendance VARCHAR, week VARCHAR) Question: What was the attendance on week 1? [/INST] SELECT attendance FROM table_name_96 WHERE week = 1 </s> |
Who was the opponent before week 3 and a result of w 28-6? | CREATE TABLE table_name_57 (opponent VARCHAR, week VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_57 WHERE week < 3 AND result = "w 28-6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (opponent VARCHAR, week VARCHAR, result VARCHAR) Question: Who was the opponent before week 3 and a result of w 28-6? [/INST] SELECT opponent FROM table_name_57 WHERE week < 3 AND result = "w 28-6"... |
What is the sum of core# with a part number of osa242cep5au and TDP greater than 82.1? | CREATE TABLE table_name_80 (core__number INTEGER, part_number_opn_ VARCHAR, tdp__w_ VARCHAR) | SELECT SUM(core__number) FROM table_name_80 WHERE part_number_opn_ = "osa242cep5au" AND tdp__w_ > 82.1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (core__number INTEGER, part_number_opn_ VARCHAR, tdp__w_ VARCHAR) Question: What is the sum of core# with a part number of osa242cep5au and TDP greater than 82.1? [/INST] SELECT SUM(core__number) F... |
What is the sum of core# with a TDP less than 85.3? | CREATE TABLE table_name_62 (core__number INTEGER, tdp__w_ INTEGER) | SELECT SUM(core__number) FROM table_name_62 WHERE tdp__w_ < 85.3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (core__number INTEGER, tdp__w_ INTEGER) Question: What is the sum of core# with a TDP less than 85.3? [/INST] SELECT SUM(core__number) FROM table_name_62 WHERE tdp__w_ < 85.3 </s> |
Which Winning score has a Date of aug 26, 1973? | CREATE TABLE table_name_42 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_42 WHERE date = "aug 26, 1973" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (winning_score VARCHAR, date VARCHAR) Question: Which Winning score has a Date of aug 26, 1973? [/INST] SELECT winning_score FROM table_name_42 WHERE date = "aug 26, 1973" </s> |
Which Runner(s)-up has a Date of may 19, 1973? | CREATE TABLE table_name_21 (runner_s__up VARCHAR, date VARCHAR) | SELECT runner_s__up FROM table_name_21 WHERE date = "may 19, 1973" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (runner_s__up VARCHAR, date VARCHAR) Question: Which Runner(s)-up has a Date of may 19, 1973? [/INST] SELECT runner_s__up FROM table_name_21 WHERE date = "may 19, 1973" </s> |
Which Margin of victory has a Runner(s)-up of betty burfeindt, and a Tournament of pompano beach classic? | CREATE TABLE table_name_4 (margin_of_victory VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_4 WHERE runner_s__up = "betty burfeindt" AND tournament = "pompano beach classic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (margin_of_victory VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) Question: Which Margin of victory has a Runner(s)-up of betty burfeindt, and a Tournament of pompano beach classic? [/INST] SELE... |
Which Runner(s)-up has a Tournament of cameron park open? | CREATE TABLE table_name_62 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_62 WHERE tournament = "cameron park open" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (runner_s__up VARCHAR, tournament VARCHAR) Question: Which Runner(s)-up has a Tournament of cameron park open? [/INST] SELECT runner_s__up FROM table_name_62 WHERE tournament = "cameron park open" ... |
Which Runner(s)-up has a Winning score of –8 (68-68-72-72=280)? | CREATE TABLE table_name_26 (runner_s__up VARCHAR, winning_score VARCHAR) | SELECT runner_s__up FROM table_name_26 WHERE winning_score = –8(68 - 68 - 72 - 72 = 280) | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (runner_s__up VARCHAR, winning_score VARCHAR) Question: Which Runner(s)-up has a Winning score of –8 (68-68-72-72=280)? [/INST] SELECT runner_s__up FROM table_name_26 WHERE winning_score = –8(68 - ... |
Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley? | CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_95 WHERE tournament = "national jewish hospital open" AND runner_s__up = "pat bradley" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) Question: Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley? [/INST] SELECT date FROM table_na... |
What is the date for the winner Universitario after the 1943 season? | CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR) | SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR) Question: What is the date for the winner Universitario after the 1943 season? [/INST] SELECT date FROM table_name_99 WHERE winner = "universitario" A... |
What is the competition before the 1930 season, and a winning draw? | CREATE TABLE table_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR) | SELECT competition_round_ AS "d_" FROM table_name_75 WHERE season < 1930 AND winner = "draw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (competition_round_ VARCHAR, d_ VARCHAR, season VARCHAR, winner VARCHAR) Question: What is the competition before the 1930 season, and a winning draw? [/INST] SELECT competition_round_ AS "d_" FROM... |
Who is the co-driver for the 6th position and more than 159 laps? | CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR) | SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR) Question: Who is the co-driver for the 6th position and more than 159 laps? [/INST] SELECT co_driver FROM table_name_36 WHERE position = "6th" AN... |
Which location has 13 floors and a rank greater than 12? | CREATE TABLE table_name_83 (location VARCHAR, rank VARCHAR, floors VARCHAR) | SELECT location FROM table_name_83 WHERE rank > 12 AND floors = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (location VARCHAR, rank VARCHAR, floors VARCHAR) Question: Which location has 13 floors and a rank greater than 12? [/INST] SELECT location FROM table_name_83 WHERE rank > 12 AND floors = 13 </s> |
What is the Visitor on January 1? | CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_58 WHERE date = "january 1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR) Question: What is the Visitor on January 1? [/INST] SELECT visitor FROM table_name_58 WHERE date = "january 1" </s> |
What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with a Score of 3–1? | CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_63 WHERE score = "3–1" AND visitor = "toronto maple leafs" AND date = "january 20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) Question: What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with a Score of 3–1? [/INST] SELECT record FRO... |
What is the Record of the game on November 24 with a Score of 6–2? | CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR) | SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR) Question: What is the Record of the game on November 24 with a Score of 6–2? [/INST] SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "n... |
What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3? | CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "november 15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) Question: What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3? [/INST] SELECT record... |
What is the Date of the game with a Score of 3–1 and Record of 1–1–0? | CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR) | SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR) Question: What is the Date of the game with a Score of 3–1 and Record of 1–1–0? [/INST] SELECT date FROM table_name_70 WHERE score = "3–1" AND record =... |
What is the Visitor of the game on January 24? | CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_33 WHERE date = "january 24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (visitor VARCHAR, date VARCHAR) Question: What is the Visitor of the game on January 24? [/INST] SELECT visitor FROM table_name_33 WHERE date = "january 24" </s> |
What is Record, when Game is 27? | CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_54 WHERE game = 27 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (record VARCHAR, game VARCHAR) Question: What is Record, when Game is 27? [/INST] SELECT record FROM table_name_54 WHERE game = 27 </s> |
What is Team, when High Rebounds is David Lee (15)? | CREATE TABLE table_name_61 (team VARCHAR, high_rebounds VARCHAR) | SELECT team FROM table_name_61 WHERE high_rebounds = "david lee (15)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (team VARCHAR, high_rebounds VARCHAR) Question: What is Team, when High Rebounds is David Lee (15)? [/INST] SELECT team FROM table_name_61 WHERE high_rebounds = "david lee (15)" </s> |
What is Record, when Location Attendance, is Madison Square Garden 19,009? | CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR) Question: What is Record, when Location Attendance, is Madison Square Garden 19,009? [/INST] SELECT record FROM table_name_32 WHERE location_attendance... |
How many weeks on top was OMC? | CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR) | SELECT weeks_on_top FROM table_name_48 WHERE artist = "omc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (weeks_on_top VARCHAR, artist VARCHAR) Question: How many weeks on top was OMC? [/INST] SELECT weeks_on_top FROM table_name_48 WHERE artist = "omc" </s> |
What's the volume:issue of Sheryl Crow with 3 weeks on top? | CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) | SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) Question: What's the volume:issue of Sheryl Crow with 3 weeks on top? [/INST] SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3... |
What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? | CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) | SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) Question: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? [/INST] SELECT ... |
What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? | CREATE TABLE table_name_69 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) | SELECT coverage__transmitter_site_ FROM table_name_69 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (coverage__transmitter_site_ VARCHAR, power__kw_ VARCHAR, callsign VARCHAR) Question: What is Coverage (Transmitter Site), when Power (kW) is "10kW", and when Callsign is "DYFX-TV"? [/INST] SELECT ... |
What is Branding, when Callsign is "DXED-TV"? | CREATE TABLE table_name_73 (branding VARCHAR, callsign VARCHAR) | SELECT branding FROM table_name_73 WHERE callsign = "dxed-tv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (branding VARCHAR, callsign VARCHAR) Question: What is Branding, when Callsign is "DXED-TV"? [/INST] SELECT branding FROM table_name_73 WHERE callsign = "dxed-tv" </s> |
What is Power (kW), when Coverage (Transmitter Site) is "Lucena"? | CREATE TABLE table_name_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR) | SELECT power__kw_ FROM table_name_12 WHERE coverage__transmitter_site_ = "lucena" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR) Question: What is Power (kW), when Coverage (Transmitter Site) is "Lucena"? [/INST] SELECT power__kw_ FROM table_name_12 WHERE coverage__tr... |
What year did Ivanovic win with Ivanovic greater than 4 and round of R16? | CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR) | SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR) Question: What year did Ivanovic win with Ivanovic greater than 4 and round of R16? [/INST] SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovi... |
What is the highest result for Jankovic at Indian Wells and round of SF? | CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR) | SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR) Question: What is the highest result for Jankovic at Indian Wells and round of SF? [/INST] SELECT MAX(jankovic) FROM table_name_68 WHERE round ... |
Where did Ben Gordon (8) have the high assists? | CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR) | SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon (8)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (location_attendance VARCHAR, high_assists VARCHAR) Question: Where did Ben Gordon (8) have the high assists? [/INST] SELECT location_attendance FROM table_name_55 WHERE high_assists = "ben gordon ... |
Who had the high points at the United Center 20,389? | CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_name_42 WHERE location_attendance = "united center 20,389" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (high_points VARCHAR, location_attendance VARCHAR) Question: Who had the high points at the United Center 20,389? [/INST] SELECT high_points FROM table_name_42 WHERE location_attendance = "united c... |
Where was the location attendance when Minnesota played? | CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR) Question: Where was the location attendance when Minnesota played? [/INST] SELECT location_attendance FROM table_name_1 WHERE team = "minnesota" </s> |
What date did Ben Gordon (8) have high assists? | CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR) | SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR) Question: What date did Ben Gordon (8) have high assists? [/INST] SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)" </s> |
What team had a finish of 25 in a smaller than 28? | CREATE TABLE table_name_82 (team VARCHAR, start VARCHAR, finish VARCHAR) | SELECT team FROM table_name_82 WHERE start < 28 AND finish = 25 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (team VARCHAR, start VARCHAR, finish VARCHAR) Question: What team had a finish of 25 in a smaller than 28? [/INST] SELECT team FROM table_name_82 WHERE start < 28 AND finish = 25 </s> |
For any races with a start of 14 what was the lowest finish? | CREATE TABLE table_name_61 (finish INTEGER, start VARCHAR) | SELECT MIN(finish) FROM table_name_61 WHERE start = 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (finish INTEGER, start VARCHAR) Question: For any races with a start of 14 what was the lowest finish? [/INST] SELECT MIN(finish) FROM table_name_61 WHERE start = 14 </s> |
What is the transfer fee for Jimmy Gibson? | CREATE TABLE table_name_22 (transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_22 WHERE name = "jimmy gibson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (transfer_fee VARCHAR, name VARCHAR) Question: What is the transfer fee for Jimmy Gibson? [/INST] SELECT transfer_fee FROM table_name_22 WHERE name = "jimmy gibson" </s> |
What is the sum of silver medals won for rank 7? | CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR) | SELECT SUM(silver) FROM table_name_30 WHERE rank = "7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR) Question: What is the sum of silver medals won for rank 7? [/INST] SELECT SUM(silver) FROM table_name_30 WHERE rank = "7" </s> |
Goldfields Obuasi Team 1 has what Agg. totals ? | CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR) Question: Goldfields Obuasi Team 1 has what Agg. totals ? [/INST] SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" </s> |
Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010? | CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) | SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) Question: Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election lar... |
Which Election has a Municipality of laives, and Inhabitants smaller than 17,197? | CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR) | SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR) Question: Which Election has a Municipality of laives, and Inhabitants smaller than 17,197? [/INST] SELECT AVG(election) FROM table_nam... |
What is the number week with a result of w 40–62? | CREATE TABLE table_name_35 (week INTEGER, result VARCHAR) | SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (week INTEGER, result VARCHAR) Question: What is the number week with a result of w 40–62? [/INST] SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62" </s> |
What was the game site week 15? | CREATE TABLE table_name_79 (game_site VARCHAR, week VARCHAR) | SELECT game_site FROM table_name_79 WHERE week = 15 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (game_site VARCHAR, week VARCHAR) Question: What was the game site week 15? [/INST] SELECT game_site FROM table_name_79 WHERE week = 15 </s> |
What is the record when the result was w 52–43? | CREATE TABLE table_name_5 (record VARCHAR, result VARCHAR) | SELECT record FROM table_name_5 WHERE result = "w 52–43" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (record VARCHAR, result VARCHAR) Question: What is the record when the result was w 52–43? [/INST] SELECT record FROM table_name_5 WHERE result = "w 52–43" </s> |
What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42? | CREATE TABLE table_name_69 (week INTEGER, game_site VARCHAR, result VARCHAR) | SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (week INTEGER, game_site VARCHAR, result VARCHAR) Question: What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42? [/INST] SELECT MAX(week) FROM table_n... |
What is the opponent on May 25, 2007? | CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (opponent VARCHAR, date VARCHAR) Question: What is the opponent on May 25, 2007? [/INST] SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007" </s> |
What team was the opponent with a record of 5–0? | CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_94 WHERE record = "5–0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) Question: What team was the opponent with a record of 5–0? [/INST] SELECT opponent FROM table_name_94 WHERE record = "5–0" </s> |
What date was the away team from Adelaide? | CREATE TABLE table_name_37 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_37 WHERE away_team = "adelaide" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, away_team VARCHAR) Question: What date was the away team from Adelaide? [/INST] SELECT date FROM table_name_37 WHERE away_team = "adelaide" </s> |
What date was the Colonial Stadium? | CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR) | SELECT date FROM table_name_62 WHERE ground = "colonial stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR) Question: What date was the Colonial Stadium? [/INST] SELECT date FROM table_name_62 WHERE ground = "colonial stadium" </s> |
What was the total crowd attendance at Westpac Stadium? | CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR) | SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR) Question: What was the total crowd attendance at Westpac Stadium? [/INST] SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium" </s> |
What is the attendance of the match with maidsone united as the away team? | CREATE TABLE table_name_13 (attendance VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_13 WHERE away_team = "maidsone united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (attendance VARCHAR, away_team VARCHAR) Question: What is the attendance of the match with maidsone united as the away team? [/INST] SELECT attendance FROM table_name_13 WHERE away_team = "maidsone... |
What is the attendance with a 45 tie no.? | CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_73 WHERE tie_no = "45" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (attendance VARCHAR, tie_no VARCHAR) Question: What is the attendance with a 45 tie no.? [/INST] SELECT attendance FROM table_name_73 WHERE tie_no = "45" </s> |
What is February, when Opponent is "Montreal Canadiens"? | CREATE TABLE table_name_74 (february VARCHAR, opponent VARCHAR) | SELECT february FROM table_name_74 WHERE opponent = "montreal canadiens" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (february VARCHAR, opponent VARCHAR) Question: What is February, when Opponent is "Montreal Canadiens"? [/INST] SELECT february FROM table_name_74 WHERE opponent = "montreal canadiens" </s> |
What is February, when Record is "21-29-11"? | CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR) | SELECT february FROM table_name_46 WHERE record = "21-29-11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR) Question: What is February, when Record is "21-29-11"? [/INST] SELECT february FROM table_name_46 WHERE record = "21-29-11" </s> |
What is the lowest February, when Record is "21-30-11", and when Game is greater than 62? | CREATE TABLE table_name_54 (february INTEGER, record VARCHAR, game VARCHAR) | SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (february INTEGER, record VARCHAR, game VARCHAR) Question: What is the lowest February, when Record is "21-30-11", and when Game is greater than 62? [/INST] SELECT MIN(february) FROM table_name_54 ... |
What is Score, when Game is less than 61, when February is less than 11, and when Opponent is "@ Buffalo Sabres"? | CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR) | SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR) Question: What is Score, when Game is less than 61, when February is less than 11, and when Opponent is "@ Buffalo Sabres"? [/INST]... |
What is the highest Game, when Record is "21-30-11"? | CREATE TABLE table_name_92 (game INTEGER, record VARCHAR) | SELECT MAX(game) FROM table_name_92 WHERE record = "21-30-11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (game INTEGER, record VARCHAR) Question: What is the highest Game, when Record is "21-30-11"? [/INST] SELECT MAX(game) FROM table_name_92 WHERE record = "21-30-11" </s> |
Who had the most rebounds in the game against Phoenix with a number over 76? | CREATE TABLE table_name_16 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_16 WHERE game > 76 AND team = "phoenix" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) Question: Who had the most rebounds in the game against Phoenix with a number over 76? [/INST] SELECT high_rebounds FROM table_name_16 WHERE game... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.