instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the duration of the Expedition 20 ISS Zvezda?
CREATE TABLE table_name_40 (duration VARCHAR, spacecraft VARCHAR)
SELECT duration FROM table_name_40 WHERE spacecraft = "expedition 20 iss zvezda"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (duration VARCHAR, spacecraft VARCHAR) Question: What is the duration of the Expedition 20 ISS Zvezda? [/INST] SELECT duration FROM table_name_40 WHERE spacecraft = "expedition 20 iss zvezda" </s>
Who was the crew for the duration of 12 minutes?
CREATE TABLE table_name_4 (crew VARCHAR, duration VARCHAR)
SELECT crew FROM table_name_4 WHERE duration = "12 minutes"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (crew VARCHAR, duration VARCHAR) Question: Who was the crew for the duration of 12 minutes? [/INST] SELECT crew FROM table_name_4 WHERE duration = "12 minutes" </s>
Name the sum of year for connaught engineering and points less than 0
CREATE TABLE table_name_49 (year INTEGER, entrant VARCHAR, points VARCHAR)
SELECT SUM(year) FROM table_name_49 WHERE entrant = "connaught engineering" AND points < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (year INTEGER, entrant VARCHAR, points VARCHAR) Question: Name the sum of year for connaught engineering and points less than 0 [/INST] SELECT SUM(year) FROM table_name_49 WHERE entrant = "connaught engineering" AND points < 0 </s>
What was the starting position of Joie Chitwood when he finished more than 200 laps?
CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER)
SELECT start FROM table_name_49 WHERE laps > 200
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (start VARCHAR, laps INTEGER) Question: What was the starting position of Joie Chitwood when he finished more than 200 laps? [/INST] SELECT start FROM table_name_49 WHERE laps > 200 </s>
What is Chitwood's lowest completed number of laps with a qualifying time of 124.619?
CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR)
SELECT MIN(laps) FROM table_name_72 WHERE qual = "124.619"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR) Question: What is Chitwood's lowest completed number of laps with a qualifying time of 124.619? [/INST] SELECT MIN(laps) FROM table_name_72 WHERE qual = "124.619" </s>
Which venue was used on 12 September 1998?
CREATE TABLE table_name_10 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_10 WHERE date = "12 september 1998"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (venue VARCHAR, date VARCHAR) Question: Which venue was used on 12 September 1998? [/INST] SELECT venue FROM table_name_10 WHERE date = "12 september 1998" </s>
What is the score [A] of the match at Vanuatu (n) on 5 September 1998?
CREATE TABLE table_name_39 (score_ VARCHAR, a_ VARCHAR, venue VARCHAR, date VARCHAR)
SELECT score_ AS "a_" FROM table_name_39 WHERE venue = "vanuatu (n)" AND date = "5 september 1998"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score_ VARCHAR, a_ VARCHAR, venue VARCHAR, date VARCHAR) Question: What is the score [A] of the match at Vanuatu (n) on 5 September 1998? [/INST] SELECT score_ AS "a_" FROM table_name_39 WHERE venue = "vanuatu (n)" AND date = "5 september 1998" </s>
What is the score [A] of the match on 19 September 1998?
CREATE TABLE table_name_49 (score_ VARCHAR, a_ VARCHAR, date VARCHAR)
SELECT score_ AS "a_" FROM table_name_49 WHERE date = "19 september 1998"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score_ VARCHAR, a_ VARCHAR, date VARCHAR) Question: What is the score [A] of the match on 19 September 1998? [/INST] SELECT score_ AS "a_" FROM table_name_49 WHERE date = "19 september 1998" </s>
What was the score of the game when the record was 32–19–7?
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_40 WHERE record = "32–19–7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the record was 32–19–7? [/INST] SELECT score FROM table_name_40 WHERE record = "32–19–7" </s>
What was the date of the game when the record was 9–5–2?
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_78 WHERE record = "9–5–2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR) Question: What was the date of the game when the record was 9–5–2? [/INST] SELECT date FROM table_name_78 WHERE record = "9–5–2" </s>
Who was the home team when the record was 36–21–8?
CREATE TABLE table_name_23 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_23 WHERE record = "36–21–8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (home VARCHAR, record VARCHAR) Question: Who was the home team when the record was 36–21–8? [/INST] SELECT home FROM table_name_23 WHERE record = "36–21–8" </s>
What was the date of the game when the Calgary Flames were the visiting team and there was a record of 1–2–0?
CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT date FROM table_name_17 WHERE visitor = "calgary flames" AND record = "1–2–0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR, record VARCHAR) Question: What was the date of the game when the Calgary Flames were the visiting team and there was a record of 1–2–0? [/INST] SELECT date FROM table_name_17 WHERE visitor = "calgary flames" AND record = "1–2–0" </s>
Who was the home team when the record was 27–14–6?
CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_15 WHERE record = "27–14–6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR) Question: Who was the home team when the record was 27–14–6? [/INST] SELECT home FROM table_name_15 WHERE record = "27–14–6" </s>
What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania?
CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR)
SELECT lifespan FROM table_name_28 WHERE state = "pennsylvania" AND representative = "harry p. o'neill"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR) Question: What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania? [/INST] SELECT lifespan FROM table_name_28 WHERE state = "pennsylvania" AND representative = "harry p. o'neill" </s>
What years did Representative Frank A. Oliver serve?
CREATE TABLE table_name_70 (years VARCHAR, representative VARCHAR)
SELECT years FROM table_name_70 WHERE representative = "frank a. oliver"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (years VARCHAR, representative VARCHAR) Question: What years did Representative Frank A. Oliver serve? [/INST] SELECT years FROM table_name_70 WHERE representative = "frank a. oliver" </s>
Name the record for october 11
CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_34 WHERE date = "october 11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) Question: Name the record for october 11 [/INST] SELECT record FROM table_name_34 WHERE date = "october 11" </s>
Name the score with record of 68-66
CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_69 WHERE record = "68-66"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR) Question: Name the score with record of 68-66 [/INST] SELECT score FROM table_name_69 WHERE record = "68-66" </s>
Name the record for august 28
CREATE TABLE table_name_24 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_24 WHERE date = "august 28"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (record VARCHAR, date VARCHAR) Question: Name the record for august 28 [/INST] SELECT record FROM table_name_24 WHERE date = "august 28" </s>
What was the score for Leo Diegel?
CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_63 WHERE player = "leo diegel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR) Question: What was the score for Leo Diegel? [/INST] SELECT score FROM table_name_63 WHERE player = "leo diegel" </s>
What is the name of the player with a To par of –4?
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_41 WHERE to_par = "–4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR) Question: What is the name of the player with a To par of –4? [/INST] SELECT player FROM table_name_41 WHERE to_par = "–4" </s>
What was the surface for the game that was played with partner Tiya Rolle?
CREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_35 WHERE partner = "tiya rolle"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR) Question: What was the surface for the game that was played with partner Tiya Rolle? [/INST] SELECT surface FROM table_name_35 WHERE partner = "tiya rolle" </s>
What is the final score for the game played on January 10, 2011 with partner Mashona Washington?
CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR)
SELECT score FROM table_name_22 WHERE partner = "mashona washington" AND date = "january 10, 2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR) Question: What is the final score for the game played on January 10, 2011 with partner Mashona Washington? [/INST] SELECT score FROM table_name_22 WHERE partner = "mashona washington" AND date = "january 10, 2011" </s>
What was the outcome for the game that was played on 07-Jun-2010?
CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR) Question: What was the outcome for the game that was played on 07-Jun-2010? [/INST] SELECT outcome FROM table_name_8 WHERE date = "07-jun-2010" </s>
What is the score for the game that was played on 29-Jun-2009?
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "29-jun-2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) Question: What is the score for the game that was played on 29-Jun-2009? [/INST] SELECT score FROM table_name_93 WHERE date = "29-jun-2009" </s>
What was the surface for the game that was played on 12-Apr-2005?
CREATE TABLE table_name_50 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_50 WHERE date = "12-apr-2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (surface VARCHAR, date VARCHAR) Question: What was the surface for the game that was played on 12-Apr-2005? [/INST] SELECT surface FROM table_name_50 WHERE date = "12-apr-2005" </s>
What points has james allen as the skipper?
CREATE TABLE table_name_66 (points VARCHAR, skipper VARCHAR)
SELECT points FROM table_name_66 WHERE skipper = "james allen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (points VARCHAR, skipper VARCHAR) Question: What points has james allen as the skipper? [/INST] SELECT points FROM table_name_66 WHERE skipper = "james allen" </s>
What is the name of the yacht where 12 is the overall place?
CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)
SELECT yacht_name FROM table_name_28 WHERE overall_place = "12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR) Question: What is the name of the yacht where 12 is the overall place? [/INST] SELECT yacht_name FROM table_name_28 WHERE overall_place = "12" </s>
Which skipper has a combine elapsed time of 174d 01h 11m 59s?
CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)
SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR) Question: Which skipper has a combine elapsed time of 174d 01h 11m 59s? [/INST] SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s" </s>
Which skipper has barclays adventurer as the name of the yacht?
CREATE TABLE table_name_92 (skipper VARCHAR, yacht_name VARCHAR)
SELECT skipper FROM table_name_92 WHERE yacht_name = "barclays adventurer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (skipper VARCHAR, yacht_name VARCHAR) Question: Which skipper has barclays adventurer as the name of the yacht? [/INST] SELECT skipper FROM table_name_92 WHERE yacht_name = "barclays adventurer" </s>
What is the overall place that has 170d 11h 31m 10s as the combined elapsed time?
CREATE TABLE table_name_47 (overall_place VARCHAR, combined_elapsed_time VARCHAR)
SELECT overall_place FROM table_name_47 WHERE combined_elapsed_time = "170d 11h 31m 10s"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (overall_place VARCHAR, combined_elapsed_time VARCHAR) Question: What is the overall place that has 170d 11h 31m 10s as the combined elapsed time? [/INST] SELECT overall_place FROM table_name_47 WHERE combined_elapsed_time = "170d 11h 31m 10s" </s>
What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of β€”?
CREATE TABLE table_name_22 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR)
SELECT senior_status FROM table_name_22 WHERE reason_for_termination = "death" AND chief_judge = "β€”"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (senior_status VARCHAR, reason_for_termination VARCHAR, chief_judge VARCHAR) Question: What was the senior status for the judge who was terminated because of death, with a Chief Judge entry of β€”? [/INST] SELECT senior_status FROM table_name_22 WHERE reason_for_termination = "death" AND chief_judge = "β€”" </s>
What is the location of Classification of T12?
CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR)
SELECT location FROM table_name_96 WHERE classification = "t12"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR) Question: What is the location of Classification of T12? [/INST] SELECT location FROM table_name_96 WHERE classification = "t12" </s>
What is the fastest time for athlete Jason Smyth?
CREATE TABLE table_name_40 (fastest_time__s_ VARCHAR, athlete VARCHAR)
SELECT fastest_time__s_ FROM table_name_40 WHERE athlete = "jason smyth"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (fastest_time__s_ VARCHAR, athlete VARCHAR) Question: What is the fastest time for athlete Jason Smyth? [/INST] SELECT fastest_time__s_ FROM table_name_40 WHERE athlete = "jason smyth" </s>
What was the final of play No. 2, Alzira Ricardo B.?
CREATE TABLE table_name_34 (final VARCHAR, no2 VARCHAR)
SELECT final FROM table_name_34 WHERE no2 = "alzira ricardo b."
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (final VARCHAR, no2 VARCHAR) Question: What was the final of play No. 2, Alzira Ricardo B.? [/INST] SELECT final FROM table_name_34 WHERE no2 = "alzira ricardo b." </s>
What was the No. 10 team that has No. 8 of Diana?
CREATE TABLE table_name_10 (no10 VARCHAR, no8 VARCHAR)
SELECT no10 FROM table_name_10 WHERE no8 = "diana"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (no10 VARCHAR, no8 VARCHAR) Question: What was the No. 10 team that has No. 8 of Diana? [/INST] SELECT no10 FROM table_name_10 WHERE no8 = "diana" </s>
Name the total number of years for chassis of ensign n175
CREATE TABLE table_name_2 (year VARCHAR, chassis VARCHAR)
SELECT COUNT(year) FROM table_name_2 WHERE chassis = "ensign n175"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (year VARCHAR, chassis VARCHAR) Question: Name the total number of years for chassis of ensign n175 [/INST] SELECT COUNT(year) FROM table_name_2 WHERE chassis = "ensign n175" </s>
What was the Blue Jays lowest attendance when their record was 52-48?
CREATE TABLE table_name_52 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_52 WHERE record = "52-48"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (attendance INTEGER, record VARCHAR) Question: What was the Blue Jays lowest attendance when their record was 52-48? [/INST] SELECT MIN(attendance) FROM table_name_52 WHERE record = "52-48" </s>
What is the result when you play at home against Pride
CREATE TABLE table_name_73 (result VARCHAR, home_away VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_73 WHERE home_away = "home" AND opponent = "pride"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (result VARCHAR, home_away VARCHAR, opponent VARCHAR) Question: What is the result when you play at home against Pride [/INST] SELECT result FROM table_name_73 WHERE home_away = "home" AND opponent = "pride" </s>
What is the result of games played at frontier field
CREATE TABLE table_name_10 (result VARCHAR, field VARCHAR)
SELECT result FROM table_name_10 WHERE field = "frontier field"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (result VARCHAR, field VARCHAR) Question: What is the result of games played at frontier field [/INST] SELECT result FROM table_name_10 WHERE field = "frontier field" </s>
What days were games played at Hofstra Stadium?
CREATE TABLE table_name_20 (date VARCHAR, field VARCHAR)
SELECT date FROM table_name_20 WHERE field = "hofstra stadium"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (date VARCHAR, field VARCHAR) Question: What days were games played at Hofstra Stadium? [/INST] SELECT date FROM table_name_20 WHERE field = "hofstra stadium" </s>
What Field was played at in an away game against the bayhawks?
CREATE TABLE table_name_99 (field VARCHAR, home_away VARCHAR, opponent VARCHAR)
SELECT field FROM table_name_99 WHERE home_away = "away" AND opponent = "bayhawks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (field VARCHAR, home_away VARCHAR, opponent VARCHAR) Question: What Field was played at in an away game against the bayhawks? [/INST] SELECT field FROM table_name_99 WHERE home_away = "away" AND opponent = "bayhawks" </s>
What is the score of the game played on February 18?
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_59 WHERE date = "february 18"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR) Question: What is the score of the game played on February 18? [/INST] SELECT score FROM table_name_59 WHERE date = "february 18" </s>
Who was the home team that played against the Boston Bruins on January 11?
CREATE TABLE table_name_91 (home VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (home VARCHAR, visitor VARCHAR, date VARCHAR) Question: Who was the home team that played against the Boston Bruins on January 11? [/INST] SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11" </s>
Name the sum of year for olimpija ljubljana with height less than 2.04
CREATE TABLE table_name_14 (year_born INTEGER, current_club VARCHAR, height VARCHAR)
SELECT SUM(year_born) FROM table_name_14 WHERE current_club = "olimpija ljubljana" AND height < 2.04
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (year_born INTEGER, current_club VARCHAR, height VARCHAR) Question: Name the sum of year for olimpija ljubljana with height less than 2.04 [/INST] SELECT SUM(year_born) FROM table_name_14 WHERE current_club = "olimpija ljubljana" AND height < 2.04 </s>
Name the position with height of 2.09
CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR)
SELECT position FROM table_name_10 WHERE height = 2.09
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR) Question: Name the position with height of 2.09 [/INST] SELECT position FROM table_name_10 WHERE height = 2.09 </s>
What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season?
CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-35"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR) Question: What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season? [/INST] SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-35" </s>
What nominated work received a tony award in 2009?
CREATE TABLE table_name_94 (nominated_work VARCHAR, award VARCHAR, year VARCHAR)
SELECT nominated_work FROM table_name_94 WHERE award = "tony award" AND year = 2009
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (nominated_work VARCHAR, award VARCHAR, year VARCHAR) Question: What nominated work received a tony award in 2009? [/INST] SELECT nominated_work FROM table_name_94 WHERE award = "tony award" AND year = 2009 </s>
What result in the table is from the year 2012?
CREATE TABLE table_name_38 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_38 WHERE year = 2012
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (result VARCHAR, year VARCHAR) Question: What result in the table is from the year 2012? [/INST] SELECT result FROM table_name_38 WHERE year = 2012 </s>
Name the 2011 with 2010 of 2r
CREATE TABLE table_name_59 (Id VARCHAR)
SELECT 2011 FROM table_name_59 WHERE 2010 = "2r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (Id VARCHAR) Question: Name the 2011 with 2010 of 2r [/INST] SELECT 2011 FROM table_name_59 WHERE 2010 = "2r" </s>
Name the 2012 when 2011 is qf
CREATE TABLE table_name_97 (Id VARCHAR)
SELECT 2012 FROM table_name_97 WHERE 2011 = "qf"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (Id VARCHAR) Question: Name the 2012 when 2011 is qf [/INST] SELECT 2012 FROM table_name_97 WHERE 2011 = "qf" </s>
Name the 2012 for 2011 being 1r
CREATE TABLE table_name_5 (Id VARCHAR)
SELECT 2012 FROM table_name_5 WHERE 2011 = "1r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (Id VARCHAR) Question: Name the 2012 for 2011 being 1r [/INST] SELECT 2012 FROM table_name_5 WHERE 2011 = "1r" </s>
Name the 2012 for 2011 being qf
CREATE TABLE table_name_58 (Id VARCHAR)
SELECT 2012 FROM table_name_58 WHERE 2011 = "qf"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (Id VARCHAR) Question: Name the 2012 for 2011 being qf [/INST] SELECT 2012 FROM table_name_58 WHERE 2011 = "qf" </s>
Name the 2008 for 2012 f
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 2008 FROM table_name_37 WHERE 2012 = "f"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (Id VARCHAR) Question: Name the 2008 for 2012 f [/INST] SELECT 2008 FROM table_name_37 WHERE 2012 = "f" </s>
What is the location of the match on February 29, 2012?
CREATE TABLE table_name_47 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_47 WHERE date = "february 29, 2012"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (location VARCHAR, date VARCHAR) Question: What is the location of the match on February 29, 2012? [/INST] SELECT location FROM table_name_47 WHERE date = "february 29, 2012" </s>
What is the score of the match on November 15, 2011?
CREATE TABLE table_name_44 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_44 WHERE date = "november 15, 2011"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (score VARCHAR, date VARCHAR) Question: What is the score of the match on November 15, 2011? [/INST] SELECT score FROM table_name_44 WHERE date = "november 15, 2011" </s>
How many races were in the Mallala Motor Sport Park circuit?
CREATE TABLE table_name_48 (race VARCHAR, circuit VARCHAR)
SELECT COUNT(race) FROM table_name_48 WHERE circuit = "mallala motor sport park"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (race VARCHAR, circuit VARCHAR) Question: How many races were in the Mallala Motor Sport Park circuit? [/INST] SELECT COUNT(race) FROM table_name_48 WHERE circuit = "mallala motor sport park" </s>
What was the first race in Launceston, Tasmania?
CREATE TABLE table_name_52 (race INTEGER, location___state VARCHAR)
SELECT MIN(race) FROM table_name_52 WHERE location___state = "launceston, tasmania"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (race INTEGER, location___state VARCHAR) Question: What was the first race in Launceston, Tasmania? [/INST] SELECT MIN(race) FROM table_name_52 WHERE location___state = "launceston, tasmania" </s>
Name the 2nd leg for team 1 of hamburg
CREATE TABLE table_name_90 (team_1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (team_1 VARCHAR) Question: Name the 2nd leg for team 1 of hamburg [/INST] SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg" </s>
Name the role for mono studio and title of paradise canyon
CREATE TABLE table_name_62 (role VARCHAR, studio VARCHAR, title VARCHAR)
SELECT role FROM table_name_62 WHERE studio = "mono" AND title = "paradise canyon"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (role VARCHAR, studio VARCHAR, title VARCHAR) Question: Name the role for mono studio and title of paradise canyon [/INST] SELECT role FROM table_name_62 WHERE studio = "mono" AND title = "paradise canyon" </s>
Name the title for marion burns leading lady and role of john mason
CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR)
SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (title VARCHAR, leading_lady VARCHAR, role VARCHAR) Question: Name the title for marion burns leading lady and role of john mason [/INST] SELECT title FROM table_name_89 WHERE leading_lady = "marion burns" AND role = "john mason" </s>
Name the role for studio of rep with sheila mannors leading lady and title of westward ho
CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR)
SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR) Question: Name the role for studio of rep with sheila mannors leading lady and title of westward ho [/INST] SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho" </s>
Name the studio for john scott
CREATE TABLE table_name_74 (studio VARCHAR, role VARCHAR)
SELECT studio FROM table_name_74 WHERE role = "john scott"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (studio VARCHAR, role VARCHAR) Question: Name the studio for john scott [/INST] SELECT studio FROM table_name_74 WHERE role = "john scott" </s>
What is the amount of 000s from 1996?
CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR)
SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR) Question: What is the amount of 000s from 1996? [/INST] SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996" </s>
What was the amount of 000s when Germany had 16.6?
CREATE TABLE table_name_35 (total__000s_ VARCHAR, germany VARCHAR)
SELECT total__000s_ FROM table_name_35 WHERE germany = 16.6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (total__000s_ VARCHAR, germany VARCHAR) Question: What was the amount of 000s when Germany had 16.6? [/INST] SELECT total__000s_ FROM table_name_35 WHERE germany = 16.6 </s>
Name the average concacaf for merconorte larger than 0 and player of jared borgetti
CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR) Question: Name the average concacaf for merconorte larger than 0 and player of jared borgetti [/INST] SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0 </s>
Name the least merconorte for interliga of 2 and matches more than 260 with superliga more than 7
CREATE TABLE table_name_92 (merconorte INTEGER, superliga VARCHAR, interliga VARCHAR, matches VARCHAR)
SELECT MIN(merconorte) FROM table_name_92 WHERE interliga = 2 AND matches > 260 AND superliga > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (merconorte INTEGER, superliga VARCHAR, interliga VARCHAR, matches VARCHAR) Question: Name the least merconorte for interliga of 2 and matches more than 260 with superliga more than 7 [/INST] SELECT MIN(merconorte) FROM table_name_92 WHERE interliga = 2 AND matches > 260 AND superliga > 7 </s>
What was the outcome for the match that ended in a score of 5–7, 6–4, [10–7]?
CREATE TABLE table_name_84 (outcome VARCHAR, score_in_final VARCHAR)
SELECT outcome FROM table_name_84 WHERE score_in_final = "5–7, 6–4, [10–7]"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (outcome VARCHAR, score_in_final VARCHAR) Question: What was the outcome for the match that ended in a score of 5–7, 6–4, [10–7]? [/INST] SELECT outcome FROM table_name_84 WHERE score_in_final = "5–7, 6–4, [10–7]" </s>
What was the surface of the match that ended in a score of 5–7, 6–4, [10–7]?
CREATE TABLE table_name_1 (surface VARCHAR, score_in_final VARCHAR)
SELECT surface FROM table_name_1 WHERE score_in_final = "5–7, 6–4, [10–7]"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (surface VARCHAR, score_in_final VARCHAR) Question: What was the surface of the match that ended in a score of 5–7, 6–4, [10–7]? [/INST] SELECT surface FROM table_name_1 WHERE score_in_final = "5–7, 6–4, [10–7]" </s>
Who were the opponents in the match or matches that ended in a score of W/O?
CREATE TABLE table_name_72 (opponents_in_final VARCHAR, score_in_final VARCHAR)
SELECT opponents_in_final FROM table_name_72 WHERE score_in_final = "w/o"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (opponents_in_final VARCHAR, score_in_final VARCHAR) Question: Who were the opponents in the match or matches that ended in a score of W/O? [/INST] SELECT opponents_in_final FROM table_name_72 WHERE score_in_final = "w/o" </s>
What kind of Chassis supports a Maserati Straight-6 engine with Points greater than 0 and built in the year 1955?
CREATE TABLE table_name_93 (chassis VARCHAR, year VARCHAR, engine VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_93 WHERE engine = "maserati straight-6" AND points > 0 AND year = 1955
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (chassis VARCHAR, year VARCHAR, engine VARCHAR, points VARCHAR) Question: What kind of Chassis supports a Maserati Straight-6 engine with Points greater than 0 and built in the year 1955? [/INST] SELECT chassis FROM table_name_93 WHERE engine = "maserati straight-6" AND points > 0 AND year = 1955 </s>
What kind of Chassis supports an Equipe Gordini Entrant?
CREATE TABLE table_name_82 (chassis VARCHAR, entrant VARCHAR)
SELECT chassis FROM table_name_82 WHERE entrant = "equipe gordini"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (chassis VARCHAR, entrant VARCHAR) Question: What kind of Chassis supports an Equipe Gordini Entrant? [/INST] SELECT chassis FROM table_name_82 WHERE entrant = "equipe gordini" </s>
What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4?
CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR) Question: What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4? [/INST] SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4 </s>
What is the average year for Maserati Straight-4 Engines?
CREATE TABLE table_name_86 (year INTEGER, engine VARCHAR)
SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year INTEGER, engine VARCHAR) Question: What is the average year for Maserati Straight-4 Engines? [/INST] SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4" </s>
Name the sum of ERP W for class of d and frequency mhz of 98.7
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR) Question: Name the sum of ERP W for class of d and frequency mhz of 98.7 [/INST] SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7 </s>
Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia
CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) Question: Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia [/INST] SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia" </s>
Which record has a result of loss in the Hero's 3 event?
CREATE TABLE table_name_41 (record VARCHAR, res VARCHAR, event VARCHAR)
SELECT record FROM table_name_41 WHERE res = "loss" AND event = "hero's 3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (record VARCHAR, res VARCHAR, event VARCHAR) Question: Which record has a result of loss in the Hero's 3 event? [/INST] SELECT record FROM table_name_41 WHERE res = "loss" AND event = "hero's 3" </s>
Which event led to a 4-0 record?
CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_98 WHERE record = "4-0"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (event VARCHAR, record VARCHAR) Question: Which event led to a 4-0 record? [/INST] SELECT event FROM table_name_98 WHERE record = "4-0" </s>
Which location led to a 10-3 record?
CREATE TABLE table_name_73 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_73 WHERE record = "10-3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (location VARCHAR, record VARCHAR) Question: Which location led to a 10-3 record? [/INST] SELECT location FROM table_name_73 WHERE record = "10-3" </s>
In the match against Masahiro Oishi, what was the record?
CREATE TABLE table_name_90 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_90 WHERE opponent = "masahiro oishi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (record VARCHAR, opponent VARCHAR) Question: In the match against Masahiro Oishi, what was the record? [/INST] SELECT record FROM table_name_90 WHERE opponent = "masahiro oishi" </s>
What is the fewest number of points for clubs with less than 2 draws and more than 8 matches played?
CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR)
SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR) Question: What is the fewest number of points for clubs with less than 2 draws and more than 8 matches played? [/INST] SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8 </s>
What is the fewest drawn matches for teams with 2 points and fewer than 6 losses?
CREATE TABLE table_name_86 (drawn INTEGER, points VARCHAR, lost VARCHAR)
SELECT MIN(drawn) FROM table_name_86 WHERE points = 2 AND lost < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (drawn INTEGER, points VARCHAR, lost VARCHAR) Question: What is the fewest drawn matches for teams with 2 points and fewer than 6 losses? [/INST] SELECT MIN(drawn) FROM table_name_86 WHERE points = 2 AND lost < 6 </s>
What is the most number of losses for Quetta Zorawar?
CREATE TABLE table_name_15 (lost INTEGER, team VARCHAR)
SELECT MAX(lost) FROM table_name_15 WHERE team = "quetta zorawar"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (lost INTEGER, team VARCHAR) Question: What is the most number of losses for Quetta Zorawar? [/INST] SELECT MAX(lost) FROM table_name_15 WHERE team = "quetta zorawar" </s>
What is the sum of the drawn values for teams with 2 losses?
CREATE TABLE table_name_45 (drawn INTEGER, lost VARCHAR)
SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (drawn INTEGER, lost VARCHAR) Question: What is the sum of the drawn values for teams with 2 losses? [/INST] SELECT SUM(drawn) FROM table_name_45 WHERE lost = 2 </s>
which round has a margin of 178?
CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR)
SELECT round FROM table_name_24 WHERE margin = "178"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR) Question: which round has a margin of 178? [/INST] SELECT round FROM table_name_24 WHERE margin = "178" </s>
Name the average total for gold less than 1 and rank less than 5
CREATE TABLE table_name_38 (total INTEGER, gold VARCHAR, rank VARCHAR)
SELECT AVG(total) FROM table_name_38 WHERE gold < 1 AND rank < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (total INTEGER, gold VARCHAR, rank VARCHAR) Question: Name the average total for gold less than 1 and rank less than 5 [/INST] SELECT AVG(total) FROM table_name_38 WHERE gold < 1 AND rank < 5 </s>
Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0
CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0 [/INST] SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0 </s>
Name the most gold when bronze is more than 0 and rank is more than 5 with total more than 2
CREATE TABLE table_name_70 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT MAX(gold) FROM table_name_70 WHERE bronze > 0 AND rank > 5 AND total > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR) Question: Name the most gold when bronze is more than 0 and rank is more than 5 with total more than 2 [/INST] SELECT MAX(gold) FROM table_name_70 WHERE bronze > 0 AND rank > 5 AND total > 2 </s>
Name the average bronze with silver more than 0, total of 6 and gold more than 0
CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) Question: Name the average bronze with silver more than 0, total of 6 and gold more than 0 [/INST] SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0 </s>
Name the sum of total with gold more than 1 and bronze more than 0
CREATE TABLE table_name_10 (total INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_10 WHERE gold > 1 AND bronze > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (total INTEGER, gold VARCHAR, bronze VARCHAR) Question: Name the sum of total with gold more than 1 and bronze more than 0 [/INST] SELECT SUM(total) FROM table_name_10 WHERE gold > 1 AND bronze > 0 </s>
What country did Jonas Geirnaert direct a film in?
CREATE TABLE table_name_30 (country VARCHAR, director_s_ VARCHAR)
SELECT country FROM table_name_30 WHERE director_s_ = "jonas geirnaert"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (country VARCHAR, director_s_ VARCHAR) Question: What country did Jonas Geirnaert direct a film in? [/INST] SELECT country FROM table_name_30 WHERE director_s_ = "jonas geirnaert" </s>
What Nominating Festival took place in Germany?
CREATE TABLE table_name_35 (nominating_festival VARCHAR, country VARCHAR)
SELECT nominating_festival FROM table_name_35 WHERE country = "germany"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (nominating_festival VARCHAR, country VARCHAR) Question: What Nominating Festival took place in Germany? [/INST] SELECT nominating_festival FROM table_name_35 WHERE country = "germany" </s>
What is the category of the film made in Switzerland?
CREATE TABLE table_name_30 (category VARCHAR, country VARCHAR)
SELECT category FROM table_name_30 WHERE country = "switzerland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (category VARCHAR, country VARCHAR) Question: What is the category of the film made in Switzerland? [/INST] SELECT category FROM table_name_30 WHERE country = "switzerland" </s>
What film was directed by Sandro Aguilar?
CREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR)
SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR) Question: What film was directed by Sandro Aguilar? [/INST] SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar" </s>
Name the language that has number of 14
CREATE TABLE table_name_69 (language VARCHAR, number VARCHAR)
SELECT language FROM table_name_69 WHERE number = "14"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (language VARCHAR, number VARCHAR) Question: Name the language that has number of 14 [/INST] SELECT language FROM table_name_69 WHERE number = "14" </s>
Name the number which has language of other
CREATE TABLE table_name_73 (number VARCHAR, language VARCHAR)
SELECT number FROM table_name_73 WHERE language = "other"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (number VARCHAR, language VARCHAR) Question: Name the number which has language of other [/INST] SELECT number FROM table_name_73 WHERE language = "other" </s>
Tell me the average goals for losses of 19 and goals against more than 59
CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR)
SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR) Question: Tell me the average goals for losses of 19 and goals against more than 59 [/INST] SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59 </s>
Name the average position when the goals against are more than 42 and draws less than 16 with goals of 44
CREATE TABLE table_name_4 (position INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
SELECT AVG(position) FROM table_name_4 WHERE goals_against > 42 AND goals_for = 44 AND draws < 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (position INTEGER, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) Question: Name the average position when the goals against are more than 42 and draws less than 16 with goals of 44 [/INST] SELECT AVG(position) FROM table_name_4 WHERE goals_against > 42 AND goals_for = 44 AND draws < 16 </s>
Which regular season was 2013 in?
CREATE TABLE table_name_50 (regular_season VARCHAR, year VARCHAR)
SELECT regular_season FROM table_name_50 WHERE year = 2013
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (regular_season VARCHAR, year VARCHAR) Question: Which regular season was 2013 in? [/INST] SELECT regular_season FROM table_name_50 WHERE year = 2013 </s>
What year did the team make conference semifinals?
CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR)
SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR) Question: What year did the team make conference semifinals? [/INST] SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals" </s>
What's the smallest area in Russia that is ranked 23 with a population more than 522,800?
CREATE TABLE table_name_21 (area__kmΒ²_ INTEGER, population VARCHAR, country VARCHAR, rank VARCHAR)
SELECT MIN(area__kmΒ²_) FROM table_name_21 WHERE country = "russia" AND rank = 23 AND population > 522 OFFSET 800 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (area__kmΒ²_ INTEGER, population VARCHAR, country VARCHAR, rank VARCHAR) Question: What's the smallest area in Russia that is ranked 23 with a population more than 522,800? [/INST] SELECT MIN(area__kmΒ²_) FROM table_name_21 WHERE country = "russia" AND rank = 23 AND population > 522 OFFSET 800 ROWS </s>