instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1?
CREATE TABLE table_name_15 (time INTEGER, react VARCHAR, rank VARCHAR)
SELECT SUM(time) FROM table_name_15 WHERE react < 0.20400000000000001 AND rank = 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (time INTEGER, react VARCHAR, rank VARCHAR) Question: Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1? [/INST] SELECT SUM(time) FROM table_name_15 WHERE react < 0.204000...
What's the average Top-25, that has an Events that's smaller than 12, and has a Top-5 that is larger than 0?
CREATE TABLE table_name_60 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR)
SELECT AVG(top_25) FROM table_name_60 WHERE events < 12 AND top_5 > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR) Question: What's the average Top-25, that has an Events that's smaller than 12, and has a Top-5 that is larger than 0? [/INST] SELECT AVG(top_25) FRO...
What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5?
CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR)
SELECT AVG(cuts_made) FROM table_name_17 WHERE top_5 = 3 AND top_10 < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR) Question: What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5? [/INST] SELECT AVG(cuts_made) FROM tab...
What's the sum of Top-25 that has an Events that is smaller than 10?
CREATE TABLE table_name_61 (top_25 VARCHAR, events INTEGER)
SELECT COUNT(top_25) FROM table_name_61 WHERE events < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (top_25 VARCHAR, events INTEGER) Question: What's the sum of Top-25 that has an Events that is smaller than 10? [/INST] SELECT COUNT(top_25) FROM table_name_61 WHERE events < 10 </s>
What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?
CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR) Question: What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5? [/INST] SELECT COUNT(top_10) FRO...
What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?
CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = "pga championship" AND top_5 < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR) Question: What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2? [/INST] SELECT MIN(c...
When the nominee(s) is john wells what is the episode for a year before 2004?
CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT episode FROM table_name_64 WHERE year < 2004 AND nominee_s_ = "john wells"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) Question: When the nominee(s) is john wells what is the episode for a year before 2004? [/INST] SELECT episode FROM table_name_64 WHERE year < 20...
What is the result when the nominee(s) of janine sherman?
CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (result VARCHAR, nominee_s_ VARCHAR) Question: What is the result when the nominee(s) of janine sherman? [/INST] SELECT result FROM table_name_57 WHERE nominee_s_ = "janine sherman" </s>
What is the result for a year after 2003, when the nominee(s) is john wells?
CREATE TABLE table_name_64 (result VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT result FROM table_name_64 WHERE year > 2003 AND nominee_s_ = "john wells"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (result VARCHAR, year VARCHAR, nominee_s_ VARCHAR) Question: What is the result for a year after 2003, when the nominee(s) is john wells? [/INST] SELECT result FROM table_name_64 WHERE year > 2003 ...
What is the purse in 2003, which had a 1-1/16 distance?
CREATE TABLE table_name_94 (purse VARCHAR, distance VARCHAR, year VARCHAR)
SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (purse VARCHAR, distance VARCHAR, year VARCHAR) Question: What is the purse in 2003, which had a 1-1/16 distance? [/INST] SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003 <...
Who is the trainer of the winner skylighter?
CREATE TABLE table_name_5 (trainer VARCHAR, winner VARCHAR)
SELECT trainer FROM table_name_5 WHERE winner = "skylighter"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (trainer VARCHAR, winner VARCHAR) Question: Who is the trainer of the winner skylighter? [/INST] SELECT trainer FROM table_name_5 WHERE winner = "skylighter" </s>
What is the distance with a 1:46.32 time?
CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR)
SELECT distance FROM table_name_85 WHERE time = "1:46.32"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (distance VARCHAR, time VARCHAR) Question: What is the distance with a 1:46.32 time? [/INST] SELECT distance FROM table_name_85 WHERE time = "1:46.32" </s>
What is the average year with a 1:42.85 time?
CREATE TABLE table_name_81 (year INTEGER, time VARCHAR)
SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (year INTEGER, time VARCHAR) Question: What is the average year with a 1:42.85 time? [/INST] SELECT AVG(year) FROM table_name_81 WHERE time = "1:42.85" </s>
What is the distance in 2006?
CREATE TABLE table_name_18 (distance VARCHAR, year VARCHAR)
SELECT distance FROM table_name_18 WHERE year = 2006
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (distance VARCHAR, year VARCHAR) Question: What is the distance in 2006? [/INST] SELECT distance FROM table_name_18 WHERE year = 2006 </s>
Who was the director of Clean Pastures?
CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_12 WHERE title = "clean pastures"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR) Question: Who was the director of Clean Pastures? [/INST] SELECT director FROM table_name_12 WHERE title = "clean pastures" </s>
What was the release date for Production Number 8181?
CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR)
SELECT release_date FROM table_name_14 WHERE production_num = "8181"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR) Question: What was the release date for Production Number 8181? [/INST] SELECT release_date FROM table_name_14 WHERE production_num = "8181" </s>
What series was directed by Frank Tashlin and has the production number, 8053?
CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR) Question: What series was directed by Frank Tashlin and has the production number, 8053? [/INST] SELECT series FROM table_name_28 WHERE di...
What series was called Egghead Rides Again?
CREATE TABLE table_name_38 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_38 WHERE title = "egghead rides again"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (series VARCHAR, title VARCHAR) Question: What series was called Egghead Rides Again? [/INST] SELECT series FROM table_name_38 WHERE title = "egghead rides again" </s>
What is the Tie no of the Port Vale Away game?
CREATE TABLE table_name_56 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_56 WHERE away_team = "port vale"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (tie_no VARCHAR, away_team VARCHAR) Question: What is the Tie no of the Port Vale Away game? [/INST] SELECT tie_no FROM table_name_56 WHERE away_team = "port vale" </s>
What is the Score of the Halifax Town Home game?
CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_30 WHERE home_team = "halifax town"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR) Question: What is the Score of the Halifax Town Home game? [/INST] SELECT score FROM table_name_30 WHERE home_team = "halifax town" </s>
What is the Score of the Scarborough Home game?
CREATE TABLE table_name_72 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_72 WHERE home_team = "scarborough"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (score VARCHAR, home_team VARCHAR) Question: What is the Score of the Scarborough Home game? [/INST] SELECT score FROM table_name_72 WHERE home_team = "scarborough" </s>
Which college did the player who went to the Boston Patriots go to?
CREATE TABLE table_name_8 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_8 WHERE team = "boston patriots"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (college VARCHAR, team VARCHAR) Question: Which college did the player who went to the Boston Patriots go to? [/INST] SELECT college FROM table_name_8 WHERE team = "boston patriots" </s>
What was the highest pick number of the player who went to LSU in college?
CREATE TABLE table_name_20 (pick INTEGER, college VARCHAR)
SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (pick INTEGER, college VARCHAR) Question: What was the highest pick number of the player who went to LSU in college? [/INST] SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu" </s>
Which college did the player picked number 136 go to?
CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_54 WHERE pick = 136
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR) Question: Which college did the player picked number 136 go to? [/INST] SELECT college FROM table_name_54 WHERE pick = 136 </s>
Which college did the player picked larger than 130 by the New York Jets go to?
CREATE TABLE table_name_95 (college VARCHAR, pick VARCHAR, team VARCHAR)
SELECT college FROM table_name_95 WHERE pick > 130 AND team = "new york jets"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (college VARCHAR, pick VARCHAR, team VARCHAR) Question: Which college did the player picked larger than 130 by the New York Jets go to? [/INST] SELECT college FROM table_name_95 WHERE pick > 130 AN...
What lane was Emily Seebohm in?
CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR)
SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR) Question: What lane was Emily Seebohm in? [/INST] SELECT COUNT(lane) FROM table_name_2 WHERE name = "emily seebohm" </s>
What is the quantity for railway 263?
CREATE TABLE table_name_50 (quantity VARCHAR, railway_number_s_ VARCHAR)
SELECT quantity FROM table_name_50 WHERE railway_number_s_ = "263"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (quantity VARCHAR, railway_number_s_ VARCHAR) Question: What is the quantity for railway 263? [/INST] SELECT quantity FROM table_name_50 WHERE railway_number_s_ = "263" </s>
What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?
CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)
SELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = "26 (ii) …63 (ii) , 188–193"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR) Question: What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193? [/INST] SELECT year_s__of_manufacture FRO...
What are the railway number(s) for year(s) of manufacture of 1905–1906?
CREATE TABLE table_name_47 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
SELECT railway_number_s_ FROM table_name_47 WHERE year_s__of_manufacture = "1905–1906"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR) Question: What are the railway number(s) for year(s) of manufacture of 1905–1906? [/INST] SELECT railway_number_s_ FROM table_name_47 WHE...
Who is the rb player from team oakland?
CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)
SELECT player FROM table_name_69 WHERE position = "rb" AND team = "oakland"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR) Question: Who is the rb player from team oakland? [/INST] SELECT player FROM table_name_69 WHERE position = "rb" AND team = "oakland" </s>
What is the team of the player from ohio state?
CREATE TABLE table_name_93 (team VARCHAR, college VARCHAR)
SELECT team FROM table_name_93 WHERE college = "ohio state"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (team VARCHAR, college VARCHAR) Question: What is the team of the player from ohio state? [/INST] SELECT team FROM table_name_93 WHERE college = "ohio state" </s>
What is the highest rank in Uzbekistan with a time larger than 11.44?
CREATE TABLE table_name_38 (rank INTEGER, country VARCHAR, time VARCHAR)
SELECT MAX(rank) FROM table_name_38 WHERE country = "uzbekistan" AND time > 11.44
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, country VARCHAR, time VARCHAR) Question: What is the highest rank in Uzbekistan with a time larger than 11.44? [/INST] SELECT MAX(rank) FROM table_name_38 WHERE country = "uzbekistan...
What is the average heat ranked at 30?
CREATE TABLE table_name_54 (heat INTEGER, rank VARCHAR)
SELECT AVG(heat) FROM table_name_54 WHERE rank = 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (heat INTEGER, rank VARCHAR) Question: What is the average heat ranked at 30? [/INST] SELECT AVG(heat) FROM table_name_54 WHERE rank = 30 </s>
What is the average time in a rank of 61?
CREATE TABLE table_name_29 (time INTEGER, rank VARCHAR)
SELECT AVG(time) FROM table_name_29 WHERE rank = 61
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (time INTEGER, rank VARCHAR) Question: What is the average time in a rank of 61? [/INST] SELECT AVG(time) FROM table_name_29 WHERE rank = 61 </s>
How much Capacity has a Vehicle of 2003 holden commodore ute?
CREATE TABLE table_name_97 (capacity VARCHAR, vehicle VARCHAR)
SELECT COUNT(capacity) FROM table_name_97 WHERE vehicle = "2003 holden commodore ute"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (capacity VARCHAR, vehicle VARCHAR) Question: How much Capacity has a Vehicle of 2003 holden commodore ute? [/INST] SELECT COUNT(capacity) FROM table_name_97 WHERE vehicle = "2003 holden commodore ...
Which Navigator has a Total Time of 08:29?
CREATE TABLE table_name_37 (navigator VARCHAR, total_time VARCHAR)
SELECT navigator FROM table_name_37 WHERE total_time = "08:29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (navigator VARCHAR, total_time VARCHAR) Question: Which Navigator has a Total Time of 08:29? [/INST] SELECT navigator FROM table_name_37 WHERE total_time = "08:29" </s>
Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti?
CREATE TABLE table_name_61 (capacity INTEGER, class VARCHAR, vehicle VARCHAR)
SELECT MIN(capacity) FROM table_name_61 WHERE class = "cm22" AND vehicle = "1999 subaru impreza wrx sti"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (capacity INTEGER, class VARCHAR, vehicle VARCHAR) Question: Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti? [/INST] SELECT MIN(capacity) FROM table_name_61 WHERE ...
Which Driver has a Capacity smaller than 5700, and a Total Time of 08:29?
CREATE TABLE table_name_21 (driver VARCHAR, capacity VARCHAR, total_time VARCHAR)
SELECT driver FROM table_name_21 WHERE capacity < 5700 AND total_time = "08:29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (driver VARCHAR, capacity VARCHAR, total_time VARCHAR) Question: Which Driver has a Capacity smaller than 5700, and a Total Time of 08:29? [/INST] SELECT driver FROM table_name_21 WHERE capacity < ...
What is the total number of losses for teams with more than 0 byes?
CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)
SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER) Question: What is the total number of losses for teams with more than 0 byes? [/INST] SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0 </s>
What is the sum of draws for teams with against of 1731 and under 10 losses?
CREATE TABLE table_name_67 (draws INTEGER, against VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_67 WHERE against = 1731 AND losses < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (draws INTEGER, against VARCHAR, losses VARCHAR) Question: What is the sum of draws for teams with against of 1731 and under 10 losses? [/INST] SELECT SUM(draws) FROM table_name_67 WHERE against = ...
When was Tree Cornered Tweety, directed by Friz Freleng, released?
CREATE TABLE table_name_35 (release_date VARCHAR, director VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_35 WHERE director = "friz freleng" AND title = "tree cornered tweety"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (release_date VARCHAR, director VARCHAR, title VARCHAR) Question: When was Tree Cornered Tweety, directed by Friz Freleng, released? [/INST] SELECT release_date FROM table_name_35 WHERE director = ...
When was Too Hop to Handle released?
CREATE TABLE table_name_68 (release_date VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_68 WHERE title = "too hop to handle"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (release_date VARCHAR, title VARCHAR) Question: When was Too Hop to Handle released? [/INST] SELECT release_date FROM table_name_68 WHERE title = "too hop to handle" </s>
From which series is the title Barbary Coast Bunny?
CREATE TABLE table_name_85 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_85 WHERE title = "barbary coast bunny"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (series VARCHAR, title VARCHAR) Question: From which series is the title Barbary Coast Bunny? [/INST] SELECT series FROM table_name_85 WHERE title = "barbary coast bunny" </s>
Who did the Lyrics (l) / Music (m) for the song in 23 Place?
CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR)
SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = "23"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (lyrics__l____music__m_ VARCHAR, place VARCHAR) Question: Who did the Lyrics (l) / Music (m) for the song in 23 Place? [/INST] SELECT lyrics__l____music__m_ FROM table_name_76 WHERE place = "23" </...
What are the Votes for the Song by Artist Filipa Batista?
CREATE TABLE table_name_11 (votes VARCHAR, artist VARCHAR)
SELECT votes FROM table_name_11 WHERE artist = "filipa batista"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (votes VARCHAR, artist VARCHAR) Question: What are the Votes for the Song by Artist Filipa Batista? [/INST] SELECT votes FROM table_name_11 WHERE artist = "filipa batista" </s>
What is the Votes for the Song in Place 9?
CREATE TABLE table_name_6 (votes VARCHAR, place VARCHAR)
SELECT votes FROM table_name_6 WHERE place = "9"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (votes VARCHAR, place VARCHAR) Question: What is the Votes for the Song in Place 9? [/INST] SELECT votes FROM table_name_6 WHERE place = "9" </s>
What is the Artist of the Song with a Place of withdrawn?
CREATE TABLE table_name_28 (artist VARCHAR, place VARCHAR)
SELECT artist FROM table_name_28 WHERE place = "withdrawn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (artist VARCHAR, place VARCHAR) Question: What is the Artist of the Song with a Place of withdrawn? [/INST] SELECT artist FROM table_name_28 WHERE place = "withdrawn" </s>
Which week had a result of L 38-21?
CREATE TABLE table_name_91 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_91 WHERE result = "l 38-21"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (week VARCHAR, result VARCHAR) Question: Which week had a result of L 38-21? [/INST] SELECT week FROM table_name_91 WHERE result = "l 38-21" </s>
Who was the opponent after week 8 that had 72,190 people in attendance?
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_96 WHERE week > 8 AND attendance = "72,190"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) Question: Who was the opponent after week 8 that had 72,190 people in attendance? [/INST] SELECT opponent FROM table_name_96 WHERE week > 8 AND ...
Who won the Gold Medal in Moscow after the year 1982?
CREATE TABLE table_name_55 (gold VARCHAR, year VARCHAR, place VARCHAR)
SELECT gold FROM table_name_55 WHERE year > 1982 AND place = "moscow"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (gold VARCHAR, year VARCHAR, place VARCHAR) Question: Who won the Gold Medal in Moscow after the year 1982? [/INST] SELECT gold FROM table_name_55 WHERE year > 1982 AND place = "moscow" </s>
What is the lowest total that has a rank less than 8, a silver greater than 6, and 20 as the bronze?
CREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_70 WHERE rank < 8 AND silver > 6 AND bronze = 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR) Question: What is the lowest total that has a rank less than 8, a silver greater than 6, and 20 as the bronze? [/INST] SELECT MIN(total...
What is the average silver that has a gold greater than 3, with soviet union (urs) as the nation, and a bronze greater than 26?
CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT AVG(silver) FROM table_name_8 WHERE gold > 3 AND nation = "soviet union (urs)" AND bronze > 26
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) Question: What is the average silver that has a gold greater than 3, with soviet union (urs) as the nation, and a bronze greater than 2...
What is the highest silver that has 57 as the total, with a bronze greater than 20?
CREATE TABLE table_name_82 (silver INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_82 WHERE total = 57 AND bronze > 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (silver INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the highest silver that has 57 as the total, with a bronze greater than 20? [/INST] SELECT MAX(silver) FROM table_name_82 WHERE tot...
What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation?
CREATE TABLE table_name_20 (rank VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_20 WHERE gold > 0 AND bronze = 0 AND nation = "germany (ger)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (rank VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR) Question: What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the nation? [/INST] SELECT rank FROM table_name_20...
How many bronzes have 1 as the total, with spain (esp) as the nation, and a gold greater than 0?
CREATE TABLE table_name_31 (bronze VARCHAR, gold VARCHAR, total VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_31 WHERE total = 1 AND nation = "spain (esp)" AND gold > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (bronze VARCHAR, gold VARCHAR, total VARCHAR, nation VARCHAR) Question: How many bronzes have 1 as the total, with spain (esp) as the nation, and a gold greater than 0? [/INST] SELECT COUNT(bronze)...
Which Prominence (m) has a Peak of nakanai mountains high point, and an Elevation (m) smaller than 2,316?
CREATE TABLE table_name_37 (prominence__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR)
SELECT AVG(prominence__m_) FROM table_name_37 WHERE peak = "nakanai mountains high point" AND elevation__m_ < 2 OFFSET 316 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (prominence__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR) Question: Which Prominence (m) has a Peak of nakanai mountains high point, and an Elevation (m) smaller than 2,316? [/INST] SELECT AVG(...
What position Jason Fitzgerald played?
CREATE TABLE table_name_89 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_89 WHERE player = "jason fitzgerald"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (position VARCHAR, player VARCHAR) Question: What position Jason Fitzgerald played? [/INST] SELECT position FROM table_name_89 WHERE player = "jason fitzgerald" </s>
Jason Romano played for what team?
CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_9 WHERE player = "jason romano"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR) Question: Jason Romano played for what team? [/INST] SELECT team FROM table_name_9 WHERE player = "jason romano" </s>
What are the dimensions of the amp with a 180W output?
CREATE TABLE table_name_96 (dimensions VARCHAR, output VARCHAR)
SELECT dimensions FROM table_name_96 WHERE output = "180w"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (dimensions VARCHAR, output VARCHAR) Question: What are the dimensions of the amp with a 180W output? [/INST] SELECT dimensions FROM table_name_96 WHERE output = "180w" </s>
Which player was from Fermanagh and had an average score of 22?
CREATE TABLE table_name_53 (average INTEGER, total VARCHAR, county VARCHAR)
SELECT AVG(average) FROM table_name_53 WHERE total = 22 AND county = "fermanagh"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (average INTEGER, total VARCHAR, county VARCHAR) Question: Which player was from Fermanagh and had an average score of 22? [/INST] SELECT AVG(average) FROM table_name_53 WHERE total = 22 AND county...
How many total points did Oisin McConville have from his 5 matches?
CREATE TABLE table_name_90 (total VARCHAR, player VARCHAR, matches VARCHAR)
SELECT COUNT(total) FROM table_name_90 WHERE player = "oisin mcconville" AND matches < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total VARCHAR, player VARCHAR, matches VARCHAR) Question: How many total points did Oisin McConville have from his 5 matches? [/INST] SELECT COUNT(total) FROM table_name_90 WHERE player = "oisin m...
How many attendances have October 30, 1977 as the date, with a week greater than 7?
CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_16 WHERE date = "october 30, 1977" AND week > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR, week VARCHAR) Question: How many attendances have October 30, 1977 as the date, with a week greater than 7? [/INST] SELECT COUNT(attendance) FROM table_name_16 WH...
What is the lowest attendance that has l 42-35 as the result, with a week less than 13?
CREATE TABLE table_name_82 (attendance INTEGER, result VARCHAR, week VARCHAR)
SELECT MIN(attendance) FROM table_name_82 WHERE result = "l 42-35" AND week < 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (attendance INTEGER, result VARCHAR, week VARCHAR) Question: What is the lowest attendance that has l 42-35 as the result, with a week less than 13? [/INST] SELECT MIN(attendance) FROM table_name_8...
Who is from south korea and has a heat less than 3?
CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR) Question: Who is from south korea and has a heat less than 3? [/INST] SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea"...
What is the highest heat of the athlete from spain with a lane less than 7?
CREATE TABLE table_name_2 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
SELECT MAX(heat) FROM table_name_2 WHERE nationality = "spain" AND lane < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (heat INTEGER, nationality VARCHAR, lane VARCHAR) Question: What is the highest heat of the athlete from spain with a lane less than 7? [/INST] SELECT MAX(heat) FROM table_name_2 WHERE nationality =...
What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3?
CREATE TABLE table_name_78 (lane INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT AVG(lane) FROM table_name_78 WHERE nationality = "japan" AND time = "4:37.35" AND heat < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (lane INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR) Question: What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3? [/INST] SELECT AVG(lane) ...
What is the lowest Gold count if the Bronze is 4 and Silver is greater than 5?
CREATE TABLE table_name_45 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_45 WHERE bronze = 4 AND silver > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (gold INTEGER, bronze VARCHAR, silver VARCHAR) Question: What is the lowest Gold count if the Bronze is 4 and Silver is greater than 5? [/INST] SELECT MIN(gold) FROM table_name_45 WHERE bronze = 4 ...
What is the Average for Silver medals that have more than 17 Golds?
CREATE TABLE table_name_50 (silver INTEGER, gold INTEGER)
SELECT AVG(silver) FROM table_name_50 WHERE gold > 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (silver INTEGER, gold INTEGER) Question: What is the Average for Silver medals that have more than 17 Golds? [/INST] SELECT AVG(silver) FROM table_name_50 WHERE gold > 17 </s>
What is the highest number of Silver medals with a Total greater than 14 and more than 15 Bronze medals?
CREATE TABLE table_name_38 (silver INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_38 WHERE total > 14 AND bronze > 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (silver INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the highest number of Silver medals with a Total greater than 14 and more than 15 Bronze medals? [/INST] SELECT MAX(silver) FROM ta...
Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra?
CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR)
SELECT music___director FROM table_name_69 WHERE co___singer = "hemachandra" AND film = "khaleja"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (music___director VARCHAR, co___singer VARCHAR, film VARCHAR) Question: Who is the music-director for the song from the film khaleja who had a co-singer of hemachandra? [/INST] SELECT music___direc...
What was the score for the matchup having attendance of 354?
CREATE TABLE table_name_25 (score VARCHAR, att VARCHAR)
SELECT score FROM table_name_25 WHERE att = 354
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, att VARCHAR) Question: What was the score for the matchup having attendance of 354? [/INST] SELECT score FROM table_name_25 WHERE att = 354 </s>
What nation had a medal total of less than 10, less than 1 bronze medal, in rank 11?
CREATE TABLE table_name_79 (nation VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_79 WHERE total < 10 AND bronze < 1 AND rank = "11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (nation VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR) Question: What nation had a medal total of less than 10, less than 1 bronze medal, in rank 11? [/INST] SELECT nation FROM table_name_79...
How many gold medals did the team that won a total of 10 medals and 3 silver medals win?
CREATE TABLE table_name_44 (gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT gold FROM table_name_44 WHERE silver = 3 AND total = 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (gold VARCHAR, silver VARCHAR, total VARCHAR) Question: How many gold medals did the team that won a total of 10 medals and 3 silver medals win? [/INST] SELECT gold FROM table_name_44 WHERE silver ...
What is the total number of medals won by teams that won more than 11 bronze medals?
CREATE TABLE table_name_41 (total VARCHAR, bronze INTEGER)
SELECT COUNT(total) FROM table_name_41 WHERE bronze > 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (total VARCHAR, bronze INTEGER) Question: What is the total number of medals won by teams that won more than 11 bronze medals? [/INST] SELECT COUNT(total) FROM table_name_41 WHERE bronze > 11 </s>
What is the lowest react of the athlete from the United States who has a lane less than 4?
CREATE TABLE table_name_53 (react INTEGER, country VARCHAR, lane VARCHAR)
SELECT MIN(react) FROM table_name_53 WHERE country = "united states" AND lane < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (react INTEGER, country VARCHAR, lane VARCHAR) Question: What is the lowest react of the athlete from the United States who has a lane less than 4? [/INST] SELECT MIN(react) FROM table_name_53 WHER...
What is the lowest of the athlete from sri lanka who has a lane greater than 8?
CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR)
SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR) Question: What is the lowest of the athlete from sri lanka who has a lane greater than 8? [/INST] SELECT MIN(react) FROM table_name_62 WHERE country =...
What is the average react of athlete muna lee, who is ranked greater than 3?
CREATE TABLE table_name_4 (react INTEGER, athlete VARCHAR, rank VARCHAR)
SELECT AVG(react) FROM table_name_4 WHERE athlete = "muna lee" AND rank > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (react INTEGER, athlete VARCHAR, rank VARCHAR) Question: What is the average react of athlete muna lee, who is ranked greater than 3? [/INST] SELECT AVG(react) FROM table_name_4 WHERE athlete = "mun...
What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245?
CREATE TABLE table_name_8 (lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR)
SELECT AVG(lane) FROM table_name_8 WHERE time > 22.57 AND react < 0.245 AND country = "cuba"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR) Question: What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245? [/INST] SELECT A...
What is the average react of the athlete with a time less than 22.29 and a rank greater than 1?
CREATE TABLE table_name_11 (react INTEGER, time VARCHAR, rank VARCHAR)
SELECT AVG(react) FROM table_name_11 WHERE time < 22.29 AND rank > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (react INTEGER, time VARCHAR, rank VARCHAR) Question: What is the average react of the athlete with a time less than 22.29 and a rank greater than 1? [/INST] SELECT AVG(react) FROM table_name_11 WH...
Who is the Opponent on December 7, 2003?
CREATE TABLE table_name_22 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_22 WHERE date = "december 7, 2003"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (opponent VARCHAR, date VARCHAR) Question: Who is the Opponent on December 7, 2003? [/INST] SELECT opponent FROM table_name_22 WHERE date = "december 7, 2003" </s>
What is the Tv Time of the game with an Attendance of 73,578?
CREATE TABLE table_name_40 (tv_time VARCHAR, attendance VARCHAR)
SELECT tv_time FROM table_name_40 WHERE attendance = "73,578"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (tv_time VARCHAR, attendance VARCHAR) Question: What is the Tv Time of the game with an Attendance of 73,578? [/INST] SELECT tv_time FROM table_name_40 WHERE attendance = "73,578" </s>
What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167?
CREATE TABLE table_name_7 (result INTEGER, name VARCHAR, reaction_time VARCHAR)
SELECT MAX(result) FROM table_name_7 WHERE name = "wallace spearmon" AND reaction_time > 0.167
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (result INTEGER, name VARCHAR, reaction_time VARCHAR) Question: What is the highest result for Wallace Spearmon when the reaction time is greater than 0.167? [/INST] SELECT MAX(result) FROM table_na...
What was the result for Lane 3?
CREATE TABLE table_name_12 (result VARCHAR, lane VARCHAR)
SELECT result FROM table_name_12 WHERE lane = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (result VARCHAR, lane VARCHAR) Question: What was the result for Lane 3? [/INST] SELECT result FROM table_name_12 WHERE lane = 3 </s>
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?
CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR) Question: What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3? [/INS...
What are the lowest conceded with 1 draw, and a score larger than 14?
CREATE TABLE table_name_71 (conceded INTEGER, draws VARCHAR, scored VARCHAR)
SELECT MIN(conceded) FROM table_name_71 WHERE draws = 1 AND scored > 14
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (conceded INTEGER, draws VARCHAR, scored VARCHAR) Question: What are the lowest conceded with 1 draw, and a score larger than 14? [/INST] SELECT MIN(conceded) FROM table_name_71 WHERE draws = 1 AND...
What are the lowest losses with more than 13 scored, and more than 7 draws?
CREATE TABLE table_name_38 (losses INTEGER, scored VARCHAR, draws VARCHAR)
SELECT MIN(losses) FROM table_name_38 WHERE scored > 13 AND draws > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (losses INTEGER, scored VARCHAR, draws VARCHAR) Question: What are the lowest losses with more than 13 scored, and more than 7 draws? [/INST] SELECT MIN(losses) FROM table_name_38 WHERE scored > 13...
What is the average played for less than 8 points?
CREATE TABLE table_name_37 (played INTEGER, points INTEGER)
SELECT AVG(played) FROM table_name_37 WHERE points < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (played INTEGER, points INTEGER) Question: What is the average played for less than 8 points? [/INST] SELECT AVG(played) FROM table_name_37 WHERE points < 8 </s>
What competition has a Result of 1–2?
CREATE TABLE table_name_73 (competition VARCHAR, result VARCHAR)
SELECT competition FROM table_name_73 WHERE result = "1–2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (competition VARCHAR, result VARCHAR) Question: What competition has a Result of 1–2? [/INST] SELECT competition FROM table_name_73 WHERE result = "1–2" </s>
What is moving from fee in Hun country?
CREATE TABLE table_name_33 (moving_from VARCHAR, country VARCHAR)
SELECT moving_from FROM table_name_33 WHERE country = "hun"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (moving_from VARCHAR, country VARCHAR) Question: What is moving from fee in Hun country? [/INST] SELECT moving_from FROM table_name_33 WHERE country = "hun" </s>
What is thr type in Aut country?
CREATE TABLE table_name_81 (type VARCHAR, country VARCHAR)
SELECT type FROM table_name_81 WHERE country = "aut"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (type VARCHAR, country VARCHAR) Question: What is thr type in Aut country? [/INST] SELECT type FROM table_name_81 WHERE country = "aut" </s>
Who is the owner of the radio station that plays adult hits?
CREATE TABLE table_name_8 (owner VARCHAR, format VARCHAR)
SELECT owner FROM table_name_8 WHERE format = "adult hits"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (owner VARCHAR, format VARCHAR) Question: Who is the owner of the radio station that plays adult hits? [/INST] SELECT owner FROM table_name_8 WHERE format = "adult hits" </s>
What is the call sign for the radio owned by astral media?
CREATE TABLE table_name_7 (call_sign VARCHAR, owner VARCHAR)
SELECT call_sign FROM table_name_7 WHERE owner = "astral media"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (call_sign VARCHAR, owner VARCHAR) Question: What is the call sign for the radio owned by astral media? [/INST] SELECT call_sign FROM table_name_7 WHERE owner = "astral media" </s>
What is the frequency for the radio owned by bell media with a call sign of chsu-fm?
CREATE TABLE table_name_6 (frequency VARCHAR, owner VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_6 WHERE owner = "bell media" AND call_sign = "chsu-fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (frequency VARCHAR, owner VARCHAR, call_sign VARCHAR) Question: What is the frequency for the radio owned by bell media with a call sign of chsu-fm? [/INST] SELECT frequency FROM table_name_6 WHERE ...
What is the branding for the radio with a frequency of 1150 am?
CREATE TABLE table_name_44 (branding VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_44 WHERE frequency = "1150 am"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (branding VARCHAR, frequency VARCHAR) Question: What is the branding for the radio with a frequency of 1150 am? [/INST] SELECT branding FROM table_name_44 WHERE frequency = "1150 am" </s>
What was the format for the radio with a frequency of 00 96.3 fm?
CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR) Question: What was the format for the radio with a frequency of 00 96.3 fm? [/INST] SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm" </s>
Who is the owner of the radio frequency of 0 101.5 fm?
CREATE TABLE table_name_90 (owner VARCHAR, frequency VARCHAR)
SELECT owner FROM table_name_90 WHERE frequency = "0 101.5 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (owner VARCHAR, frequency VARCHAR) Question: Who is the owner of the radio frequency of 0 101.5 fm? [/INST] SELECT owner FROM table_name_90 WHERE frequency = "0 101.5 fm" </s>
how many times is the name matt targett and the lane higher than 7?
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, lane VARCHAR)
SELECT COUNT(time) FROM table_name_44 WHERE name = "matt targett" AND lane > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, lane VARCHAR) Question: how many times is the name matt targett and the lane higher than 7? [/INST] SELECT COUNT(time) FROM table_name_44 WHERE name = "matt targett" AN...
what is the highest time when the rank is less than 5 and the name is eamon sullivan?
CREATE TABLE table_name_30 (time INTEGER, rank VARCHAR, name VARCHAR)
SELECT MAX(time) FROM table_name_30 WHERE rank < 5 AND name = "eamon sullivan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (time INTEGER, rank VARCHAR, name VARCHAR) Question: what is the highest time when the rank is less than 5 and the name is eamon sullivan? [/INST] SELECT MAX(time) FROM table_name_30 WHERE rank < 5...
what is the average rank when the lane is more than 4 and the name is dominik meichtry?
CREATE TABLE table_name_97 (rank INTEGER, lane VARCHAR, name VARCHAR)
SELECT AVG(rank) FROM table_name_97 WHERE lane > 4 AND name = "dominik meichtry"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (rank INTEGER, lane VARCHAR, name VARCHAR) Question: what is the average rank when the lane is more than 4 and the name is dominik meichtry? [/INST] SELECT AVG(rank) FROM table_name_97 WHERE lane >...
What is the 2012 Employees (Total) when the rank (2012) is 7?
CREATE TABLE table_name_63 (rank__2012_ VARCHAR)
SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (rank__2012_ VARCHAR) Question: What is the 2012 Employees (Total) when the rank (2012) is 7? [/INST] SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7 </s>