instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Who was the 1st member of the parliament that was dissolved 23 february 1510?
CREATE TABLE table_name_51 (dissolved VARCHAR)
SELECT 1 AS st_member FROM table_name_51 WHERE dissolved = "23 february 1510"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (dissolved VARCHAR) Question: Who was the 1st member of the parliament that was dissolved 23 february 1510? [/INST] SELECT 1 AS st_member FROM table_name_51 WHERE dissolved = "23 february 1510" </s...
Who was the 1st member that was elected in 1541/42?
CREATE TABLE table_name_44 (elected VARCHAR)
SELECT 1 AS st_member FROM table_name_44 WHERE elected = "1541/42"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (elected VARCHAR) Question: Who was the 1st member that was elected in 1541/42? [/INST] SELECT 1 AS st_member FROM table_name_44 WHERE elected = "1541/42" </s>
Who was the 2nd member of the parliament that was assembled on 3 november 1529?
CREATE TABLE table_name_19 (assembled VARCHAR)
SELECT 2 AS nd_member FROM table_name_19 WHERE assembled = "3 november 1529"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (assembled VARCHAR) Question: Who was the 2nd member of the parliament that was assembled on 3 november 1529? [/INST] SELECT 2 AS nd_member FROM table_name_19 WHERE assembled = "3 november 1529" </...
Who was the 2nd member of the parliament that was assembled on 3 november 1529?
CREATE TABLE table_name_37 (assembled VARCHAR)
SELECT 2 AS nd_member FROM table_name_37 WHERE assembled = "3 november 1529"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (assembled VARCHAR) Question: Who was the 2nd member of the parliament that was assembled on 3 november 1529? [/INST] SELECT 2 AS nd_member FROM table_name_37 WHERE assembled = "3 november 1529" </...
What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia?
CREATE TABLE table_name_51 (date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_51 WHERE competition = "emerging nations tournament" AND result = "scotland 34-9 russia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (date VARCHAR, competition VARCHAR, result VARCHAR) Question: What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia? [/INST] SELECT date FROM table_n...
What number was manufactured 1 in 1841?
CREATE TABLE table_name_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR)
SELECT number_s_ FROM table_name_43 WHERE quantity = "1" AND year_s__of_manufacture = "1841"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR) Question: What number was manufactured 1 in 1841? [/INST] SELECT number_s_ FROM table_name_43 WHERE quantity = "1" AND year_s__...
What is the quantity of class B V?
CREATE TABLE table_name_55 (quantity VARCHAR, class VARCHAR)
SELECT quantity FROM table_name_55 WHERE class = "b v"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (quantity VARCHAR, class VARCHAR) Question: What is the quantity of class B V? [/INST] SELECT quantity FROM table_name_55 WHERE class = "b v" </s>
What number corresponds to the quantity of 24?
CREATE TABLE table_name_50 (number_s_ VARCHAR, quantity VARCHAR)
SELECT number_s_ FROM table_name_50 WHERE quantity = "24"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (number_s_ VARCHAR, quantity VARCHAR) Question: What number corresponds to the quantity of 24? [/INST] SELECT number_s_ FROM table_name_50 WHERE quantity = "24" </s>
What is Tim Wollthan's Date of Birth?
CREATE TABLE table_name_45 (date_of_birth VARCHAR, name VARCHAR)
SELECT date_of_birth FROM table_name_45 WHERE name = "tim wollthan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (date_of_birth VARCHAR, name VARCHAR) Question: What is Tim Wollthan's Date of Birth? [/INST] SELECT date_of_birth FROM table_name_45 WHERE name = "tim wollthan" </s>
What D Player with a Height of m (ft 4in) is in the Spandau 04 Club?
CREATE TABLE table_name_5 (name VARCHAR, pos VARCHAR, club VARCHAR, height VARCHAR)
SELECT name FROM table_name_5 WHERE club = "spandau 04" AND height = "m (ft 4in)" AND pos = "d"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (name VARCHAR, pos VARCHAR, club VARCHAR, height VARCHAR) Question: What D Player with a Height of m (ft 4in) is in the Spandau 04 Club? [/INST] SELECT name FROM table_name_5 WHERE club = "spandau 0...
What is the Club of the Player with a Date of Birth of 1979-01-29?
CREATE TABLE table_name_18 (club VARCHAR, date_of_birth VARCHAR)
SELECT club FROM table_name_18 WHERE date_of_birth = "1979-01-29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (club VARCHAR, date_of_birth VARCHAR) Question: What is the Club of the Player with a Date of Birth of 1979-01-29? [/INST] SELECT club FROM table_name_18 WHERE date_of_birth = "1979-01-29" </s>
What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)?
CREATE TABLE table_name_61 (weight VARCHAR, club VARCHAR, height VARCHAR)
SELECT weight FROM table_name_61 WHERE club = "spandau 04" AND height = "m (ft 5in)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (weight VARCHAR, club VARCHAR, height VARCHAR) Question: What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)? [/INST] SELECT weight FROM table_name_61 WHERE club = "spandau 04" ...
What is Spandau 04 Player Jens Pohlmann's Pos.?
CREATE TABLE table_name_1 (pos VARCHAR, club VARCHAR, name VARCHAR)
SELECT pos FROM table_name_1 WHERE club = "spandau 04" AND name = "jens pohlmann"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (pos VARCHAR, club VARCHAR, name VARCHAR) Question: What is Spandau 04 Player Jens Pohlmann's Pos.? [/INST] SELECT pos FROM table_name_1 WHERE club = "spandau 04" AND name = "jens pohlmann" </s>
Which play is from Ireland?
CREATE TABLE table_name_62 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_62 WHERE country = "ireland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (player VARCHAR, country VARCHAR) Question: Which play is from Ireland? [/INST] SELECT player FROM table_name_62 WHERE country = "ireland" </s>
Which country is Howard Clark from?
CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_18 WHERE player = "howard clark"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR) Question: Which country is Howard Clark from? [/INST] SELECT country FROM table_name_18 WHERE player = "howard clark" </s>
What is the most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and more than 15 of them being bronze?
CREATE TABLE table_name_78 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_78 WHERE total > 40 AND gold < 25 AND bronze > 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR) Question: What is the most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and mor...
Of the 1978 winners, who had finish totals smaller than 292?
CREATE TABLE table_name_55 (finish VARCHAR, total VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_55 WHERE total < 292 AND year_s__won = "1978"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (finish VARCHAR, total VARCHAR, year_s__won VARCHAR) Question: Of the 1978 winners, who had finish totals smaller than 292? [/INST] SELECT finish FROM table_name_55 WHERE total < 292 AND year_s__wo...
What were the finishes by David Graham with totals lower than 292?
CREATE TABLE table_name_19 (finish VARCHAR, total VARCHAR, player VARCHAR)
SELECT finish FROM table_name_19 WHERE total = 292 AND player = "david graham"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (finish VARCHAR, total VARCHAR, player VARCHAR) Question: What were the finishes by David Graham with totals lower than 292? [/INST] SELECT finish FROM table_name_19 WHERE total = 292 AND player = ...
What is Australia´s finish?
CREATE TABLE table_name_79 (finish VARCHAR, country VARCHAR)
SELECT finish FROM table_name_79 WHERE country = "australia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (finish VARCHAR, country VARCHAR) Question: What is Australia´s finish? [/INST] SELECT finish FROM table_name_79 WHERE country = "australia" </s>
What is the name of the church that is located in florø?
CREATE TABLE table_name_29 (church_name VARCHAR, location_of_the_church VARCHAR)
SELECT church_name FROM table_name_29 WHERE location_of_the_church = "florø"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (church_name VARCHAR, location_of_the_church VARCHAR) Question: What is the name of the church that is located in florø? [/INST] SELECT church_name FROM table_name_29 WHERE location_of_the_church =...
What is the name of the church that is located in eikefjord?
CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR)
SELECT church_name FROM table_name_8 WHERE location_of_the_church = "eikefjord"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR) Question: What is the name of the church that is located in eikefjord? [/INST] SELECT church_name FROM table_name_8 WHERE location_of_the_church...
In which Parish (Prestegjeld) is the church called Stavang Kyrkje?
CREATE TABLE table_name_80 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
SELECT parish__prestegjeld_ FROM table_name_80 WHERE church_name = "stavang kyrkje"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) Question: In which Parish (Prestegjeld) is the church called Stavang Kyrkje? [/INST] SELECT parish__prestegjeld_ FROM table_name_80 WHERE church_...
What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?
CREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)
SELECT sub_parish__sokn_ FROM table_name_30 WHERE year_built = "1957" AND location_of_the_church = "stavang"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR) Question: What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang? [/INST] SELECT sub_parish_...
In what year was the church located in florø built?
CREATE TABLE table_name_29 (year_built VARCHAR, location_of_the_church VARCHAR)
SELECT year_built FROM table_name_29 WHERE location_of_the_church = "florø"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (year_built VARCHAR, location_of_the_church VARCHAR) Question: In what year was the church located in florø built? [/INST] SELECT year_built FROM table_name_29 WHERE location_of_the_church = "florø...
Which Parish (Prestegjeld) was built in 1907?
CREATE TABLE table_name_2 (parish__prestegjeld_ VARCHAR, year_built VARCHAR)
SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (parish__prestegjeld_ VARCHAR, year_built VARCHAR) Question: Which Parish (Prestegjeld) was built in 1907? [/INST] SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907" </s>
What's the average year that sara orlesky and farhan lalji are the sideline reporters?
CREATE TABLE table_name_65 (year INTEGER, sideline_reporters VARCHAR)
SELECT AVG(year) FROM table_name_65 WHERE sideline_reporters = "sara orlesky and farhan lalji"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (year INTEGER, sideline_reporters VARCHAR) Question: What's the average year that sara orlesky and farhan lalji are the sideline reporters? [/INST] SELECT AVG(year) FROM table_name_65 WHERE sidelin...
What was the attendance on september 29?
CREATE TABLE table_name_83 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_83 WHERE date = "september 29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (attendance INTEGER, date VARCHAR) Question: What was the attendance on september 29? [/INST] SELECT MAX(attendance) FROM table_name_83 WHERE date = "september 29" </s>
What was the attendance on september 8?
CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_71 WHERE date = "september 8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR) Question: What was the attendance on september 8? [/INST] SELECT AVG(attendance) FROM table_name_71 WHERE date = "september 8" </s>
Which Week has a Result of l 10–30, and an Attendance larger than 57,312?
CREATE TABLE table_name_84 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_84 WHERE result = "l 10–30" AND attendance > 57 OFFSET 312 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (week INTEGER, result VARCHAR, attendance VARCHAR) Question: Which Week has a Result of l 10–30, and an Attendance larger than 57,312? [/INST] SELECT AVG(week) FROM table_name_84 WHERE result = "l ...
What is Date, when Tie no is "3"?
CREATE TABLE table_name_33 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_33 WHERE tie_no = "3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (date VARCHAR, tie_no VARCHAR) Question: What is Date, when Tie no is "3"? [/INST] SELECT date FROM table_name_33 WHERE tie_no = "3" </s>
What is Date, when Away Team is "Brentford"?
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_62 WHERE away_team = "brentford"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR) Question: What is Date, when Away Team is "Brentford"? [/INST] SELECT date FROM table_name_62 WHERE away_team = "brentford" </s>
What is Date, when Home Team is "Everton"?
CREATE TABLE table_name_6 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_6 WHERE home_team = "everton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (date VARCHAR, home_team VARCHAR) Question: What is Date, when Home Team is "Everton"? [/INST] SELECT date FROM table_name_6 WHERE home_team = "everton" </s>
What is Away Team, when Home Team is "West Ham United"?
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_83 WHERE home_team = "west ham united"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) Question: What is Away Team, when Home Team is "West Ham United"? [/INST] SELECT away_team FROM table_name_83 WHERE home_team = "west ham united" </s>
What is Venue, when Balls is "148"?
CREATE TABLE table_name_22 (venue VARCHAR, balls VARCHAR)
SELECT venue FROM table_name_22 WHERE balls = 148
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (venue VARCHAR, balls VARCHAR) Question: What is Venue, when Balls is "148"? [/INST] SELECT venue FROM table_name_22 WHERE balls = 148 </s>
What is Name, when Score is "101"?
CREATE TABLE table_name_63 (name VARCHAR, score VARCHAR)
SELECT name FROM table_name_63 WHERE score = "101"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (name VARCHAR, score VARCHAR) Question: What is Name, when Score is "101"? [/INST] SELECT name FROM table_name_63 WHERE score = "101" </s>
What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR) Question: What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"? [/INST] SELECT date FROM table_name_78 WHERE venue = "taunton" AND name =...
What is Balls, when Venue is "Bristol", and when Score is "104*"?
CREATE TABLE table_name_3 (balls VARCHAR, venue VARCHAR, score VARCHAR)
SELECT balls FROM table_name_3 WHERE venue = "bristol" AND score = "104*"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (balls VARCHAR, venue VARCHAR, score VARCHAR) Question: What is Balls, when Venue is "Bristol", and when Score is "104*"? [/INST] SELECT balls FROM table_name_3 WHERE venue = "bristol" AND score = "...
What is the number of silver when bronze is less than 0?
CREATE TABLE table_name_10 (silver VARCHAR, bronze INTEGER)
SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (silver VARCHAR, bronze INTEGER) Question: What is the number of silver when bronze is less than 0? [/INST] SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 0 </s>
What is the gold when silver is less than 1, rank is 12, and total is less than 3?
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT MAX(gold) FROM table_name_68 WHERE silver < 1 AND rank = 12 AND total < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the gold when silver is less than 1, rank is 12, and total is less than 3? [/INST] SELECT MAX(gold) FROM table_name_68 ...
What shows for gold when the rank is less than 3, and silver less than 1?
CREATE TABLE table_name_62 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silver < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (gold INTEGER, rank VARCHAR, silver VARCHAR) Question: What shows for gold when the rank is less than 3, and silver less than 1? [/INST] SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silve...
What is the total when gold is 1, and rank is more than 4, and bronze is 0?
CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) Question: What is the total when gold is 1, and rank is more than 4, and bronze is 0? [/INST] SELECT COUNT(total) FROM table_name_1 WHERE ...
What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?
CREATE TABLE table_name_8 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_8 WHERE silver = 1 AND rank < 4 AND gold > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) Question: What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1? [/INST] SELECT SUM(bronze) FROM tabl...
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
CREATE TABLE table_name_52 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_52 WHERE silver = 1 AND rank > 3 AND total < 2 AND bronze < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0? [/...
What player is from France?
CREATE TABLE table_name_63 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_63 WHERE country = "france"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (player VARCHAR, country VARCHAR) Question: What player is from France? [/INST] SELECT player FROM table_name_63 WHERE country = "france" </s>
What place is S.K. Ho in?
CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_93 WHERE player = "s.k. ho"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR) Question: What place is S.K. Ho in? [/INST] SELECT place FROM table_name_93 WHERE player = "s.k. ho" </s>
What player is from Scotland and has a score of 74-70=144?
CREATE TABLE table_name_90 (player VARCHAR, country VARCHAR, score VARCHAR)
SELECT player FROM table_name_90 WHERE score = 74 - 70 = 144 AND country = "scotland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (player VARCHAR, country VARCHAR, score VARCHAR) Question: What player is from Scotland and has a score of 74-70=144? [/INST] SELECT player FROM table_name_90 WHERE score = 74 - 70 = 144 AND countr...
Which player is from South Africa?
CREATE TABLE table_name_79 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_79 WHERE country = "south africa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (player VARCHAR, country VARCHAR) Question: Which player is from South Africa? [/INST] SELECT player FROM table_name_79 WHERE country = "south africa" </s>
What country is the player with a score of 72-72=144 from?
CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (country VARCHAR, score VARCHAR) Question: What country is the player with a score of 72-72=144 from? [/INST] SELECT country FROM table_name_97 WHERE score = 72 - 72 = 144 </s>
Which Geelong DFL has 8 losses and more than 4 wins?
CREATE TABLE table_name_87 (geelong_dfl VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND losses = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (geelong_dfl VARCHAR, wins VARCHAR, losses VARCHAR) Question: Which Geelong DFL has 8 losses and more than 4 wins? [/INST] SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND losses = 8 </s>
What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?
CREATE TABLE table_name_47 (number_of_examinees VARCHAR, number_of_passed_students VARCHAR, year VARCHAR, pass_percentage VARCHAR)
SELECT COUNT(number_of_examinees) FROM table_name_47 WHERE year > 2005 AND pass_percentage = "78.35%" AND number_of_passed_students < 297
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (number_of_examinees VARCHAR, number_of_passed_students VARCHAR, year VARCHAR, pass_percentage VARCHAR) Question: What number of examines after 2005 has a pass percentage of 78.35% with less than 2...
Which venue was founded after 1967 and had the league North American Soccer League?
CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)
SELECT venue FROM table_name_93 WHERE founded > 1967 AND league = "north american soccer league"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR) Question: Which venue was founded after 1967 and had the league North American Soccer League? [/INST] SELECT venue FROM table_name_93 WHERE founded ...
Which venue was fouded before 2000 for basketball?
CREATE TABLE table_name_31 (venue VARCHAR, founded VARCHAR, sport VARCHAR)
SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport = "basketball"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (venue VARCHAR, founded VARCHAR, sport VARCHAR) Question: Which venue was fouded before 2000 for basketball? [/INST] SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport = "basketball" </...
Which club had football at Mitchel Athletic Field?
CREATE TABLE table_name_43 (club VARCHAR, sport VARCHAR, venue VARCHAR)
SELECT club FROM table_name_43 WHERE sport = "football" AND venue = "mitchel athletic field"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (club VARCHAR, sport VARCHAR, venue VARCHAR) Question: Which club had football at Mitchel Athletic Field? [/INST] SELECT club FROM table_name_43 WHERE sport = "football" AND venue = "mitchel athlet...
Which club was founded in 1962?
CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR)
SELECT club FROM table_name_25 WHERE founded = 1962
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR) Question: Which club was founded in 1962? [/INST] SELECT club FROM table_name_25 WHERE founded = 1962 </s>
What is the total sum of the player from the United States who won in 1986?
CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR) Question: What is the total sum of the player from the United States who won in 1986? [/INST] SELECT SUM(total) FROM table_name_52 WHERE countr...
What year did the player with a total less than 300 and a to par of 9 have a win?
CREATE TABLE table_name_36 (year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT year_s__won FROM table_name_36 WHERE total < 300 AND to_par = 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (year_s__won VARCHAR, total VARCHAR, to_par VARCHAR) Question: What year did the player with a total less than 300 and a to par of 9 have a win? [/INST] SELECT year_s__won FROM table_name_36 WHERE ...
What is total number of the to par of player john mahaffey, who has a total less than 298?
CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_9 WHERE player = "john mahaffey" AND total < 298
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR, total VARCHAR) Question: What is total number of the to par of player john mahaffey, who has a total less than 298? [/INST] SELECT COUNT(to_par) FROM table_name_9 WH...
What is the sum of the total of the player who won in 1979?
CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total INTEGER, year_s__won VARCHAR) Question: What is the sum of the total of the player who won in 1979? [/INST] SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979" </s>
What is the country of the player who has a total larger than 300?
CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)
SELECT country FROM table_name_70 WHERE total > 300
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (country VARCHAR, total INTEGER) Question: What is the country of the player who has a total larger than 300? [/INST] SELECT country FROM table_name_70 WHERE total > 300 </s>
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?
CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR)
SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR) Question: What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre? [/INST] SELECT shropshire_senior_cup F...
What season had 78 points?
CREATE TABLE table_name_17 (season VARCHAR, points VARCHAR)
SELECT season FROM table_name_17 WHERE points = 78
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (season VARCHAR, points VARCHAR) Question: What season had 78 points? [/INST] SELECT season FROM table_name_17 WHERE points = 78 </s>
For the match against Arema Malang that ended in a draw, what was the final score?
CREATE TABLE table_name_64 (score VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_64 WHERE result = "draw" AND opponent = "arema malang"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (score VARCHAR, result VARCHAR, opponent VARCHAR) Question: For the match against Arema Malang that ended in a draw, what was the final score? [/INST] SELECT score FROM table_name_64 WHERE result =...
What was the final score for the match held on April 11, 2007?
CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_68 WHERE date = "april 11, 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (score VARCHAR, date VARCHAR) Question: What was the final score for the match held on April 11, 2007? [/INST] SELECT score FROM table_name_68 WHERE date = "april 11, 2007" </s>
What was the location for the match held on April 11, 2007, which ended with a score of 0-0?
CREATE TABLE table_name_90 (venue VARCHAR, score VARCHAR, date VARCHAR)
SELECT venue FROM table_name_90 WHERE score = "0-0" AND date = "april 11, 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (venue VARCHAR, score VARCHAR, date VARCHAR) Question: What was the location for the match held on April 11, 2007, which ended with a score of 0-0? [/INST] SELECT venue FROM table_name_90 WHERE sco...
What was the location for the match held on March 7, 2007, which ended with a score of 0-0?
CREATE TABLE table_name_63 (venue VARCHAR, score VARCHAR, date VARCHAR)
SELECT venue FROM table_name_63 WHERE score = "0-0" AND date = "march 7, 2007"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (venue VARCHAR, score VARCHAR, date VARCHAR) Question: What was the location for the match held on March 7, 2007, which ended with a score of 0-0? [/INST] SELECT venue FROM table_name_63 WHERE scor...
Amritpur has what constituency number?
CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR)
SELECT constituency_number FROM table_name_87 WHERE name = "amritpur"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR) Question: Amritpur has what constituency number? [/INST] SELECT constituency_number FROM table_name_87 WHERE name = "amritpur" </s>
Kaimganj has what reserved for (SC / ST /None)?
CREATE TABLE table_name_87 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_87 WHERE name = "kaimganj"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) Question: Kaimganj has what reserved for (SC / ST /None)? [/INST] SELECT reserved_for___sc___st__none_ FROM table_name_87 WHERE name = "kaimgan...
Which country is bob tway from?
CREATE TABLE table_name_30 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_30 WHERE player = "bob tway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (country VARCHAR, player VARCHAR) Question: Which country is bob tway from? [/INST] SELECT country FROM table_name_30 WHERE player = "bob tway" </s>
Which country won in 1986?
CREATE TABLE table_name_59 (country VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_59 WHERE year_s__won = "1986"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (country VARCHAR, year_s__won VARCHAR) Question: Which country won in 1986? [/INST] SELECT country FROM table_name_59 WHERE year_s__won = "1986" </s>
What is Fiji's lowest total?
CREATE TABLE table_name_63 (total INTEGER, country VARCHAR)
SELECT MIN(total) FROM table_name_63 WHERE country = "fiji"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (total INTEGER, country VARCHAR) Question: What is Fiji's lowest total? [/INST] SELECT MIN(total) FROM table_name_63 WHERE country = "fiji" </s>
What Country had a Player with a Score of 72-66-72=210?
CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR) Question: What Country had a Player with a Score of 72-66-72=210? [/INST] SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210 </s>
What is the Place of the Player with a To par of –6?
CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_96 WHERE to_par = "–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR) Question: What is the Place of the Player with a To par of –6? [/INST] SELECT place FROM table_name_96 WHERE to_par = "–6" </s>
What is the Place of the Player with a Score of 68-73-76=217?
CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR) Question: What is the Place of the Player with a Score of 68-73-76=217? [/INST] SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217 </s>
What is Justin Leonard's To par?
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_59 WHERE player = "justin leonard"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR) Question: What is Justin Leonard's To par? [/INST] SELECT to_par FROM table_name_59 WHERE player = "justin leonard" </s>
What is the architecture version of Model 1b?
CREATE TABLE table_name_10 (architecture_version VARCHAR, model VARCHAR)
SELECT architecture_version FROM table_name_10 WHERE model = "1b"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (architecture_version VARCHAR, model VARCHAR) Question: What is the architecture version of Model 1b? [/INST] SELECT architecture_version FROM table_name_10 WHERE model = "1b" </s>
What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?
CREATE TABLE table_name_90 (name___generation VARCHAR, architecture_version VARCHAR, model VARCHAR)
SELECT name___generation FROM table_name_90 WHERE architecture_version = "mips-iii 64-bit" AND model = "2b"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (name___generation VARCHAR, architecture_version VARCHAR, model VARCHAR) Question: What is the name of the architecture version of the MIPS-III 64-bit, and model 2b? [/INST] SELECT name___generatio...
What is the event with a 2:08 time?
CREATE TABLE table_name_1 (event VARCHAR, time VARCHAR)
SELECT event FROM table_name_1 WHERE time = "2:08"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (event VARCHAR, time VARCHAR) Question: What is the event with a 2:08 time? [/INST] SELECT event FROM table_name_1 WHERE time = "2:08" </s>
What type of wheels did the locomotive have that was built by Baldwin Locomotive Works?
CREATE TABLE table_name_99 (wheels VARCHAR, builder VARCHAR)
SELECT wheels FROM table_name_99 WHERE builder = "baldwin locomotive works"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (wheels VARCHAR, builder VARCHAR) Question: What type of wheels did the locomotive have that was built by Baldwin Locomotive Works? [/INST] SELECT wheels FROM table_name_99 WHERE builder = "baldwin...
Which Venue has Against of 25?
CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR)
SELECT venue FROM table_name_89 WHERE against = 25
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR) Question: Which Venue has Against of 25? [/INST] SELECT venue FROM table_name_89 WHERE against = 25 </s>
Which Venue has Against smaller than 6?
CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER)
SELECT venue FROM table_name_82 WHERE against < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER) Question: Which Venue has Against smaller than 6? [/INST] SELECT venue FROM table_name_82 WHERE against < 6 </s>
What's the value for utah when colorado and new mexico are bush?
CREATE TABLE table_name_7 (utah VARCHAR, colorado VARCHAR, new_mexico VARCHAR)
SELECT utah FROM table_name_7 WHERE colorado = "bush" AND new_mexico = "bush"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (utah VARCHAR, colorado VARCHAR, new_mexico VARCHAR) Question: What's the value for utah when colorado and new mexico are bush? [/INST] SELECT utah FROM table_name_7 WHERE colorado = "bush" AND new_...
What's the value for oklahoma when texas is kennedy?
CREATE TABLE table_name_6 (oklahoma VARCHAR, texas VARCHAR)
SELECT oklahoma FROM table_name_6 WHERE texas = "kennedy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (oklahoma VARCHAR, texas VARCHAR) Question: What's the value for oklahoma when texas is kennedy? [/INST] SELECT oklahoma FROM table_name_6 WHERE texas = "kennedy" </s>
What's the value for utah when texas is humphrey?
CREATE TABLE table_name_80 (utah VARCHAR, texas VARCHAR)
SELECT utah FROM table_name_80 WHERE texas = "humphrey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (utah VARCHAR, texas VARCHAR) Question: What's the value for utah when texas is humphrey? [/INST] SELECT utah FROM table_name_80 WHERE texas = "humphrey" </s>
What's the value for arizona when colorado and nevada are nixon, and texas is humphrey?
CREATE TABLE table_name_83 (arizona VARCHAR, texas VARCHAR, colorado VARCHAR, nevada VARCHAR)
SELECT arizona FROM table_name_83 WHERE colorado = "nixon" AND nevada = "nixon" AND texas = "humphrey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (arizona VARCHAR, texas VARCHAR, colorado VARCHAR, nevada VARCHAR) Question: What's the value for arizona when colorado and nevada are nixon, and texas is humphrey? [/INST] SELECT arizona FROM tabl...
What's the value for oklahoma when nevada and colorado are clinton?
CREATE TABLE table_name_94 (oklahoma VARCHAR, nevada VARCHAR, colorado VARCHAR)
SELECT oklahoma FROM table_name_94 WHERE nevada = "clinton" AND colorado = "clinton"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (oklahoma VARCHAR, nevada VARCHAR, colorado VARCHAR) Question: What's the value for oklahoma when nevada and colorado are clinton? [/INST] SELECT oklahoma FROM table_name_94 WHERE nevada = "clinton...
What's the value for arizona when utah is eisenhower?
CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR)
SELECT arizona FROM table_name_50 WHERE utah = "eisenhower"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR) Question: What's the value for arizona when utah is eisenhower? [/INST] SELECT arizona FROM table_name_50 WHERE utah = "eisenhower" </s>
How often are there ads during American Top 40?
CREATE TABLE table_name_84 (ad_freq VARCHAR, show_name VARCHAR)
SELECT ad_freq FROM table_name_84 WHERE show_name = "american top 40"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (ad_freq VARCHAR, show_name VARCHAR) Question: How often are there ads during American Top 40? [/INST] SELECT ad_freq FROM table_name_84 WHERE show_name = "american top 40" </s>
When does Classic Hits air?
CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR)
SELECT time FROM table_name_94 WHERE show_name = "classic hits"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR) Question: When does Classic Hits air? [/INST] SELECT time FROM table_name_94 WHERE show_name = "classic hits" </s>
What is Pick #18's Role?
CREATE TABLE table_name_4 (role VARCHAR, pick__number VARCHAR)
SELECT role FROM table_name_4 WHERE pick__number = 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (role VARCHAR, pick__number VARCHAR) Question: What is Pick #18's Role? [/INST] SELECT role FROM table_name_4 WHERE pick__number = 18 </s>
What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?
CREATE TABLE table_name_5 (foundation VARCHAR, name_in_english VARCHAR)
SELECT foundation FROM table_name_5 WHERE name_in_english = "tanjung puteri technical secondary school"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (foundation VARCHAR, name_in_english VARCHAR) Question: What is the foundation for the institution whose name in English is tanjung puteri technical secondary school? [/INST] SELECT foundation FROM ...
What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR)
SELECT location FROM table_name_95 WHERE name_in_malay = "kolej kemahiran belia nasional, pontian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (location VARCHAR, name_in_malay VARCHAR) Question: What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian? [/INST] SELECT location FROM table_name_9...
What was the average money when the score was 68-69-68-72=277?
CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR) Question: What was the average money when the score was 68-69-68-72=277? [/INST] SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 2...
What was the highest money when the score was 69-68-67-69=273?
CREATE TABLE table_name_37 (money___ INTEGER, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - 68 - 67 - 69 = 273
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (money___ INTEGER, score VARCHAR) Question: What was the highest money when the score was 69-68-67-69=273? [/INST] SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - 68 - 67 - 69 = 2...
What did South Africa place?
CREATE TABLE table_name_89 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_89 WHERE country = "south africa"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (place VARCHAR, country VARCHAR) Question: What did South Africa place? [/INST] SELECT place FROM table_name_89 WHERE country = "south africa" </s>
What county placed t2 and scored 68-69-68-72=277?
CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_95 WHERE place = "t2" AND score = 68 - 69 - 68 - 72 = 277
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, score VARCHAR) Question: What county placed t2 and scored 68-69-68-72=277? [/INST] SELECT country FROM table_name_95 WHERE place = "t2" AND score = 68 - 69 - 68 - 7...
Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )?
CREATE TABLE table_name_81 (milan___san_remo VARCHAR, liège_bastogne_liège VARCHAR)
SELECT milan___san_remo FROM table_name_81 WHERE liège_bastogne_liège = "danilo di luca ( ita )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (milan___san_remo VARCHAR, liège_bastogne_liège VARCHAR) Question: Name the Milan – San Remo which has a Liège–Bastogne–Liège of danilo di luca ( ita )? [/INST] SELECT milan___san_remo FROM table_n...
Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?
CREATE TABLE table_name_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR)
SELECT giro_di_lombardia FROM table_name_38 WHERE paris_roubaix = "servais knaven ( ned )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR) Question: Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )? [/INST] SELECT giro_di_lombardia FROM table_name_38 WHERE paris_r...
what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian cancellara ( sui )?
CREATE TABLE table_name_22 (giro_di_lombardia VARCHAR, tour_of_flanders VARCHAR, paris_roubaix VARCHAR)
SELECT giro_di_lombardia FROM table_name_22 WHERE tour_of_flanders = "tom boonen ( bel )" AND paris_roubaix = "fabian cancellara ( sui )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (giro_di_lombardia VARCHAR, tour_of_flanders VARCHAR, paris_roubaix VARCHAR) Question: what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris–Roubaix of fabian canc...
What are the cargo tonnes when the international (non-CIS) is 297 421?
CREATE TABLE table_name_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR)
SELECT cargo__tonnes_ FROM table_name_90 WHERE international__non_cis_ = "297 421"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (cargo__tonnes_ VARCHAR, international__non_cis_ VARCHAR) Question: What are the cargo tonnes when the international (non-CIS) is 297 421? [/INST] SELECT cargo__tonnes_ FROM table_name_90 WHERE int...
How manu aircraft landings when the cargo tonnes are 18 344?
CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR)
SELECT aircraft_landings FROM table_name_27 WHERE cargo__tonnes_ = "18 344"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR) Question: How manu aircraft landings when the cargo tonnes are 18 344? [/INST] SELECT aircraft_landings FROM table_name_27 WHERE cargo__tonnes_ =...