instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Which chassis scored 52 points?
|
CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR)
|
SELECT chassis FROM table_name_55 WHERE points = 52
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR) Question: Which chassis scored 52 points? [/INST] SELECT chassis FROM table_name_55 WHERE points = 52 </s>
|
Which engine scored 6 points and used the march 88c chassis?
|
CREATE TABLE table_name_51 (engine VARCHAR, points VARCHAR, chassis VARCHAR)
|
SELECT engine FROM table_name_51 WHERE points = 6 AND chassis = "march 88c"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (engine VARCHAR, points VARCHAR, chassis VARCHAR) Question: Which engine scored 6 points and used the march 88c chassis? [/INST] SELECT engine FROM table_name_51 WHERE points = 6 AND chassis = "march 88c" </s>
|
Name the D 43 with D 48 of d 9
|
CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)
|
SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR) Question: Name the D 43 with D 48 of d 9 [/INST] SELECT d_43 FROM table_name_70 WHERE d_48 = "d 9" </s>
|
Name the D 42 with D 43 of d 14
|
CREATE TABLE table_name_7 (d_42 VARCHAR, d_43 VARCHAR)
|
SELECT d_42 FROM table_name_7 WHERE d_43 = "d 14"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (d_42 VARCHAR, d_43 VARCHAR) Question: Name the D 42 with D 43 of d 14 [/INST] SELECT d_42 FROM table_name_7 WHERE d_43 = "d 14" </s>
|
Name the D 47 when it has D 48 of d 29
|
CREATE TABLE table_name_11 (d_47 VARCHAR, d_48 VARCHAR)
|
SELECT d_47 FROM table_name_11 WHERE d_48 = "d 29"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (d_47 VARCHAR, d_48 VARCHAR) Question: Name the D 47 when it has D 48 of d 29 [/INST] SELECT d_47 FROM table_name_11 WHERE d_48 = "d 29" </s>
|
Name the D 43 and D 48 of r 28
|
CREATE TABLE table_name_45 (d_43 VARCHAR, d_48 VARCHAR)
|
SELECT d_43 FROM table_name_45 WHERE d_48 = "r 28"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (d_43 VARCHAR, d_48 VARCHAR) Question: Name the D 43 and D 48 of r 28 [/INST] SELECT d_43 FROM table_name_45 WHERE d_48 = "r 28" </s>
|
Name the D 47 which has D 42 of d 22
|
CREATE TABLE table_name_10 (d_47 VARCHAR, d_42 VARCHAR)
|
SELECT d_47 FROM table_name_10 WHERE d_42 = "d 22"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (d_47 VARCHAR, d_42 VARCHAR) Question: Name the D 47 which has D 42 of d 22 [/INST] SELECT d_47 FROM table_name_10 WHERE d_42 = "d 22" </s>
|
Which region had a label of Central Station?
|
CREATE TABLE table_name_2 (region VARCHAR, label VARCHAR)
|
SELECT region FROM table_name_2 WHERE label = "central station"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (region VARCHAR, label VARCHAR) Question: Which region had a label of Central Station? [/INST] SELECT region FROM table_name_2 WHERE label = "central station" </s>
|
What NHL team has a centre and pick number of 105?
|
CREATE TABLE table_name_46 (nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR)
|
SELECT nhl_team FROM table_name_46 WHERE position = "centre" AND pick__number = "105"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR) Question: What NHL team has a centre and pick number of 105? [/INST] SELECT nhl_team FROM table_name_46 WHERE position = "centre" AND pick__number = "105" </s>
|
What Pick # does the St. Louis Blues have?
|
CREATE TABLE table_name_13 (pick__number VARCHAR, nhl_team VARCHAR)
|
SELECT pick__number FROM table_name_13 WHERE nhl_team = "st. louis blues"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (pick__number VARCHAR, nhl_team VARCHAR) Question: What Pick # does the St. Louis Blues have? [/INST] SELECT pick__number FROM table_name_13 WHERE nhl_team = "st. louis blues" </s>
|
What is the position of the player with a Pick # of 108?
|
CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR)
|
SELECT position FROM table_name_18 WHERE pick__number = "108"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR) Question: What is the position of the player with a Pick # of 108? [/INST] SELECT position FROM table_name_18 WHERE pick__number = "108" </s>
|
What position in the Vancouver Canucks has a Pick # of 101?
|
CREATE TABLE table_name_43 (position VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)
|
SELECT position FROM table_name_43 WHERE nhl_team = "vancouver canucks" AND pick__number = "101"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (position VARCHAR, nhl_team VARCHAR, pick__number VARCHAR) Question: What position in the Vancouver Canucks has a Pick # of 101? [/INST] SELECT position FROM table_name_43 WHERE nhl_team = "vancouver canucks" AND pick__number = "101" </s>
|
What was the team's record at the game attended by 30,452?
|
CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR)
|
SELECT record FROM table_name_22 WHERE attendance = "30,452"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR) Question: What was the team's record at the game attended by 30,452? [/INST] SELECT record FROM table_name_22 WHERE attendance = "30,452" </s>
|
What was the attendance at the game that had a loss of Crabtree (0-1)?
|
CREATE TABLE table_name_34 (attendance VARCHAR, loss VARCHAR)
|
SELECT attendance FROM table_name_34 WHERE loss = "crabtree (0-1)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (attendance VARCHAR, loss VARCHAR) Question: What was the attendance at the game that had a loss of Crabtree (0-1)? [/INST] SELECT attendance FROM table_name_34 WHERE loss = "crabtree (0-1)" </s>
|
What races were Chi-Chi Rodriguez the runner-up in?
|
CREATE TABLE table_name_22 (tournament VARCHAR, runner_s__up VARCHAR)
|
SELECT tournament FROM table_name_22 WHERE runner_s__up = "chi-chi rodriguez"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (tournament VARCHAR, runner_s__up VARCHAR) Question: What races were Chi-Chi Rodriguez the runner-up in? [/INST] SELECT tournament FROM table_name_22 WHERE runner_s__up = "chi-chi rodriguez" </s>
|
What was the margin of victory for Isao Aoki when he was a runner-up?
|
CREATE TABLE table_name_12 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
|
SELECT margin_of_victory FROM table_name_12 WHERE runner_s__up = "isao aoki"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (margin_of_victory VARCHAR, runner_s__up VARCHAR) Question: What was the margin of victory for Isao Aoki when he was a runner-up? [/INST] SELECT margin_of_victory FROM table_name_12 WHERE runner_s__up = "isao aoki" </s>
|
What was the winning score in the mazda senior tournament players championship?
|
CREATE TABLE table_name_5 (winning_score VARCHAR, tournament VARCHAR)
|
SELECT winning_score FROM table_name_5 WHERE tournament = "mazda senior tournament players championship"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (winning_score VARCHAR, tournament VARCHAR) Question: What was the winning score in the mazda senior tournament players championship? [/INST] SELECT winning_score FROM table_name_5 WHERE tournament = "mazda senior tournament players championship" </s>
|
Which tournament ended with a winning score of –27 (65-68-64-64=261)?
|
CREATE TABLE table_name_16 (tournament VARCHAR, winning_score VARCHAR)
|
SELECT tournament FROM table_name_16 WHERE winning_score = –27(65 - 68 - 64 - 64 = 261)
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (tournament VARCHAR, winning_score VARCHAR) Question: Which tournament ended with a winning score of –27 (65-68-64-64=261)? [/INST] SELECT tournament FROM table_name_16 WHERE winning_score = –27(65 - 68 - 64 - 64 = 261) </s>
|
Who was the runner(s)-up for the Feb 18, 1996 tournament?
|
CREATE TABLE table_name_39 (runner_s__up VARCHAR, date VARCHAR)
|
SELECT runner_s__up FROM table_name_39 WHERE date = "feb 18, 1996"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (runner_s__up VARCHAR, date VARCHAR) Question: Who was the runner(s)-up for the Feb 18, 1996 tournament? [/INST] SELECT runner_s__up FROM table_name_39 WHERE date = "feb 18, 1996" </s>
|
What is Oriol Servia's average Grid on races with more than 43 laps?
|
CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, driver VARCHAR)
|
SELECT AVG(grid) FROM table_name_10 WHERE laps > 43 AND driver = "oriol servia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, driver VARCHAR) Question: What is Oriol Servia's average Grid on races with more than 43 laps? [/INST] SELECT AVG(grid) FROM table_name_10 WHERE laps > 43 AND driver = "oriol servia" </s>
|
How many laps were there in the race that netted the winner 19 points?
|
CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR)
|
SELECT laps FROM table_name_96 WHERE points = 19
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR) Question: How many laps were there in the race that netted the winner 19 points? [/INST] SELECT laps FROM table_name_96 WHERE points = 19 </s>
|
In what Season is Necaxa an Opponent?
|
CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR)
|
SELECT season FROM table_name_96 WHERE opponent = "necaxa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR) Question: In what Season is Necaxa an Opponent? [/INST] SELECT season FROM table_name_96 WHERE opponent = "necaxa" </s>
|
In what season is Victoria the Opponent?
|
CREATE TABLE table_name_97 (season VARCHAR, opponent VARCHAR)
|
SELECT season FROM table_name_97 WHERE opponent = "victoria"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (season VARCHAR, opponent VARCHAR) Question: In what season is Victoria the Opponent? [/INST] SELECT season FROM table_name_97 WHERE opponent = "victoria" </s>
|
Name the authority when the decile is 6 for pongaroa school
|
CREATE TABLE table_name_32 (authority VARCHAR, decile VARCHAR, name VARCHAR)
|
SELECT authority FROM table_name_32 WHERE decile = 6 AND name = "pongaroa school"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (authority VARCHAR, decile VARCHAR, name VARCHAR) Question: Name the authority when the decile is 6 for pongaroa school [/INST] SELECT authority FROM table_name_32 WHERE decile = 6 AND name = "pongaroa school" </s>
|
Name the years for dannevirke south school
|
CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)
|
SELECT years FROM table_name_48 WHERE name = "dannevirke south school"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR) Question: Name the years for dannevirke south school [/INST] SELECT years FROM table_name_48 WHERE name = "dannevirke south school" </s>
|
Name the least decile for state authority and area of eketahuna with roll more than 44
|
CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR)
|
SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR) Question: Name the least decile for state authority and area of eketahuna with roll more than 44 [/INST] SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44 </s>
|
Tell me the name with area of eketahuna
|
CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR)
|
SELECT name FROM table_name_16 WHERE area = "eketahuna"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR) Question: Tell me the name with area of eketahuna [/INST] SELECT name FROM table_name_16 WHERE area = "eketahuna" </s>
|
Name what was completed on 12 april 1934
|
CREATE TABLE table_name_28 (completed VARCHAR, launched VARCHAR)
|
SELECT completed FROM table_name_28 WHERE launched = "12 april 1934"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (completed VARCHAR, launched VARCHAR) Question: Name what was completed on 12 april 1934 [/INST] SELECT completed FROM table_name_28 WHERE launched = "12 april 1934" </s>
|
Name the launched for 13 september 1934 completion
|
CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR)
|
SELECT launched FROM table_name_91 WHERE completed = "13 september 1934"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR) Question: Name the launched for 13 september 1934 completion [/INST] SELECT launched FROM table_name_91 WHERE completed = "13 september 1934" </s>
|
Name the ship launched 29 may 1934
|
CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR)
|
SELECT ship FROM table_name_22 WHERE launched = "29 may 1934"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR) Question: Name the ship launched 29 may 1934 [/INST] SELECT ship FROM table_name_22 WHERE launched = "29 may 1934" </s>
|
Name the laid down for launched being 16 february 1934
|
CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR)
|
SELECT laid_down FROM table_name_39 WHERE launched = "16 february 1934"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR) Question: Name the laid down for launched being 16 february 1934 [/INST] SELECT laid_down FROM table_name_39 WHERE launched = "16 february 1934" </s>
|
Name the pennant number for completion of 30 october 1934 and launched 29 march 1934
|
CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)
|
SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR) Question: Name the pennant number for completion of 30 october 1934 and launched 29 march 1934 [/INST] SELECT pennant_number FROM table_name_43 WHERE launched = "29 march 1934" AND completed = "30 october 1934" </s>
|
Name the laid down for completed of 22 october 1934
|
CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR)
|
SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR) Question: Name the laid down for completed of 22 october 1934 [/INST] SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934" </s>
|
what is the lowest votes of the candidate ranked 5th and riding in victoria?
|
CREATE TABLE table_name_94 (votes INTEGER, rank VARCHAR, riding VARCHAR)
|
SELECT MIN(votes) FROM table_name_94 WHERE rank = "5th" AND riding = "victoria"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (votes INTEGER, rank VARCHAR, riding VARCHAR) Question: what is the lowest votes of the candidate ranked 5th and riding in victoria? [/INST] SELECT MIN(votes) FROM table_name_94 WHERE rank = "5th" AND riding = "victoria" </s>
|
Which home captian has aus by 295 runs as the result?
|
CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR)
|
SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR) Question: Which home captian has aus by 295 runs as the result? [/INST] SELECT home_captain FROM table_name_21 WHERE result = "aus by 295 runs" </s>
|
Which result has adelaide oval as the venue?
|
CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR)
|
SELECT result FROM table_name_11 WHERE venue = "adelaide oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR) Question: Which result has adelaide oval as the venue? [/INST] SELECT result FROM table_name_11 WHERE venue = "adelaide oval" </s>
|
Born in 1982, this guard has what listed as a height?
|
CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)
|
SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR) Question: Born in 1982, this guard has what listed as a height? [/INST] SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982 </s>
|
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
|
CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)
|
SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR) Question: Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown [/INST] SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown" </s>
|
What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil?
|
CREATE TABLE table_name_34 (intermediate_sprints_classification_red_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, points_classification_navy_blue_jersey VARCHAR)
|
SELECT intermediate_sprints_classification_red_jersey FROM table_name_34 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND points_classification_navy_blue_jersey = "jose joaquin rojas gil"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (intermediate_sprints_classification_red_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, points_classification_navy_blue_jersey VARCHAR) Question: What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and Jose Joaquin Rojas Gil? [/INST] SELECT intermediate_sprints_classification_red_jersey FROM table_name_34 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND points_classification_navy_blue_jersey = "jose joaquin rojas gil" </s>
|
What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital?
|
CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)
|
SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) Question: What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, and Lampre-Fondital? [/INST] SELECT general_classification_yellow_jersey FROM table_name_74 WHERE mountains_classification_green_jersey = "murilo antonio fischer" AND team_classification = "lampre-fondital" </s>
|
What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner?
|
CREATE TABLE table_name_11 (points_classification_navy_blue_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)
|
SELECT points_classification_navy_blue_jersey FROM table_name_11 WHERE mountains_classification_green_jersey = "yoann le boulanger" AND team_classification = "gerolsteiner"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (points_classification_navy_blue_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR) Question: What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner? [/INST] SELECT points_classification_navy_blue_jersey FROM table_name_11 WHERE mountains_classification_green_jersey = "yoann le boulanger" AND team_classification = "gerolsteiner" </s>
|
What was the attendance on April 7?
|
CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR)
|
SELECT SUM(attendance) FROM table_name_75 WHERE date = "april 7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR) Question: What was the attendance on April 7? [/INST] SELECT SUM(attendance) FROM table_name_75 WHERE date = "april 7" </s>
|
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'?
|
CREATE TABLE table_name_25 (northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR)
|
SELECT northumberland_senior_benevolent_bowl FROM table_name_25 WHERE northumberland_minor_cup = "whitley bay 'a'"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (northumberland_senior_benevolent_bowl VARCHAR, northumberland_minor_cup VARCHAR) Question: Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'? [/INST] SELECT northumberland_senior_benevolent_bowl FROM table_name_25 WHERE northumberland_minor_cup = "whitley bay 'a'" </s>
|
What was the film nomination in the Netherlands?
|
CREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR)
|
SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR) Question: What was the film nomination in the Netherlands? [/INST] SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands" </s>
|
Who directed Turks Fruit?
|
CREATE TABLE table_name_6 (director VARCHAR, original_title VARCHAR)
|
SELECT director FROM table_name_6 WHERE original_title = "turks fruit"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (director VARCHAR, original_title VARCHAR) Question: Who directed Turks Fruit? [/INST] SELECT director FROM table_name_6 WHERE original_title = "turks fruit" </s>
|
What director is from Poland?
|
CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR)
|
SELECT director FROM table_name_65 WHERE country = "poland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR) Question: What director is from Poland? [/INST] SELECT director FROM table_name_65 WHERE country = "poland" </s>
|
Who directed the Romanian film?
|
CREATE TABLE table_name_60 (director VARCHAR, language VARCHAR)
|
SELECT director FROM table_name_60 WHERE language = "romanian"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (director VARCHAR, language VARCHAR) Question: Who directed the Romanian film? [/INST] SELECT director FROM table_name_60 WHERE language = "romanian" </s>
|
What placement gets more than $400?
|
CREATE TABLE table_name_18 (place VARCHAR, money___$__ INTEGER)
|
SELECT place FROM table_name_18 WHERE money___$__ > 400
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (place VARCHAR, money___$__ INTEGER) Question: What placement gets more than $400? [/INST] SELECT place FROM table_name_18 WHERE money___$__ > 400 </s>
|
What's the average payout of toney penna with a +2 par?
|
CREATE TABLE table_name_85 (money___ INTEGER, to_par VARCHAR, player VARCHAR)
|
SELECT AVG(money___) AS $__ FROM table_name_85 WHERE to_par = "+2" AND player = "toney penna"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (money___ INTEGER, to_par VARCHAR, player VARCHAR) Question: What's the average payout of toney penna with a +2 par? [/INST] SELECT AVG(money___) AS $__ FROM table_name_85 WHERE to_par = "+2" AND player = "toney penna" </s>
|
What is the attendance number of the game on April 16?
|
CREATE TABLE table_name_91 (attendance VARCHAR, date VARCHAR)
|
SELECT COUNT(attendance) FROM table_name_91 WHERE date = "april 16"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (attendance VARCHAR, date VARCHAR) Question: What is the attendance number of the game on April 16? [/INST] SELECT COUNT(attendance) FROM table_name_91 WHERE date = "april 16" </s>
|
What was the average pick of northwestern state college under round 3?
|
CREATE TABLE table_name_81 (pick INTEGER, round VARCHAR, college VARCHAR)
|
SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern state"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (pick INTEGER, round VARCHAR, college VARCHAR) Question: What was the average pick of northwestern state college under round 3? [/INST] SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern state" </s>
|
Rutgers college holds what position?
|
CREATE TABLE table_name_32 (position VARCHAR, college VARCHAR)
|
SELECT position FROM table_name_32 WHERE college = "rutgers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (position VARCHAR, college VARCHAR) Question: Rutgers college holds what position? [/INST] SELECT position FROM table_name_32 WHERE college = "rutgers" </s>
|
In what round smaller than 10, was the center les studdard picked in?
|
CREATE TABLE table_name_97 (pick INTEGER, round VARCHAR, position VARCHAR, name VARCHAR)
|
SELECT MIN(pick) FROM table_name_97 WHERE position = "center" AND name = "les studdard" AND round < 10
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (pick INTEGER, round VARCHAR, position VARCHAR, name VARCHAR) Question: In what round smaller than 10, was the center les studdard picked in? [/INST] SELECT MIN(pick) FROM table_name_97 WHERE position = "center" AND name = "les studdard" AND round < 10 </s>
|
Which college had rounds smaller than 2?
|
CREATE TABLE table_name_80 (college VARCHAR, round INTEGER)
|
SELECT college FROM table_name_80 WHERE round < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (college VARCHAR, round INTEGER) Question: Which college had rounds smaller than 2? [/INST] SELECT college FROM table_name_80 WHERE round < 2 </s>
|
What record was reached with a score of 7 - 2?
|
CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR)
|
SELECT record FROM table_name_8 WHERE score = "7 - 2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR) Question: What record was reached with a score of 7 - 2? [/INST] SELECT record FROM table_name_8 WHERE score = "7 - 2" </s>
|
What is the name of the club with a rank of 5?
|
CREATE TABLE table_name_78 (club VARCHAR, rank VARCHAR)
|
SELECT club FROM table_name_78 WHERE rank = "5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (club VARCHAR, rank VARCHAR) Question: What is the name of the club with a rank of 5? [/INST] SELECT club FROM table_name_78 WHERE rank = "5" </s>
|
What is the rank that shows 276 games?
|
CREATE TABLE table_name_25 (rank VARCHAR, games VARCHAR)
|
SELECT rank FROM table_name_25 WHERE games = "276"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (rank VARCHAR, games VARCHAR) Question: What is the rank that shows 276 games? [/INST] SELECT rank FROM table_name_25 WHERE games = "276" </s>
|
What is the rank that shows 426 games?
|
CREATE TABLE table_name_64 (rank VARCHAR, games VARCHAR)
|
SELECT rank FROM table_name_64 WHERE games = "426"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (rank VARCHAR, games VARCHAR) Question: What is the rank that shows 426 games? [/INST] SELECT rank FROM table_name_64 WHERE games = "426" </s>
|
What is the number of games for Roger Merrett?
|
CREATE TABLE table_name_39 (games VARCHAR, player VARCHAR)
|
SELECT games FROM table_name_39 WHERE player = "roger merrett"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (games VARCHAR, player VARCHAR) Question: What is the number of games for Roger Merrett? [/INST] SELECT games FROM table_name_39 WHERE player = "roger merrett" </s>
|
What Engine had a Finish of 27?
|
CREATE TABLE table_name_98 (engine VARCHAR, finish VARCHAR)
|
SELECT engine FROM table_name_98 WHERE finish = "27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (engine VARCHAR, finish VARCHAR) Question: What Engine had a Finish of 27? [/INST] SELECT engine FROM table_name_98 WHERE finish = "27" </s>
|
What Engine had a chassis of March 85c?
|
CREATE TABLE table_name_72 (engine VARCHAR, chassis VARCHAR)
|
SELECT engine FROM table_name_72 WHERE chassis = "march 85c"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (engine VARCHAR, chassis VARCHAR) Question: What Engine had a chassis of March 85c? [/INST] SELECT engine FROM table_name_72 WHERE chassis = "march 85c" </s>
|
What Engine has a Finish of 21?
|
CREATE TABLE table_name_68 (engine VARCHAR, finish VARCHAR)
|
SELECT engine FROM table_name_68 WHERE finish = "21"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (engine VARCHAR, finish VARCHAR) Question: What Engine has a Finish of 21? [/INST] SELECT engine FROM table_name_68 WHERE finish = "21" </s>
|
On what platform does Mindark publish?
|
CREATE TABLE table_name_84 (platform VARCHAR, publisher VARCHAR)
|
SELECT platform FROM table_name_84 WHERE publisher = "mindark"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (platform VARCHAR, publisher VARCHAR) Question: On what platform does Mindark publish? [/INST] SELECT platform FROM table_name_84 WHERE publisher = "mindark" </s>
|
What year did Avatar Reality release a game?
|
CREATE TABLE table_name_14 (year VARCHAR, developer VARCHAR)
|
SELECT year FROM table_name_14 WHERE developer = "avatar reality"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (year VARCHAR, developer VARCHAR) Question: What year did Avatar Reality release a game? [/INST] SELECT year FROM table_name_14 WHERE developer = "avatar reality" </s>
|
What publisher created Crysis Warhead?
|
CREATE TABLE table_name_35 (publisher VARCHAR, title VARCHAR)
|
SELECT publisher FROM table_name_35 WHERE title = "crysis warhead"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (publisher VARCHAR, title VARCHAR) Question: What publisher created Crysis Warhead? [/INST] SELECT publisher FROM table_name_35 WHERE title = "crysis warhead" </s>
|
For what platform does Mindark publish?
|
CREATE TABLE table_name_37 (platform VARCHAR, publisher VARCHAR)
|
SELECT platform FROM table_name_37 WHERE publisher = "mindark"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (platform VARCHAR, publisher VARCHAR) Question: For what platform does Mindark publish? [/INST] SELECT platform FROM table_name_37 WHERE publisher = "mindark" </s>
|
What publisher does Paleo Entertainment develop for?
|
CREATE TABLE table_name_14 (publisher VARCHAR, developer VARCHAR)
|
SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (publisher VARCHAR, developer VARCHAR) Question: What publisher does Paleo Entertainment develop for? [/INST] SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment" </s>
|
Who was the developer for Vigilance?
|
CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR)
|
SELECT developer FROM table_name_71 WHERE title = "vigilance"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (developer VARCHAR, title VARCHAR) Question: Who was the developer for Vigilance? [/INST] SELECT developer FROM table_name_71 WHERE title = "vigilance" </s>
|
Which player's home town is Swift Current, AB?
|
CREATE TABLE table_name_17 (player VARCHAR, home_town VARCHAR)
|
SELECT player FROM table_name_17 WHERE home_town = "swift current, ab"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (player VARCHAR, home_town VARCHAR) Question: Which player's home town is Swift Current, AB? [/INST] SELECT player FROM table_name_17 WHERE home_town = "swift current, ab" </s>
|
Which position does number 23 play?
|
CREATE TABLE table_name_13 (position VARCHAR, number VARCHAR)
|
SELECT position FROM table_name_13 WHERE number = "23"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (position VARCHAR, number VARCHAR) Question: Which position does number 23 play? [/INST] SELECT position FROM table_name_13 WHERE number = "23" </s>
|
Which number plays the skaters position?
|
CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR)
|
SELECT number FROM table_name_22 WHERE position = "skaters"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR) Question: Which number plays the skaters position? [/INST] SELECT number FROM table_name_22 WHERE position = "skaters" </s>
|
How much does number 26 weigh?
|
CREATE TABLE table_name_31 (weight VARCHAR, number VARCHAR)
|
SELECT weight FROM table_name_31 WHERE number = "26"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (weight VARCHAR, number VARCHAR) Question: How much does number 26 weigh? [/INST] SELECT weight FROM table_name_31 WHERE number = "26" </s>
|
Which family has a Name of humpback whale?
|
CREATE TABLE table_name_40 (family VARCHAR, name VARCHAR)
|
SELECT family FROM table_name_40 WHERE name = "humpback whale"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (family VARCHAR, name VARCHAR) Question: Which family has a Name of humpback whale? [/INST] SELECT family FROM table_name_40 WHERE name = "humpback whale" </s>
|
Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804?
|
CREATE TABLE table_name_20 (name VARCHAR, red_list VARCHAR, species_authority VARCHAR)
|
SELECT name FROM table_name_20 WHERE red_list > 0 AND species_authority = "balaenoptera acutorostrata lacépède, 1804"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (name VARCHAR, red_list VARCHAR, species_authority VARCHAR) Question: Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804? [/INST] SELECT name FROM table_name_20 WHERE red_list > 0 AND species_authority = "balaenoptera acutorostrata lacépède, 1804" </s>
|
Which Species/Authority has a Name of true's beaked whale?
|
CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR)
|
SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (species_authority VARCHAR, name VARCHAR) Question: Which Species/Authority has a Name of true's beaked whale? [/INST] SELECT species_authority FROM table_name_44 WHERE name = "true's beaked whale" </s>
|
What engine has 2 points?
|
CREATE TABLE table_name_41 (engine_s_ VARCHAR, points VARCHAR)
|
SELECT engine_s_ FROM table_name_41 WHERE points = "2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (engine_s_ VARCHAR, points VARCHAR) Question: What engine has 2 points? [/INST] SELECT engine_s_ FROM table_name_41 WHERE points = "2" </s>
|
What tyres are associated with a year after 1974 and 5 points?
|
CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR)
|
SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR) Question: What tyres are associated with a year after 1974 and 5 points? [/INST] SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5" </s>
|
What is the engine(s) on the car before 1978 with ensign n177 chassis?
|
CREATE TABLE table_name_71 (engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR)
|
SELECT engine_s_ FROM table_name_71 WHERE chassis = "ensign n177" AND year < 1978
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR) Question: What is the engine(s) on the car before 1978 with ensign n177 chassis? [/INST] SELECT engine_s_ FROM table_name_71 WHERE chassis = "ensign n177" AND year < 1978 </s>
|
What tyres have 1 point and an ensign n177 chassis?
|
CREATE TABLE table_name_15 (tyres VARCHAR, points VARCHAR, chassis VARCHAR)
|
SELECT tyres FROM table_name_15 WHERE points = "1" AND chassis = "ensign n177"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (tyres VARCHAR, points VARCHAR, chassis VARCHAR) Question: What tyres have 1 point and an ensign n177 chassis? [/INST] SELECT tyres FROM table_name_15 WHERE points = "1" AND chassis = "ensign n177" </s>
|
Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?
|
CREATE TABLE table_name_12 (entrant VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
|
SELECT entrant FROM table_name_12 WHERE year < 1987 AND engine = "bmw straight-4 (t/c)" AND pts > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (entrant VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) Question: Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts? [/INST] SELECT entrant FROM table_name_12 WHERE year < 1987 AND engine = "bmw straight-4 (t/c)" AND pts > 2 </s>
|
What did Ku Hyo-Jin rank?
|
CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR)
|
SELECT COUNT(rank) FROM table_name_46 WHERE name = "ku hyo-jin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) Question: What did Ku Hyo-Jin rank? [/INST] SELECT COUNT(rank) FROM table_name_46 WHERE name = "ku hyo-jin" </s>
|
What was the rank of the person who swam in Lane 7 with a time of 2:25.86?
|
CREATE TABLE table_name_55 (rank INTEGER, time VARCHAR, lane VARCHAR)
|
SELECT SUM(rank) FROM table_name_55 WHERE time = "2:25.86" AND lane < 7
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (rank INTEGER, time VARCHAR, lane VARCHAR) Question: What was the rank of the person who swam in Lane 7 with a time of 2:25.86? [/INST] SELECT SUM(rank) FROM table_name_55 WHERE time = "2:25.86" AND lane < 7 </s>
|
Which Laid down has a Ship of fearless?
|
CREATE TABLE table_name_57 (laid_down VARCHAR, ship VARCHAR)
|
SELECT laid_down FROM table_name_57 WHERE ship = "fearless"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (laid_down VARCHAR, ship VARCHAR) Question: Which Laid down has a Ship of fearless? [/INST] SELECT laid_down FROM table_name_57 WHERE ship = "fearless" </s>
|
Which ship has a Pennant number of h.69?
|
CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR)
|
SELECT ship FROM table_name_43 WHERE pennant_number = "h.69"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR) Question: Which ship has a Pennant number of h.69? [/INST] SELECT ship FROM table_name_43 WHERE pennant_number = "h.69" </s>
|
Which Launched has Commissioned 6 june 1935?
|
CREATE TABLE table_name_36 (launched VARCHAR, commissioned VARCHAR)
|
SELECT launched FROM table_name_36 WHERE commissioned = "6 june 1935"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (launched VARCHAR, commissioned VARCHAR) Question: Which Launched has Commissioned 6 june 1935? [/INST] SELECT launched FROM table_name_36 WHERE commissioned = "6 june 1935" </s>
|
What launch has a Ship of fearless?
|
CREATE TABLE table_name_64 (launched VARCHAR, ship VARCHAR)
|
SELECT launched FROM table_name_64 WHERE ship = "fearless"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (launched VARCHAR, ship VARCHAR) Question: What launch has a Ship of fearless? [/INST] SELECT launched FROM table_name_64 WHERE ship = "fearless" </s>
|
Which commission was launched 28 june 1934, and has a Pennant number of h.78?
|
CREATE TABLE table_name_40 (commissioned VARCHAR, launched VARCHAR, pennant_number VARCHAR)
|
SELECT commissioned FROM table_name_40 WHERE launched = "28 june 1934" AND pennant_number = "h.78"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (commissioned VARCHAR, launched VARCHAR, pennant_number VARCHAR) Question: Which commission was launched 28 june 1934, and has a Pennant number of h.78? [/INST] SELECT commissioned FROM table_name_40 WHERE launched = "28 june 1934" AND pennant_number = "h.78" </s>
|
Which year has a Round of 17?
|
CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)
|
SELECT year FROM table_name_2 WHERE round = "17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR) Question: Which year has a Round of 17? [/INST] SELECT year FROM table_name_2 WHERE round = "17" </s>
|
Which opponent has a Club of essendon, and a Score of 13.4.82?
|
CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR)
|
SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (opponent VARCHAR, club VARCHAR, score VARCHAR) Question: Which opponent has a Club of essendon, and a Score of 13.4.82? [/INST] SELECT opponent FROM table_name_73 WHERE club = "essendon" AND score = "13.4.82" </s>
|
Which opponent has a Score of 15.4.94?
|
CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR)
|
SELECT opponent FROM table_name_89 WHERE score = "15.4.94"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) Question: Which opponent has a Score of 15.4.94? [/INST] SELECT opponent FROM table_name_89 WHERE score = "15.4.94" </s>
|
Which opponent has a Round of 12?
|
CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR)
|
SELECT opponent FROM table_name_34 WHERE round = "12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR) Question: Which opponent has a Round of 12? [/INST] SELECT opponent FROM table_name_34 WHERE round = "12" </s>
|
Which Quarter has a Round of 17?
|
CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR)
|
SELECT quarter FROM table_name_7 WHERE round = "17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR) Question: Which Quarter has a Round of 17? [/INST] SELECT quarter FROM table_name_7 WHERE round = "17" </s>
|
When was moray firth built?
|
CREATE TABLE table_name_32 (whenbuilt VARCHAR, name VARCHAR)
|
SELECT whenbuilt FROM table_name_32 WHERE name = "moray firth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (whenbuilt VARCHAR, name VARCHAR) Question: When was moray firth built? [/INST] SELECT whenbuilt FROM table_name_32 WHERE name = "moray firth" </s>
|
Name the withdrawn for charles dickens
|
CREATE TABLE table_name_93 (withdrawn VARCHAR, name VARCHAR)
|
SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (withdrawn VARCHAR, name VARCHAR) Question: Name the withdrawn for charles dickens [/INST] SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens" </s>
|
Which opponent has a Date of july 27?
|
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_24 WHERE date = "july 27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) Question: Which opponent has a Date of july 27? [/INST] SELECT opponent FROM table_name_24 WHERE date = "july 27" </s>
|
What Venue held the World Race Walking Cup tourney before 2008?
|
CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR)
|
SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR) Question: What Venue held the World Race Walking Cup tourney before 2008? [/INST] SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup" </s>
|
What tournement was held in Helsinki, Finland in 2005?
|
CREATE TABLE table_name_8 (event VARCHAR, venue VARCHAR)
|
SELECT event FROM table_name_8 WHERE venue = "helsinki, finland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (event VARCHAR, venue VARCHAR) Question: What tournement was held in Helsinki, Finland in 2005? [/INST] SELECT event FROM table_name_8 WHERE venue = "helsinki, finland" </s>
|
What Venue held the Olympic games in 2012?
|
CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR)
|
SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 2012
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR) Question: What Venue held the Olympic games in 2012? [/INST] SELECT venue FROM table_name_12 WHERE tournament = "olympic games" AND year = 2012 </s>
|
What's the website for the yamagata international documentary film festival?
|
CREATE TABLE table_name_27 (website VARCHAR, name VARCHAR)
|
SELECT website FROM table_name_27 WHERE name = "yamagata international documentary film festival"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (website VARCHAR, name VARCHAR) Question: What's the website for the yamagata international documentary film festival? [/INST] SELECT website FROM table_name_27 WHERE name = "yamagata international documentary film festival" </s>
|
How did Johnnie Parsons finish when his qualifying time was 135.328?
|
CREATE TABLE table_name_51 (rank VARCHAR, qual VARCHAR)
|
SELECT rank FROM table_name_51 WHERE qual = "135.328"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (rank VARCHAR, qual VARCHAR) Question: How did Johnnie Parsons finish when his qualifying time was 135.328? [/INST] SELECT rank FROM table_name_51 WHERE qual = "135.328" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.