instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What was the date of the game with the record of 18–10–2? | CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_60 WHERE record = "18–10–2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR) Question: What was the date of the game with the record of 18–10–2? [/INST] SELECT date FROM table_name_60 WHERE record = "18–10–2" </s> |
Visitor of minnesota has what average attendance? | CREATE TABLE table_name_30 (attendance INTEGER, visitor VARCHAR) | SELECT AVG(attendance) FROM table_name_30 WHERE visitor = "minnesota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (attendance INTEGER, visitor VARCHAR) Question: Visitor of minnesota has what average attendance? [/INST] SELECT AVG(attendance) FROM table_name_30 WHERE visitor = "minnesota" </s> |
Date of december 29 has what visitor? | CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_9 WHERE date = "december 29" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR) Question: Date of december 29 has what visitor? [/INST] SELECT visitor FROM table_name_9 WHERE date = "december 29" </s> |
Score of 2 – 3 has what attendance? | CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_61 WHERE score = "2 – 3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR) Question: Score of 2 – 3 has what attendance? [/INST] SELECT attendance FROM table_name_61 WHERE score = "2 – 3" </s> |
With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many? | CREATE TABLE table_name_35 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_35 WHERE record = "48-51" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (attendance INTEGER, record VARCHAR) Question: With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many? [/INST] SELECT MIN(attendance) FROM table_name_35 WHERE record = "48-51" </s> |
What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? | CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR) | SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR) Question: What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? [/INST] SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)" </s> |
What was the stadium for the game held on October 31? | CREATE TABLE table_name_61 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_61 WHERE date = "october 31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (stadium VARCHAR, date VARCHAR) Question: What was the stadium for the game held on October 31? [/INST] SELECT stadium FROM table_name_61 WHERE date = "october 31" </s> |
How many weeks in total were games played at Cleveland Browns Stadium? | CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR) Question: How many weeks in total were games played at Cleveland Browns Stadium? [/INST] SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium" </s> |
What was the surface on 23 October 2011? | CREATE TABLE table_name_97 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_97 WHERE date = "23 october 2011" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (surface VARCHAR, date VARCHAR) Question: What was the surface on 23 October 2011? [/INST] SELECT surface FROM table_name_97 WHERE date = "23 october 2011" </s> |
Which Notre Dame coach lost 15 games? | CREATE TABLE table_name_27 (coach VARCHAR, losses VARCHAR) | SELECT coach FROM table_name_27 WHERE losses = 15 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (coach VARCHAR, losses VARCHAR) Question: Which Notre Dame coach lost 15 games? [/INST] SELECT coach FROM table_name_27 WHERE losses = 15 </s> |
How many losses did Notre Dame have in 1904? | CREATE TABLE table_name_43 (losses INTEGER, years VARCHAR) | SELECT AVG(losses) FROM table_name_43 WHERE years = "1904" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (losses INTEGER, years VARCHAR) Question: How many losses did Notre Dame have in 1904? [/INST] SELECT AVG(losses) FROM table_name_43 WHERE years = "1904" </s> |
What was the winning percent of Notre Dame in 1905? | CREATE TABLE table_name_86 (pct VARCHAR, years VARCHAR) | SELECT pct FROM table_name_86 WHERE years = "1905" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (pct VARCHAR, years VARCHAR) Question: What was the winning percent of Notre Dame in 1905? [/INST] SELECT pct FROM table_name_86 WHERE years = "1905" </s> |
Who is the home captain that played at Edgbaston? | CREATE TABLE table_name_22 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_22 WHERE venue = "edgbaston" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (home_captain VARCHAR, venue VARCHAR) Question: Who is the home captain that played at Edgbaston? [/INST] SELECT home_captain FROM table_name_22 WHERE venue = "edgbaston" </s> |
Who is the home captain that played at Edgbaston? | CREATE TABLE table_name_41 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (home_captain VARCHAR, venue VARCHAR) Question: Who is the home captain that played at Edgbaston? [/INST] SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston" </s> |
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result? | CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR) | SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR) Question: For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result? [/INST] SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993" </s> |
What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? | CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_32 WHERE date = "3,4,5,6,7 june 1993" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) Question: What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? [/INST] SELECT venue FROM table_name_32 WHERE date = "3,4,5,6,7 june 1993" </s> |
Who was the away captain for matches played at Trent Bridge? | CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR) Question: Who was the away captain for matches played at Trent Bridge? [/INST] SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge" </s> |
Which rank is Hawthorn? | CREATE TABLE table_name_32 (rank VARCHAR, club_clubs VARCHAR) | SELECT rank FROM table_name_32 WHERE club_clubs = "hawthorn" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (rank VARCHAR, club_clubs VARCHAR) Question: Which rank is Hawthorn? [/INST] SELECT rank FROM table_name_32 WHERE club_clubs = "hawthorn" </s> |
What is the First Performance when the status is past and the style was ballet, tap? | CREATE TABLE table_name_74 (first_performance VARCHAR, status VARCHAR, style VARCHAR) | SELECT first_performance FROM table_name_74 WHERE status = "past" AND style = "ballet, tap" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (first_performance VARCHAR, status VARCHAR, style VARCHAR) Question: What is the First Performance when the status is past and the style was ballet, tap? [/INST] SELECT first_performance FROM table_name_74 WHERE status = "past" AND style = "ballet, tap" </s> |
What was the Last Performance when the status is current cast, and a Name of noah parets? | CREATE TABLE table_name_16 (last_performance VARCHAR, status VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (last_performance VARCHAR, status VARCHAR, name VARCHAR) Question: What was the Last Performance when the status is current cast, and a Name of noah parets? [/INST] SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets" </s> |
What is the style for Giuseppe Bausilio? | CREATE TABLE table_name_31 (style VARCHAR, name VARCHAR) | SELECT style FROM table_name_31 WHERE name = "giuseppe bausilio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (style VARCHAR, name VARCHAR) Question: What is the style for Giuseppe Bausilio? [/INST] SELECT style FROM table_name_31 WHERE name = "giuseppe bausilio" </s> |
Which opponent has the event Jungle Fight 6? | CREATE TABLE table_name_56 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_56 WHERE event = "jungle fight 6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (opponent VARCHAR, event VARCHAR) Question: Which opponent has the event Jungle Fight 6? [/INST] SELECT opponent FROM table_name_56 WHERE event = "jungle fight 6" </s> |
Which is the method under the event Jungle Fight 2? | CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_24 WHERE event = "jungle fight 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR) Question: Which is the method under the event Jungle Fight 2? [/INST] SELECT method FROM table_name_24 WHERE event = "jungle fight 2" </s> |
What is the total number of points when draw is 4? | CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR) | SELECT COUNT(points) FROM table_name_71 WHERE draw = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR) Question: What is the total number of points when draw is 4? [/INST] SELECT COUNT(points) FROM table_name_71 WHERE draw = 4 </s> |
what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? | CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR) | SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR) Question: what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? [/INST] SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26 </s> |
what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26? | CREATE TABLE table_name_15 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR) | SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < 6 AND goals_scored < 26 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR) Question: what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26? [/INST] SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < 6 AND goals_scored < 26 </s> |
what is the place when losses is less than 12 and points is less than 19? | CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR) Question: what is the place when losses is less than 12 and points is less than 19? [/INST] SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19 </s> |
what is the average place when lost is more than 12? | CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) | SELECT AVG(place) FROM table_name_13 WHERE lost > 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) Question: what is the average place when lost is more than 12? [/INST] SELECT AVG(place) FROM table_name_13 WHERE lost > 12 </s> |
In what Year were there 48 of 120 Seats and a % votes larger than 34.18? | CREATE TABLE table_name_94 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR) | SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR) Question: In what Year were there 48 of 120 Seats and a % votes larger than 34.18? [/INST] SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 </s> |
After 1993, what is the Seats with a % votes of 38.72? | CREATE TABLE table_name_26 (seats VARCHAR, year VARCHAR, _percentage_votes VARCHAR) | SELECT seats FROM table_name_26 WHERE year > 1993 AND _percentage_votes = 38.72 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (seats VARCHAR, year VARCHAR, _percentage_votes VARCHAR) Question: After 1993, what is the Seats with a % votes of 38.72? [/INST] SELECT seats FROM table_name_26 WHERE year > 1993 AND _percentage_votes = 38.72 </s> |
What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya? | CREATE TABLE table_name_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR) | SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR) Question: What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya? [/INST] SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya" </s> |
What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850? | CREATE TABLE table_name_83 (isolation__km_ INTEGER, municipality VARCHAR, elevation__m_ VARCHAR) | SELECT AVG(isolation__km_) FROM table_name_83 WHERE municipality = "sunndal" AND elevation__m_ > 1850 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (isolation__km_ INTEGER, municipality VARCHAR, elevation__m_ VARCHAR) Question: What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850? [/INST] SELECT AVG(isolation__km_) FROM table_name_83 WHERE municipality = "sunndal" AND elevation__m_ > 1850 </s> |
What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4? | CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR) | SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR) Question: What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4? [/INST] SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 4 </s> |
What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? | CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR) | SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR) Question: What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? [/INST] SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind" </s> |
What country has a prominence less than 1292 and an Isolation (km) of 14? | CREATE TABLE table_name_9 (county VARCHAR, prominence__m_ VARCHAR, isolation__km_ VARCHAR) | SELECT county FROM table_name_9 WHERE prominence__m_ < 1292 AND isolation__km_ = 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (county VARCHAR, prominence__m_ VARCHAR, isolation__km_ VARCHAR) Question: What country has a prominence less than 1292 and an Isolation (km) of 14? [/INST] SELECT county FROM table_name_9 WHERE prominence__m_ < 1292 AND isolation__km_ = 14 </s> |
Which lane did George Bovell swim in? | CREATE TABLE table_name_20 (lane INTEGER, name VARCHAR) | SELECT SUM(lane) FROM table_name_20 WHERE name = "george bovell" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (lane INTEGER, name VARCHAR) Question: Which lane did George Bovell swim in? [/INST] SELECT SUM(lane) FROM table_name_20 WHERE name = "george bovell" </s> |
What is the average of the top-25 with 16 cuts and less than 23 events? | CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR) Question: What is the average of the top-25 with 16 cuts and less than 23 events? [/INST] SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23 </s> |
What is the highest top-25 with more than 9 top-10 but less than 29 events? | CREATE TABLE table_name_17 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) | SELECT MAX(top_25) FROM table_name_17 WHERE top_10 > 9 AND events < 29 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) Question: What is the highest top-25 with more than 9 top-10 but less than 29 events? [/INST] SELECT MAX(top_25) FROM table_name_17 WHERE top_10 > 9 AND events < 29 </s> |
What's the Overall average that has brad scioli, and a Pick # larger than 5? | CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR) | SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR) Question: What's the Overall average that has brad scioli, and a Pick # larger than 5? [/INST] SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5 </s> |
What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? | CREATE TABLE table_name_51 (overall INTEGER, college VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (overall INTEGER, college VARCHAR, round VARCHAR) Question: What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? [/INST] SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3 </s> |
Which highest Overall has a Pick # of 4, and a Round larger than 7? | CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, round VARCHAR) | SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, round VARCHAR) Question: Which highest Overall has a Pick # of 4, and a Round larger than 7? [/INST] SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7 </s> |
What's the overall average that has a round less than 7, and a Pick # of 4? | CREATE TABLE table_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR) | SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR) Question: What's the overall average that has a round less than 7, and a Pick # of 4? [/INST] SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 4 </s> |
Who is the no. 4 team that has the no. 5 player Susana Telmo? | CREATE TABLE table_name_46 (no4 VARCHAR, no5 VARCHAR) | SELECT no4 FROM table_name_46 WHERE no5 = "susana telmo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (no4 VARCHAR, no5 VARCHAR) Question: Who is the no. 4 team that has the no. 5 player Susana Telmo? [/INST] SELECT no4 FROM table_name_46 WHERE no5 = "susana telmo" </s> |
Who is the no. 9 team that has a no. 6 player of paulo? | CREATE TABLE table_name_85 (no9 VARCHAR, no6 VARCHAR) | SELECT no9 FROM table_name_85 WHERE no6 = "paulo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (no9 VARCHAR, no6 VARCHAR) Question: Who is the no. 9 team that has a no. 6 player of paulo? [/INST] SELECT no9 FROM table_name_85 WHERE no6 = "paulo" </s> |
Who this the no. 8 team that has a no. 9 player, Telmo? | CREATE TABLE table_name_72 (no8 VARCHAR, no9 VARCHAR) | SELECT no8 FROM table_name_72 WHERE no9 = "telmo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (no8 VARCHAR, no9 VARCHAR) Question: Who this the no. 8 team that has a no. 9 player, Telmo? [/INST] SELECT no8 FROM table_name_72 WHERE no9 = "telmo" </s> |
Name the nickname with age of 4.9 | CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR) | SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR) Question: Name the nickname with age of 4.9 [/INST] SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.9" </s> |
Name the island with age ma of 1.0 | CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) | SELECT island FROM table_name_73 WHERE age___ma__ = "1.0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) Question: Name the island with age ma of 1.0 [/INST] SELECT island FROM table_name_73 WHERE age___ma__ = "1.0" </s> |
Name the elevation of the gathering place | CREATE TABLE table_name_79 (elevation VARCHAR, nickname VARCHAR) | SELECT elevation FROM table_name_79 WHERE nickname = "the gathering place" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (elevation VARCHAR, nickname VARCHAR) Question: Name the elevation of the gathering place [/INST] SELECT elevation FROM table_name_79 WHERE nickname = "the gathering place" </s> |
Game site of kingdome, and a Result of w 24-6 has what record? | CREATE TABLE table_name_32 (record VARCHAR, game_site VARCHAR, result VARCHAR) | SELECT record FROM table_name_32 WHERE game_site = "kingdome" AND result = "w 24-6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (record VARCHAR, game_site VARCHAR, result VARCHAR) Question: Game site of kingdome, and a Result of w 24-6 has what record? [/INST] SELECT record FROM table_name_32 WHERE game_site = "kingdome" AND result = "w 24-6" </s> |
Date of september 25, 1983 is what game site? | CREATE TABLE table_name_68 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_name_68 WHERE date = "september 25, 1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (game_site VARCHAR, date VARCHAR) Question: Date of september 25, 1983 is what game site? [/INST] SELECT game_site FROM table_name_68 WHERE date = "september 25, 1983" </s> |
What stadium held the game that had a score of 6–3? | CREATE TABLE table_name_71 (stadium VARCHAR, score VARCHAR) | SELECT stadium FROM table_name_71 WHERE score = "6–3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (stadium VARCHAR, score VARCHAR) Question: What stadium held the game that had a score of 6–3? [/INST] SELECT stadium FROM table_name_71 WHERE score = "6–3" </s> |
What was the date of the game that had a loss of Reed (0–2)? | CREATE TABLE table_name_29 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_29 WHERE loss = "reed (0–2)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (date VARCHAR, loss VARCHAR) Question: What was the date of the game that had a loss of Reed (0–2)? [/INST] SELECT date FROM table_name_29 WHERE loss = "reed (0–2)" </s> |
On which Date was there a record of 11-8? | CREATE TABLE table_name_37 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_37 WHERE record = "11-8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, record VARCHAR) Question: On which Date was there a record of 11-8? [/INST] SELECT date FROM table_name_37 WHERE record = "11-8" </s> |
How many podiums associated with 1 vuelta and over 7 tours? | CREATE TABLE table_name_1 (total VARCHAR, vuelta VARCHAR, tour VARCHAR) | SELECT COUNT(total) FROM table_name_1 WHERE vuelta = 1 AND tour > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (total VARCHAR, vuelta VARCHAR, tour VARCHAR) Question: How many podiums associated with 1 vuelta and over 7 tours? [/INST] SELECT COUNT(total) FROM table_name_1 WHERE vuelta = 1 AND tour > 7 </s> |
What is the total for miguel induráin with a Vuelta larger than 1? | CREATE TABLE table_name_33 (total INTEGER, name VARCHAR, vuelta VARCHAR) | SELECT MIN(total) FROM table_name_33 WHERE name = "miguel induráin" AND vuelta > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (total INTEGER, name VARCHAR, vuelta VARCHAR) Question: What is the total for miguel induráin with a Vuelta larger than 1? [/INST] SELECT MIN(total) FROM table_name_33 WHERE name = "miguel induráin" AND vuelta > 1 </s> |
What is the grid associated with a Time/Retired of + 1 lap, and under 7 points? | CREATE TABLE table_name_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR) | SELECT MIN(grid) FROM table_name_99 WHERE time_retired = "+ 1 lap" AND points < 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR) Question: What is the grid associated with a Time/Retired of + 1 lap, and under 7 points? [/INST] SELECT MIN(grid) FROM table_name_99 WHERE time_retired = "+ 1 lap" AND points < 7 </s> |
What grid is associated with 67 laps? | CREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR) | SELECT grid FROM table_name_45 WHERE laps = 67 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR) Question: What grid is associated with 67 laps? [/INST] SELECT grid FROM table_name_45 WHERE laps = 67 </s> |
Name the nation for 8 june 1983 for marlies gohr | CREATE TABLE table_name_27 (nation VARCHAR, date VARCHAR, athlete VARCHAR) | SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (nation VARCHAR, date VARCHAR, athlete VARCHAR) Question: Name the nation for 8 june 1983 for marlies gohr [/INST] SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr" </s> |
Name the athlete for bulgaria with rank less than 22 | CREATE TABLE table_name_46 (athlete VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT athlete FROM table_name_46 WHERE rank < 22 AND nation = "bulgaria" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (athlete VARCHAR, rank VARCHAR, nation VARCHAR) Question: Name the athlete for bulgaria with rank less than 22 [/INST] SELECT athlete FROM table_name_46 WHERE rank < 22 AND nation = "bulgaria" </s> |
What engine was used by Ram Penthouse Rizla Racing in 1978? | CREATE TABLE table_name_97 (engine VARCHAR, year VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_97 WHERE year > 1978 AND entrant = "ram penthouse rizla racing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (engine VARCHAR, year VARCHAR, entrant VARCHAR) Question: What engine was used by Ram Penthouse Rizla Racing in 1978? [/INST] SELECT engine FROM table_name_97 WHERE year > 1978 AND entrant = "ram penthouse rizla racing" </s> |
Which College has a Year smaller than 1962, and a Position of rb? | CREATE TABLE table_name_98 (college VARCHAR, year VARCHAR, position VARCHAR) | SELECT college FROM table_name_98 WHERE year < 1962 AND position = "rb" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (college VARCHAR, year VARCHAR, position VARCHAR) Question: Which College has a Year smaller than 1962, and a Position of rb? [/INST] SELECT college FROM table_name_98 WHERE year < 1962 AND position = "rb" </s> |
Which Year has a College of nebraska, and a Pick of 2? | CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR) | SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR) Question: Which Year has a College of nebraska, and a Pick of 2? [/INST] SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2" </s> |
Which Pick has a Year larger than 1983, and a Player name of brian jozwiak? | CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR) | SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = "brian jozwiak" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR) Question: Which Pick has a Year larger than 1983, and a Player name of brian jozwiak? [/INST] SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = "brian jozwiak" </s> |
Which lowest year has a Position of rb, and a College of louisiana state? | CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR) | SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR) Question: Which lowest year has a Position of rb, and a College of louisiana state? [/INST] SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" </s> |
How many years have a Player name of ronnie bull? | CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR) | SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR) Question: How many years have a Player name of ronnie bull? [/INST] SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull" </s> |
Who was the recipient of an award of £4,203? | CREATE TABLE table_name_22 (recipient VARCHAR, award VARCHAR) | SELECT recipient FROM table_name_22 WHERE award = "£4,203" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (recipient VARCHAR, award VARCHAR) Question: Who was the recipient of an award of £4,203? [/INST] SELECT recipient FROM table_name_22 WHERE award = "£4,203" </s> |
Who directed the film that received an award of £6,245? | CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR) | SELECT director_s_ FROM table_name_10 WHERE award = "£6,245" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR) Question: Who directed the film that received an award of £6,245? [/INST] SELECT director_s_ FROM table_name_10 WHERE award = "£6,245" </s> |
Who directed the film that Avie Luthra received an award for? | CREATE TABLE table_name_63 (director_s_ VARCHAR, recipient VARCHAR) | SELECT director_s_ FROM table_name_63 WHERE recipient = "avie luthra" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (director_s_ VARCHAR, recipient VARCHAR) Question: Who directed the film that Avie Luthra received an award for? [/INST] SELECT director_s_ FROM table_name_63 WHERE recipient = "avie luthra" </s> |
Who directed the film Antonio's Breakfast? | CREATE TABLE table_name_44 (director_s_ VARCHAR, film VARCHAR) | SELECT director_s_ FROM table_name_44 WHERE film = "antonio's breakfast" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (director_s_ VARCHAR, film VARCHAR) Question: Who directed the film Antonio's Breakfast? [/INST] SELECT director_s_ FROM table_name_44 WHERE film = "antonio's breakfast" </s> |
Who was the director of the film that Sister Films received an award for on 2/3/05? | CREATE TABLE table_name_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR) | SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR) Question: Who was the director of the film that Sister Films received an award for on 2/3/05? [/INST] SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films" </s> |
What is the score of the game on June 9? | CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_75 WHERE date = "june 9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) Question: What is the score of the game on June 9? [/INST] SELECT score FROM table_name_75 WHERE date = "june 9" </s> |
What is the usual attendance for july 2? | CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) Question: What is the usual attendance for july 2? [/INST] SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 2" </s> |
What was the value for deleted for CERCLIS ID of il0210090049? | CREATE TABLE table_name_53 (deleted VARCHAR, cerclis_id VARCHAR) | SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (deleted VARCHAR, cerclis_id VARCHAR) Question: What was the value for deleted for CERCLIS ID of il0210090049? [/INST] SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049" </s> |
What is the date construction is completed in Jo Daviess county? | CREATE TABLE table_name_70 (construction_completed VARCHAR, county VARCHAR) | SELECT construction_completed FROM table_name_70 WHERE county = "jo daviess" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (construction_completed VARCHAR, county VARCHAR) Question: What is the date construction is completed in Jo Daviess county? [/INST] SELECT construction_completed FROM table_name_70 WHERE county = "jo daviess" </s> |
Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? | CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR) | SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 2010" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR) Question: Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? [/INST] SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 2010" </s> |
Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year? | CREATE TABLE table_name_96 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR) | SELECT SUM(year) FROM table_name_96 WHERE role = "narrator" AND radio_station_production_company = "bbc audiobooks" AND release_air_date = "13 november 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR) Question: Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year? [/INST] SELECT SUM(year) FROM table_name_96 WHERE role = "narrator" AND radio_station_production_company = "bbc audiobooks" AND release_air_date = "13 november 2008" </s> |
Radio Station/Production Company that has a Role of interviewee & monologues is what radio station? | CREATE TABLE table_name_73 (radio_station_production_company VARCHAR, role VARCHAR) | SELECT radio_station_production_company FROM table_name_73 WHERE role = "interviewee & monologues" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (radio_station_production_company VARCHAR, role VARCHAR) Question: Radio Station/Production Company that has a Role of interviewee & monologues is what radio station? [/INST] SELECT radio_station_production_company FROM table_name_73 WHERE role = "interviewee & monologues" </s> |
What was the position of the Racing Organisation Course team? | CREATE TABLE table_name_79 (pos VARCHAR, team VARCHAR) | SELECT pos FROM table_name_79 WHERE team = "racing organisation course" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (pos VARCHAR, team VARCHAR) Question: What was the position of the Racing Organisation Course team? [/INST] SELECT pos FROM table_name_79 WHERE team = "racing organisation course" </s> |
Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? | CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR) | SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR) Question: Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? [/INST] SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" </s> |
Who were the co-drivers in years after 2010? | CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER) | SELECT co_drivers FROM table_name_49 WHERE year > 2010 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER) Question: Who were the co-drivers in years after 2010? [/INST] SELECT co_drivers FROM table_name_49 WHERE year > 2010 </s> |
What is the date made that has an associated fleet number of 4? | CREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR) | SELECT date_made FROM table_name_99 WHERE fleet_numbers = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR) Question: What is the date made that has an associated fleet number of 4? [/INST] SELECT date_made FROM table_name_99 WHERE fleet_numbers = "4" </s> |
What is the withdrawal date associated with a date made of 1904? | CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR) | SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR) Question: What is the withdrawal date associated with a date made of 1904? [/INST] SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904" </s> |
Name the game site with result of l 7-38 | CREATE TABLE table_name_36 (game_site VARCHAR, result VARCHAR) | SELECT game_site FROM table_name_36 WHERE result = "l 7-38" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (game_site VARCHAR, result VARCHAR) Question: Name the game site with result of l 7-38 [/INST] SELECT game_site FROM table_name_36 WHERE result = "l 7-38" </s> |
Name the result for arrowhead stadium | CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_45 WHERE game_site = "arrowhead stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR) Question: Name the result for arrowhead stadium [/INST] SELECT result FROM table_name_45 WHERE game_site = "arrowhead stadium" </s> |
Name the least attendance for opponent of new orleans saints and week more than 2 | CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR) | SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR) Question: Name the least attendance for opponent of new orleans saints and week more than 2 [/INST] SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints" </s> |
What amount of earnings corresponds with a Top 10s rank of 23? | CREATE TABLE table_name_7 (earnings___$__ VARCHAR, top_10s VARCHAR) | SELECT earnings___$__ FROM table_name_7 WHERE top_10s = 23 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (earnings___$__ VARCHAR, top_10s VARCHAR) Question: What amount of earnings corresponds with a Top 10s rank of 23? [/INST] SELECT earnings___$__ FROM table_name_7 WHERE top_10s = 23 </s> |
What 2012 amount of earnings corresponds with less than 28 tournaments played? | CREATE TABLE table_name_59 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR) | SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR) Question: What 2012 amount of earnings corresponds with less than 28 tournaments played? [/INST] SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "2012" </s> |
Tell me the year with Laps less than 197 and start of 2 | CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR) | SELECT year FROM table_name_96 WHERE laps < 197 AND start = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR) Question: Tell me the year with Laps less than 197 and start of 2 [/INST] SELECT year FROM table_name_96 WHERE laps < 197 AND start = "2" </s> |
Name the qual with start of totals | CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR) | SELECT qual FROM table_name_61 WHERE start = "totals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR) Question: Name the qual with start of totals [/INST] SELECT qual FROM table_name_61 WHERE start = "totals" </s> |
Name the total number of laps with rank of 8 | CREATE TABLE table_name_90 (laps VARCHAR, rank VARCHAR) | SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (laps VARCHAR, rank VARCHAR) Question: Name the total number of laps with rank of 8 [/INST] SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8" </s> |
Name the start with Laps of 199 with qual of 224.838 | CREATE TABLE table_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR) | SELECT start FROM table_name_13 WHERE laps = 199 AND qual = "224.838" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR) Question: Name the start with Laps of 199 with qual of 224.838 [/INST] SELECT start FROM table_name_13 WHERE laps = 199 AND qual = "224.838" </s> |
On what date was the score 1-2 at Athens Olympic Stadium? | CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR) | SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR) Question: On what date was the score 1-2 at Athens Olympic Stadium? [/INST] SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium" </s> |
What was the Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007? | CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND date = "november 17, 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) Question: What was the Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007? [/INST] SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND date = "november 17, 2007" </s> |
What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2? | CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT match_report FROM table_name_44 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND score = "1-2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR) Question: What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2? [/INST] SELECT match_report FROM table_name_44 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND score = "1-2" </s> |
On what date was the score 2-1? | CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_38 WHERE score = "2-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) Question: On what date was the score 2-1? [/INST] SELECT date FROM table_name_38 WHERE score = "2-1" </s> |
On what date was the Competition of Friendly held? | CREATE TABLE table_name_70 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_70 WHERE competition = "friendly" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, competition VARCHAR) Question: On what date was the Competition of Friendly held? [/INST] SELECT date FROM table_name_70 WHERE competition = "friendly" </s> |
What was the score at Pankritio Stadium on June 6, 2007? | CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR, date VARCHAR) | SELECT score FROM table_name_81 WHERE venue = "pankritio stadium" AND date = "june 6, 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR, date VARCHAR) Question: What was the score at Pankritio Stadium on June 6, 2007? [/INST] SELECT score FROM table_name_81 WHERE venue = "pankritio stadium" AND date = "june 6, 2007" </s> |
On what date was there a draw at Sydney Cricket Ground? | CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR) | SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR) Question: On what date was there a draw at Sydney Cricket Ground? [/INST] SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground" </s> |
In what venue was the result a draw? | CREATE TABLE table_name_20 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_20 WHERE result = "draw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (venue VARCHAR, result VARCHAR) Question: In what venue was the result a draw? [/INST] SELECT venue FROM table_name_20 WHERE result = "draw" </s> |
On what date was the result Wi by 1 run? | CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_24 WHERE result = "wi by 1 run" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) Question: On what date was the result Wi by 1 run? [/INST] SELECT date FROM table_name_24 WHERE result = "wi by 1 run" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.