instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Which term in office has a qld state, a Party of labor, and an Electorate of fisher? | CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR) | SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR) Question: Which term in office has a qld state, a Party of labor, and an Electorate of fisher? [/INST] SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher" </s> |
Which member has an Electorate of kennedy? | CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_50 WHERE electorate = "kennedy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR) Question: Which member has an Electorate of kennedy? [/INST] SELECT member FROM table_name_50 WHERE electorate = "kennedy" </s> |
Which Party has a Member of david jull? | CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR) | SELECT party FROM table_name_75 WHERE member = "david jull" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR) Question: Which Party has a Member of david jull? [/INST] SELECT party FROM table_name_75 WHERE member = "david jull" </s> |
Which term in office has an Electorate of hinkler? | CREATE TABLE table_name_65 (term_in_office VARCHAR, electorate VARCHAR) | SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (term_in_office VARCHAR, electorate VARCHAR) Question: Which term in office has an Electorate of hinkler? [/INST] SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler" </s> |
Which Electorate has a State of qld, a Party of national, and a Member of hon evan adermann? | CREATE TABLE table_name_31 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) | SELECT electorate FROM table_name_31 WHERE state = "qld" AND party = "national" AND member = "hon evan adermann" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) Question: Which Electorate has a State of qld, a Party of national, and a Member of hon evan adermann? [/INST] SELECT electorate FROM table_name_31 WHERE state = "qld" AND party = "national" AND member = "hon evan adermann" </s> |
Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner? | CREATE TABLE table_name_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR) | SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR) Question: Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner? [/INST] SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner" </s> |
What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109? | CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR) | SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR) Question: What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109? [/INST] SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109 </s> |
Name the most laps for corvette racing in 2004 | CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR) | SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR) Question: Name the most laps for corvette racing in 2004 [/INST] SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004 </s> |
Name the class for 4th position with year before 2006 | CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR) | SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR) Question: Name the class for 4th position with year before 2006 [/INST] SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006 </s> |
Name the total number of laps for 23rd position | CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR) | SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR) Question: Name the total number of laps for 23rd position [/INST] SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd" </s> |
Name the team with laps less than 315 and co-drivers of david brabham franck lagorce? | CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR) | SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR) Question: Name the team with laps less than 315 and co-drivers of david brabham franck lagorce? [/INST] SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce" </s> |
Name the team for co-drivers of david brabham mario andretti | CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) | SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) Question: Name the team for co-drivers of david brabham mario andretti [/INST] SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti" </s> |
Name the highest year with points more than 0 | CREATE TABLE table_name_90 (year INTEGER, points INTEGER) | SELECT MAX(year) FROM table_name_90 WHERE points > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year INTEGER, points INTEGER) Question: Name the highest year with points more than 0 [/INST] SELECT MAX(year) FROM table_name_90 WHERE points > 0 </s> |
Name the highest points when year is more than 1953 | CREATE TABLE table_name_8 (points INTEGER, year INTEGER) | SELECT MAX(points) FROM table_name_8 WHERE year > 1953 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (points INTEGER, year INTEGER) Question: Name the highest points when year is more than 1953 [/INST] SELECT MAX(points) FROM table_name_8 WHERE year > 1953 </s> |
Name the engine when points are 0 and chassis is kuzma indy roadster for 1954 | CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR) Question: Name the engine when points are 0 and chassis is kuzma indy roadster for 1954 [/INST] SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954 </s> |
Name the least points with chassis of kurtis kraft 3000 and year before 1951 | CREATE TABLE table_name_92 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_92 WHERE chassis = "kurtis kraft 3000" AND year < 1951 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: Name the least points with chassis of kurtis kraft 3000 and year before 1951 [/INST] SELECT MIN(points) FROM table_name_92 WHERE chassis = "kurtis kraft 3000" AND year < 1951 </s> |
What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611? | CREATE TABLE table_name_31 (pioneer INTEGER, year VARCHAR, sarina VARCHAR) | SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (pioneer INTEGER, year VARCHAR, sarina VARCHAR) Question: What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611? [/INST] SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611 ROWS </s> |
What is the year of the TV series directed by Soroush Sehat? | CREATE TABLE table_name_1 (year VARCHAR, director VARCHAR) | SELECT year FROM table_name_1 WHERE director = "soroush sehat" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (year VARCHAR, director VARCHAR) Question: What is the year of the TV series directed by Soroush Sehat? [/INST] SELECT year FROM table_name_1 WHERE director = "soroush sehat" </s> |
What is the title of the TV series with a character of Sheyda/Ashraf? | CREATE TABLE table_name_54 (title VARCHAR, character VARCHAR) | SELECT title FROM table_name_54 WHERE character = "sheyda/ashraf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (title VARCHAR, character VARCHAR) Question: What is the title of the TV series with a character of Sheyda/Ashraf? [/INST] SELECT title FROM table_name_54 WHERE character = "sheyda/ashraf" </s> |
What is the year of the TV series that has a character of Leiloon Bala Barareh? | CREATE TABLE table_name_88 (year VARCHAR, character VARCHAR) | SELECT year FROM table_name_88 WHERE character = "leiloon bala barareh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (year VARCHAR, character VARCHAR) Question: What is the year of the TV series that has a character of Leiloon Bala Barareh? [/INST] SELECT year FROM table_name_88 WHERE character = "leiloon bala barareh" </s> |
What is the title of the TV series in 2012? | CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR) | SELECT title FROM table_name_70 WHERE year = "2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR) Question: What is the title of the TV series in 2012? [/INST] SELECT title FROM table_name_70 WHERE year = "2012" </s> |
Who published Star Citizen in 2014? | CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR) | SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR) Question: Who published Star Citizen in 2014? [/INST] SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen" </s> |
Which title was developed by Battlecry Studios? | CREATE TABLE table_name_96 (title VARCHAR, developer VARCHAR) | SELECT title FROM table_name_96 WHERE developer = "battlecry studios" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (title VARCHAR, developer VARCHAR) Question: Which title was developed by Battlecry Studios? [/INST] SELECT title FROM table_name_96 WHERE developer = "battlecry studios" </s> |
How many people were at the match on July 13/ | CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_66 WHERE date = "july 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR) Question: How many people were at the match on July 13/ [/INST] SELECT attendance FROM table_name_66 WHERE date = "july 13" </s> |
Who was the opponent on July 27? | CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_44 WHERE date = "july 27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on July 27? [/INST] SELECT opponent FROM table_name_44 WHERE date = "july 27" </s> |
For Ynysybwl RFC, what was the losing bonus for 416 points? | CREATE TABLE table_name_48 (losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR) | SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR) Question: For Ynysybwl RFC, what was the losing bonus for 416 points? [/INST] SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc" </s> |
For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? | CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR) Question: For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? [/INST] SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5" </s> |
For the club that had tries of 50 and drawn of 0, what were the points? | CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR) | SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR) Question: For the club that had tries of 50 and drawn of 0, what were the points? [/INST] SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50" </s> |
The club that had 546 points against, what was the losing bonus? | CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR) | SELECT losing_bonus FROM table_name_71 WHERE points_against = "546" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR) Question: The club that had 546 points against, what was the losing bonus? [/INST] SELECT losing_bonus FROM table_name_71 WHERE points_against = "546" </s> |
What is the lost of Ynysybwl RFC? | CREATE TABLE table_name_47 (lost VARCHAR, club VARCHAR) | SELECT lost FROM table_name_47 WHERE club = "ynysybwl rfc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (lost VARCHAR, club VARCHAR) Question: What is the lost of Ynysybwl RFC? [/INST] SELECT lost FROM table_name_47 WHERE club = "ynysybwl rfc" </s> |
How many points does Club have? | CREATE TABLE table_name_41 (points VARCHAR) | SELECT points FROM table_name_41 WHERE "club" = "club" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (points VARCHAR) Question: How many points does Club have? [/INST] SELECT points FROM table_name_41 WHERE "club" = "club" </s> |
When is Part 6, when Part 4 is on March 2, 2008? | CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR) | SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR) Question: When is Part 6, when Part 4 is on March 2, 2008? [/INST] SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008" </s> |
What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? | CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR) | SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR) Question: What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? [/INST] SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008" </s> |
When is Part 2, when Part 4 is on December 9, 2007? | CREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR) | SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR) Question: When is Part 2, when Part 4 is on December 9, 2007? [/INST] SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 2007" </s> |
When is Part 1, when Part 4 is on February 10, 2008? | CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR) | SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR) Question: When is Part 1, when Part 4 is on February 10, 2008? [/INST] SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008" </s> |
When is Part 2, when Part 5 is on January 24, 2008? | CREATE TABLE table_name_42 (part_2 VARCHAR, part_5 VARCHAR) | SELECT part_2 FROM table_name_42 WHERE part_5 = "january 24, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (part_2 VARCHAR, part_5 VARCHAR) Question: When is Part 2, when Part 5 is on January 24, 2008? [/INST] SELECT part_2 FROM table_name_42 WHERE part_5 = "january 24, 2008" </s> |
Who was the finals opponent on the hard surface tournament? | CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR) | SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR) Question: Who was the finals opponent on the hard surface tournament? [/INST] SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard" </s> |
Which surface was played during Curitiba tournament? | CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_46 WHERE tournament = "curitiba" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) Question: Which surface was played during Curitiba tournament? [/INST] SELECT surface FROM table_name_46 WHERE tournament = "curitiba" </s> |
What is the highest round for UFC 109? | CREATE TABLE table_name_92 (round INTEGER, event VARCHAR) | SELECT MAX(round) FROM table_name_92 WHERE event = "ufc 109" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (round INTEGER, event VARCHAR) Question: What is the highest round for UFC 109? [/INST] SELECT MAX(round) FROM table_name_92 WHERE event = "ufc 109" </s> |
What round was the opponent Manny Gamburyan? | CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR) Question: What round was the opponent Manny Gamburyan? [/INST] SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan" </s> |
What was the week of the game played December 6, 1964? | CREATE TABLE table_name_75 (week INTEGER, date VARCHAR) | SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (week INTEGER, date VARCHAR) Question: What was the week of the game played December 6, 1964? [/INST] SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964" </s> |
What is the fewest losses that had an against score of 2190 and more than 0 draws? | CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR) | SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR) Question: What is the fewest losses that had an against score of 2190 and more than 0 draws? [/INST] SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 </s> |
What is the fewest number of draws for teams with more than 0 byes? | CREATE TABLE table_name_75 (draws INTEGER, byes INTEGER) | SELECT MIN(draws) FROM table_name_75 WHERE byes > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (draws INTEGER, byes INTEGER) Question: What is the fewest number of draws for teams with more than 0 byes? [/INST] SELECT MIN(draws) FROM table_name_75 WHERE byes > 0 </s> |
What is the sum of losses for Geelong Amateur, with 0 byes? | CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR) | SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR) Question: What is the sum of losses for Geelong Amateur, with 0 byes? [/INST] SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0 </s> |
What is the sum of the number of wins for teams with more than 0 draws? | CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER) | SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER) Question: What is the sum of the number of wins for teams with more than 0 draws? [/INST] SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 </s> |
What is the Stadium that hosts the team Jacksonville Jaguars? | CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR) | SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR) Question: What is the Stadium that hosts the team Jacksonville Jaguars? [/INST] SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars" </s> |
What stadium was used on November 13? | CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_45 WHERE date = "november 13" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR) Question: What stadium was used on November 13? [/INST] SELECT stadium FROM table_name_45 WHERE date = "november 13" </s> |
What is the host team with the stadium Lincoln Financial Field? | CREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR) | SELECT host_team FROM table_name_70 WHERE stadium = "lincoln financial field" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR) Question: What is the host team with the stadium Lincoln Financial Field? [/INST] SELECT host_team FROM table_name_70 WHERE stadium = "lincoln financial field" </s> |
What team visited the Cleveland Browns Stadium? | CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR) Question: What team visited the Cleveland Browns Stadium? [/INST] SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium" </s> |
What stadium did the Denver Broncos visit? | CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR) | SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR) Question: What stadium did the Denver Broncos visit? [/INST] SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos" </s> |
What team visited the Jacksonville Municipal Stadium? | CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR) Question: What team visited the Jacksonville Municipal Stadium? [/INST] SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium" </s> |
How many people boarded and de-boarded the Amtrak in Linthicum? | CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR) | SELECT COUNT(boardings_and_deboardings) FROM table_name_68 WHERE city = "linthicum" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR) Question: How many people boarded and de-boarded the Amtrak in Linthicum? [/INST] SELECT COUNT(boardings_and_deboardings) FROM table_name_68 WHERE city = "linthicum" </s> |
The Europe listing of 00 0 0 (0) also has what listed as the total? | CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR) | SELECT total FROM table_name_86 WHERE europe = "00 0 0 (0)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR) Question: The Europe listing of 00 0 0 (0) also has what listed as the total? [/INST] SELECT total FROM table_name_86 WHERE europe = "00 0 0 (0)" </s> |
The league of 400 (21) has what years listed? | CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR) | SELECT years FROM table_name_87 WHERE league = "400 (21)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR) Question: The league of 400 (21) has what years listed? [/INST] SELECT years FROM table_name_87 WHERE league = "400 (21)" </s> |
With a FA Cup of 0 44 0 (0), the other [C] is listed as what? | CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR) | SELECT other_ AS "c_" FROM table_name_46 WHERE fa_cup = "0 44 0 (0)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR) Question: With a FA Cup of 0 44 0 (0), the other [C] is listed as what? [/INST] SELECT other_ AS "c_" FROM table_name_46 WHERE fa_cup = "0 44 0 (0)" </s> |
The Europe listing of 117 0 (8) belongs to what league? | CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR) | SELECT league FROM table_name_5 WHERE europe = "117 0 (8)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR) Question: The Europe listing of 117 0 (8) belongs to what league? [/INST] SELECT league FROM table_name_5 WHERE europe = "117 0 (8)" </s> |
What is the lowest VIII Edition Gold with a Silver of 4? | CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR) | SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR) Question: What is the lowest VIII Edition Gold with a Silver of 4? [/INST] SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii" </s> |
What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10? | CREATE TABLE table_name_22 (bronze INTEGER, gold VARCHAR, silver VARCHAR, edition VARCHAR) | SELECT MAX(bronze) FROM table_name_22 WHERE silver > 10 AND edition = "i" AND gold > 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (bronze INTEGER, gold VARCHAR, silver VARCHAR, edition VARCHAR) Question: What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10? [/INST] SELECT MAX(bronze) FROM table_name_22 WHERE silver > 10 AND edition = "i" AND gold > 9 </s> |
What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2? | CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR) | SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR) Question: What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2? [/INST] SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 2 </s> |
Which Host City has more than 6 Silver and a Total of 22? | CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR) | SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR) Question: Which Host City has more than 6 Silver and a Total of 22? [/INST] SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22 </s> |
What was the time for tracks before 19 on 8/26/69? | CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR) | SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR) Question: What was the time for tracks before 19 on 8/26/69? [/INST] SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19 </s> |
Which venue has a note of AM? | CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_32 WHERE notes = "am" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR) Question: Which venue has a note of AM? [/INST] SELECT venue FROM table_name_32 WHERE notes = "am" </s> |
What is the time associated with August 16, 2008? | CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR) | SELECT time FROM table_name_12 WHERE date = "august 16, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR) Question: What is the time associated with August 16, 2008? [/INST] SELECT time FROM table_name_12 WHERE date = "august 16, 2008" </s> |
Which event was held in Beijing? | CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR) | SELECT event FROM table_name_44 WHERE venue = "beijing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR) Question: Which event was held in Beijing? [/INST] SELECT event FROM table_name_44 WHERE venue = "beijing" </s> |
For a venue of Rome on July 30, 2009, what are the notes? | CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR) | SELECT notes FROM table_name_59 WHERE venue = "rome" AND date = "july 30, 2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR) Question: For a venue of Rome on July 30, 2009, what are the notes? [/INST] SELECT notes FROM table_name_59 WHERE venue = "rome" AND date = "july 30, 2009" </s> |
Name the score for october 9 | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "october 9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) Question: Name the score for october 9 [/INST] SELECT score FROM table_name_35 WHERE date = "october 9" </s> |
Name the loss for series 2-2 | CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR) | SELECT loss FROM table_name_90 WHERE series = "2-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR) Question: Name the loss for series 2-2 [/INST] SELECT loss FROM table_name_90 WHERE series = "2-2" </s> |
Name the total number of attendance for october 8 | CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR) Question: Name the total number of attendance for october 8 [/INST] SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8" </s> |
Which engine did Élie Bayol use when they earned 0 points? | CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_74 WHERE points = 0 AND entrant = "élie bayol" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR) Question: Which engine did Élie Bayol use when they earned 0 points? [/INST] SELECT engine FROM table_name_74 WHERE points = 0 AND entrant = "élie bayol" </s> |
What season had the highest attendance/g than 3,289? | CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER) | SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER) Question: What season had the highest attendance/g than 3,289? [/INST] SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289 ROWS </s> |
What year had 13 points? | CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR) | SELECT year FROM table_name_23 WHERE pts = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR) Question: What year had 13 points? [/INST] SELECT year FROM table_name_23 WHERE pts = 13 </s> |
Which chassis has a year later than 1964, a Ford engine, and 13 points? | CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) Question: Which chassis has a year later than 1964, a Ford engine, and 13 points? [/INST] SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13 </s> |
Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? | CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR) | SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR) Question: Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? [/INST] SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24" </s> |
In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees? | CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR) | SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR) Question: In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees? [/INST] SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972 </s> |
What year had a Ford engine and 13 points? | CREATE TABLE table_name_16 (year VARCHAR, engine VARCHAR, pts VARCHAR) | SELECT year FROM table_name_16 WHERE engine = "ford" AND pts = 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (year VARCHAR, engine VARCHAR, pts VARCHAR) Question: What year had a Ford engine and 13 points? [/INST] SELECT year FROM table_name_16 WHERE engine = "ford" AND pts = 13 </s> |
What is the ERP for the Rockhampton region? | CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR) | SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR) Question: What is the ERP for the Rockhampton region? [/INST] SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" </s> |
What channels first aired on 31 December 1990 in the Southern Downs region? | CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR) | SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR) Question: What channels first aired on 31 December 1990 in the Southern Downs region? [/INST] SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs" </s> |
What is the transmitter location for city of Maryborough? | CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR) | SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR) Question: What is the transmitter location for city of Maryborough? [/INST] SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough" </s> |
What is the ERP for the Mount Goonaneman transmitter? | CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR) | SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR) Question: What is the ERP for the Mount Goonaneman transmitter? [/INST] SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" </s> |
Which number has 11 males? | CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR) | SELECT number FROM table_name_41 WHERE males = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR) Question: Which number has 11 males? [/INST] SELECT number FROM table_name_41 WHERE males = "11" </s> |
What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar? | CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) Question: What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar? [/INST] SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar" </s> |
What is the largest heat with a time of 4:57.90, and a Rank larger than 22? | CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR) | SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR) Question: What is the largest heat with a time of 4:57.90, and a Rank larger than 22? [/INST] SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22 </s> |
What is the time for Adi Bichman? | CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR) | SELECT time FROM table_name_28 WHERE name = "adi bichman" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR) Question: What is the time for Adi Bichman? [/INST] SELECT time FROM table_name_28 WHERE name = "adi bichman" </s> |
What is the total attendance at games against the New York Mets with a record of 18-18? | CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) Question: What is the total attendance at games against the New York Mets with a record of 18-18? [/INST] SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18" </s> |
What is the total attendance at games with a score of 4-2? | CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR) | SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR) Question: What is the total attendance at games with a score of 4-2? [/INST] SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2" </s> |
On what date did the New York Giants host a game? | CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR) | SELECT date FROM table_name_42 WHERE host_team = "new york giants" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR) Question: On what date did the New York Giants host a game? [/INST] SELECT date FROM table_name_42 WHERE host_team = "new york giants" </s> |
Who was the host team for the game on December 27? | CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR) | SELECT host_team FROM table_name_55 WHERE date = "december 27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR) Question: Who was the host team for the game on December 27? [/INST] SELECT host_team FROM table_name_55 WHERE date = "december 27" </s> |
What was the final score of the game at Texas Stadium? | CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) | SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) Question: What was the final score of the game at Texas Stadium? [/INST] SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" </s> |
Who was the visiting team who played at the hubert h. humphrey metrodome stadium? | CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) Question: Who was the visiting team who played at the hubert h. humphrey metrodome stadium? [/INST] SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome" </s> |
When did the New England Patriots play as the visiting team? | CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR) | SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR) Question: When did the New England Patriots play as the visiting team? [/INST] SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" </s> |
At which stadium did the Los Angeles Raiders play as the visiting team? | CREATE TABLE table_name_85 (stadium VARCHAR, visiting_team VARCHAR) | SELECT stadium FROM table_name_85 WHERE visiting_team = "los angeles raiders" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (stadium VARCHAR, visiting_team VARCHAR) Question: At which stadium did the Los Angeles Raiders play as the visiting team? [/INST] SELECT stadium FROM table_name_85 WHERE visiting_team = "los angeles raiders" </s> |
Who is 1.92 m tall and a current club member of Montepaschi Siena | CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR) | SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR) Question: Who is 1.92 m tall and a current club member of Montepaschi Siena [/INST] SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena" </s> |
Which date has a Tournament of la quinta? | CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_14 WHERE tournament = "la quinta" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR) Question: Which date has a Tournament of la quinta? [/INST] SELECT date FROM table_name_14 WHERE tournament = "la quinta" </s> |
Which date has a Surface of carpet (i)? | CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR) | SELECT date FROM table_name_44 WHERE surface = "carpet (i)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR) Question: Which date has a Surface of carpet (i)? [/INST] SELECT date FROM table_name_44 WHERE surface = "carpet (i)" </s> |
Which tournament has a Date of april 20, 1987? | CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_21 WHERE date = "april 20, 1987" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR) Question: Which tournament has a Date of april 20, 1987? [/INST] SELECT tournament FROM table_name_21 WHERE date = "april 20, 1987" </s> |
Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu? | CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) Question: Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu? [/INST] SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu" </s> |
Which Tournament has a Score of 6–4, 6–4? | CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR) Question: Which Tournament has a Score of 6–4, 6–4? [/INST] SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4" </s> |
Which score has a Surface of hardcourt, and a Date of september 30, 1984? | CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR) Question: Which score has a Surface of hardcourt, and a Date of september 30, 1984? [/INST] SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984" </s> |
What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? | CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR) | SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR) Question: What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? [/INST] SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 </s> |
What was the date of the game with a loss of Wakefield (5-2)? | CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR) Question: What was the date of the game with a loss of Wakefield (5-2)? [/INST] SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.