instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What Title has a Role of Mylene?
|
CREATE TABLE table_name_79 (title VARCHAR, role VARCHAR)
|
SELECT title FROM table_name_79 WHERE role = "mylene"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (title VARCHAR, role VARCHAR) Question: What Title has a Role of Mylene? [/INST] SELECT title FROM table_name_79 WHERE role = "mylene" </s>
|
In what Year is there a Role of (cameo)?
|
CREATE TABLE table_name_55 (year VARCHAR, role VARCHAR)
|
SELECT year FROM table_name_55 WHERE role = "(cameo)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (year VARCHAR, role VARCHAR) Question: In what Year is there a Role of (cameo)? [/INST] SELECT year FROM table_name_55 WHERE role = "(cameo)" </s>
|
On what date was the result 106-105?
|
CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR)
|
SELECT date FROM table_name_57 WHERE result = "106-105"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR) Question: On what date was the result 106-105? [/INST] SELECT date FROM table_name_57 WHERE result = "106-105" </s>
|
What was the result for Portland at home on June 12?
|
CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR)
|
SELECT result FROM table_name_26 WHERE home_team = "portland" AND date = "june 12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR) Question: What was the result for Portland at home on June 12? [/INST] SELECT result FROM table_name_26 WHERE home_team = "portland" AND date = "june 12" </s>
|
Who was the home team with a result of 105-99?
|
CREATE TABLE table_name_32 (home_team VARCHAR, result VARCHAR)
|
SELECT home_team FROM table_name_32 WHERE result = "105-99"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (home_team VARCHAR, result VARCHAR) Question: Who was the home team with a result of 105-99? [/INST] SELECT home_team FROM table_name_32 WHERE result = "105-99" </s>
|
On what date was Game 1?
|
CREATE TABLE table_name_54 (date VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_54 WHERE game = "game 1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (date VARCHAR, game VARCHAR) Question: On what date was Game 1? [/INST] SELECT date FROM table_name_54 WHERE game = "game 1" </s>
|
On what date was Game 3?
|
CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_2 WHERE game = "game 3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR) Question: On what date was Game 3? [/INST] SELECT date FROM table_name_2 WHERE game = "game 3" </s>
|
On what date was Portland on the road for Game 2?
|
CREATE TABLE table_name_95 (date VARCHAR, road_team VARCHAR, game VARCHAR)
|
SELECT date FROM table_name_95 WHERE road_team = "portland" AND game = "game 2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (date VARCHAR, road_team VARCHAR, game VARCHAR) Question: On what date was Portland on the road for Game 2? [/INST] SELECT date FROM table_name_95 WHERE road_team = "portland" AND game = "game 2" </s>
|
What was the highest number of games played when they had over 14 against and 3 losses?
|
CREATE TABLE table_name_27 (played INTEGER, against VARCHAR, lost VARCHAR)
|
SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (played INTEGER, against VARCHAR, lost VARCHAR) Question: What was the highest number of games played when they had over 14 against and 3 losses? [/INST] SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 3 </s>
|
What was the position for team corinthians with over 14 against?
|
CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR)
|
SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 14
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (position INTEGER, team VARCHAR, against VARCHAR) Question: What was the position for team corinthians with over 14 against? [/INST] SELECT AVG(position) FROM table_name_90 WHERE team = "corinthians" AND against > 14 </s>
|
How many games played for team bangu with under 15 against, and over 9 points?
|
CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, against VARCHAR, team VARCHAR)
|
SELECT MAX(played) FROM table_name_19 WHERE against < 15 AND team = "bangu" AND points > 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, against VARCHAR, team VARCHAR) Question: How many games played for team bangu with under 15 against, and over 9 points? [/INST] SELECT MAX(played) FROM table_name_19 WHERE against < 15 AND team = "bangu" AND points > 9 </s>
|
When is Northern Ireland the opponent?
|
CREATE TABLE table_name_55 (date VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_55 WHERE opponent = "northern ireland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (date VARCHAR, opponent VARCHAR) Question: When is Northern Ireland the opponent? [/INST] SELECT date FROM table_name_55 WHERE opponent = "northern ireland" </s>
|
Name the length for class of gts-2 and date of october 8
|
CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR)
|
SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR) Question: Name the length for class of gts-2 and date of october 8 [/INST] SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 8" </s>
|
Name the circuit with class of gts
|
CREATE TABLE table_name_78 (circuit VARCHAR, class VARCHAR)
|
SELECT circuit FROM table_name_78 WHERE class = "gts"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (circuit VARCHAR, class VARCHAR) Question: Name the circuit with class of gts [/INST] SELECT circuit FROM table_name_78 WHERE class = "gts" </s>
|
Name the length for all class and date of march 18
|
CREATE TABLE table_name_63 (length VARCHAR, class VARCHAR, date VARCHAR)
|
SELECT length FROM table_name_63 WHERE class = "all" AND date = "march 18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (length VARCHAR, class VARCHAR, date VARCHAR) Question: Name the length for all class and date of march 18 [/INST] SELECT length FROM table_name_63 WHERE class = "all" AND date = "march 18" </s>
|
How many Games has a Team of chicago?
|
CREATE TABLE table_name_55 (game VARCHAR, team VARCHAR)
|
SELECT COUNT(game) FROM table_name_55 WHERE team = "chicago"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (game VARCHAR, team VARCHAR) Question: How many Games has a Team of chicago? [/INST] SELECT COUNT(game) FROM table_name_55 WHERE team = "chicago" </s>
|
What is the High points of charles oakley , kevin willis (11)?
|
CREATE TABLE table_name_55 (high_points VARCHAR, high_rebounds VARCHAR)
|
SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (11)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (high_points VARCHAR, high_rebounds VARCHAR) Question: What is the High points of charles oakley , kevin willis (11)? [/INST] SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (11)" </s>
|
Which Game has a Score of w 90–82 (ot)?
|
CREATE TABLE table_name_40 (game VARCHAR, score VARCHAR)
|
SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (game VARCHAR, score VARCHAR) Question: Which Game has a Score of w 90–82 (ot)? [/INST] SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)" </s>
|
What is the High rebounds of washington Team?
|
CREATE TABLE table_name_43 (high_rebounds VARCHAR, team VARCHAR)
|
SELECT high_rebounds FROM table_name_43 WHERE team = "washington"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (high_rebounds VARCHAR, team VARCHAR) Question: What is the High rebounds of washington Team? [/INST] SELECT high_rebounds FROM table_name_43 WHERE team = "washington" </s>
|
What is the sum of Game on february 28?
|
CREATE TABLE table_name_52 (game INTEGER, date VARCHAR)
|
SELECT SUM(game) FROM table_name_52 WHERE date = "february 28"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (game INTEGER, date VARCHAR) Question: What is the sum of Game on february 28? [/INST] SELECT SUM(game) FROM table_name_52 WHERE date = "february 28" </s>
|
Which Country has a number of Wins larger than 2?
|
CREATE TABLE table_name_71 (country VARCHAR, wins INTEGER)
|
SELECT country FROM table_name_71 WHERE wins > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (country VARCHAR, wins INTEGER) Question: Which Country has a number of Wins larger than 2? [/INST] SELECT country FROM table_name_71 WHERE wins > 2 </s>
|
What ranking has the nationality of spain and the goals of 26?
|
CREATE TABLE table_name_95 (ranking VARCHAR, nationality VARCHAR, goals VARCHAR)
|
SELECT ranking FROM table_name_95 WHERE nationality = "spain" AND goals = 26
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (ranking VARCHAR, nationality VARCHAR, goals VARCHAR) Question: What ranking has the nationality of spain and the goals of 26? [/INST] SELECT ranking FROM table_name_95 WHERE nationality = "spain" AND goals = 26 </s>
|
What name is the goals of 25?
|
CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR)
|
SELECT name FROM table_name_18 WHERE goals = 25
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (name VARCHAR, goals VARCHAR) Question: What name is the goals of 25? [/INST] SELECT name FROM table_name_18 WHERE goals = 25 </s>
|
what's the grid with time +37.949?
|
CREATE TABLE table_name_59 (grid VARCHAR, time VARCHAR)
|
SELECT COUNT(grid) FROM table_name_59 WHERE time = "+37.949"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (grid VARCHAR, time VARCHAR) Question: what's the grid with time +37.949? [/INST] SELECT COUNT(grid) FROM table_name_59 WHERE time = "+37.949" </s>
|
what driver has 12 in grid?
|
CREATE TABLE table_name_80 (driver VARCHAR, grid VARCHAR)
|
SELECT driver FROM table_name_80 WHERE grid = 12
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (driver VARCHAR, grid VARCHAR) Question: what driver has 12 in grid? [/INST] SELECT driver FROM table_name_80 WHERE grid = 12 </s>
|
what is the highest grid for new zealand?
|
CREATE TABLE table_name_59 (grid INTEGER, team VARCHAR)
|
SELECT MAX(grid) FROM table_name_59 WHERE team = "new zealand"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (grid INTEGER, team VARCHAR) Question: what is the highest grid for new zealand? [/INST] SELECT MAX(grid) FROM table_name_59 WHERE team = "new zealand" </s>
|
what team has +1'25.337 for the time?
|
CREATE TABLE table_name_92 (team VARCHAR, time VARCHAR)
|
SELECT team FROM table_name_92 WHERE time = "+1'25.337"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (team VARCHAR, time VARCHAR) Question: what team has +1'25.337 for the time? [/INST] SELECT team FROM table_name_92 WHERE time = "+1'25.337" </s>
|
What was the result at A Arena, the SL league, and a match number over 16?
|
CREATE TABLE table_name_15 (result VARCHAR, match VARCHAR, arena VARCHAR, league VARCHAR)
|
SELECT result FROM table_name_15 WHERE arena = "a" AND league = "sl" AND match > 16
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (result VARCHAR, match VARCHAR, arena VARCHAR, league VARCHAR) Question: What was the result at A Arena, the SL league, and a match number over 16? [/INST] SELECT result FROM table_name_15 WHERE arena = "a" AND league = "sl" AND match > 16 </s>
|
Opponent of @ atlanta flames had what game?
|
CREATE TABLE table_name_44 (game VARCHAR, opponent VARCHAR)
|
SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (game VARCHAR, opponent VARCHAR) Question: Opponent of @ atlanta flames had what game? [/INST] SELECT game FROM table_name_44 WHERE opponent = "@ atlanta flames" </s>
|
Record of 3-3-1 had what lowest game?
|
CREATE TABLE table_name_81 (game INTEGER, record VARCHAR)
|
SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (game INTEGER, record VARCHAR) Question: Record of 3-3-1 had what lowest game? [/INST] SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1" </s>
|
What was the date when the game had a save by Aguilera (5)?
|
CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR)
|
SELECT date FROM table_name_65 WHERE save = "aguilera (5)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (date VARCHAR, save VARCHAR) Question: What was the date when the game had a save by Aguilera (5)? [/INST] SELECT date FROM table_name_65 WHERE save = "aguilera (5)" </s>
|
What was the Save in the game that has a Loss of sanderson (6-5)?
|
CREATE TABLE table_name_96 (save VARCHAR, loss VARCHAR)
|
SELECT save FROM table_name_96 WHERE loss = "sanderson (6-5)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (save VARCHAR, loss VARCHAR) Question: What was the Save in the game that has a Loss of sanderson (6-5)? [/INST] SELECT save FROM table_name_96 WHERE loss = "sanderson (6-5)" </s>
|
Which Wins have a Rank of 3?
|
CREATE TABLE table_name_77 (wins INTEGER, rank VARCHAR)
|
SELECT AVG(wins) FROM table_name_77 WHERE rank = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (wins INTEGER, rank VARCHAR) Question: Which Wins have a Rank of 3? [/INST] SELECT AVG(wins) FROM table_name_77 WHERE rank = 3 </s>
|
Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405?
|
CREATE TABLE table_name_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR)
|
SELECT AVG(events) FROM table_name_60 WHERE player = "tom kite" AND earnings___$__ < 760 OFFSET 405 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (events INTEGER, player VARCHAR, earnings___$__ VARCHAR) Question: Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405? [/INST] SELECT AVG(events) FROM table_name_60 WHERE player = "tom kite" AND earnings___$__ < 760 OFFSET 405 ROWS </s>
|
Which events have a Rank of 1?
|
CREATE TABLE table_name_7 (events VARCHAR, rank VARCHAR)
|
SELECT events FROM table_name_7 WHERE rank = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (events VARCHAR, rank VARCHAR) Question: Which events have a Rank of 1? [/INST] SELECT events FROM table_name_7 WHERE rank = 1 </s>
|
What is the fewest Points that has Willie Heston as Player and less than 3 as Touchdowns?
|
CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, touchdowns VARCHAR)
|
SELECT MIN(points) FROM table_name_12 WHERE player = "willie heston" AND touchdowns < 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, touchdowns VARCHAR) Question: What is the fewest Points that has Willie Heston as Player and less than 3 as Touchdowns? [/INST] SELECT MIN(points) FROM table_name_12 WHERE player = "willie heston" AND touchdowns < 3 </s>
|
What is the Departure time at Rajendranagar Terminal?
|
CREATE TABLE table_name_66 (departure VARCHAR, station_name VARCHAR)
|
SELECT departure FROM table_name_66 WHERE station_name = "rajendranagar terminal"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (departure VARCHAR, station_name VARCHAR) Question: What is the Departure time at Rajendranagar Terminal? [/INST] SELECT departure FROM table_name_66 WHERE station_name = "rajendranagar terminal" </s>
|
What is the Station Code of the Destination Station Departure?
|
CREATE TABLE table_name_37 (station_code VARCHAR, departure VARCHAR)
|
SELECT station_code FROM table_name_37 WHERE departure = "destination station"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (station_code VARCHAR, departure VARCHAR) Question: What is the Station Code of the Destination Station Departure? [/INST] SELECT station_code FROM table_name_37 WHERE departure = "destination station" </s>
|
At what Platform is the Departure 18:00?
|
CREATE TABLE table_name_26 (platform VARCHAR, departure VARCHAR)
|
SELECT platform FROM table_name_26 WHERE departure = "18:00"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (platform VARCHAR, departure VARCHAR) Question: At what Platform is the Departure 18:00? [/INST] SELECT platform FROM table_name_26 WHERE departure = "18:00" </s>
|
What is the Station Name of the Arrival Starting Station?
|
CREATE TABLE table_name_63 (station_name VARCHAR, arrival VARCHAR)
|
SELECT station_name FROM table_name_63 WHERE arrival = "starting station"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (station_name VARCHAR, arrival VARCHAR) Question: What is the Station Name of the Arrival Starting Station? [/INST] SELECT station_name FROM table_name_63 WHERE arrival = "starting station" </s>
|
What is the Arrival time of the Patna Junction Station?
|
CREATE TABLE table_name_62 (arrival VARCHAR, station_name VARCHAR)
|
SELECT arrival FROM table_name_62 WHERE station_name = "patna junction"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (arrival VARCHAR, station_name VARCHAR) Question: What is the Arrival time of the Patna Junction Station? [/INST] SELECT arrival FROM table_name_62 WHERE station_name = "patna junction" </s>
|
What Station Name has an Arrival time of 01:10?
|
CREATE TABLE table_name_97 (station_name VARCHAR, arrival VARCHAR)
|
SELECT station_name FROM table_name_97 WHERE arrival = "01:10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (station_name VARCHAR, arrival VARCHAR) Question: What Station Name has an Arrival time of 01:10? [/INST] SELECT station_name FROM table_name_97 WHERE arrival = "01:10" </s>
|
What was the score for the game against the New Jersey Nets?
|
CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR)
|
SELECT score FROM table_name_14 WHERE opponent = "new jersey nets"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR) Question: What was the score for the game against the New Jersey Nets? [/INST] SELECT score FROM table_name_14 WHERE opponent = "new jersey nets" </s>
|
On which date was the game played against the Milwaukee Bucks?
|
CREATE TABLE table_name_36 (date VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_36 WHERE opponent = "milwaukee bucks"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (date VARCHAR, opponent VARCHAR) Question: On which date was the game played against the Milwaukee Bucks? [/INST] SELECT date FROM table_name_36 WHERE opponent = "milwaukee bucks" </s>
|
What was the result of the game against Luxembourg?
|
CREATE TABLE table_name_13 (results¹ VARCHAR, opponent VARCHAR)
|
SELECT results¹ FROM table_name_13 WHERE opponent = "luxembourg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (results¹ VARCHAR, opponent VARCHAR) Question: What was the result of the game against Luxembourg? [/INST] SELECT results¹ FROM table_name_13 WHERE opponent = "luxembourg" </s>
|
When did the city of Novi Sad participate?
|
CREATE TABLE table_name_14 (date VARCHAR, city VARCHAR)
|
SELECT date FROM table_name_14 WHERE city = "novi sad"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, city VARCHAR) Question: When did the city of Novi Sad participate? [/INST] SELECT date FROM table_name_14 WHERE city = "novi sad" </s>
|
What was the result of the game against Luxembourg?
|
CREATE TABLE table_name_97 (results¹ VARCHAR, opponent VARCHAR)
|
SELECT results¹ FROM table_name_97 WHERE opponent = "luxembourg"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (results¹ VARCHAR, opponent VARCHAR) Question: What was the result of the game against Luxembourg? [/INST] SELECT results¹ FROM table_name_97 WHERE opponent = "luxembourg" </s>
|
What was the result for the game at Memorial Stadium in week 15?
|
CREATE TABLE table_name_24 (result VARCHAR, game_site VARCHAR, week VARCHAR)
|
SELECT result FROM table_name_24 WHERE game_site = "memorial stadium" AND week = 15
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (result VARCHAR, game_site VARCHAR, week VARCHAR) Question: What was the result for the game at Memorial Stadium in week 15? [/INST] SELECT result FROM table_name_24 WHERE game_site = "memorial stadium" AND week = 15 </s>
|
Which Series has a Score of 0–6?
|
CREATE TABLE table_name_99 (series VARCHAR, score VARCHAR)
|
SELECT series FROM table_name_99 WHERE score = "0–6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (series VARCHAR, score VARCHAR) Question: Which Series has a Score of 0–6? [/INST] SELECT series FROM table_name_99 WHERE score = "0–6" </s>
|
Which Series has a Game larger than 1, and a Date of april 18?
|
CREATE TABLE table_name_39 (series VARCHAR, game VARCHAR, date VARCHAR)
|
SELECT series FROM table_name_39 WHERE game > 1 AND date = "april 18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (series VARCHAR, game VARCHAR, date VARCHAR) Question: Which Series has a Game larger than 1, and a Date of april 18? [/INST] SELECT series FROM table_name_39 WHERE game > 1 AND date = "april 18" </s>
|
Which Series has an Opponent of new york rangers, and a Score of 3–2 ot?
|
CREATE TABLE table_name_59 (series VARCHAR, opponent VARCHAR, score VARCHAR)
|
SELECT series FROM table_name_59 WHERE opponent = "new york rangers" AND score = "3–2 ot"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (series VARCHAR, opponent VARCHAR, score VARCHAR) Question: Which Series has an Opponent of new york rangers, and a Score of 3–2 ot? [/INST] SELECT series FROM table_name_59 WHERE opponent = "new york rangers" AND score = "3–2 ot" </s>
|
Which Series has an Opponent of @ new york rangers, and a Date of april 22?
|
CREATE TABLE table_name_70 (series VARCHAR, opponent VARCHAR, date VARCHAR)
|
SELECT series FROM table_name_70 WHERE opponent = "@ new york rangers" AND date = "april 22"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (series VARCHAR, opponent VARCHAR, date VARCHAR) Question: Which Series has an Opponent of @ new york rangers, and a Date of april 22? [/INST] SELECT series FROM table_name_70 WHERE opponent = "@ new york rangers" AND date = "april 22" </s>
|
How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6?
|
CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR)
|
SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR) Question: How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6? [/INST] SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 6 </s>
|
How many Points have a Drawn smaller than 0?
|
CREATE TABLE table_name_36 (points VARCHAR, drawn INTEGER)
|
SELECT COUNT(points) FROM table_name_36 WHERE drawn < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (points VARCHAR, drawn INTEGER) Question: How many Points have a Drawn smaller than 0? [/INST] SELECT COUNT(points) FROM table_name_36 WHERE drawn < 0 </s>
|
How many Drawn have an Against smaller than 5, and a Played smaller than 3?
|
CREATE TABLE table_name_38 (drawn VARCHAR, against VARCHAR, played VARCHAR)
|
SELECT COUNT(drawn) FROM table_name_38 WHERE against < 5 AND played < 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (drawn VARCHAR, against VARCHAR, played VARCHAR) Question: How many Drawn have an Against smaller than 5, and a Played smaller than 3? [/INST] SELECT COUNT(drawn) FROM table_name_38 WHERE against < 5 AND played < 3 </s>
|
Which Position has an Against of 5, and a Drawn larger than 0?
|
CREATE TABLE table_name_35 (position INTEGER, against VARCHAR, drawn VARCHAR)
|
SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (position INTEGER, against VARCHAR, drawn VARCHAR) Question: Which Position has an Against of 5, and a Drawn larger than 0? [/INST] SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 0 </s>
|
Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2?
|
CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR)
|
SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = "6" AND against > 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR) Question: Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2? [/INST] SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = "6" AND against > 2 </s>
|
Which Points is the lowest one that has a Position larger than 5?
|
CREATE TABLE table_name_36 (points INTEGER, position INTEGER)
|
SELECT MIN(points) FROM table_name_36 WHERE position > 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (points INTEGER, position INTEGER) Question: Which Points is the lowest one that has a Position larger than 5? [/INST] SELECT MIN(points) FROM table_name_36 WHERE position > 5 </s>
|
what team lost the most points
|
CREATE TABLE table_name_56 (lost VARCHAR)
|
SELECT lost FROM table_name_56 WHERE "points" = "points"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (lost VARCHAR) Question: what team lost the most points [/INST] SELECT lost FROM table_name_56 WHERE "points" = "points" </s>
|
What opponent has 3-2 as the score, and anderson (2-6) as a loss?
|
CREATE TABLE table_name_6 (opponent VARCHAR, score VARCHAR, loss VARCHAR)
|
SELECT opponent FROM table_name_6 WHERE score = "3-2" AND loss = "anderson (2-6)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (opponent VARCHAR, score VARCHAR, loss VARCHAR) Question: What opponent has 3-2 as the score, and anderson (2-6) as a loss? [/INST] SELECT opponent FROM table_name_6 WHERE score = "3-2" AND loss = "anderson (2-6)" </s>
|
What score has an attendance less than 10,553?
|
CREATE TABLE table_name_62 (score VARCHAR, attendance INTEGER)
|
SELECT score FROM table_name_62 WHERE attendance < 10 OFFSET 553 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, attendance INTEGER) Question: What score has an attendance less than 10,553? [/INST] SELECT score FROM table_name_62 WHERE attendance < 10 OFFSET 553 ROWS </s>
|
What is the highest episode of Wood Flutes segment c?
|
CREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR)
|
SELECT MAX(episode) FROM table_name_65 WHERE segment_c = "wood flutes"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR) Question: What is the highest episode of Wood Flutes segment c? [/INST] SELECT MAX(episode) FROM table_name_65 WHERE segment_c = "wood flutes" </s>
|
What is Segment D of 20-08 series Ep.?
|
CREATE TABLE table_name_89 (segment_d VARCHAR, series_ep VARCHAR)
|
SELECT segment_d FROM table_name_89 WHERE series_ep = "20-08"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (segment_d VARCHAR, series_ep VARCHAR) Question: What is Segment D of 20-08 series Ep.? [/INST] SELECT segment_d FROM table_name_89 WHERE series_ep = "20-08" </s>
|
What year did they get 4 points with Suzuki?
|
CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, points VARCHAR)
|
SELECT AVG(year) FROM table_name_97 WHERE team = "suzuki" AND points = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, points VARCHAR) Question: What year did they get 4 points with Suzuki? [/INST] SELECT AVG(year) FROM table_name_97 WHERE team = "suzuki" AND points = 4 </s>
|
What was the last year that they had less than 16 points in class 500cc?
|
CREATE TABLE table_name_11 (year INTEGER, points VARCHAR, class VARCHAR)
|
SELECT MAX(year) FROM table_name_11 WHERE points < 16 AND class = "500cc"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year INTEGER, points VARCHAR, class VARCHAR) Question: What was the last year that they had less than 16 points in class 500cc? [/INST] SELECT MAX(year) FROM table_name_11 WHERE points < 16 AND class = "500cc" </s>
|
Which party had an incumbent of W. Jasper Talbert?
|
CREATE TABLE table_name_70 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_name_70 WHERE incumbent = "w. jasper talbert"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (party VARCHAR, incumbent VARCHAR) Question: Which party had an incumbent of W. Jasper Talbert? [/INST] SELECT party FROM table_name_70 WHERE incumbent = "w. jasper talbert" </s>
|
which team has a record of 13-18?
|
CREATE TABLE table_name_42 (opponent VARCHAR, record VARCHAR)
|
SELECT opponent FROM table_name_42 WHERE record = "13-18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (opponent VARCHAR, record VARCHAR) Question: which team has a record of 13-18? [/INST] SELECT opponent FROM table_name_42 WHERE record = "13-18" </s>
|
What was the record for May 26?
|
CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_64 WHERE date = "may 26"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR) Question: What was the record for May 26? [/INST] SELECT record FROM table_name_64 WHERE date = "may 26" </s>
|
What was the loss details for the team with an attendance of 15,298?
|
CREATE TABLE table_name_65 (loss VARCHAR, attendance VARCHAR)
|
SELECT loss FROM table_name_65 WHERE attendance = "15,298"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (loss VARCHAR, attendance VARCHAR) Question: What was the loss details for the team with an attendance of 15,298? [/INST] SELECT loss FROM table_name_65 WHERE attendance = "15,298" </s>
|
What city has march 30 as the date?
|
CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR)
|
SELECT city FROM table_name_82 WHERE date = "march 30"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR) Question: What city has march 30 as the date? [/INST] SELECT city FROM table_name_82 WHERE date = "march 30" </s>
|
What opponent has april 23 as the date?
|
CREATE TABLE table_name_81 (opponent VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_81 WHERE date = "april 23"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (opponent VARCHAR, date VARCHAR) Question: What opponent has april 23 as the date? [/INST] SELECT opponent FROM table_name_81 WHERE date = "april 23" </s>
|
What opponent has euro '84 qualifying as the type and split as the city?
|
CREATE TABLE table_name_54 (opponent VARCHAR, type_of_game VARCHAR, city VARCHAR)
|
SELECT opponent FROM table_name_54 WHERE type_of_game = "euro '84 qualifying" AND city = "split"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (opponent VARCHAR, type_of_game VARCHAR, city VARCHAR) Question: What opponent has euro '84 qualifying as the type and split as the city? [/INST] SELECT opponent FROM table_name_54 WHERE type_of_game = "euro '84 qualifying" AND city = "split" </s>
|
What results has euro '84 qualifying as the type of game and norway as the opponent?
|
CREATE TABLE table_name_90 (results¹ VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
|
SELECT results¹ FROM table_name_90 WHERE type_of_game = "euro '84 qualifying" AND opponent = "norway"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (results¹ VARCHAR, type_of_game VARCHAR, opponent VARCHAR) Question: What results has euro '84 qualifying as the type of game and norway as the opponent? [/INST] SELECT results¹ FROM table_name_90 WHERE type_of_game = "euro '84 qualifying" AND opponent = "norway" </s>
|
What game type has 2:1 as the results?
|
CREATE TABLE table_name_91 (type_of_game VARCHAR, results¹ VARCHAR)
|
SELECT type_of_game FROM table_name_91 WHERE results¹ = "2:1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (type_of_game VARCHAR, results¹ VARCHAR) Question: What game type has 2:1 as the results? [/INST] SELECT type_of_game FROM table_name_91 WHERE results¹ = "2:1" </s>
|
What date has friendly as the type of game, france as an opponent, and paris, france as the city?
|
CREATE TABLE table_name_92 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_92 WHERE type_of_game = "friendly" AND opponent = "france" AND city = "paris, france"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date VARCHAR, city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) Question: What date has friendly as the type of game, france as an opponent, and paris, france as the city? [/INST] SELECT date FROM table_name_92 WHERE type_of_game = "friendly" AND opponent = "france" AND city = "paris, france" </s>
|
What is the date of the Mosport Park circuit?
|
CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR)
|
SELECT date FROM table_name_34 WHERE circuit = "mosport park"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR) Question: What is the date of the Mosport Park circuit? [/INST] SELECT date FROM table_name_34 WHERE circuit = "mosport park" </s>
|
What is the length of the Laguna Seca Raceway circuit with a class of gtu?
|
CREATE TABLE table_name_94 (length VARCHAR, circuit VARCHAR, class VARCHAR)
|
SELECT length FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtu"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (length VARCHAR, circuit VARCHAR, class VARCHAR) Question: What is the length of the Laguna Seca Raceway circuit with a class of gtu? [/INST] SELECT length FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtu" </s>
|
What is the class of the Charlotte Camel gt 500 race?
|
CREATE TABLE table_name_64 (class VARCHAR, race VARCHAR)
|
SELECT class FROM table_name_64 WHERE race = "charlotte camel gt 500"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (class VARCHAR, race VARCHAR) Question: What is the class of the Charlotte Camel gt 500 race? [/INST] SELECT class FROM table_name_64 WHERE race = "charlotte camel gt 500" </s>
|
What is the length of the race on August 15?
|
CREATE TABLE table_name_23 (length VARCHAR, date VARCHAR)
|
SELECT length FROM table_name_23 WHERE date = "august 15"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (length VARCHAR, date VARCHAR) Question: What is the length of the race on August 15? [/INST] SELECT length FROM table_name_23 WHERE date = "august 15" </s>
|
Where is Exxon Mobil, an oil and gas corporation, headquartered?
|
CREATE TABLE table_name_49 (headquarters VARCHAR, primary_industry VARCHAR, name VARCHAR)
|
SELECT headquarters FROM table_name_49 WHERE primary_industry = "oil and gas" AND name = "exxon mobil"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (headquarters VARCHAR, primary_industry VARCHAR, name VARCHAR) Question: Where is Exxon Mobil, an oil and gas corporation, headquartered? [/INST] SELECT headquarters FROM table_name_49 WHERE primary_industry = "oil and gas" AND name = "exxon mobil" </s>
|
In what Tournament was laura Gildemeister the Opponent?
|
CREATE TABLE table_name_50 (tournament VARCHAR, opponent VARCHAR)
|
SELECT tournament FROM table_name_50 WHERE opponent = "laura gildemeister"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (tournament VARCHAR, opponent VARCHAR) Question: In what Tournament was laura Gildemeister the Opponent? [/INST] SELECT tournament FROM table_name_50 WHERE opponent = "laura gildemeister" </s>
|
Date of january 11, 1998 has what surface?
|
CREATE TABLE table_name_55 (surface VARCHAR, date VARCHAR)
|
SELECT surface FROM table_name_55 WHERE date = "january 11, 1998"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (surface VARCHAR, date VARCHAR) Question: Date of january 11, 1998 has what surface? [/INST] SELECT surface FROM table_name_55 WHERE date = "january 11, 1998" </s>
|
Score of 4–6, 6–4, 6–4 included which tournament?
|
CREATE TABLE table_name_57 (tournament VARCHAR, score VARCHAR)
|
SELECT tournament FROM table_name_57 WHERE score = "4–6, 6–4, 6–4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (tournament VARCHAR, score VARCHAR) Question: Score of 4–6, 6–4, 6–4 included which tournament? [/INST] SELECT tournament FROM table_name_57 WHERE score = "4–6, 6–4, 6–4" </s>
|
Final that has a Date of january 10, 2004 had what opponent?
|
CREATE TABLE table_name_23 (opponent_in_the_final VARCHAR, date VARCHAR)
|
SELECT opponent_in_the_final FROM table_name_23 WHERE date = "january 10, 2004"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (opponent_in_the_final VARCHAR, date VARCHAR) Question: Final that has a Date of january 10, 2004 had what opponent? [/INST] SELECT opponent_in_the_final FROM table_name_23 WHERE date = "january 10, 2004" </s>
|
Tournament of tokyo, japan, and a Score of 4–6, 6–4, 6–4 had which date attached?
|
CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_91 WHERE tournament = "tokyo, japan" AND score = "4–6, 6–4, 6–4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR, score VARCHAR) Question: Tournament of tokyo, japan, and a Score of 4–6, 6–4, 6–4 had which date attached? [/INST] SELECT date FROM table_name_91 WHERE tournament = "tokyo, japan" AND score = "4–6, 6–4, 6–4" </s>
|
Score of 3–6, 7–5, 6–4 included what date?
|
CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_63 WHERE score = "3–6, 7–5, 6–4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) Question: Score of 3–6, 7–5, 6–4 included what date? [/INST] SELECT date FROM table_name_63 WHERE score = "3–6, 7–5, 6–4" </s>
|
What are the fewest number of podiums associated with a Series of formula renault 2000 brazil, and under 1 pole?
|
CREATE TABLE table_name_23 (podiums INTEGER, series VARCHAR, poles VARCHAR)
|
SELECT MIN(podiums) FROM table_name_23 WHERE series = "formula renault 2000 brazil" AND poles < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (podiums INTEGER, series VARCHAR, poles VARCHAR) Question: What are the fewest number of podiums associated with a Series of formula renault 2000 brazil, and under 1 pole? [/INST] SELECT MIN(podiums) FROM table_name_23 WHERE series = "formula renault 2000 brazil" AND poles < 1 </s>
|
What position has over 0 wins and under 3 podiums?
|
CREATE TABLE table_name_16 (position VARCHAR, wins VARCHAR, podiums VARCHAR)
|
SELECT position FROM table_name_16 WHERE wins > 0 AND podiums < 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (position VARCHAR, wins VARCHAR, podiums VARCHAR) Question: What position has over 0 wins and under 3 podiums? [/INST] SELECT position FROM table_name_16 WHERE wins > 0 AND podiums < 3 </s>
|
How many wins are associated with 20 points and over 1 podium?
|
CREATE TABLE table_name_12 (wins INTEGER, points VARCHAR, podiums VARCHAR)
|
SELECT SUM(wins) FROM table_name_12 WHERE points = 20 AND podiums > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (wins INTEGER, points VARCHAR, podiums VARCHAR) Question: How many wins are associated with 20 points and over 1 podium? [/INST] SELECT SUM(wins) FROM table_name_12 WHERE points = 20 AND podiums > 1 </s>
|
What is the largest number of households with median family income of $52,106 with less than 21,403 in population?
|
CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)
|
SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = "$52,106" AND population < 21 OFFSET 403 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) Question: What is the largest number of households with median family income of $52,106 with less than 21,403 in population? [/INST] SELECT MAX(number_of_households) FROM table_name_88 WHERE median_family_income = "$52,106" AND population < 21 OFFSET 403 ROWS </s>
|
What is the most households with a median household income of $54,086 with less than 231,236 in population?
|
CREATE TABLE table_name_2 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
|
SELECT MAX(number_of_households) FROM table_name_2 WHERE median_household_income = "$54,086" AND population < 231 OFFSET 236 ROWS
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR) Question: What is the most households with a median household income of $54,086 with less than 231,236 in population? [/INST] SELECT MAX(number_of_households) FROM table_name_2 WHERE median_household_income = "$54,086" AND population < 231 OFFSET 236 ROWS </s>
|
Which country has a $46,426 median family income?
|
CREATE TABLE table_name_34 (county VARCHAR, median_family_income VARCHAR)
|
SELECT county FROM table_name_34 WHERE median_family_income = "$46,426"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (county VARCHAR, median_family_income VARCHAR) Question: Which country has a $46,426 median family income? [/INST] SELECT county FROM table_name_34 WHERE median_family_income = "$46,426" </s>
|
What is the average grid with a number of laps smaller than 8?
|
CREATE TABLE table_name_27 (grid INTEGER, laps INTEGER)
|
SELECT AVG(grid) FROM table_name_27 WHERE laps < 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (grid INTEGER, laps INTEGER) Question: What is the average grid with a number of laps smaller than 8? [/INST] SELECT AVG(grid) FROM table_name_27 WHERE laps < 8 </s>
|
What is the lowest grid with rider casey stoner and laps that are smaller than 27?
|
CREATE TABLE table_name_96 (grid INTEGER, rider VARCHAR, laps VARCHAR)
|
SELECT MIN(grid) FROM table_name_96 WHERE rider = "casey stoner" AND laps < 27
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (grid INTEGER, rider VARCHAR, laps VARCHAR) Question: What is the lowest grid with rider casey stoner and laps that are smaller than 27? [/INST] SELECT MIN(grid) FROM table_name_96 WHERE rider = "casey stoner" AND laps < 27 </s>
|
What is the total grid number with laps that are larger than 27?
|
CREATE TABLE table_name_17 (grid VARCHAR, laps INTEGER)
|
SELECT COUNT(grid) FROM table_name_17 WHERE laps > 27
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (grid VARCHAR, laps INTEGER) Question: What is the total grid number with laps that are larger than 27? [/INST] SELECT COUNT(grid) FROM table_name_17 WHERE laps > 27 </s>
|
What is the lowest number of laps with a time/retired of +38.426?
|
CREATE TABLE table_name_62 (laps INTEGER, time_retired VARCHAR)
|
SELECT MIN(laps) FROM table_name_62 WHERE time_retired = "+38.426"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (laps INTEGER, time_retired VARCHAR) Question: What is the lowest number of laps with a time/retired of +38.426? [/INST] SELECT MIN(laps) FROM table_name_62 WHERE time_retired = "+38.426" </s>
|
What is the sum of laps that has a time/retired that is +19.475?
|
CREATE TABLE table_name_6 (laps INTEGER, time_retired VARCHAR)
|
SELECT SUM(laps) FROM table_name_6 WHERE time_retired = "+19.475"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (laps INTEGER, time_retired VARCHAR) Question: What is the sum of laps that has a time/retired that is +19.475? [/INST] SELECT SUM(laps) FROM table_name_6 WHERE time_retired = "+19.475" </s>
|
What player is from canterbury (ushs)?
|
CREATE TABLE table_name_67 (player VARCHAR, college_junior_club_team VARCHAR)
|
SELECT player FROM table_name_67 WHERE college_junior_club_team = "canterbury (ushs)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (player VARCHAR, college_junior_club_team VARCHAR) Question: What player is from canterbury (ushs)? [/INST] SELECT player FROM table_name_67 WHERE college_junior_club_team = "canterbury (ushs)" </s>
|
Which Opponent has a Game of 33?
|
CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)
|
SELECT opponent FROM table_name_10 WHERE game = 33
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR) Question: Which Opponent has a Game of 33? [/INST] SELECT opponent FROM table_name_10 WHERE game = 33 </s>
|
What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?
|
CREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR)
|
SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR) Question: What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3? [/INST] SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-3" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.