instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Name the lowest year for 12th position
|
CREATE TABLE table_name_4 (year INTEGER, position VARCHAR)
|
SELECT MIN(year) FROM table_name_4 WHERE position = "12th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (year INTEGER, position VARCHAR) Question: Name the lowest year for 12th position [/INST] SELECT MIN(year) FROM table_name_4 WHERE position = "12th" </s>
|
Tell me the competition for half marathon
|
CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR)
|
SELECT competition FROM table_name_70 WHERE notes = "half marathon"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR) Question: Tell me the competition for half marathon [/INST] SELECT competition FROM table_name_70 WHERE notes = "half marathon" </s>
|
Tell me the category of na director
|
CREATE TABLE table_name_75 (category VARCHAR, director VARCHAR)
|
SELECT category FROM table_name_75 WHERE director = "na"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (category VARCHAR, director VARCHAR) Question: Tell me the category of na director [/INST] SELECT category FROM table_name_75 WHERE director = "na" </s>
|
I want to know the highest heat rank for overall rank of t63 and time less than 25.47
|
CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)
|
SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR) Question: I want to know the highest heat rank for overall rank of t63 and time less than 25.47 [/INST] SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47 </s>
|
Tell me the country for lane of 6
|
CREATE TABLE table_name_66 (country VARCHAR, lane VARCHAR)
|
SELECT country FROM table_name_66 WHERE lane = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (country VARCHAR, lane VARCHAR) Question: Tell me the country for lane of 6 [/INST] SELECT country FROM table_name_66 WHERE lane = 6 </s>
|
Tell me the overall rank for heat rank of 8
|
CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR)
|
SELECT overall_rank FROM table_name_60 WHERE heat_rank = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR) Question: Tell me the overall rank for heat rank of 8 [/INST] SELECT overall_rank FROM table_name_60 WHERE heat_rank = 8 </s>
|
Tell me the position of chris clark
|
CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR)
|
SELECT position FROM table_name_8 WHERE player = "chris clark"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR) Question: Tell me the position of chris clark [/INST] SELECT position FROM table_name_8 WHERE player = "chris clark" </s>
|
Tell me the nhl team for 74
|
CREATE TABLE table_name_75 (nhl_team VARCHAR, pick VARCHAR)
|
SELECT nhl_team FROM table_name_75 WHERE pick = "74"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (nhl_team VARCHAR, pick VARCHAR) Question: Tell me the nhl team for 74 [/INST] SELECT nhl_team FROM table_name_75 WHERE pick = "74" </s>
|
Tell me the pick for canada centre
|
CREATE TABLE table_name_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR)
|
SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR) Question: Tell me the pick for canada centre [/INST] SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada" </s>
|
Tell me the format for geffen of the united states
|
CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR)
|
SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR) Question: Tell me the format for geffen of the united states [/INST] SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states" </s>
|
Tell me the format for worldwide region july 22, 2008
|
CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR)
|
SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR) Question: Tell me the format for worldwide region july 22, 2008 [/INST] SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008" </s>
|
Tell me the label for digital download for bonus tracks version
|
CREATE TABLE table_name_39 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR)
|
SELECT label FROM table_name_39 WHERE format = "digital download" AND edition_s_ = "bonus tracks version"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR) Question: Tell me the label for digital download for bonus tracks version [/INST] SELECT label FROM table_name_39 WHERE format = "digital download" AND edition_s_ = "bonus tracks version" </s>
|
Which team has a rank of 6?
|
CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR)
|
SELECT team FROM table_name_43 WHERE rank = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR) Question: Which team has a rank of 6? [/INST] SELECT team FROM table_name_43 WHERE rank = 6 </s>
|
Name the horsepower for VIN code of h and engine for 351-2v cleveland v8
|
CREATE TABLE table_name_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR)
|
SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR) Question: Name the horsepower for VIN code of h and engine for 351-2v cleveland v8 [/INST] SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8" </s>
|
Name the horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8
|
CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR)
|
SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR) Question: Name the horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8 [/INST] SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8" </s>
|
Tell me the VIN code for compression ratio of 10.50:1
|
CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR)
|
SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50:1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR) Question: Tell me the VIN code for compression ratio of 10.50:1 [/INST] SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50:1" </s>
|
Tell me the network for 13 january 2009
|
CREATE TABLE table_name_80 (network VARCHAR, premiere VARCHAR)
|
SELECT network FROM table_name_80 WHERE premiere = "13 january 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (network VARCHAR, premiere VARCHAR) Question: Tell me the network for 13 january 2009 [/INST] SELECT network FROM table_name_80 WHERE premiere = "13 january 2009" </s>
|
Tell me the prize for belgium
|
CREATE TABLE table_name_53 (prize VARCHAR, country_region VARCHAR)
|
SELECT prize FROM table_name_53 WHERE country_region = "belgium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (prize VARCHAR, country_region VARCHAR) Question: Tell me the prize for belgium [/INST] SELECT prize FROM table_name_53 WHERE country_region = "belgium" </s>
|
Tell me the 13 january 2009 host
|
CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR)
|
SELECT host FROM table_name_19 WHERE premiere = "13 january 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR) Question: Tell me the 13 january 2009 host [/INST] SELECT host FROM table_name_19 WHERE premiere = "13 january 2009" </s>
|
Tell me the host for rtl-tvi
|
CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR)
|
SELECT host FROM table_name_6 WHERE network = "rtl-tvi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR) Question: Tell me the host for rtl-tvi [/INST] SELECT host FROM table_name_6 WHERE network = "rtl-tvi" </s>
|
I want to meet that has a time 2:15.93
|
CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR)
|
SELECT meet FROM table_name_92 WHERE time = "2:15.93"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR) Question: I want to meet that has a time 2:15.93 [/INST] SELECT meet FROM table_name_92 WHERE time = "2:15.93" </s>
|
Tell me the location of lithuania 12 october 2013
|
CREATE TABLE table_name_86 (location VARCHAR, nationality VARCHAR, date VARCHAR)
|
SELECT location FROM table_name_86 WHERE nationality = "lithuania" AND date = "12 october 2013"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (location VARCHAR, nationality VARCHAR, date VARCHAR) Question: Tell me the location of lithuania 12 october 2013 [/INST] SELECT location FROM table_name_86 WHERE nationality = "lithuania" AND date = "12 october 2013" </s>
|
Tell me the title of work for year more than 2009
|
CREATE TABLE table_name_17 (title_of_work VARCHAR, year INTEGER)
|
SELECT title_of_work FROM table_name_17 WHERE year > 2009
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (title_of_work VARCHAR, year INTEGER) Question: Tell me the title of work for year more than 2009 [/INST] SELECT title_of_work FROM table_name_17 WHERE year > 2009 </s>
|
When was there a Result of 8β0 and a Score of 1β0?
|
CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_48 WHERE result = "8β0" AND score = "1β0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR) Question: When was there a Result of 8β0 and a Score of 1β0? [/INST] SELECT date FROM table_name_48 WHERE result = "8β0" AND score = "1β0" </s>
|
What was the result of Bridgeview, Illinois?
|
CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR)
|
SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR) Question: What was the result of Bridgeview, Illinois? [/INST] SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois" </s>
|
When did a Competition of friendly, and a Score of 2β1, and a Venue of philadelphia , pennsylvania occur?
|
CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2β1" AND venue = "philadelphia , pennsylvania"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR) Question: When did a Competition of friendly, and a Score of 2β1, and a Venue of philadelphia , pennsylvania occur? [/INST] SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2β1" AND venue = "philadelphia , pennsylvania" </s>
|
What was the score on June 28, 2009?
|
CREATE TABLE table_name_56 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_56 WHERE date = "june 28, 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (score VARCHAR, date VARCHAR) Question: What was the score on June 28, 2009? [/INST] SELECT score FROM table_name_56 WHERE date = "june 28, 2009" </s>
|
Tell me the nationality of pick 140
|
CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR)
|
SELECT nationality FROM table_name_67 WHERE pick = "140"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR) Question: Tell me the nationality of pick 140 [/INST] SELECT nationality FROM table_name_67 WHERE pick = "140" </s>
|
Tell me the position for pick of 146
|
CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)
|
SELECT position FROM table_name_7 WHERE pick = "146"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR) Question: Tell me the position for pick of 146 [/INST] SELECT position FROM table_name_7 WHERE pick = "146" </s>
|
Tell me the NHL team for mike gaffney
|
CREATE TABLE table_name_53 (nhl_team VARCHAR, player VARCHAR)
|
SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (nhl_team VARCHAR, player VARCHAR) Question: Tell me the NHL team for mike gaffney [/INST] SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney" </s>
|
Tell me the nationality of pick of 153
|
CREATE TABLE table_name_85 (nationality VARCHAR, pick VARCHAR)
|
SELECT nationality FROM table_name_85 WHERE pick = "153"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (nationality VARCHAR, pick VARCHAR) Question: Tell me the nationality of pick of 153 [/INST] SELECT nationality FROM table_name_85 WHERE pick = "153" </s>
|
Tell me the player for pick of 145
|
CREATE TABLE table_name_9 (player VARCHAR, pick VARCHAR)
|
SELECT player FROM table_name_9 WHERE pick = "145"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (player VARCHAR, pick VARCHAR) Question: Tell me the player for pick of 145 [/INST] SELECT player FROM table_name_9 WHERE pick = "145" </s>
|
What tournament took place on October 11, 2013?
|
CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR)
|
SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR) Question: What tournament took place on October 11, 2013? [/INST] SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013" </s>
|
Which tournament took place on June 18, 2013?
|
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
|
SELECT tournament FROM table_name_94 WHERE date = "june 18, 2013"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR) Question: Which tournament took place on June 18, 2013? [/INST] SELECT tournament FROM table_name_94 WHERE date = "june 18, 2013" </s>
|
What is the average week on November 7, 1976 with an attendance less than 46,735?
|
CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR)
|
SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR) Question: What is the average week on November 7, 1976 with an attendance less than 46,735? [/INST] SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735 ROWS </s>
|
Who is the opponent for week 5?
|
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR)
|
SELECT opponent FROM table_name_96 WHERE week = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR) Question: Who is the opponent for week 5? [/INST] SELECT opponent FROM table_name_96 WHERE week = 5 </s>
|
Tell me the highest overall rank for heat rank more than 4 and lane less than 2
|
CREATE TABLE table_name_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR)
|
SELECT MAX(overall_rank) FROM table_name_68 WHERE heat_rank > 4 AND lane < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR) Question: Tell me the highest overall rank for heat rank more than 4 and lane less than 2 [/INST] SELECT MAX(overall_rank) FROM table_name_68 WHERE heat_rank > 4 AND lane < 2 </s>
|
Who is the partner with a runner-up outcome on April 6, 1992?
|
CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR)
|
SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "april 6, 1992"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR) Question: Who is the partner with a runner-up outcome on April 6, 1992? [/INST] SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "april 6, 1992" </s>
|
What outcome occurs on a hard surface with a score of 4β6, 6β7(3)?
|
CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR)
|
SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4β6, 6β7(3)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR) Question: What outcome occurs on a hard surface with a score of 4β6, 6β7(3)? [/INST] SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4β6, 6β7(3)" </s>
|
On what date did Lori McNeil play as a partner with a score of 6β7(6), 5β7?
|
CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6β7(6), 5β7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR) Question: On what date did Lori McNeil play as a partner with a score of 6β7(6), 5β7? [/INST] SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6β7(6), 5β7" </s>
|
What is the most losses that the Royals had when they had a percentage over 0.461, won over 86 games, and finished 2nd in 1953?
|
CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR)
|
SELECT MAX(losses) FROM table_name_62 WHERE percentage > 0.461 AND wins > 86 AND finish = "2nd" AND year = 1953
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR) Question: What is the most losses that the Royals had when they had a percentage over 0.461, won over 86 games, and finished 2nd in 1953? [/INST] SELECT MAX(losses) FROM table_name_62 WHERE percentage > 0.461 AND wins > 86 AND finish = "2nd" AND year = 1953 </s>
|
Tell the opponent of eastbourne with score of 6β0, 5β7, 3β6
|
CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR)
|
SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6β0, 5β7, 3β6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR) Question: Tell the opponent of eastbourne with score of 6β0, 5β7, 3β6 [/INST] SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6β0, 5β7, 3β6" </s>
|
Tell me the outcome of 2β6, 1β6
|
CREATE TABLE table_name_40 (outcome VARCHAR, score VARCHAR)
|
SELECT outcome FROM table_name_40 WHERE score = "2β6, 1β6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (outcome VARCHAR, score VARCHAR) Question: Tell me the outcome of 2β6, 1β6 [/INST] SELECT outcome FROM table_name_40 WHERE score = "2β6, 1β6" </s>
|
Tell me the surface for eastbourne 14 june 1999
|
CREATE TABLE table_name_6 (surface VARCHAR, tournament VARCHAR, date VARCHAR)
|
SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 1999"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (surface VARCHAR, tournament VARCHAR, date VARCHAR) Question: Tell me the surface for eastbourne 14 june 1999 [/INST] SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 1999" </s>
|
Tell me the category for result of won and year more than 2009
|
CREATE TABLE table_name_77 (category VARCHAR, result VARCHAR, year VARCHAR)
|
SELECT category FROM table_name_77 WHERE result = "won" AND year > 2009
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (category VARCHAR, result VARCHAR, year VARCHAR) Question: Tell me the category for result of won and year more than 2009 [/INST] SELECT category FROM table_name_77 WHERE result = "won" AND year > 2009 </s>
|
Tell me the nominated work larger than 2011
|
CREATE TABLE table_name_54 (nominated_work VARCHAR, year INTEGER)
|
SELECT nominated_work FROM table_name_54 WHERE year > 2011
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (nominated_work VARCHAR, year INTEGER) Question: Tell me the nominated work larger than 2011 [/INST] SELECT nominated_work FROM table_name_54 WHERE year > 2011 </s>
|
Tell me the result for primetime emmy awards
|
CREATE TABLE table_name_94 (result VARCHAR, association VARCHAR)
|
SELECT result FROM table_name_94 WHERE association = "primetime emmy awards"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (result VARCHAR, association VARCHAR) Question: Tell me the result for primetime emmy awards [/INST] SELECT result FROM table_name_94 WHERE association = "primetime emmy awards" </s>
|
What competition was held 1 March 1909?
|
CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR)
|
SELECT competition FROM table_name_31 WHERE date = "1 march 1909"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR) Question: What competition was held 1 March 1909? [/INST] SELECT competition FROM table_name_31 WHERE date = "1 march 1909" </s>
|
Tell me the total number of gold for total less than 1
|
CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER)
|
SELECT COUNT(gold) FROM table_name_62 WHERE total < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER) Question: Tell me the total number of gold for total less than 1 [/INST] SELECT COUNT(gold) FROM table_name_62 WHERE total < 1 </s>
|
Tell me the model for total production of 1347
|
CREATE TABLE table_name_30 (model VARCHAR, total_production VARCHAR)
|
SELECT model FROM table_name_30 WHERE total_production = 1347
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (model VARCHAR, total_production VARCHAR) Question: Tell me the model for total production of 1347 [/INST] SELECT model FROM table_name_30 WHERE total_production = 1347 </s>
|
What is the total amount of Gold from guatemala and silver smaller than 0?
|
CREATE TABLE table_name_88 (gold INTEGER, nation VARCHAR, silver VARCHAR)
|
SELECT SUM(gold) FROM table_name_88 WHERE nation = "guatemala" AND silver < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the total amount of Gold from guatemala and silver smaller than 0? [/INST] SELECT SUM(gold) FROM table_name_88 WHERE nation = "guatemala" AND silver < 0 </s>
|
Tell me the event for 2012 london games
|
CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR)
|
SELECT event FROM table_name_70 WHERE games = "2012 london"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR) Question: Tell me the event for 2012 london games [/INST] SELECT event FROM table_name_70 WHERE games = "2012 london" </s>
|
Tell me the games for men's 5000 metres
|
CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR)
|
SELECT games FROM table_name_18 WHERE event = "men's 5000 metres"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR) Question: Tell me the games for men's 5000 metres [/INST] SELECT games FROM table_name_18 WHERE event = "men's 5000 metres" </s>
|
When did the w 20-19 happen?
|
CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR)
|
SELECT date FROM table_name_72 WHERE result = "w 20-19"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR) Question: When did the w 20-19 happen? [/INST] SELECT date FROM table_name_72 WHERE result = "w 20-19" </s>
|
What was the attendance of the w 28-13 game?
|
CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR)
|
SELECT attendance FROM table_name_61 WHERE result = "w 28-13"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR) Question: What was the attendance of the w 28-13 game? [/INST] SELECT attendance FROM table_name_61 WHERE result = "w 28-13" </s>
|
Tell me the voting turnout for 1985 general elections
|
CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR)
|
SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR) Question: Tell me the voting turnout for 1985 general elections [/INST] SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985 </s>
|
What is total number of wins for England?
|
CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR)
|
SELECT SUM(total) FROM table_name_59 WHERE nation = "england"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR) Question: What is total number of wins for England? [/INST] SELECT SUM(total) FROM table_name_59 WHERE nation = "england" </s>
|
The Soviet Union has won more than 2 Silver, but how many Bronzes?
|
CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR)
|
SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR) Question: The Soviet Union has won more than 2 Silver, but how many Bronzes? [/INST] SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2 </s>
|
Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?
|
CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)
|
SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR) Question: Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997? [/INST] SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close" </s>
|
I want the average for evening gown of 7.52 and swimsuit larger than 7.78
|
CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)
|
SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR) Question: I want the average for evening gown of 7.52 and swimsuit larger than 7.78 [/INST] SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78 </s>
|
Tell me the lowest interview for oklahoma and swimsuit less than 8.8
|
CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)
|
SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR) Question: Tell me the lowest interview for oklahoma and swimsuit less than 8.8 [/INST] SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8 </s>
|
Tell me the sum of evening gown for average of 9.06 and swimsuit less than 8.76
|
CREATE TABLE table_name_53 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR)
|
SELECT SUM(evening_gown) FROM table_name_53 WHERE average = 9.06 AND swimsuit < 8.76
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR) Question: Tell me the sum of evening gown for average of 9.06 and swimsuit less than 8.76 [/INST] SELECT SUM(evening_gown) FROM table_name_53 WHERE average = 9.06 AND swimsuit < 8.76 </s>
|
Tell me the highest interview for north carolina and evening gown more than 7.68
|
CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)
|
SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) Question: Tell me the highest interview for north carolina and evening gown more than 7.68 [/INST] SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68 </s>
|
Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson?
|
CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)
|
SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR) Question: Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson? [/INST] SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson" </s>
|
Tell me the category for 2012 and drama league award
|
CREATE TABLE table_name_92 (category VARCHAR, year VARCHAR, award VARCHAR)
|
SELECT category FROM table_name_92 WHERE year = 2012 AND award = "drama league award"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (category VARCHAR, year VARCHAR, award VARCHAR) Question: Tell me the category for 2012 and drama league award [/INST] SELECT category FROM table_name_92 WHERE year = 2012 AND award = "drama league award" </s>
|
Tell me the highest time for spain and lane larger than 8
|
CREATE TABLE table_name_35 (time INTEGER, country VARCHAR, lane VARCHAR)
|
SELECT MAX(time) FROM table_name_35 WHERE country = "spain" AND lane > 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (time INTEGER, country VARCHAR, lane VARCHAR) Question: Tell me the highest time for spain and lane larger than 8 [/INST] SELECT MAX(time) FROM table_name_35 WHERE country = "spain" AND lane > 8 </s>
|
Tell me the average heat rank for time less than 24.02 and lane of 1
|
CREATE TABLE table_name_15 (heat_rank INTEGER, time VARCHAR, lane VARCHAR)
|
SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (heat_rank INTEGER, time VARCHAR, lane VARCHAR) Question: Tell me the average heat rank for time less than 24.02 and lane of 1 [/INST] SELECT AVG(heat_rank) FROM table_name_15 WHERE time < 24.02 AND lane = 1 </s>
|
Tell me the total number of time for heat rank of 1
|
CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR)
|
SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR) Question: Tell me the total number of time for heat rank of 1 [/INST] SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1 </s>
|
What would the LCD screen size and pixels be for the coolpix 5700?
|
CREATE TABLE table_name_93 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR)
|
SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR) Question: What would the LCD screen size and pixels be for the coolpix 5700? [/INST] SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700" </s>
|
What is the lens zoom and aperture for the coolpix 5400?
|
CREATE TABLE table_name_79 (lens__35mm_equiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
|
SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (lens__35mm_equiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR) Question: What is the lens zoom and aperture for the coolpix 5400? [/INST] SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400" </s>
|
What is the average number of rounds when fighting against Clay Guida?
|
CREATE TABLE table_name_54 (round INTEGER, opponent VARCHAR)
|
SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (round INTEGER, opponent VARCHAR) Question: What is the average number of rounds when fighting against Clay Guida? [/INST] SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida" </s>
|
Where was the fight against Gray Maynard?
|
CREATE TABLE table_name_63 (location VARCHAR, opponent VARCHAR)
|
SELECT location FROM table_name_63 WHERE opponent = "gray maynard"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (location VARCHAR, opponent VARCHAR) Question: Where was the fight against Gray Maynard? [/INST] SELECT location FROM table_name_63 WHERE opponent = "gray maynard" </s>
|
What was the result of the 4:27 fight?
|
CREATE TABLE table_name_51 (res VARCHAR, time VARCHAR)
|
SELECT res FROM table_name_51 WHERE time = "4:27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (res VARCHAR, time VARCHAR) Question: What was the result of the 4:27 fight? [/INST] SELECT res FROM table_name_51 WHERE time = "4:27" </s>
|
What was the record at WEC 24?
|
CREATE TABLE table_name_43 (record VARCHAR, event VARCHAR)
|
SELECT record FROM table_name_43 WHERE event = "wec 24"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (record VARCHAR, event VARCHAR) Question: What was the record at WEC 24? [/INST] SELECT record FROM table_name_43 WHERE event = "wec 24" </s>
|
What was the result when there were less than 3 rounds against Gil Rael?
|
CREATE TABLE table_name_16 (res VARCHAR, round VARCHAR, opponent VARCHAR)
|
SELECT res FROM table_name_16 WHERE round < 3 AND opponent = "gil rael"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (res VARCHAR, round VARCHAR, opponent VARCHAR) Question: What was the result when there were less than 3 rounds against Gil Rael? [/INST] SELECT res FROM table_name_16 WHERE round < 3 AND opponent = "gil rael" </s>
|
What is the amount of assists for richmond kickers and points larger than 24
|
CREATE TABLE table_name_32 (assists INTEGER, club VARCHAR, points VARCHAR)
|
SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (assists INTEGER, club VARCHAR, points VARCHAR) Question: What is the amount of assists for richmond kickers and points larger than 24 [/INST] SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24 </s>
|
What is the average amount of assists with a rank higher than 6 and goals 10 and the scorer is Robert Ukrop
|
CREATE TABLE table_name_10 (assists INTEGER, scorer VARCHAR, rank VARCHAR, goals VARCHAR)
|
SELECT AVG(assists) FROM table_name_10 WHERE rank > 6 AND goals = 10 AND scorer = "robert ukrop"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (assists INTEGER, scorer VARCHAR, rank VARCHAR, goals VARCHAR) Question: What is the average amount of assists with a rank higher than 6 and goals 10 and the scorer is Robert Ukrop [/INST] SELECT AVG(assists) FROM table_name_10 WHERE rank > 6 AND goals = 10 AND scorer = "robert ukrop" </s>
|
Which Tournament has a winner Outcome with a Score of 6β3, 7β5 with Kimberly Po-Messerli as a Partner?
|
CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR)
|
SELECT tournament FROM table_name_85 WHERE outcome = "winner" AND score = "6β3, 7β5" AND partner = "kimberly po-messerli"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, outcome VARCHAR, score VARCHAR) Question: Which Tournament has a winner Outcome with a Score of 6β3, 7β5 with Kimberly Po-Messerli as a Partner? [/INST] SELECT tournament FROM table_name_85 WHERE outcome = "winner" AND score = "6β3, 7β5" AND partner = "kimberly po-messerli" </s>
|
What is the Outcome of the Los Angeles Tournament when the Partner is Julie Halard?
|
CREATE TABLE table_name_8 (outcome VARCHAR, tournament VARCHAR, partner VARCHAR)
|
SELECT outcome FROM table_name_8 WHERE tournament = "los angeles" AND partner = "julie halard"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (outcome VARCHAR, tournament VARCHAR, partner VARCHAR) Question: What is the Outcome of the Los Angeles Tournament when the Partner is Julie Halard? [/INST] SELECT outcome FROM table_name_8 WHERE tournament = "los angeles" AND partner = "julie halard" </s>
|
On what Date is Alexandra Fusai a Partner with a Score of 4β6, 6β3, 6β1?
|
CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4β6, 6β3, 6β1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR) Question: On what Date is Alexandra Fusai a Partner with a Score of 4β6, 6β3, 6β1? [/INST] SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4β6, 6β3, 6β1" </s>
|
Tell me the home of 2-3
|
CREATE TABLE table_name_5 (home VARCHAR, aggregate VARCHAR)
|
SELECT home FROM table_name_5 WHERE aggregate = "2-3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (home VARCHAR, aggregate VARCHAR) Question: Tell me the home of 2-3 [/INST] SELECT home FROM table_name_5 WHERE aggregate = "2-3" </s>
|
How much money did the country with 282 stores make in sales?
|
CREATE TABLE table_name_49 (sales__x1000_ VARCHAR, no_of_stores VARCHAR)
|
SELECT sales__x1000_ FROM table_name_49 WHERE no_of_stores = 282
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (sales__x1000_ VARCHAR, no_of_stores VARCHAR) Question: How much money did the country with 282 stores make in sales? [/INST] SELECT sales__x1000_ FROM table_name_49 WHERE no_of_stores = 282 </s>
|
What is the smallest sales area (mΒ²) that has β¬4,094/mΒ² and more than 2 stores?
|
CREATE TABLE table_name_20 (sales_area__mΒ²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR)
|
SELECT MIN(sales_area__mΒ²_) FROM table_name_20 WHERE sales_per_area = "β¬4,094/mΒ²" AND no_of_stores > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (sales_area__mΒ²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR) Question: What is the smallest sales area (mΒ²) that has β¬4,094/mΒ² and more than 2 stores? [/INST] SELECT MIN(sales_area__mΒ²_) FROM table_name_20 WHERE sales_per_area = "β¬4,094/mΒ²" AND no_of_stores > 2 </s>
|
Tell me the average spectators for 2006-06-21 and time more than 21
|
CREATE TABLE table_name_56 (spectators INTEGER, date VARCHAR, time_cet_ VARCHAR)
|
SELECT AVG(spectators) FROM table_name_56 WHERE date = "2006-06-21" AND time_cet_ > 21
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (spectators INTEGER, date VARCHAR, time_cet_ VARCHAR) Question: Tell me the average spectators for 2006-06-21 and time more than 21 [/INST] SELECT AVG(spectators) FROM table_name_56 WHERE date = "2006-06-21" AND time_cet_ > 21 </s>
|
Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000
|
CREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR)
|
SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 OFFSET 000 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR) Question: Tell me the sum of closed for city of pittsburgh and capacity larger than 59,000 [/INST] SELECT SUM(closed) FROM table_name_73 WHERE city = "pittsburgh" AND capacity > 59 OFFSET 000 ROWS </s>
|
Tell me the lowest closed for capacity of 62,439
|
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)
|
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR) Question: Tell me the lowest closed for capacity of 62,439 [/INST] SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439 ROWS </s>
|
Tell me the college/junior club team for pick of 16
|
CREATE TABLE table_name_5 (college_junior_club_team VARCHAR, pick VARCHAR)
|
SELECT college_junior_club_team FROM table_name_5 WHERE pick = "16"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (college_junior_club_team VARCHAR, pick VARCHAR) Question: Tell me the college/junior club team for pick of 16 [/INST] SELECT college_junior_club_team FROM table_name_5 WHERE pick = "16" </s>
|
Tell me the nationality for pick of 18
|
CREATE TABLE table_name_24 (nationality VARCHAR, pick VARCHAR)
|
SELECT nationality FROM table_name_24 WHERE pick = "18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (nationality VARCHAR, pick VARCHAR) Question: Tell me the nationality for pick of 18 [/INST] SELECT nationality FROM table_name_24 WHERE pick = "18" </s>
|
I want the player for NHL team for mighty ducks of anaheim
|
CREATE TABLE table_name_89 (player VARCHAR, nhl_team VARCHAR)
|
SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anaheim"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (player VARCHAR, nhl_team VARCHAR) Question: I want the player for NHL team for mighty ducks of anaheim [/INST] SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anaheim" </s>
|
I want the NHL team for wade belak
|
CREATE TABLE table_name_87 (nhl_team VARCHAR, player VARCHAR)
|
SELECT nhl_team FROM table_name_87 WHERE player = "wade belak"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (nhl_team VARCHAR, player VARCHAR) Question: I want the NHL team for wade belak [/INST] SELECT nhl_team FROM table_name_87 WHERE player = "wade belak" </s>
|
Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5
|
CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR)
|
SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR) Question: Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5 [/INST] SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5" </s>
|
Tell me the partner for opponents of anamika bhargava sylvia krywacz
|
CREATE TABLE table_name_15 (partner VARCHAR, opponents_in_the_final VARCHAR)
|
SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (partner VARCHAR, opponents_in_the_final VARCHAR) Question: Tell me the partner for opponents of anamika bhargava sylvia krywacz [/INST] SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz" </s>
|
Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7
|
CREATE TABLE table_name_10 (partner VARCHAR, outcome VARCHAR, score VARCHAR)
|
SELECT partner FROM table_name_10 WHERE outcome = "winner" AND score = "7-6 (7) 5-7 10-7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (partner VARCHAR, outcome VARCHAR, score VARCHAR) Question: Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7 [/INST] SELECT partner FROM table_name_10 WHERE outcome = "winner" AND score = "7-6 (7) 5-7 10-7" </s>
|
Tell me the opponents for score of 6-1 2-6 7-10
|
CREATE TABLE table_name_90 (opponents_in_the_final VARCHAR, score VARCHAR)
|
SELECT opponents_in_the_final FROM table_name_90 WHERE score = "6-1 2-6 7-10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (opponents_in_the_final VARCHAR, score VARCHAR) Question: Tell me the opponents for score of 6-1 2-6 7-10 [/INST] SELECT opponents_in_the_final FROM table_name_90 WHERE score = "6-1 2-6 7-10" </s>
|
Tell me the score of misa eguchi eri hozumi
|
CREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR)
|
SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR) Question: Tell me the score of misa eguchi eri hozumi [/INST] SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi" </s>
|
Tell me the date for dinah pfizenmaier anna zaja and winner
|
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"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (date VARCHAR, outcome VARCHAR, opponents VARCHAR) Question: Tell me the date for dinah pfizenmaier anna zaja and winner [/INST] SELECT date FROM table_name_46 WHERE outcome = "winner" AND opponents = "dinah pfizenmaier anna zaja" </s>
|
Tell me the opponents for mashona washington november 21, 2009
|
CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR)
|
SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR) Question: Tell me the opponents for mashona washington november 21, 2009 [/INST] SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009" </s>
|
What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals?
|
CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)
|
SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR) Question: What is the smallest total for a rank below 4, 0 silver medals, and 2 gold medals? [/INST] SELECT MIN(total) FROM table_name_85 WHERE rank < 4 AND silver > 0 AND gold < 2 </s>
|
How many gold medals on average were earned by Italy when they held the rank of 4?
|
CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, rank VARCHAR)
|
SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, rank VARCHAR) Question: How many gold medals on average were earned by Italy when they held the rank of 4? [/INST] SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4 </s>
|
Who is the player from Canada with a 199 pick?
|
CREATE TABLE table_name_75 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
|
SELECT player FROM table_name_75 WHERE nationality = "canada" AND pick = "199"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (player VARCHAR, nationality VARCHAR, pick VARCHAR) Question: Who is the player from Canada with a 199 pick? [/INST] SELECT player FROM table_name_75 WHERE nationality = "canada" AND pick = "199" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.