instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Which college or team has a pick of 196?
|
CREATE TABLE table_name_59 (college_junior_club_team VARCHAR, pick VARCHAR)
|
SELECT college_junior_club_team FROM table_name_59 WHERE pick = "196"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (college_junior_club_team VARCHAR, pick VARCHAR) Question: Which college or team has a pick of 196? [/INST] SELECT college_junior_club_team FROM table_name_59 WHERE pick = "196" </s>
|
What is the pick number for Ray Giroux?
|
CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR)
|
SELECT pick FROM table_name_52 WHERE player = "ray giroux"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR) Question: What is the pick number for Ray Giroux? [/INST] SELECT pick FROM table_name_52 WHERE player = "ray giroux" </s>
|
Tell me the lowest pick number for columbus crew
|
CREATE TABLE table_name_15 (pick__number INTEGER, mls_team VARCHAR)
|
SELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = "columbus crew"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (pick__number INTEGER, mls_team VARCHAR) Question: Tell me the lowest pick number for columbus crew [/INST] SELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = "columbus crew" </s>
|
Tell me the total number of pick for university of portland
|
CREATE TABLE table_name_5 (pick__number VARCHAR, affiliation VARCHAR)
|
SELECT COUNT(pick__number) FROM table_name_5 WHERE affiliation = "university of portland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (pick__number VARCHAR, affiliation VARCHAR) Question: Tell me the total number of pick for university of portland [/INST] SELECT COUNT(pick__number) FROM table_name_5 WHERE affiliation = "university of portland" </s>
|
Tell me the lowest pick number for new england revolution
|
CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR)
|
SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR) Question: Tell me the lowest pick number for new england revolution [/INST] SELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = "new england revolution" </s>
|
Tell me the affiliation for diego walsh
|
CREATE TABLE table_name_87 (affiliation VARCHAR, player VARCHAR)
|
SELECT affiliation FROM table_name_87 WHERE player = "diego walsh"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (affiliation VARCHAR, player VARCHAR) Question: Tell me the affiliation for diego walsh [/INST] SELECT affiliation FROM table_name_87 WHERE player = "diego walsh" </s>
|
Tell me the total number of pick for university of virginia
|
CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR)
|
SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR) Question: Tell me the total number of pick for university of virginia [/INST] SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia" </s>
|
Tell me the D3 compatible for availability of yes for wode jukebox
|
CREATE TABLE table_name_76 (d3_compatible VARCHAR, availability VARCHAR, name VARCHAR)
|
SELECT d3_compatible FROM table_name_76 WHERE availability = "yes" AND name = "wode jukebox"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (d3_compatible VARCHAR, availability VARCHAR, name VARCHAR) Question: Tell me the D3 compatible for availability of yes for wode jukebox [/INST] SELECT d3_compatible FROM table_name_76 WHERE availability = "yes" AND name = "wode jukebox" </s>
|
Tell me the pts for glasgow rocks
|
CREATE TABLE table_name_96 (pts VARCHAR, div VARCHAR)
|
SELECT pts FROM table_name_96 WHERE div = "glasgow rocks"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (pts VARCHAR, div VARCHAR) Question: Tell me the pts for glasgow rocks [/INST] SELECT pts FROM table_name_96 WHERE div = "glasgow rocks" </s>
|
Tell me the season for quarter-final position of 4th
|
CREATE TABLE table_name_97 (season VARCHAR, play_offs VARCHAR, pos VARCHAR)
|
SELECT season FROM table_name_97 WHERE play_offs = "quarter-final" AND pos = "4th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (season VARCHAR, play_offs VARCHAR, pos VARCHAR) Question: Tell me the season for quarter-final position of 4th [/INST] SELECT season FROM table_name_97 WHERE play_offs = "quarter-final" AND pos = "4th" </s>
|
Tell me the average Laps for grid of 6
|
CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR)
|
SELECT AVG(laps) FROM table_name_51 WHERE grid = 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR) Question: Tell me the average Laps for grid of 6 [/INST] SELECT AVG(laps) FROM table_name_51 WHERE grid = 6 </s>
|
Tell me the carburetor for engine of 250-1v i-6
|
CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR)
|
SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (carburetor VARCHAR, engine VARCHAR) Question: Tell me the carburetor for engine of 250-1v i-6 [/INST] SELECT carburetor FROM table_name_69 WHERE engine = "250-1v i-6" </s>
|
Tell me the bore and stroke for Engine of 351-2v cleveland v8
|
CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)
|
SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR) Question: Tell me the bore and stroke for Engine of 351-2v cleveland v8 [/INST] SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8" </s>
|
Which country is ranked number 2 and has less than 5 total medals?
|
CREATE TABLE table_name_61 (silver VARCHAR, rank VARCHAR, total VARCHAR)
|
SELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (silver VARCHAR, rank VARCHAR, total VARCHAR) Question: Which country is ranked number 2 and has less than 5 total medals? [/INST] SELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 5 </s>
|
What is the (MT) time which has kansas city chiefs as an opponent on nov 11?
|
CREATE TABLE table_name_13 (time___mt__ VARCHAR, opponent VARCHAR, date VARCHAR)
|
SELECT time___mt__ FROM table_name_13 WHERE opponent = "kansas city chiefs" AND date = "nov 11"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (time___mt__ VARCHAR, opponent VARCHAR, date VARCHAR) Question: What is the (MT) time which has kansas city chiefs as an opponent on nov 11? [/INST] SELECT time___mt__ FROM table_name_13 WHERE opponent = "kansas city chiefs" AND date = "nov 11" </s>
|
Tell me the opponents for runner-up and surface of grass
|
CREATE TABLE table_name_27 (opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
|
SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Tell me the opponents for runner-up and surface of grass [/INST] SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass" </s>
|
Name the venue for netherlands opponent
|
CREATE TABLE table_name_88 (venue VARCHAR, opponent VARCHAR)
|
SELECT venue FROM table_name_88 WHERE opponent = "netherlands"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (venue VARCHAR, opponent VARCHAR) Question: Name the venue for netherlands opponent [/INST] SELECT venue FROM table_name_88 WHERE opponent = "netherlands" </s>
|
Name the opponent for 10-04-2007
|
CREATE TABLE table_name_46 (opponent VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_46 WHERE date = "10-04-2007"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (opponent VARCHAR, date VARCHAR) Question: Name the opponent for 10-04-2007 [/INST] SELECT opponent FROM table_name_46 WHERE date = "10-04-2007" </s>
|
Name the runs balls for wicket of 3rd for australia opponent
|
CREATE TABLE table_name_9 (runs__balls_ VARCHAR, wicket VARCHAR, opponent VARCHAR)
|
SELECT runs__balls_ FROM table_name_9 WHERE wicket = "3rd" AND opponent = "australia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (runs__balls_ VARCHAR, wicket VARCHAR, opponent VARCHAR) Question: Name the runs balls for wicket of 3rd for australia opponent [/INST] SELECT runs__balls_ FROM table_name_9 WHERE wicket = "3rd" AND opponent = "australia" </s>
|
Name the wicket for 19-03-2007
|
CREATE TABLE table_name_59 (wicket VARCHAR, date VARCHAR)
|
SELECT wicket FROM table_name_59 WHERE date = "19-03-2007"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (wicket VARCHAR, date VARCHAR) Question: Name the wicket for 19-03-2007 [/INST] SELECT wicket FROM table_name_59 WHERE date = "19-03-2007" </s>
|
Which fleet launched on July 30, 1961?
|
CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR)
|
SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR) Question: Which fleet launched on July 30, 1961? [/INST] SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961" </s>
|
Which shipyard has a fleet that was laid down on April 21, 1962?
|
CREATE TABLE table_name_72 (shipyard VARCHAR, laid_down VARCHAR)
|
SELECT shipyard FROM table_name_72 WHERE laid_down = "april 21, 1962"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (shipyard VARCHAR, laid_down VARCHAR) Question: Which shipyard has a fleet that was laid down on April 21, 1962? [/INST] SELECT shipyard FROM table_name_72 WHERE laid_down = "april 21, 1962" </s>
|
What is the status of the fleet that was commissioned on July 28, 1963?
|
CREATE TABLE table_name_9 (status VARCHAR, commissioned VARCHAR)
|
SELECT status FROM table_name_9 WHERE commissioned = "july 28, 1963"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (status VARCHAR, commissioned VARCHAR) Question: What is the status of the fleet that was commissioned on July 28, 1963? [/INST] SELECT status FROM table_name_9 WHERE commissioned = "july 28, 1963" </s>
|
Tell me the launched for august 31, 1964
|
CREATE TABLE table_name_23 (launched VARCHAR, commissioned VARCHAR)
|
SELECT launched FROM table_name_23 WHERE commissioned = "august 31, 1964"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (launched VARCHAR, commissioned VARCHAR) Question: Tell me the launched for august 31, 1964 [/INST] SELECT launched FROM table_name_23 WHERE commissioned = "august 31, 1964" </s>
|
Tell me what was commissioned december 30, 1965
|
CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR)
|
SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR) Question: Tell me what was commissioned december 30, 1965 [/INST] SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965" </s>
|
Which episode with a demo of 0.7/3 was the lowest?
|
CREATE TABLE table_name_29 (episode__number INTEGER, demo VARCHAR)
|
SELECT MIN(episode__number) FROM table_name_29 WHERE demo = "0.7/3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (episode__number INTEGER, demo VARCHAR) Question: Which episode with a demo of 0.7/3 was the lowest? [/INST] SELECT MIN(episode__number) FROM table_name_29 WHERE demo = "0.7/3" </s>
|
When is the air date that demo-ed at 1.6/5?
|
CREATE TABLE table_name_48 (air_date VARCHAR, demo VARCHAR)
|
SELECT air_date FROM table_name_48 WHERE demo = "1.6/5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (air_date VARCHAR, demo VARCHAR) Question: When is the air date that demo-ed at 1.6/5? [/INST] SELECT air_date FROM table_name_48 WHERE demo = "1.6/5" </s>
|
For demo 1.6/5, what is the title?
|
CREATE TABLE table_name_37 (title VARCHAR, demo VARCHAR)
|
SELECT title FROM table_name_37 WHERE demo = "1.6/5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (title VARCHAR, demo VARCHAR) Question: For demo 1.6/5, what is the title? [/INST] SELECT title FROM table_name_37 WHERE demo = "1.6/5" </s>
|
What date was gabriela paz-franco the opponent?
|
CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_2 WHERE opponent = "gabriela paz-franco"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR) Question: What date was gabriela paz-franco the opponent? [/INST] SELECT date FROM table_name_2 WHERE opponent = "gabriela paz-franco" </s>
|
What surface was the game played on for the September 13, 2009 match?
|
CREATE TABLE table_name_43 (surface VARCHAR, date VARCHAR)
|
SELECT surface FROM table_name_43 WHERE date = "september 13, 2009"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (surface VARCHAR, date VARCHAR) Question: What surface was the game played on for the September 13, 2009 match? [/INST] SELECT surface FROM table_name_43 WHERE date = "september 13, 2009" </s>
|
On which track did Takashi Kogure hold pole position?
|
CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR)
|
SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (track VARCHAR, pole_position VARCHAR) Question: On which track did Takashi Kogure hold pole position? [/INST] SELECT track FROM table_name_86 WHERE pole_position = "takashi kogure" </s>
|
On round 3 for Arting Team Impul, who held pole position?
|
CREATE TABLE table_name_33 (pole_position VARCHAR, team VARCHAR, round VARCHAR)
|
SELECT pole_position FROM table_name_33 WHERE team = "arting team impul" AND round = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (pole_position VARCHAR, team VARCHAR, round VARCHAR) Question: On round 3 for Arting Team Impul, who held pole position? [/INST] SELECT pole_position FROM table_name_33 WHERE team = "arting team impul" AND round = 3 </s>
|
Who was the winner when Katsuyuki Hiranaka had the fastest lap?
|
CREATE TABLE table_name_89 (winner VARCHAR, fastest_lap VARCHAR)
|
SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (winner VARCHAR, fastest_lap VARCHAR) Question: Who was the winner when Katsuyuki Hiranaka had the fastest lap? [/INST] SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka" </s>
|
Before round 9, when Takashi Kogure held pole position, who was the team?
|
CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR)
|
SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = "takashi kogure"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (team VARCHAR, round VARCHAR, pole_position VARCHAR) Question: Before round 9, when Takashi Kogure held pole position, who was the team? [/INST] SELECT team FROM table_name_85 WHERE round < 9 AND pole_position = "takashi kogure" </s>
|
Tell me the MPEG-2 of yes and MPEG-1 of yes
|
CREATE TABLE table_name_86 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR)
|
SELECT realvideo FROM table_name_86 WHERE mpeg_2 = "yes" AND mpeg_1 = "yes"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR) Question: Tell me the MPEG-2 of yes and MPEG-1 of yes [/INST] SELECT realvideo FROM table_name_86 WHERE mpeg_2 = "yes" AND mpeg_1 = "yes" </s>
|
Tell me the MPEG-1 for real video of no
|
CREATE TABLE table_name_77 (mpeg_1 VARCHAR, realvideo VARCHAR)
|
SELECT mpeg_1 FROM table_name_77 WHERE realvideo = "no"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (mpeg_1 VARCHAR, realvideo VARCHAR) Question: Tell me the MPEG-1 for real video of no [/INST] SELECT mpeg_1 FROM table_name_77 WHERE realvideo = "no" </s>
|
Tell me the affiliation for mls team of metrostars and pick number of 26
|
CREATE TABLE table_name_28 (affiliation VARCHAR, mls_team VARCHAR, pick__number VARCHAR)
|
SELECT affiliation FROM table_name_28 WHERE mls_team = "metrostars" AND pick__number = 26
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (affiliation VARCHAR, mls_team VARCHAR, pick__number VARCHAR) Question: Tell me the affiliation for mls team of metrostars and pick number of 26 [/INST] SELECT affiliation FROM table_name_28 WHERE mls_team = "metrostars" AND pick__number = 26 </s>
|
Tell me the total number of picks for position of m of williams college
|
CREATE TABLE table_name_9 (pick__number VARCHAR, position VARCHAR, affiliation VARCHAR)
|
SELECT COUNT(pick__number) FROM table_name_9 WHERE position = "m" AND affiliation = "williams college"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (pick__number VARCHAR, position VARCHAR, affiliation VARCHAR) Question: Tell me the total number of picks for position of m of williams college [/INST] SELECT COUNT(pick__number) FROM table_name_9 WHERE position = "m" AND affiliation = "williams college" </s>
|
who was the runner-up in the 1915 competition for 'Articles with HCards'?
|
CREATE TABLE table_name_25 (runner_up VARCHAR, year VARCHAR)
|
SELECT runner_up FROM table_name_25 WHERE year = 1915
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (runner_up VARCHAR, year VARCHAR) Question: who was the runner-up in the 1915 competition for 'Articles with HCards'? [/INST] SELECT runner_up FROM table_name_25 WHERE year = 1915 </s>
|
Who was the runner-up in 1887 competition for 'Articles with HCards'?
|
CREATE TABLE table_name_39 (runner_up VARCHAR, year VARCHAR)
|
SELECT runner_up FROM table_name_39 WHERE year = 1887
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (runner_up VARCHAR, year VARCHAR) Question: Who was the runner-up in 1887 competition for 'Articles with HCards'? [/INST] SELECT runner_up FROM table_name_39 WHERE year = 1887 </s>
|
What is the home team score when the away team is Collingwood?
|
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team AS score FROM table_name_36 WHERE away_team = "collingwood"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team score when the away team is Collingwood? [/INST] SELECT home_team AS score FROM table_name_36 WHERE away_team = "collingwood" </s>
|
what fleet is associated with the number L4?
|
CREATE TABLE table_name_61 (fleet VARCHAR, number VARCHAR)
|
SELECT fleet FROM table_name_61 WHERE number = "l4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (fleet VARCHAR, number VARCHAR) Question: what fleet is associated with the number L4? [/INST] SELECT fleet FROM table_name_61 WHERE number = "l4" </s>
|
what number is associated with the baltic fleet and leninets (ленинец)?
|
CREATE TABLE table_name_49 (number VARCHAR, fleet VARCHAR, name VARCHAR)
|
SELECT number FROM table_name_49 WHERE fleet = "baltic" AND name = "leninets (ленинец)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (number VARCHAR, fleet VARCHAR, name VARCHAR) Question: what number is associated with the baltic fleet and leninets (ленинец)? [/INST] SELECT number FROM table_name_49 WHERE fleet = "baltic" AND name = "leninets (ленинец)" </s>
|
when was garibaldets (гарибальдиец) launched?
|
CREATE TABLE table_name_94 (launched VARCHAR, name VARCHAR)
|
SELECT launched FROM table_name_94 WHERE name = "garibaldets (гарибальдиец)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (launched VARCHAR, name VARCHAR) Question: when was garibaldets (гарибальдиец) launched? [/INST] SELECT launched FROM table_name_94 WHERE name = "garibaldets (гарибальдиец)" </s>
|
when was the number l6, with a fleet of black sea, launched?
|
CREATE TABLE table_name_86 (launched VARCHAR, fleet VARCHAR, number VARCHAR)
|
SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (launched VARCHAR, fleet VARCHAR, number VARCHAR) Question: when was the number l6, with a fleet of black sea, launched? [/INST] SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6" </s>
|
what number is associated with the name chartist (чартист)?
|
CREATE TABLE table_name_85 (number VARCHAR, name VARCHAR)
|
SELECT number FROM table_name_85 WHERE name = "chartist (чартист)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (number VARCHAR, name VARCHAR) Question: what number is associated with the name chartist (чартист)? [/INST] SELECT number FROM table_name_85 WHERE name = "chartist (чартист)" </s>
|
What date did the VFL play Punt Road Oval?
|
CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR)
|
SELECT date FROM table_name_90 WHERE venue = "punt road oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR) Question: What date did the VFL play Punt Road Oval? [/INST] SELECT date FROM table_name_90 WHERE venue = "punt road oval" </s>
|
Who played home team at the Arden Street Oval game?
|
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)
|
SELECT home_team FROM table_name_99 WHERE venue = "arden street oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR) Question: Who played home team at the Arden Street Oval game? [/INST] SELECT home_team FROM table_name_99 WHERE venue = "arden street oval" </s>
|
How much did the away team score at Victoria park?
|
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
|
SELECT away_team AS score FROM table_name_84 WHERE venue = "victoria park"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR) Question: How much did the away team score at Victoria park? [/INST] SELECT away_team AS score FROM table_name_84 WHERE venue = "victoria park" </s>
|
What date was the ensemble in North East England closed?
|
CREATE TABLE table_name_70 (closure_date VARCHAR, region VARCHAR)
|
SELECT closure_date FROM table_name_70 WHERE region = "north east england"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (closure_date VARCHAR, region VARCHAR) Question: What date was the ensemble in North East England closed? [/INST] SELECT closure_date FROM table_name_70 WHERE region = "north east england" </s>
|
What was the operator of the ensemble from Yorkshire?
|
CREATE TABLE table_name_89 (operator VARCHAR, region VARCHAR)
|
SELECT operator FROM table_name_89 WHERE region = "yorkshire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (operator VARCHAR, region VARCHAR) Question: What was the operator of the ensemble from Yorkshire? [/INST] SELECT operator FROM table_name_89 WHERE region = "yorkshire" </s>
|
When was the ensemble closed that went on air in June 2003?
|
CREATE TABLE table_name_96 (closure_date VARCHAR, on_air_date VARCHAR)
|
SELECT closure_date FROM table_name_96 WHERE on_air_date = "june 2003"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (closure_date VARCHAR, on_air_date VARCHAR) Question: When was the ensemble closed that went on air in June 2003? [/INST] SELECT closure_date FROM table_name_96 WHERE on_air_date = "june 2003" </s>
|
What was the license award date for the ensemble from South Wales and the Severn Estuary that was on air in July 2001?
|
CREATE TABLE table_name_67 (licence_award_date VARCHAR, on_air_date VARCHAR, region VARCHAR)
|
SELECT licence_award_date FROM table_name_67 WHERE on_air_date = "july 2001" AND region = "south wales and the severn estuary"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (licence_award_date VARCHAR, on_air_date VARCHAR, region VARCHAR) Question: What was the license award date for the ensemble from South Wales and the Severn Estuary that was on air in July 2001? [/INST] SELECT licence_award_date FROM table_name_67 WHERE on_air_date = "july 2001" AND region = "south wales and the severn estuary" </s>
|
What is the operator of the ensemble from Yorkshire?
|
CREATE TABLE table_name_99 (operator VARCHAR, region VARCHAR)
|
SELECT operator FROM table_name_99 WHERE region = "yorkshire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (operator VARCHAR, region VARCHAR) Question: What is the operator of the ensemble from Yorkshire? [/INST] SELECT operator FROM table_name_99 WHERE region = "yorkshire" </s>
|
Who was the home team when attendance was over 41,846?
|
CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER)
|
SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER) Question: Who was the home team when attendance was over 41,846? [/INST] SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846 ROWS </s>
|
Where did Collingwood play as the home team?
|
CREATE TABLE table_name_28 (venue VARCHAR, home_team VARCHAR)
|
SELECT venue FROM table_name_28 WHERE home_team = "collingwood"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (venue VARCHAR, home_team VARCHAR) Question: Where did Collingwood play as the home team? [/INST] SELECT venue FROM table_name_28 WHERE home_team = "collingwood" </s>
|
What was South Melbourne's score when they played as the home team?
|
CREATE TABLE table_name_9 (home_team VARCHAR)
|
SELECT home_team AS score FROM table_name_9 WHERE home_team = "south melbourne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (home_team VARCHAR) Question: What was South Melbourne's score when they played as the home team? [/INST] SELECT home_team AS score FROM table_name_9 WHERE home_team = "south melbourne" </s>
|
What was the attendance when the VFL played Lake Oval?
|
CREATE TABLE table_name_44 (crowd VARCHAR, venue VARCHAR)
|
SELECT COUNT(crowd) FROM table_name_44 WHERE venue = "lake oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (crowd VARCHAR, venue VARCHAR) Question: What was the attendance when the VFL played Lake Oval? [/INST] SELECT COUNT(crowd) FROM table_name_44 WHERE venue = "lake oval" </s>
|
What is the Winning Team with Rick Mears' and Kraco Twin 125 (R1)?
|
CREATE TABLE table_name_80 (winning_team VARCHAR, winning_driver VARCHAR, name VARCHAR)
|
SELECT winning_team FROM table_name_80 WHERE winning_driver = "rick mears" AND name = "kraco twin 125 (r1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (winning_team VARCHAR, winning_driver VARCHAR, name VARCHAR) Question: What is the Winning Team with Rick Mears' and Kraco Twin 125 (R1)? [/INST] SELECT winning_team FROM table_name_80 WHERE winning_driver = "rick mears" AND name = "kraco twin 125 (r1)" </s>
|
What is Penske Racing's name?
|
CREATE TABLE table_name_52 (name VARCHAR, winning_team VARCHAR)
|
SELECT name FROM table_name_52 WHERE winning_team = "penske racing"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (name VARCHAR, winning_team VARCHAR) Question: What is Penske Racing's name? [/INST] SELECT name FROM table_name_52 WHERE winning_team = "penske racing" </s>
|
Who is the winning driver of Penske Racing, and what was Rick Mears' pole position?
|
CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
|
SELECT winning_driver FROM table_name_30 WHERE winning_team = "penske racing" AND pole_position = "rick mears"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: Who is the winning driver of Penske Racing, and what was Rick Mears' pole position? [/INST] SELECT winning_driver FROM table_name_30 WHERE winning_team = "penske racing" AND pole_position = "rick mears" </s>
|
Who was Kraco Twin 125 (R2)'s Winning Driver?
|
CREATE TABLE table_name_6 (winning_driver VARCHAR, name VARCHAR)
|
SELECT winning_driver FROM table_name_6 WHERE name = "kraco twin 125 (r2)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (winning_driver VARCHAR, name VARCHAR) Question: Who was Kraco Twin 125 (R2)'s Winning Driver? [/INST] SELECT winning_driver FROM table_name_6 WHERE name = "kraco twin 125 (r2)" </s>
|
What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole position?
|
CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
|
SELECT report FROM table_name_68 WHERE winning_team = "penske racing" AND pole_position = "rick mears"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole position? [/INST] SELECT report FROM table_name_68 WHERE winning_team = "penske racing" AND pole_position = "rick mears" </s>
|
What is the Pole Position for Winning Team Penske Racing, and the Name of II Copa Mexico 150?
|
CREATE TABLE table_name_41 (pole_position VARCHAR, winning_team VARCHAR, name VARCHAR)
|
SELECT pole_position FROM table_name_41 WHERE winning_team = "penske racing" AND name = "ii copa mexico 150"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (pole_position VARCHAR, winning_team VARCHAR, name VARCHAR) Question: What is the Pole Position for Winning Team Penske Racing, and the Name of II Copa Mexico 150? [/INST] SELECT pole_position FROM table_name_41 WHERE winning_team = "penske racing" AND name = "ii copa mexico 150" </s>
|
Who was the away team at the game held at Brunswick Street Oval?
|
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
|
SELECT away_team FROM table_name_45 WHERE venue = "brunswick street oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR) Question: Who was the away team at the game held at Brunswick Street Oval? [/INST] SELECT away_team FROM table_name_45 WHERE venue = "brunswick street oval" </s>
|
What was the largest crowd at a game where Collingwood was the away team?
|
CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)
|
SELECT MAX(crowd) FROM table_name_13 WHERE away_team = "collingwood"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR) Question: What was the largest crowd at a game where Collingwood was the away team? [/INST] SELECT MAX(crowd) FROM table_name_13 WHERE away_team = "collingwood" </s>
|
For the group with 1.92% population in 1981, what was their percentage of the population in 1971?
|
CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
|
SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR) Question: For the group with 1.92% population in 1981, what was their percentage of the population in 1971? [/INST] SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%" </s>
|
For the group with 1.79% population in 1961, what was their percentage of the population in 1971?
|
CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR)
|
SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR) Question: For the group with 1.79% population in 1961, what was their percentage of the population in 1971? [/INST] SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%" </s>
|
Which province and flag has a water area (km 2) of 0?
|
CREATE TABLE table_name_40 (name_and_flag VARCHAR, water_area__km_2__ VARCHAR)
|
SELECT name_and_flag FROM table_name_40 WHERE water_area__km_2__ = 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (name_and_flag VARCHAR, water_area__km_2__ VARCHAR) Question: Which province and flag has a water area (km 2) of 0? [/INST] SELECT name_and_flag FROM table_name_40 WHERE water_area__km_2__ = 0 </s>
|
When did the Browns play the Pittsburgh Steelers?
|
CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_80 WHERE opponent = "pittsburgh steelers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR) Question: When did the Browns play the Pittsburgh Steelers? [/INST] SELECT date FROM table_name_80 WHERE opponent = "pittsburgh steelers" </s>
|
Who is the home side when north melbourne is the away side?
|
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) Question: Who is the home side when north melbourne is the away side? [/INST] SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne" </s>
|
Where was the game played where Collingwood was the away team?
|
CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)
|
SELECT venue FROM table_name_99 WHERE away_team = "collingwood"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR) Question: Where was the game played where Collingwood was the away team? [/INST] SELECT venue FROM table_name_99 WHERE away_team = "collingwood" </s>
|
What was the total tenure time with a rank of 49?
|
CREATE TABLE table_name_3 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR)
|
SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR) Question: What was the total tenure time with a rank of 49? [/INST] SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49 </s>
|
Who did Teo Fabi drive for when he won and had pole position?
|
CREATE TABLE table_name_74 (winning_team VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
|
SELECT winning_team FROM table_name_74 WHERE winning_driver = "teo fabi" AND pole_position = "teo fabi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (winning_team VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) Question: Who did Teo Fabi drive for when he won and had pole position? [/INST] SELECT winning_team FROM table_name_74 WHERE winning_driver = "teo fabi" AND pole_position = "teo fabi" </s>
|
Who won for Forsythe Racing when Bobby Rahal had pole position?
|
CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
|
SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: Who won for Forsythe Racing when Bobby Rahal had pole position? [/INST] SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal" </s>
|
Which team had the fastest lap of 1:13.516?
|
CREATE TABLE table_name_47 (winning_team VARCHAR, fastest_lap VARCHAR)
|
SELECT winning_team FROM table_name_47 WHERE fastest_lap = "1:13.516"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (winning_team VARCHAR, fastest_lap VARCHAR) Question: Which team had the fastest lap of 1:13.516? [/INST] SELECT winning_team FROM table_name_47 WHERE fastest_lap = "1:13.516" </s>
|
Who had the fastest lap when Al Unser won?
|
CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR)
|
SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR) Question: Who had the fastest lap when Al Unser won? [/INST] SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser" </s>
|
What is the maximum number of players for the sega game, hang-on (cartridge version)?
|
CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)
|
SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_title___alternate_title_s_ = "hang-on (cartridge version)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR) Question: What is the maximum number of players for the sega game, hang-on (cartridge version)? [/INST] SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_title___alternate_title_s_ = "hang-on (cartridge version)" </s>
|
Which Away team has a Score of 4–2?
|
CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR)
|
SELECT away_team FROM table_name_33 WHERE score = "4–2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR) Question: Which Away team has a Score of 4–2? [/INST] SELECT away_team FROM table_name_33 WHERE score = "4–2" </s>
|
Which Home team has an Away team of al-ain fc, and a Year of 2002/03?
|
CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR, year VARCHAR)
|
SELECT home_team FROM table_name_60 WHERE away_team = "al-ain fc" AND year = "2002/03"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR, year VARCHAR) Question: Which Home team has an Away team of al-ain fc, and a Year of 2002/03? [/INST] SELECT home_team FROM table_name_60 WHERE away_team = "al-ain fc" AND year = "2002/03" </s>
|
Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium?
|
CREATE TABLE table_name_35 (home_team VARCHAR, year VARCHAR, venue VARCHAR)
|
SELECT home_team FROM table_name_35 WHERE year = "2002/03" AND venue = "tahnoun bin mohamed stadium"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (home_team VARCHAR, year VARCHAR, venue VARCHAR) Question: Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium? [/INST] SELECT home_team FROM table_name_35 WHERE year = "2002/03" AND venue = "tahnoun bin mohamed stadium" </s>
|
Which Away team has a Home team of al-ain fc, and a Score of 1–1?
|
CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)
|
SELECT away_team FROM table_name_58 WHERE home_team = "al-ain fc" AND score = "1–1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR) Question: Which Away team has a Home team of al-ain fc, and a Score of 1–1? [/INST] SELECT away_team FROM table_name_58 WHERE home_team = "al-ain fc" AND score = "1–1" </s>
|
What is the attendance of the game that was played on September 27, 1964?
|
CREATE TABLE table_name_85 (attendance INTEGER, date VARCHAR)
|
SELECT MAX(attendance) FROM table_name_85 WHERE date = "september 27, 1964"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (attendance INTEGER, date VARCHAR) Question: What is the attendance of the game that was played on September 27, 1964? [/INST] SELECT MAX(attendance) FROM table_name_85 WHERE date = "september 27, 1964" </s>
|
What is the home side's score when geelong is the away team?
|
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) Question: What is the home side's score when geelong is the away team? [/INST] SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong" </s>
|
What was the score of the tournament that was held in 1974?
|
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, date VARCHAR)
|
SELECT score_in_the_final FROM table_name_92 WHERE date = 1974
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (score_in_the_final VARCHAR, date VARCHAR) Question: What was the score of the tournament that was held in 1974? [/INST] SELECT score_in_the_final FROM table_name_92 WHERE date = 1974 </s>
|
What was the date when South Melbourne was the home team?
|
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
|
SELECT date FROM table_name_14 WHERE home_team = "south melbourne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR) Question: What was the date when South Melbourne was the home team? [/INST] SELECT date FROM table_name_14 WHERE home_team = "south melbourne" </s>
|
Where did Hawthorn play as home team?
|
CREATE TABLE table_name_29 (venue VARCHAR, home_team VARCHAR)
|
SELECT venue FROM table_name_29 WHERE home_team = "hawthorn"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (venue VARCHAR, home_team VARCHAR) Question: Where did Hawthorn play as home team? [/INST] SELECT venue FROM table_name_29 WHERE home_team = "hawthorn" </s>
|
When the VFL played Brunswick Street Oval what was the home team score?
|
CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)
|
SELECT home_team AS score FROM table_name_20 WHERE venue = "brunswick street oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR) Question: When the VFL played Brunswick Street Oval what was the home team score? [/INST] SELECT home_team AS score FROM table_name_20 WHERE venue = "brunswick street oval" </s>
|
Where did Geelong play as the away team?
|
CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR)
|
SELECT venue FROM table_name_9 WHERE away_team = "geelong"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) Question: Where did Geelong play as the away team? [/INST] SELECT venue FROM table_name_9 WHERE away_team = "geelong" </s>
|
What was the attendance when Fitzroy played as home team?
|
CREATE TABLE table_name_2 (crowd VARCHAR, home_team VARCHAR)
|
SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (crowd VARCHAR, home_team VARCHAR) Question: What was the attendance when Fitzroy played as home team? [/INST] SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy" </s>
|
What was the attendance when Hawthorn played as home team?
|
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)
|
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) Question: What was the attendance when Hawthorn played as home team? [/INST] SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn" </s>
|
What engine did Casey Mears use on the Reynard 01i Chassis?
|
CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
|
SELECT engine FROM table_name_24 WHERE chassis = "reynard 01i" AND drivers = "casey mears"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR) Question: What engine did Casey Mears use on the Reynard 01i Chassis? [/INST] SELECT engine FROM table_name_24 WHERE chassis = "reynard 01i" AND drivers = "casey mears" </s>
|
What Chassis did Memo Gidley use?
|
CREATE TABLE table_name_37 (chassis VARCHAR, drivers VARCHAR)
|
SELECT chassis FROM table_name_37 WHERE drivers = "memo gidley"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (chassis VARCHAR, drivers VARCHAR) Question: What Chassis did Memo Gidley use? [/INST] SELECT chassis FROM table_name_37 WHERE drivers = "memo gidley" </s>
|
Who used the Honda Engine for all the races?
|
CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR)
|
SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR) Question: Who used the Honda Engine for all the races? [/INST] SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all" </s>
|
What is the location of the 200m backstroke?
|
CREATE TABLE table_name_75 (location VARCHAR, event VARCHAR)
|
SELECT location FROM table_name_75 WHERE event = "200m backstroke"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (location VARCHAR, event VARCHAR) Question: What is the location of the 200m backstroke? [/INST] SELECT location FROM table_name_75 WHERE event = "200m backstroke" </s>
|
Which circuit did Guy Edwards win?
|
CREATE TABLE table_name_11 (circuit VARCHAR, winning_driver VARCHAR)
|
SELECT circuit FROM table_name_11 WHERE winning_driver = "guy edwards"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (circuit VARCHAR, winning_driver VARCHAR) Question: Which circuit did Guy Edwards win? [/INST] SELECT circuit FROM table_name_11 WHERE winning_driver = "guy edwards" </s>
|
What circuit did Rupert Keegan win in round 8?
|
CREATE TABLE table_name_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)
|
SELECT circuit FROM table_name_21 WHERE winning_driver = "rupert keegan" AND round = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR) Question: What circuit did Rupert Keegan win in round 8? [/INST] SELECT circuit FROM table_name_21 WHERE winning_driver = "rupert keegan" AND round = 8 </s>
|
Who won Silverstone in a round after 10?
|
CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)
|
SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR) Question: Who won Silverstone in a round after 10? [/INST] SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone" </s>
|
What rank did actor Aaron Pedersen's character have?
|
CREATE TABLE table_name_44 (rank VARCHAR, actor_actress VARCHAR)
|
SELECT rank FROM table_name_44 WHERE actor_actress = "aaron pedersen"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (rank VARCHAR, actor_actress VARCHAR) Question: What rank did actor Aaron Pedersen's character have? [/INST] SELECT rank FROM table_name_44 WHERE actor_actress = "aaron pedersen" </s>
|
What years were actress Nadine Garner on the show?
|
CREATE TABLE table_name_75 (tenure VARCHAR, actor_actress VARCHAR)
|
SELECT tenure FROM table_name_75 WHERE actor_actress = "nadine garner"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (tenure VARCHAR, actor_actress VARCHAR) Question: What years were actress Nadine Garner on the show? [/INST] SELECT tenure FROM table_name_75 WHERE actor_actress = "nadine garner" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.