instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? | CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR) | SELECT MAX(played) FROM table_name_61 WHERE goal_difference < 27 AND losses > 13 AND goals_for < 42 AND draws = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR) Question: Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? [/INST] SELECT MAX(played) FROM table_name_61 WHERE goal_difference < 27 AND losses > 13 AND goals_for < 42 AND draws = 6 </s> |
What was the number of wins with goals against of less than 32? | CREATE TABLE table_name_96 (wins VARCHAR, goals_against INTEGER) | SELECT COUNT(wins) FROM table_name_96 WHERE goals_against < 32 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (wins VARCHAR, goals_against INTEGER) Question: What was the number of wins with goals against of less than 32? [/INST] SELECT COUNT(wins) FROM table_name_96 WHERE goals_against < 32 </s> |
How many Antonov An-2 Colt aircraft are in service? | CREATE TABLE table_name_37 (in_service INTEGER, aircraft VARCHAR) | SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (in_service INTEGER, aircraft VARCHAR) Question: How many Antonov An-2 Colt aircraft are in service? [/INST] SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt" </s> |
for the position of rb what is the name? | CREATE TABLE table_name_67 (name VARCHAR, position VARCHAR) | SELECT name FROM table_name_67 WHERE position = "rb" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (name VARCHAR, position VARCHAR) Question: for the position of rb what is the name? [/INST] SELECT name FROM table_name_67 WHERE position = "rb" </s> |
for the name of joe surratt what is the last update? | CREATE TABLE table_name_75 (last_update VARCHAR, name VARCHAR) | SELECT last_update FROM table_name_75 WHERE name = "joe surratt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (last_update VARCHAR, name VARCHAR) Question: for the name of joe surratt what is the last update? [/INST] SELECT last_update FROM table_name_75 WHERE name = "joe surratt" </s> |
for the name of jamar jackson what is the last update? | CREATE TABLE table_name_81 (last_update VARCHAR, name VARCHAR) | SELECT last_update FROM table_name_81 WHERE name = "jamar jackson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (last_update VARCHAR, name VARCHAR) Question: for the name of jamar jackson what is the last update? [/INST] SELECT last_update FROM table_name_81 WHERE name = "jamar jackson" </s> |
for the name of jamar jackson what is the class? | CREATE TABLE table_name_87 (class VARCHAR, name VARCHAR) | SELECT class FROM table_name_87 WHERE name = "jamar jackson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (class VARCHAR, name VARCHAR) Question: for the name of jamar jackson what is the class? [/INST] SELECT class FROM table_name_87 WHERE name = "jamar jackson" </s> |
for the name of jamar jackson what is the total of Number? | CREATE TABLE table_name_99 (number VARCHAR, name VARCHAR) | SELECT COUNT(number) FROM table_name_99 WHERE name = "jamar jackson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (number VARCHAR, name VARCHAR) Question: for the name of jamar jackson what is the total of Number? [/INST] SELECT COUNT(number) FROM table_name_99 WHERE name = "jamar jackson" </s> |
What term did Stewart Mcarthur from Vic serve in office? | CREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR) | SELECT term_in_office FROM table_name_68 WHERE state = "vic" AND member = "stewart mcarthur" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR) Question: What term did Stewart Mcarthur from Vic serve in office? [/INST] SELECT term_in_office FROM table_name_68 WHERE state = "vic" AND member = "stewart mcarthur" </s> |
What is Hon Paul Keating's Party? | CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR) | SELECT party FROM table_name_70 WHERE member = "hon paul keating" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR) Question: What is Hon Paul Keating's Party? [/INST] SELECT party FROM table_name_70 WHERE member = "hon paul keating" </s> |
What member is in the liberal party and has an electorate of bruce? | CREATE TABLE table_name_73 (member VARCHAR, party VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_73 WHERE party = "liberal" AND electorate = "bruce" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (member VARCHAR, party VARCHAR, electorate VARCHAR) Question: What member is in the liberal party and has an electorate of bruce? [/INST] SELECT member FROM table_name_73 WHERE party = "liberal" AND electorate = "bruce" </s> |
Which Electorate is from vic, a labor party, and is David Charles a member of? | CREATE TABLE table_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) | SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) Question: Which Electorate is from vic, a labor party, and is David Charles a member of? [/INST] SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles" </s> |
Name the format on july 27, 1994 for alfa records | CREATE TABLE table_name_59 (format VARCHAR, label VARCHAR, date VARCHAR) | SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (format VARCHAR, label VARCHAR, date VARCHAR) Question: Name the format on july 27, 1994 for alfa records [/INST] SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994" </s> |
Name the region for cd with catalog of alca-9203 | CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) Question: Name the region for cd with catalog of alca-9203 [/INST] SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203" </s> |
Name the date for alfa records and catalog of alr-28045 | CREATE TABLE table_name_6 (date VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_6 WHERE label = "alfa records" AND catalog = "alr-28045" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, label VARCHAR, catalog VARCHAR) Question: Name the date for alfa records and catalog of alr-28045 [/INST] SELECT date FROM table_name_6 WHERE label = "alfa records" AND catalog = "alr-28045" </s> |
Name the region for cd format on february 22, 1984 | CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR) | SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR) Question: Name the region for cd format on february 22, 1984 [/INST] SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984" </s> |
Name the region for february 14, 2002 | CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_6 WHERE date = "february 14, 2002" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR) Question: Name the region for february 14, 2002 [/INST] SELECT region FROM table_name_6 WHERE date = "february 14, 2002" </s> |
What First game has a Lost greater than 16? | CREATE TABLE table_name_16 (first_game INTEGER, lost INTEGER) | SELECT AVG(first_game) FROM table_name_16 WHERE lost > 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (first_game INTEGER, lost INTEGER) Question: What First game has a Lost greater than 16? [/INST] SELECT AVG(first_game) FROM table_name_16 WHERE lost > 16 </s> |
What Percentage did the First game of 1998 have? | CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR) | SELECT percentage FROM table_name_80 WHERE first_game = 1998 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR) Question: What Percentage did the First game of 1998 have? [/INST] SELECT percentage FROM table_name_80 WHERE first_game = 1998 </s> |
What bowler has a record of 4-15? | CREATE TABLE table_name_97 (player VARCHAR, bowling VARCHAR) | SELECT player FROM table_name_97 WHERE bowling = "4-15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (player VARCHAR, bowling VARCHAR) Question: What bowler has a record of 4-15? [/INST] SELECT player FROM table_name_97 WHERE bowling = "4-15" </s> |
What ranking is james franklin? | CREATE TABLE table_name_69 (rank VARCHAR, player VARCHAR) | SELECT rank FROM table_name_69 WHERE player = "james franklin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (rank VARCHAR, player VARCHAR) Question: What ranking is james franklin? [/INST] SELECT rank FROM table_name_69 WHERE player = "james franklin" </s> |
what venue does tim southee bowl at? | CREATE TABLE table_name_14 (venue VARCHAR, player VARCHAR) | SELECT venue FROM table_name_14 WHERE player = "tim southee" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (venue VARCHAR, player VARCHAR) Question: what venue does tim southee bowl at? [/INST] SELECT venue FROM table_name_14 WHERE player = "tim southee" </s> |
What was the regular season for 2012? | CREATE TABLE table_name_38 (regular_season VARCHAR, year VARCHAR) | SELECT regular_season FROM table_name_38 WHERE year = "2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (regular_season VARCHAR, year VARCHAR) Question: What was the regular season for 2012? [/INST] SELECT regular_season FROM table_name_38 WHERE year = "2012" </s> |
What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002? | CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR) | SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND year = "2002" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR) Question: What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002? [/INST] SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND year = "2002" </s> |
What chassis has more than 0 points? | CREATE TABLE table_name_40 (chassis VARCHAR, points INTEGER) | SELECT chassis FROM table_name_40 WHERE points > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (chassis VARCHAR, points INTEGER) Question: What chassis has more than 0 points? [/INST] SELECT chassis FROM table_name_40 WHERE points > 0 </s> |
How many points were there before 1955? | CREATE TABLE table_name_95 (points VARCHAR, year INTEGER) | SELECT COUNT(points) FROM table_name_95 WHERE year < 1955 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (points VARCHAR, year INTEGER) Question: How many points were there before 1955? [/INST] SELECT COUNT(points) FROM table_name_95 WHERE year < 1955 </s> |
What is the lowest amount of points held by the Epperly Indy roadster in 1959? | CREATE TABLE table_name_5 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 1959 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: What is the lowest amount of points held by the Epperly Indy roadster in 1959? [/INST] SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 1959 </s> |
What Chassis has more than 0 points? | CREATE TABLE table_name_3 (chassis VARCHAR, points INTEGER) | SELECT chassis FROM table_name_3 WHERE points > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (chassis VARCHAR, points INTEGER) Question: What Chassis has more than 0 points? [/INST] SELECT chassis FROM table_name_3 WHERE points > 0 </s> |
What is the date that 4,286 attended? | CREATE TABLE table_name_15 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_15 WHERE attendance = "4,286" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (date VARCHAR, attendance VARCHAR) Question: What is the date that 4,286 attended? [/INST] SELECT date FROM table_name_15 WHERE attendance = "4,286" </s> |
Where does CF Pachuca play? | CREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR) | SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR) Question: Where does CF Pachuca play? [/INST] SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca" </s> |
What was the attendance of the Cup Quarterfinals game? | CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_21 WHERE game_site = "cup quarterfinals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) Question: What was the attendance of the Cup Quarterfinals game? [/INST] SELECT attendance FROM table_name_21 WHERE game_site = "cup quarterfinals" </s> |
What shows for 2000 when 2013 shows 3rd? | CREATE TABLE table_name_19 (Id VARCHAR) | SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (Id VARCHAR) Question: What shows for 2000 when 2013 shows 3rd? [/INST] SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd" </s> |
What is the 2004 when 2013 is 3rd? | CREATE TABLE table_name_17 (Id VARCHAR) | SELECT 2004 FROM table_name_17 WHERE 2013 = "3rd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (Id VARCHAR) Question: What is the 2004 when 2013 is 3rd? [/INST] SELECT 2004 FROM table_name_17 WHERE 2013 = "3rd" </s> |
What is the 2009 when the 2013 is 4th? | CREATE TABLE table_name_39 (Id VARCHAR) | SELECT 2009 FROM table_name_39 WHERE 2013 = "4th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (Id VARCHAR) Question: What is the 2009 when the 2013 is 4th? [/INST] SELECT 2009 FROM table_name_39 WHERE 2013 = "4th" </s> |
What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th? | CREATE TABLE table_name_4 (total VARCHAR) | SELECT 2009 FROM table_name_4 WHERE 2000 = "–" AND total = 3 AND 2004 = "9th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (total VARCHAR) Question: What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th? [/INST] SELECT 2009 FROM table_name_4 WHERE 2000 = "–" AND total = 3 AND 2004 = "9th" </s> |
What was the winning score in the PGA Championship? | CREATE TABLE table_name_14 (winning_score VARCHAR, championship VARCHAR) | SELECT winning_score FROM table_name_14 WHERE championship = "pga championship" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (winning_score VARCHAR, championship VARCHAR) Question: What was the winning score in the PGA Championship? [/INST] SELECT winning_score FROM table_name_14 WHERE championship = "pga championship" </s> |
How many draws with 1 loss? | CREATE TABLE table_name_55 (draws INTEGER, losses VARCHAR) | SELECT SUM(draws) FROM table_name_55 WHERE losses = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (draws INTEGER, losses VARCHAR) Question: How many draws with 1 loss? [/INST] SELECT SUM(draws) FROM table_name_55 WHERE losses = 1 </s> |
How many losses does Alex Wilkinson have? | CREATE TABLE table_name_98 (losses VARCHAR, name VARCHAR) | SELECT COUNT(losses) FROM table_name_98 WHERE name = "alex wilkinson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (losses VARCHAR, name VARCHAR) Question: How many losses does Alex Wilkinson have? [/INST] SELECT COUNT(losses) FROM table_name_98 WHERE name = "alex wilkinson" </s> |
Name the type for headquarters principal activites. | CREATE TABLE table_name_53 (type VARCHAR, principal_activities VARCHAR) | SELECT type FROM table_name_53 WHERE principal_activities = "headquarters" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (type VARCHAR, principal_activities VARCHAR) Question: Name the type for headquarters principal activites. [/INST] SELECT type FROM table_name_53 WHERE principal_activities = "headquarters" </s> |
Name the incorporated for principal activites of travel agency | CREATE TABLE table_name_73 (incorporated_in VARCHAR, principal_activities VARCHAR) | SELECT incorporated_in FROM table_name_73 WHERE principal_activities = "travel agency" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (incorporated_in VARCHAR, principal_activities VARCHAR) Question: Name the incorporated for principal activites of travel agency [/INST] SELECT incorporated_in FROM table_name_73 WHERE principal_activities = "travel agency" </s> |
Name the title with presentation of credentials of april 24, 1884 | CREATE TABLE table_name_23 (title VARCHAR, presentation_of_credentials VARCHAR) | SELECT title FROM table_name_23 WHERE presentation_of_credentials = "april 24, 1884" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (title VARCHAR, presentation_of_credentials VARCHAR) Question: Name the title with presentation of credentials of april 24, 1884 [/INST] SELECT title FROM table_name_23 WHERE presentation_of_credentials = "april 24, 1884" </s> |
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck | CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR) | SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = "grover cleveland" AND representative = "charles w. buck" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR) Question: Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck [/INST] SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = "grover cleveland" AND representative = "charles w. buck" </s> |
Name the title with presentation of credentials of april 10, 1907 | CREATE TABLE table_name_62 (title VARCHAR, presentation_of_credentials VARCHAR) | SELECT title FROM table_name_62 WHERE presentation_of_credentials = "april 10, 1907" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (title VARCHAR, presentation_of_credentials VARCHAR) Question: Name the title with presentation of credentials of april 10, 1907 [/INST] SELECT title FROM table_name_62 WHERE presentation_of_credentials = "april 10, 1907" </s> |
Name the title with termination of mission of february 24, 1828 | CREATE TABLE table_name_65 (title VARCHAR, termination_of_mission VARCHAR) | SELECT title FROM table_name_65 WHERE termination_of_mission = "february 24, 1828" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (title VARCHAR, termination_of_mission VARCHAR) Question: Name the title with termination of mission of february 24, 1828 [/INST] SELECT title FROM table_name_65 WHERE termination_of_mission = "february 24, 1828" </s> |
Name the title with termination of mission of april 10, 1939 | CREATE TABLE table_name_24 (title VARCHAR, termination_of_mission VARCHAR) | SELECT title FROM table_name_24 WHERE termination_of_mission = "april 10, 1939" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (title VARCHAR, termination_of_mission VARCHAR) Question: Name the title with termination of mission of april 10, 1939 [/INST] SELECT title FROM table_name_24 WHERE termination_of_mission = "april 10, 1939" </s> |
Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin | CREATE TABLE table_name_18 (termination_of_mission VARCHAR, appointed_by VARCHAR, representative VARCHAR) | SELECT termination_of_mission FROM table_name_18 WHERE appointed_by = "woodrow wilson" AND representative = "benton mcmillin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (termination_of_mission VARCHAR, appointed_by VARCHAR, representative VARCHAR) Question: Name the termination of mission for woodrow wilson appointed by and representative of benton mcmillin [/INST] SELECT termination_of_mission FROM table_name_18 WHERE appointed_by = "woodrow wilson" AND representative = "benton mcmillin" </s> |
What is the points gained of the match where fans took 403 [sunday]? | CREATE TABLE table_name_36 (points_gained INTEGER, fans_took VARCHAR) | SELECT SUM(points_gained) FROM table_name_36 WHERE fans_took = "403 [sunday]" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (points_gained INTEGER, fans_took VARCHAR) Question: What is the points gained of the match where fans took 403 [sunday]? [/INST] SELECT SUM(points_gained) FROM table_name_36 WHERE fans_took = "403 [sunday]" </s> |
Which team had fans took of 288? | CREATE TABLE table_name_71 (team VARCHAR, fans_took VARCHAR) | SELECT team FROM table_name_71 WHERE fans_took = "288" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (team VARCHAR, fans_took VARCHAR) Question: Which team had fans took of 288? [/INST] SELECT team FROM table_name_71 WHERE fans_took = "288" </s> |
What years had a ranking of 1? | CREATE TABLE table_name_99 (years VARCHAR, ranking VARCHAR) | SELECT years FROM table_name_99 WHERE ranking = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (years VARCHAR, ranking VARCHAR) Question: What years had a ranking of 1? [/INST] SELECT years FROM table_name_99 WHERE ranking = 1 </s> |
What is the nationality of the person with 50 goals and rank 3? | CREATE TABLE table_name_25 (nationality VARCHAR, goals VARCHAR, ranking VARCHAR) | SELECT nationality FROM table_name_25 WHERE goals = 50 AND ranking = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (nationality VARCHAR, goals VARCHAR, ranking VARCHAR) Question: What is the nationality of the person with 50 goals and rank 3? [/INST] SELECT nationality FROM table_name_25 WHERE goals = 50 AND ranking = 3 </s> |
What was the status of joon-hyung park 박준형? | CREATE TABLE table_name_58 (status VARCHAR, name VARCHAR) | SELECT status FROM table_name_58 WHERE name = "joon-hyung park 박준형" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (status VARCHAR, name VARCHAR) Question: What was the status of joon-hyung park 박준형? [/INST] SELECT status FROM table_name_58 WHERE name = "joon-hyung park 박준형" </s> |
Who had a ballet style with original cast? | CREATE TABLE table_name_80 (name VARCHAR, style VARCHAR, status VARCHAR) | SELECT name FROM table_name_80 WHERE style = "ballet" AND status = "original cast" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (name VARCHAR, style VARCHAR, status VARCHAR) Question: Who had a ballet style with original cast? [/INST] SELECT name FROM table_name_80 WHERE style = "ballet" AND status = "original cast" </s> |
When was the first performance with a replacement cast? | CREATE TABLE table_name_80 (first_performance VARCHAR, status VARCHAR) | SELECT first_performance FROM table_name_80 WHERE status = "replacement cast" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (first_performance VARCHAR, status VARCHAR) Question: When was the first performance with a replacement cast? [/INST] SELECT first_performance FROM table_name_80 WHERE status = "replacement cast" </s> |
What is the latest year for the Tyrrell 018 Chassis that has less than 3 points? | CREATE TABLE table_name_43 (year INTEGER, chassis VARCHAR, points VARCHAR) | SELECT MAX(year) FROM table_name_43 WHERE chassis = "tyrrell 018" AND points < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (year INTEGER, chassis VARCHAR, points VARCHAR) Question: What is the latest year for the Tyrrell 018 Chassis that has less than 3 points? [/INST] SELECT MAX(year) FROM table_name_43 WHERE chassis = "tyrrell 018" AND points < 3 </s> |
Which entrant has a Honda V6 engine and a Lotus 99t chassis? | CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR) Question: Which entrant has a Honda V6 engine and a Lotus 99t chassis? [/INST] SELECT entrant FROM table_name_42 WHERE engine = "honda v6" AND chassis = "lotus 99t" </s> |
Name the best when runs of 1088 and matches more than 11 | CREATE TABLE table_name_4 (best VARCHAR, matches VARCHAR, runs VARCHAR) | SELECT best FROM table_name_4 WHERE matches > 11 AND runs = 1088 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (best VARCHAR, matches VARCHAR, runs VARCHAR) Question: Name the best when runs of 1088 and matches more than 11 [/INST] SELECT best FROM table_name_4 WHERE matches > 11 AND runs = 1088 </s> |
Name the most runs for wickets of 66 and matches less than 13 | CREATE TABLE table_name_68 (runs INTEGER, wickets VARCHAR, matches VARCHAR) | SELECT MAX(runs) FROM table_name_68 WHERE wickets = 66 AND matches < 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (runs INTEGER, wickets VARCHAR, matches VARCHAR) Question: Name the most runs for wickets of 66 and matches less than 13 [/INST] SELECT MAX(runs) FROM table_name_68 WHERE wickets = 66 AND matches < 13 </s> |
What is the score of the game with the San Diego Padres as the opponent and a record of 11-23? | CREATE TABLE table_name_29 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_29 WHERE opponent = "san diego padres" AND record = "11-23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (score VARCHAR, opponent VARCHAR, record VARCHAR) Question: What is the score of the game with the San Diego Padres as the opponent and a record of 11-23? [/INST] SELECT score FROM table_name_29 WHERE opponent = "san diego padres" AND record = "11-23" </s> |
What is the date of the game with a record of 14-31? | CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_16 WHERE record = "14-31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR) Question: What is the date of the game with a record of 14-31? [/INST] SELECT date FROM table_name_16 WHERE record = "14-31" </s> |
What is the date of the game with a 17-31 record? | CREATE TABLE table_name_90 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_90 WHERE record = "17-31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (date VARCHAR, record VARCHAR) Question: What is the date of the game with a 17-31 record? [/INST] SELECT date FROM table_name_90 WHERE record = "17-31" </s> |
What is the record of the game on 13 May? | CREATE TABLE table_name_70 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_70 WHERE date = "13 may" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (record VARCHAR, date VARCHAR) Question: What is the record of the game on 13 May? [/INST] SELECT record FROM table_name_70 WHERE date = "13 may" </s> |
What was average attendance during week 15? | CREATE TABLE table_name_63 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_63 WHERE week = 15 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (attendance INTEGER, week VARCHAR) Question: What was average attendance during week 15? [/INST] SELECT AVG(attendance) FROM table_name_63 WHERE week = 15 </s> |
What's the smallest week that had a result of t 17–17? | CREATE TABLE table_name_75 (week INTEGER, result VARCHAR) | SELECT MIN(week) FROM table_name_75 WHERE result = "t 17–17" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (week INTEGER, result VARCHAR) Question: What's the smallest week that had a result of t 17–17? [/INST] SELECT MIN(week) FROM table_name_75 WHERE result = "t 17–17" </s> |
Who was the opponent in week 12? | CREATE TABLE table_name_69 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_69 WHERE week = 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (opponent VARCHAR, week VARCHAR) Question: Who was the opponent in week 12? [/INST] SELECT opponent FROM table_name_69 WHERE week = 12 </s> |
What is the current club of the Forward who was born after 1983 and who has a height under 2.12? | CREATE TABLE table_name_36 (current_club VARCHAR, position VARCHAR, year_born VARCHAR, height VARCHAR) | SELECT current_club FROM table_name_36 WHERE year_born > 1983 AND height < 2.12 AND position = "forward" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (current_club VARCHAR, position VARCHAR, year_born VARCHAR, height VARCHAR) Question: What is the current club of the Forward who was born after 1983 and who has a height under 2.12? [/INST] SELECT current_club FROM table_name_36 WHERE year_born > 1983 AND height < 2.12 AND position = "forward" </s> |
What is the position of the player who is taller than 2.12? | CREATE TABLE table_name_30 (position VARCHAR, height INTEGER) | SELECT position FROM table_name_30 WHERE height > 2.12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (position VARCHAR, height INTEGER) Question: What is the position of the player who is taller than 2.12? [/INST] SELECT position FROM table_name_30 WHERE height > 2.12 </s> |
How many no votes did North Dakota have? | CREATE TABLE table_name_48 (no_vote VARCHAR, state VARCHAR) | SELECT no_vote FROM table_name_48 WHERE state = "north dakota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (no_vote VARCHAR, state VARCHAR) Question: How many no votes did North Dakota have? [/INST] SELECT no_vote FROM table_name_48 WHERE state = "north dakota" </s> |
What was the date for Colorado? | CREATE TABLE table_name_92 (date VARCHAR, state VARCHAR) | SELECT date FROM table_name_92 WHERE state = "colorado" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date VARCHAR, state VARCHAR) Question: What was the date for Colorado? [/INST] SELECT date FROM table_name_92 WHERE state = "colorado" </s> |
How many no votes from Alaska in 1998? | CREATE TABLE table_name_31 (no_vote VARCHAR, date VARCHAR, state VARCHAR) | SELECT no_vote FROM table_name_31 WHERE date = "1998" AND state = "alaska" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (no_vote VARCHAR, date VARCHAR, state VARCHAR) Question: How many no votes from Alaska in 1998? [/INST] SELECT no_vote FROM table_name_31 WHERE date = "1998" AND state = "alaska" </s> |
How many positive votes for Tennessee in 2006? | CREATE TABLE table_name_73 (yes_vote VARCHAR, date VARCHAR, state VARCHAR) | SELECT yes_vote FROM table_name_73 WHERE date = "2006" AND state = "tennessee" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (yes_vote VARCHAR, date VARCHAR, state VARCHAR) Question: How many positive votes for Tennessee in 2006? [/INST] SELECT yes_vote FROM table_name_73 WHERE date = "2006" AND state = "tennessee" </s> |
What is the name of the song that is part of the opening theme and has a drama of the revolving doors of vengeance? | CREATE TABLE table_name_82 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, drama VARCHAR) | SELECT name_of_the_song FROM table_name_82 WHERE kind_of_the_song = "opening theme" AND drama = "revolving doors of vengeance" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, drama VARCHAR) Question: What is the name of the song that is part of the opening theme and has a drama of the revolving doors of vengeance? [/INST] SELECT name_of_the_song FROM table_name_82 WHERE kind_of_the_song = "opening theme" AND drama = "revolving doors of vengeance" </s> |
How many floors are there at 32 n. main street? | CREATE TABLE table_name_15 (floors INTEGER, street_address VARCHAR) | SELECT SUM(floors) FROM table_name_15 WHERE street_address = "32 n. main street" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (floors INTEGER, street_address VARCHAR) Question: How many floors are there at 32 n. main street? [/INST] SELECT SUM(floors) FROM table_name_15 WHERE street_address = "32 n. main street" </s> |
When did the rank 9 building got completed? | CREATE TABLE table_name_64 (completed VARCHAR, rank VARCHAR) | SELECT completed FROM table_name_64 WHERE rank = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (completed VARCHAR, rank VARCHAR) Question: When did the rank 9 building got completed? [/INST] SELECT completed FROM table_name_64 WHERE rank = "9" </s> |
Which party has 24 governments? | CREATE TABLE table_name_46 (party VARCHAR, governments VARCHAR) | SELECT party FROM table_name_46 WHERE governments = "24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (party VARCHAR, governments VARCHAR) Question: Which party has 24 governments? [/INST] SELECT party FROM table_name_46 WHERE governments = "24" </s> |
What governments did the minister with a term start on 24 September 1984 have? | CREATE TABLE table_name_43 (governments VARCHAR, term_start VARCHAR) | SELECT governments FROM table_name_43 WHERE term_start = "24 september 1984" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (governments VARCHAR, term_start VARCHAR) Question: What governments did the minister with a term start on 24 September 1984 have? [/INST] SELECT governments FROM table_name_43 WHERE term_start = "24 september 1984" </s> |
When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party? | CREATE TABLE table_name_37 (term_end VARCHAR, party VARCHAR, minister VARCHAR) | SELECT term_end FROM table_name_37 WHERE party = "national religious party" AND minister = "shlomo-yisrael ben-meir" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (term_end VARCHAR, party VARCHAR, minister VARCHAR) Question: When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party? [/INST] SELECT term_end FROM table_name_37 WHERE party = "national religious party" AND minister = "shlomo-yisrael ben-meir" </s> |
Who is the minister with a term end on 10 March 1974? | CREATE TABLE table_name_71 (minister VARCHAR, term_end VARCHAR) | SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (minister VARCHAR, term_end VARCHAR) Question: Who is the minister with a term end on 10 March 1974? [/INST] SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974" </s> |
Name the points classification for predictor-lotto and stage 1 | CREATE TABLE table_name_65 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_65 WHERE team_classification = "predictor-lotto" AND stage = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) Question: Name the points classification for predictor-lotto and stage 1 [/INST] SELECT points_classification FROM table_name_65 WHERE team_classification = "predictor-lotto" AND stage = "1" </s> |
Name the points classification for quick step-innergetic with stage 7 | CREATE TABLE table_name_66 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_66 WHERE team_classification = "quick step-innergetic" AND stage = "7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (points_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) Question: Name the points classification for quick step-innergetic with stage 7 [/INST] SELECT points_classification FROM table_name_66 WHERE team_classification = "quick step-innergetic" AND stage = "7" </s> |
Name the stgae with winner of robbie mcewen | CREATE TABLE table_name_22 (stage VARCHAR, winner VARCHAR) | SELECT stage FROM table_name_22 WHERE winner = "robbie mcewen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (stage VARCHAR, winner VARCHAR) Question: Name the stgae with winner of robbie mcewen [/INST] SELECT stage FROM table_name_22 WHERE winner = "robbie mcewen" </s> |
Name the winner for nick nuyens for general classification and stage of 2 | CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_96 WHERE general_classification = "nick nuyens" AND stage = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR) Question: Name the winner for nick nuyens for general classification and stage of 2 [/INST] SELECT winner FROM table_name_96 WHERE general_classification = "nick nuyens" AND stage = "2" </s> |
Name the team classification for stage of 6 | CREATE TABLE table_name_47 (team_classification VARCHAR, stage VARCHAR) | SELECT team_classification FROM table_name_47 WHERE stage = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (team_classification VARCHAR, stage VARCHAR) Question: Name the team classification for stage of 6 [/INST] SELECT team_classification FROM table_name_47 WHERE stage = "6" </s> |
What is the Davao's power (kW)? | CREATE TABLE table_name_44 (power__kw_ VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_name_44 WHERE location = "davao" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (power__kw_ VARCHAR, location VARCHAR) Question: What is the Davao's power (kW)? [/INST] SELECT power__kw_ FROM table_name_44 WHERE location = "davao" </s> |
What is the brand of DXRE? | CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR) | SELECT branding FROM table_name_35 WHERE callsign = "dxre" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR) Question: What is the brand of DXRE? [/INST] SELECT branding FROM table_name_35 WHERE callsign = "dxre" </s> |
What is the power (kW) of Davao? | CREATE TABLE table_name_74 (power__kw_ VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_name_74 WHERE location = "davao" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (power__kw_ VARCHAR, location VARCHAR) Question: What is the power (kW) of Davao? [/INST] SELECT power__kw_ FROM table_name_74 WHERE location = "davao" </s> |
What is the callsign of Cagayan de Oro with 5kW? | CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR) | SELECT callsign FROM table_name_81 WHERE power__kw_ = "5kw" AND location = "cagayan de oro" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (callsign VARCHAR, power__kw_ VARCHAR, location VARCHAR) Question: What is the callsign of Cagayan de Oro with 5kW? [/INST] SELECT callsign FROM table_name_81 WHERE power__kw_ = "5kw" AND location = "cagayan de oro" </s> |
What is the callsign of the 5kW Sonshine Radio Cotabato? | CREATE TABLE table_name_23 (callsign VARCHAR, power__kw_ VARCHAR, branding VARCHAR) | SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (callsign VARCHAR, power__kw_ VARCHAR, branding VARCHAR) Question: What is the callsign of the 5kW Sonshine Radio Cotabato? [/INST] SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato" </s> |
What's the average amount of Runs that has 40 innings, and Not outs larger than 6? | CREATE TABLE table_name_70 (runs INTEGER, innings VARCHAR, not_outs VARCHAR) | SELECT AVG(runs) FROM table_name_70 WHERE innings = 40 AND not_outs > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (runs INTEGER, innings VARCHAR, not_outs VARCHAR) Question: What's the average amount of Runs that has 40 innings, and Not outs larger than 6? [/INST] SELECT AVG(runs) FROM table_name_70 WHERE innings = 40 AND not_outs > 6 </s> |
What's the total Innings that has Runs of 1598, and Matches less than 41? | CREATE TABLE table_name_68 (innings VARCHAR, runs VARCHAR, matches VARCHAR) | SELECT COUNT(innings) FROM table_name_68 WHERE runs = 1598 AND matches < 41 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (innings VARCHAR, runs VARCHAR, matches VARCHAR) Question: What's the total Innings that has Runs of 1598, and Matches less than 41? [/INST] SELECT COUNT(innings) FROM table_name_68 WHERE runs = 1598 AND matches < 41 </s> |
What venue held the event in 2008 that has 2:13:10 in the notes? | CREATE TABLE table_name_12 (venue VARCHAR, year VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_12 WHERE year = 2008 AND notes = "2:13:10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (venue VARCHAR, year VARCHAR, notes VARCHAR) Question: What venue held the event in 2008 that has 2:13:10 in the notes? [/INST] SELECT venue FROM table_name_12 WHERE year = 2008 AND notes = "2:13:10" </s> |
Who discovered the specimen at the Burpee Museum of Natural History? | CREATE TABLE table_name_43 (discoverer VARCHAR, museum VARCHAR) | SELECT discoverer FROM table_name_43 WHERE museum = "burpee museum of natural history" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (discoverer VARCHAR, museum VARCHAR) Question: Who discovered the specimen at the Burpee Museum of Natural History? [/INST] SELECT discoverer FROM table_name_43 WHERE museum = "burpee museum of natural history" </s> |
What is the city of the Museum that houses the specimen discovered by Jane Solem? | CREATE TABLE table_name_28 (museum VARCHAR, discoverer VARCHAR) | SELECT museum AS city FROM table_name_28 WHERE discoverer = "jane solem" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (museum VARCHAR, discoverer VARCHAR) Question: What is the city of the Museum that houses the specimen discovered by Jane Solem? [/INST] SELECT museum AS city FROM table_name_28 WHERE discoverer = "jane solem" </s> |
What city has the museum that holds the Sue specimen? | CREATE TABLE table_name_48 (museum VARCHAR, name VARCHAR) | SELECT museum AS city FROM table_name_48 WHERE name = "sue" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (museum VARCHAR, name VARCHAR) Question: What city has the museum that holds the Sue specimen? [/INST] SELECT museum AS city FROM table_name_48 WHERE name = "sue" </s> |
With what Name does the Roll of 637 belong? | CREATE TABLE table_name_57 (name VARCHAR, roll VARCHAR) | SELECT name FROM table_name_57 WHERE roll = "637" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (name VARCHAR, roll VARCHAR) Question: With what Name does the Roll of 637 belong? [/INST] SELECT name FROM table_name_57 WHERE roll = "637" </s> |
Which is the Authority that has a Roll of 70? | CREATE TABLE table_name_4 (authority VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_4 WHERE roll = "70" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (authority VARCHAR, roll VARCHAR) Question: Which is the Authority that has a Roll of 70? [/INST] SELECT authority FROM table_name_4 WHERE roll = "70" </s> |
The Decile of 6 has which corresponding Years? | CREATE TABLE table_name_91 (years VARCHAR, decile VARCHAR) | SELECT years FROM table_name_91 WHERE decile = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (years VARCHAR, decile VARCHAR) Question: The Decile of 6 has which corresponding Years? [/INST] SELECT years FROM table_name_91 WHERE decile = "6" </s> |
Name the award for candida scott knight | CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR) | SELECT award FROM table_name_78 WHERE director_s_ = "candida scott knight" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR) Question: Name the award for candida scott knight [/INST] SELECT award FROM table_name_78 WHERE director_s_ = "candida scott knight" </s> |
Name the recipient for jamaica and award of £6,947 | CREATE TABLE table_name_94 (recipient VARCHAR, award VARCHAR, film VARCHAR) | SELECT recipient FROM table_name_94 WHERE award = "£6,947" AND film = "jamaica" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (recipient VARCHAR, award VARCHAR, film VARCHAR) Question: Name the recipient for jamaica and award of £6,947 [/INST] SELECT recipient FROM table_name_94 WHERE award = "£6,947" AND film = "jamaica" </s> |
Name the film for award of £3,740 | CREATE TABLE table_name_98 (film VARCHAR, award VARCHAR) | SELECT film FROM table_name_98 WHERE award = "£3,740" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (film VARCHAR, award VARCHAR) Question: Name the film for award of £3,740 [/INST] SELECT film FROM table_name_98 WHERE award = "£3,740" </s> |
Name the director for maya vision international ltd | CREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR) | SELECT director_s_ FROM table_name_81 WHERE recipient = "maya vision international ltd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR) Question: Name the director for maya vision international ltd [/INST] SELECT director_s_ FROM table_name_81 WHERE recipient = "maya vision international ltd" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.