instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What year was the 190 South Lasalle Street? | CREATE TABLE table_name_9 (year INTEGER, name VARCHAR) | SELECT MAX(year) FROM table_name_9 WHERE name = "190 south lasalle street" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (year INTEGER, name VARCHAR) Question: What year was the 190 South Lasalle Street? [/INST] SELECT MAX(year) FROM table_name_9 WHERE name = "190 south lasalle street" </s> |
What rank has a Time of 4:00.191? | CREATE TABLE table_name_94 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_94 WHERE time = "4:00.191" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (rank VARCHAR, time VARCHAR) Question: What rank has a Time of 4:00.191? [/INST] SELECT rank FROM table_name_94 WHERE time = "4:00.191" </s> |
What is the time for Brazil? | CREATE TABLE table_name_5 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_5 WHERE country = "brazil" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (time VARCHAR, country VARCHAR) Question: What is the time for Brazil? [/INST] SELECT time FROM table_name_5 WHERE country = "brazil" </s> |
what is the date when the format is cd (limited edition steel-box) from united kingdom? | CREATE TABLE table_name_16 (date VARCHAR, format VARCHAR, country VARCHAR) | SELECT date FROM table_name_16 WHERE format = "cd (limited edition steel-box)" AND country = "united kingdom" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (date VARCHAR, format VARCHAR, country VARCHAR) Question: what is the date when the format is cd (limited edition steel-box) from united kingdom? [/INST] SELECT date FROM table_name_16 WHERE format... |
What is the country that has the format of cd, the label of sony music and the catalogue no sicp-2055? | CREATE TABLE table_name_61 (country VARCHAR, catalogue_no VARCHAR, format VARCHAR, label VARCHAR) | SELECT country FROM table_name_61 WHERE format = "cd" AND label = "sony music" AND catalogue_no = "sicp-2055" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (country VARCHAR, catalogue_no VARCHAR, format VARCHAR, label VARCHAR) Question: What is the country that has the format of cd, the label of sony music and the catalogue no sicp-2055? [/INST] SELEC... |
what is the format for the country united kingdom on 20 october 2008? | CREATE TABLE table_name_28 (format VARCHAR, country VARCHAR, date VARCHAR) | SELECT format FROM table_name_28 WHERE country = "united kingdom" AND date = "20 october 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (format VARCHAR, country VARCHAR, date VARCHAR) Question: what is the format for the country united kingdom on 20 october 2008? [/INST] SELECT format FROM table_name_28 WHERE country = "united king... |
what is the catalogue no when the format is cd (limited edition steel-box) and the country is germany? | CREATE TABLE table_name_12 (catalogue_no VARCHAR, format VARCHAR, country VARCHAR) | SELECT catalogue_no FROM table_name_12 WHERE format = "cd (limited edition steel-box)" AND country = "germany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (catalogue_no VARCHAR, format VARCHAR, country VARCHAR) Question: what is the catalogue no when the format is cd (limited edition steel-box) and the country is germany? [/INST] SELECT catalogue_no ... |
Which Total has a Rank of 4, and a Silver larger than 2? | CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_11 WHERE rank = "4" AND silver > 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR) Question: Which Total has a Rank of 4, and a Silver larger than 2? [/INST] SELECT MIN(total) FROM table_name_11 WHERE rank = "4" AND silver > 2 </s> |
How much Total has a Rank of 5, and a Bronze larger than 3? | CREATE TABLE table_name_44 (total INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: How much Total has a Rank of 5, and a Bronze larger than 3? [/INST] SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3 </s> |
Which Silver has a Nation of total, and a Bronze smaller than 18? | CREATE TABLE table_name_1 (silver INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_1 WHERE nation = "total" AND bronze < 18 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (silver INTEGER, nation VARCHAR, bronze VARCHAR) Question: Which Silver has a Nation of total, and a Bronze smaller than 18? [/INST] SELECT MAX(silver) FROM table_name_1 WHERE nation = "total" AND b... |
How much Silver has a Nation of total, and a Total smaller than 54? | CREATE TABLE table_name_58 (silver VARCHAR, nation VARCHAR) | SELECT COUNT(silver) FROM table_name_58 WHERE nation = "total" AND "total" < 54 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (silver VARCHAR, nation VARCHAR) Question: How much Silver has a Nation of total, and a Total smaller than 54? [/INST] SELECT COUNT(silver) FROM table_name_58 WHERE nation = "total" AND "total" < 5... |
What was the result for the award for best current affairs presenter? | CREATE TABLE table_name_68 (result VARCHAR, award VARCHAR) | SELECT result FROM table_name_68 WHERE award = "best current affairs presenter" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (result VARCHAR, award VARCHAR) Question: What was the result for the award for best current affairs presenter? [/INST] SELECT result FROM table_name_68 WHERE award = "best current affairs presente... |
Which award was given to Lianhe Zaobao? | CREATE TABLE table_name_84 (award VARCHAR, organisation VARCHAR) | SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (award VARCHAR, organisation VARCHAR) Question: Which award was given to Lianhe Zaobao? [/INST] SELECT award FROM table_name_84 WHERE organisation = "lianhe zaobao" </s> |
What's the release date of Feather Finger with an MM Series? | CREATE TABLE table_name_4 (release_date VARCHAR, series VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_4 WHERE series = "mm" AND title = "feather finger" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (release_date VARCHAR, series VARCHAR, title VARCHAR) Question: What's the release date of Feather Finger with an MM Series? [/INST] SELECT release_date FROM table_name_4 WHERE series = "mm" AND tit... |
Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998? | CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_12 WHERE venue = "h" AND result = "0–1" AND date = "29 august 1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) Question: Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998? [/INST] SELECT opponent FROM table_name... |
Which Opponent has a Result of 1–1, and a Date of 28 november 1998? | CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_30 WHERE result = "1–1" AND date = "28 november 1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR, date VARCHAR) Question: Which Opponent has a Result of 1–1, and a Date of 28 november 1998? [/INST] SELECT opponent FROM table_name_30 WHERE result = "1–1" AND da... |
What was the venue on 14 november 1998? | CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_82 WHERE date = "14 november 1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR) Question: What was the venue on 14 november 1998? [/INST] SELECT venue FROM table_name_82 WHERE date = "14 november 1998" </s> |
Which Place is the highest one that has a Draw larger than 1, and 49 Points? | CREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR) | SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR) Question: Which Place is the highest one that has a Draw larger than 1, and 49 Points? [/INST] SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND po... |
Which Song has Points smaller than 54, and a Draw smaller than 4, and a Place smaller than 10? | CREATE TABLE table_name_90 (song VARCHAR, place VARCHAR, points VARCHAR, draw VARCHAR) | SELECT song FROM table_name_90 WHERE points < 54 AND draw < 4 AND place < 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (song VARCHAR, place VARCHAR, points VARCHAR, draw VARCHAR) Question: Which Song has Points smaller than 54, and a Draw smaller than 4, and a Place smaller than 10? [/INST] SELECT song FROM table_n... |
What is the bronze number when the total is 54/ | CREATE TABLE table_name_30 (bronze INTEGER, total VARCHAR) | SELECT AVG(bronze) FROM table_name_30 WHERE total = 54 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (bronze INTEGER, total VARCHAR) Question: What is the bronze number when the total is 54/ [/INST] SELECT AVG(bronze) FROM table_name_30 WHERE total = 54 </s> |
What is the least bronze number when the silver is less than 0? | CREATE TABLE table_name_34 (bronze INTEGER, silver INTEGER) | SELECT MIN(bronze) FROM table_name_34 WHERE silver < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (bronze INTEGER, silver INTEGER) Question: What is the least bronze number when the silver is less than 0? [/INST] SELECT MIN(bronze) FROM table_name_34 WHERE silver < 0 </s> |
What is the least silver when the total is more than 2, bronze is 3, gold is more than 0, and rank is 1? | CREATE TABLE table_name_4 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT MIN(silver) FROM table_name_4 WHERE total > 2 AND bronze = 3 AND gold > 0 AND rank = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the least silver when the total is more than 2, bronze is 3, gold is more than 0, and rank is 1? [/INST]... |
What is the number of silver when the total is more than 2, and bronze is less than 3, with a rank of 7? | CREATE TABLE table_name_44 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_44 WHERE total > 2 AND bronze < 3 AND rank = "7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the number of silver when the total is more than 2, and bronze is less than 3, with a rank of 7? [/INST] SELECT COUN... |
Which Time has a Lane smaller than 4, and a Rank larger than 6? | CREATE TABLE table_name_94 (time INTEGER, lane VARCHAR, rank VARCHAR) | SELECT AVG(time) FROM table_name_94 WHERE lane < 4 AND rank > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (time INTEGER, lane VARCHAR, rank VARCHAR) Question: Which Time has a Lane smaller than 4, and a Rank larger than 6? [/INST] SELECT AVG(time) FROM table_name_94 WHERE lane < 4 AND rank > 6 </s> |
Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6? | CREATE TABLE table_name_18 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR) | SELECT AVG(rank) FROM table_name_18 WHERE nationality = "france" AND name = "alain bernard" AND lane < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR) Question: Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6? [/INST] SELECT AVG(rank) FR... |
Which Nationality has a Rank larger than 1, and a Time smaller than 22.12, and a Lane smaller than 4, and a Name of ashley callus? | CREATE TABLE table_name_99 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_99 WHERE rank > 1 AND time < 22.12 AND lane < 4 AND name = "ashley callus" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR) Question: Which Nationality has a Rank larger than 1, and a Time smaller than 22.12, and a Lane smaller than 4, and a N... |
When the date is 8 october 2008 what is the sum of attendance? | CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_62 WHERE date = "8 october 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (attendance INTEGER, date VARCHAR) Question: When the date is 8 october 2008 what is the sum of attendance? [/INST] SELECT SUM(attendance) FROM table_name_62 WHERE date = "8 october 2008" </s> |
What date has an against of pohang steelers? | CREATE TABLE table_name_2 (date VARCHAR, against VARCHAR) | SELECT date FROM table_name_2 WHERE against = "pohang steelers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (date VARCHAR, against VARCHAR) Question: What date has an against of pohang steelers? [/INST] SELECT date FROM table_name_2 WHERE against = "pohang steelers" </s> |
What weekday has an against of kashima antlers? | CREATE TABLE table_name_68 (weekday VARCHAR, against VARCHAR) | SELECT weekday FROM table_name_68 WHERE against = "kashima antlers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (weekday VARCHAR, against VARCHAR) Question: What weekday has an against of kashima antlers? [/INST] SELECT weekday FROM table_name_68 WHERE against = "kashima antlers" </s> |
What was the final score of Game #4? | CREATE TABLE table_name_14 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_14 WHERE game = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (score VARCHAR, game VARCHAR) Question: What was the final score of Game #4? [/INST] SELECT score FROM table_name_14 WHERE game = 4 </s> |
Which Level has a Leading scorer 1 of tom greaves 8? | CREATE TABLE table_name_26 (level VARCHAR, leading_scorer_1 VARCHAR) | SELECT level FROM table_name_26 WHERE leading_scorer_1 = "tom greaves 8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (level VARCHAR, leading_scorer_1 VARCHAR) Question: Which Level has a Leading scorer 1 of tom greaves 8? [/INST] SELECT level FROM table_name_26 WHERE leading_scorer_1 = "tom greaves 8" </s> |
Which Leading scorer 1 has a Season of 2010–11? | CREATE TABLE table_name_8 (leading_scorer_1 VARCHAR, season VARCHAR) | SELECT leading_scorer_1 FROM table_name_8 WHERE season = "2010–11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (leading_scorer_1 VARCHAR, season VARCHAR) Question: Which Leading scorer 1 has a Season of 2010–11? [/INST] SELECT leading_scorer_1 FROM table_name_8 WHERE season = "2010–11" </s> |
Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q? | CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR) | SELECT leading_scorer_1 FROM table_name_2 WHERE leaguecontested = "northern premier league premier division" AND fa_cup = "2q" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (leading_scorer_1 VARCHAR, leaguecontested VARCHAR, fa_cup VARCHAR) Question: Which Leading scorer 1 has a League Contested of northern premier league premier division, and an FA Cup of 2q? [/INST] ... |
Which Level has a League Contested of northern premier league premier division, and a Season of 2011–12? | CREATE TABLE table_name_45 (level INTEGER, leaguecontested VARCHAR, season VARCHAR) | SELECT AVG(level) FROM table_name_45 WHERE leaguecontested = "northern premier league premier division" AND season = "2011–12" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (level INTEGER, leaguecontested VARCHAR, season VARCHAR) Question: Which Level has a League Contested of northern premier league premier division, and a Season of 2011–12? [/INST] SELECT AVG(level)... |
What is the least Top-5 when 1 is the cuts made? | CREATE TABLE table_name_36 (top_5 INTEGER, cuts_made VARCHAR) | SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (top_5 INTEGER, cuts_made VARCHAR) Question: What is the least Top-5 when 1 is the cuts made? [/INST] SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 1 </s> |
With events less than 0, what is the fewest Top-5? | CREATE TABLE table_name_12 (top_5 INTEGER, events INTEGER) | SELECT MIN(top_5) FROM table_name_12 WHERE events < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (top_5 INTEGER, events INTEGER) Question: With events less than 0, what is the fewest Top-5? [/INST] SELECT MIN(top_5) FROM table_name_12 WHERE events < 0 </s> |
How many wins of average has cuts made less than 0? | CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER) | SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER) Question: How many wins of average has cuts made less than 0? [/INST] SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0 </s> |
How many events total is the Top-5 2, and 4 is the cuts made, and less than 0 wins? | CREATE TABLE table_name_58 (events VARCHAR, wins VARCHAR, top_5 VARCHAR, cuts_made VARCHAR) | SELECT COUNT(events) FROM table_name_58 WHERE top_5 = 2 AND cuts_made = 4 AND wins < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (events VARCHAR, wins VARCHAR, top_5 VARCHAR, cuts_made VARCHAR) Question: How many events total is the Top-5 2, and 4 is the cuts made, and less than 0 wins? [/INST] SELECT COUNT(events) FROM tabl... |
In the Open Championship with more than 3 cuts made, what is the average wins? | CREATE TABLE table_name_15 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR) | SELECT AVG(wins) FROM table_name_15 WHERE tournament = "the open championship" AND cuts_made > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR) Question: In the Open Championship with more than 3 cuts made, what is the average wins? [/INST] SELECT AVG(wins) FROM table_name_15 WHERE tour... |
What lane did the barbados swimmer compete in before heat 3? | CREATE TABLE table_name_23 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) | SELECT lane FROM table_name_23 WHERE heat < 3 AND nationality = "barbados" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) Question: What lane did the barbados swimmer compete in before heat 3? [/INST] SELECT lane FROM table_name_23 WHERE heat < 3 AND nationality = "bar... |
What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane under 5? | CREATE TABLE table_name_24 (time VARCHAR, rank VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT time FROM table_name_24 WHERE heat > 3 AND lane < 5 AND rank = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (time VARCHAR, rank VARCHAR, heat VARCHAR, lane VARCHAR) Question: What was the time of the 5th ranked swimmer who swam after heat 3 and was in a lane under 5? [/INST] SELECT time FROM table_name_2... |
What is the average population for an area less than 433.7km and a 23013 code? | CREATE TABLE table_name_17 (population INTEGER, area__km_2__ VARCHAR, code VARCHAR) | SELECT AVG(population) FROM table_name_17 WHERE area__km_2__ < 433.7 AND code = 23013 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (population INTEGER, area__km_2__ VARCHAR, code VARCHAR) Question: What is the average population for an area less than 433.7km and a 23013 code? [/INST] SELECT AVG(population) FROM table_name_17 W... |
What is the total code number for Amadiba? | CREATE TABLE table_name_54 (code VARCHAR, place VARCHAR) | SELECT COUNT(code) FROM table_name_54 WHERE place = "amadiba" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (code VARCHAR, place VARCHAR) Question: What is the total code number for Amadiba? [/INST] SELECT COUNT(code) FROM table_name_54 WHERE place = "amadiba" </s> |
What is the total capacity for the Leicester Tigers? | CREATE TABLE table_name_61 (capacity VARCHAR, club VARCHAR) | SELECT COUNT(capacity) FROM table_name_61 WHERE club = "leicester tigers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (capacity VARCHAR, club VARCHAR) Question: What is the total capacity for the Leicester Tigers? [/INST] SELECT COUNT(capacity) FROM table_name_61 WHERE club = "leicester tigers" </s> |
What town has the Welford Road Stadium? | CREATE TABLE table_name_3 (city_town VARCHAR, stadium VARCHAR) | SELECT city_town FROM table_name_3 WHERE stadium = "welford road" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (city_town VARCHAR, stadium VARCHAR) Question: What town has the Welford Road Stadium? [/INST] SELECT city_town FROM table_name_3 WHERE stadium = "welford road" </s> |
What year was the player David Rose? | CREATE TABLE table_name_97 (year INTEGER, player VARCHAR) | SELECT SUM(year) FROM table_name_97 WHERE player = "david rose" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (year INTEGER, player VARCHAR) Question: What year was the player David Rose? [/INST] SELECT SUM(year) FROM table_name_97 WHERE player = "david rose" </s> |
What is the median family income when the per capita is $24,114? | CREATE TABLE table_name_23 (median_family_income VARCHAR, per_capita_income VARCHAR) | SELECT median_family_income FROM table_name_23 WHERE per_capita_income = "$24,114" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (median_family_income VARCHAR, per_capita_income VARCHAR) Question: What is the median family income when the per capita is $24,114? [/INST] SELECT median_family_income FROM table_name_23 WHERE per... |
What is the median household income when the per capita is $21,585? | CREATE TABLE table_name_56 (median_household_income VARCHAR, per_capita_income VARCHAR) | SELECT median_household_income FROM table_name_56 WHERE per_capita_income = "$21,585" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (median_household_income VARCHAR, per_capita_income VARCHAR) Question: What is the median household income when the per capita is $21,585? [/INST] SELECT median_household_income FROM table_name_56 ... |
What is the population where the median family income is $48,446 and there are more than 35,343 households? | CREATE TABLE table_name_48 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR) | SELECT AVG(population) FROM table_name_48 WHERE median_family_income = "$48,446" AND number_of_households > 35 OFFSET 343 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR) Question: What is the population where the median family income is $48,446 and there are more than 35,343 households... |
What is the population where the median household income is $87,832 and there are fewer than 64,886 households? | CREATE TABLE table_name_83 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) | SELECT AVG(population) FROM table_name_83 WHERE median_household_income = "$87,832" AND number_of_households < 64 OFFSET 886 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) Question: What is the population where the median household income is $87,832 and there are fewer than 64,886 hou... |
What is the score 1 for the major league soccer all-star game? | CREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR) | SELECT score1 FROM table_name_20 WHERE competition_or_tour = "major league soccer all-star game" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR) Question: What is the score 1 for the major league soccer all-star game? [/INST] SELECT score1 FROM table_name_20 WHERE competition_or_tour = "major le... |
What is the score 1 with a h ground? | CREATE TABLE table_name_85 (score1 VARCHAR, ground VARCHAR) | SELECT score1 FROM table_name_85 WHERE ground = "h" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (score1 VARCHAR, ground VARCHAR) Question: What is the score 1 with a h ground? [/INST] SELECT score1 FROM table_name_85 WHERE ground = "h" </s> |
Who are the scorers on 1 August 2008, where the ground was A? | CREATE TABLE table_name_34 (scorers VARCHAR, ground VARCHAR, date VARCHAR) | SELECT scorers FROM table_name_34 WHERE ground = "a" AND date = "1 august 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (scorers VARCHAR, ground VARCHAR, date VARCHAR) Question: Who are the scorers on 1 August 2008, where the ground was A? [/INST] SELECT scorers FROM table_name_34 WHERE ground = "a" AND date = "1 au... |
What ground had Portsmouth reserves as an opponent? | CREATE TABLE table_name_98 (ground VARCHAR, opponent VARCHAR) | SELECT ground FROM table_name_98 WHERE opponent = "portsmouth reserves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (ground VARCHAR, opponent VARCHAR) Question: What ground had Portsmouth reserves as an opponent? [/INST] SELECT ground FROM table_name_98 WHERE opponent = "portsmouth reserves" </s> |
What ground had a match smaller than 6 and Chelsea Reserves as the opponent? | CREATE TABLE table_name_17 (ground VARCHAR, match VARCHAR, opponent VARCHAR) | SELECT ground FROM table_name_17 WHERE match < 6 AND opponent = "chelsea reserves" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (ground VARCHAR, match VARCHAR, opponent VARCHAR) Question: What ground had a match smaller than 6 and Chelsea Reserves as the opponent? [/INST] SELECT ground FROM table_name_17 WHERE match < 6 AND... |
Which Team has Losses larger than 5, and a Position of 12? | CREATE TABLE table_name_53 (team VARCHAR, losses VARCHAR, position VARCHAR) | SELECT team FROM table_name_53 WHERE losses > 5 AND position = 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (team VARCHAR, losses VARCHAR, position VARCHAR) Question: Which Team has Losses larger than 5, and a Position of 12? [/INST] SELECT team FROM table_name_53 WHERE losses > 5 AND position = 12 </s> |
How many Points have a Position larger than 4, and Losses larger than 5, and a Conceded of 15, and a Scored larger than 11? | CREATE TABLE table_name_70 (points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR) | SELECT COUNT(points) FROM table_name_70 WHERE position > 4 AND losses > 5 AND conceded = 15 AND scored > 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR) Question: How many Points have a Position larger than 4, and Losses larger than 5, and a Conceded of 15, and a S... |
How many positions have Played smaller than 12? | CREATE TABLE table_name_79 (position INTEGER, played INTEGER) | SELECT SUM(position) FROM table_name_79 WHERE played < 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (position INTEGER, played INTEGER) Question: How many positions have Played smaller than 12? [/INST] SELECT SUM(position) FROM table_name_79 WHERE played < 12 </s> |
Who was the Prato Elector with a faction of Italian? | CREATE TABLE table_name_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR) | SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR) Question: Who was the Prato Elector with a faction of Italian? [/INST] SELECT elector FROM table_name_51 WHERE faction = "italian" AND nation... |
What's the elevator of Jacques D'euse? | CREATE TABLE table_name_74 (elevator VARCHAR, elector VARCHAR) | SELECT elevator FROM table_name_74 WHERE elector = "jacques d'euse" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (elevator VARCHAR, elector VARCHAR) Question: What's the elevator of Jacques D'euse? [/INST] SELECT elevator FROM table_name_74 WHERE elector = "jacques d'euse" </s> |
What's the nationality for Nicholas III? | CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR) | SELECT nationality FROM table_name_97 WHERE elevator = "nicholas iii" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR) Question: What's the nationality for Nicholas III? [/INST] SELECT nationality FROM table_name_97 WHERE elevator = "nicholas iii" </s> |
What is the fewest mintage from Dora de Pédery-Hunt, and the year was before 2002? | CREATE TABLE table_name_93 (mintage INTEGER, artist VARCHAR, year VARCHAR) | SELECT MIN(mintage) FROM table_name_93 WHERE artist = "dora de pédery-hunt" AND year < 2002 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (mintage INTEGER, artist VARCHAR, year VARCHAR) Question: What is the fewest mintage from Dora de Pédery-Hunt, and the year was before 2002? [/INST] SELECT MIN(mintage) FROM table_name_93 WHERE art... |
What is the most mintage with common eider as the theme, and the year less than 2008? | CREATE TABLE table_name_57 (mintage INTEGER, theme VARCHAR, year VARCHAR) | SELECT MAX(mintage) FROM table_name_57 WHERE theme = "common eider" AND year < 2008 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (mintage INTEGER, theme VARCHAR, year VARCHAR) Question: What is the most mintage with common eider as the theme, and the year less than 2008? [/INST] SELECT MAX(mintage) FROM table_name_57 WHERE t... |
What is the earliest year when the 25th Anniversary Loonie was the theme, and the mintage was less than 35,000? | CREATE TABLE table_name_18 (year INTEGER, theme VARCHAR, mintage VARCHAR) | SELECT MIN(year) FROM table_name_18 WHERE theme = "25th anniversary loonie" AND mintage < 35 OFFSET 000 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (year INTEGER, theme VARCHAR, mintage VARCHAR) Question: What is the earliest year when the 25th Anniversary Loonie was the theme, and the mintage was less than 35,000? [/INST] SELECT MIN(year) FRO... |
Who was the artist that had $49.95 as the issue price for the 2010 year? | CREATE TABLE table_name_50 (artist VARCHAR, issue_price VARCHAR, year VARCHAR) | SELECT artist FROM table_name_50 WHERE issue_price = "$49.95" AND year = 2010 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (artist VARCHAR, issue_price VARCHAR, year VARCHAR) Question: Who was the artist that had $49.95 as the issue price for the 2010 year? [/INST] SELECT artist FROM table_name_50 WHERE issue_price = "... |
What is the score for the southern home team? | CREATE TABLE table_name_78 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_78 WHERE home_team = "southern" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (score VARCHAR, home_team VARCHAR) Question: What is the score for the southern home team? [/INST] SELECT score FROM table_name_78 WHERE home_team = "southern" </s> |
What time is it for the southern home team? | CREATE TABLE table_name_82 (time VARCHAR, home_team VARCHAR) | SELECT time FROM table_name_82 WHERE home_team = "southern" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (time VARCHAR, home_team VARCHAR) Question: What time is it for the southern home team? [/INST] SELECT time FROM table_name_82 WHERE home_team = "southern" </s> |
What is the Result of the game on November 24, 1946? | CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_78 WHERE date = "november 24, 1946" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) Question: What is the Result of the game on November 24, 1946? [/INST] SELECT result FROM table_name_78 WHERE date = "november 24, 1946" </s> |
What is the Week number on September 6, 1946? | CREATE TABLE table_name_48 (week INTEGER, date VARCHAR) | SELECT SUM(week) FROM table_name_48 WHERE date = "september 6, 1946" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (week INTEGER, date VARCHAR) Question: What is the Week number on September 6, 1946? [/INST] SELECT SUM(week) FROM table_name_48 WHERE date = "september 6, 1946" </s> |
What is the Date of the game with a Record of 5-3? | CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_53 WHERE record = "5-3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR) Question: What is the Date of the game with a Record of 5-3? [/INST] SELECT date FROM table_name_53 WHERE record = "5-3" </s> |
What was the lowest ranking rower from Great Britain? | CREATE TABLE table_name_86 (rank INTEGER, country VARCHAR) | SELECT MIN(rank) FROM table_name_86 WHERE country = "great britain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (rank INTEGER, country VARCHAR) Question: What was the lowest ranking rower from Great Britain? [/INST] SELECT MIN(rank) FROM table_name_86 WHERE country = "great britain" </s> |
What are the notes for the rower in ranks over 2 and having a time of 7:00:46? | CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) | SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "7:00:46" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) Question: What are the notes for the rower in ranks over 2 and having a time of 7:00:46? [/INST] SELECT notes FROM table_name_48 WHERE rank > 2 AND time ... |
Which Programming has a Video of audio only? | CREATE TABLE table_name_62 (programming VARCHAR, video VARCHAR) | SELECT programming FROM table_name_62 WHERE video = "audio only" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (programming VARCHAR, video VARCHAR) Question: Which Programming has a Video of audio only? [/INST] SELECT programming FROM table_name_62 WHERE video = "audio only" </s> |
Which Video has a Channel of 25.3? | CREATE TABLE table_name_49 (video VARCHAR, channel VARCHAR) | SELECT video FROM table_name_49 WHERE channel = 25.3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (video VARCHAR, channel VARCHAR) Question: Which Video has a Channel of 25.3? [/INST] SELECT video FROM table_name_49 WHERE channel = 25.3 </s> |
Which Video has an Aspect of 16:9? | CREATE TABLE table_name_14 (video VARCHAR, aspect VARCHAR) | SELECT video FROM table_name_14 WHERE aspect = "16:9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (video VARCHAR, aspect VARCHAR) Question: Which Video has an Aspect of 16:9? [/INST] SELECT video FROM table_name_14 WHERE aspect = "16:9" </s> |
On which date did Michael Signer earn 4%? | CREATE TABLE table_name_62 (date VARCHAR, michael_signer VARCHAR) | SELECT date FROM table_name_62 WHERE michael_signer = "4%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (date VARCHAR, michael_signer VARCHAR) Question: On which date did Michael Signer earn 4%? [/INST] SELECT date FROM table_name_62 WHERE michael_signer = "4%" </s> |
Which polling source gave Michael Signer 5%? | CREATE TABLE table_name_54 (source VARCHAR, michael_signer VARCHAR) | SELECT source FROM table_name_54 WHERE michael_signer = "5%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (source VARCHAR, michael_signer VARCHAR) Question: Which polling source gave Michael Signer 5%? [/INST] SELECT source FROM table_name_54 WHERE michael_signer = "5%" </s> |
Which date had the undecided percentage at 42%? | CREATE TABLE table_name_10 (date VARCHAR, undecided VARCHAR) | SELECT date FROM table_name_10 WHERE undecided = "42%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (date VARCHAR, undecided VARCHAR) Question: Which date had the undecided percentage at 42%? [/INST] SELECT date FROM table_name_10 WHERE undecided = "42%" </s> |
What is the Rich Savage percentage in the poll with Jody Wagner at 30%? | CREATE TABLE table_name_90 (rich_savage VARCHAR, jody_wagner VARCHAR) | SELECT rich_savage FROM table_name_90 WHERE jody_wagner = "30%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (rich_savage VARCHAR, jody_wagner VARCHAR) Question: What is the Rich Savage percentage in the poll with Jody Wagner at 30%? [/INST] SELECT rich_savage FROM table_name_90 WHERE jody_wagner = "30%" ... |
What is the Rich Savage percentage in the poll that had undecideds at 68%? | CREATE TABLE table_name_82 (rich_savage VARCHAR, undecided VARCHAR) | SELECT rich_savage FROM table_name_82 WHERE undecided = "68%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (rich_savage VARCHAR, undecided VARCHAR) Question: What is the Rich Savage percentage in the poll that had undecideds at 68%? [/INST] SELECT rich_savage FROM table_name_82 WHERE undecided = "68%" <... |
Who was the opponent when the record was 31-24? | CREATE TABLE table_name_40 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_40 WHERE record = "31-24" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent when the record was 31-24? [/INST] SELECT opponent FROM table_name_40 WHERE record = "31-24" </s> |
What was the score of Game 48? | CREATE TABLE table_name_43 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_43 WHERE game = "48" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, game VARCHAR) Question: What was the score of Game 48? [/INST] SELECT score FROM table_name_43 WHERE game = "48" </s> |
Who was the opponent at the game at Madison Square Garden? | CREATE TABLE table_name_19 (opponent VARCHAR, location_attendance VARCHAR) | SELECT opponent FROM table_name_19 WHERE location_attendance = "madison square garden" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (opponent VARCHAR, location_attendance VARCHAR) Question: Who was the opponent at the game at Madison Square Garden? [/INST] SELECT opponent FROM table_name_19 WHERE location_attendance = "madison ... |
What was the score of the game at Great Western Forum? | CREATE TABLE table_name_54 (score VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_name_54 WHERE location_attendance = "great western forum" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (score VARCHAR, location_attendance VARCHAR) Question: What was the score of the game at Great Western Forum? [/INST] SELECT score FROM table_name_54 WHERE location_attendance = "great western foru... |
Which Romaji Title has a Japanese Title of 花より男子2(リターンズ)? | CREATE TABLE table_name_78 (romaji_title VARCHAR, japanese_title VARCHAR) | SELECT romaji_title FROM table_name_78 WHERE japanese_title = "花より男子2(リターンズ)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (romaji_title VARCHAR, japanese_title VARCHAR) Question: Which Romaji Title has a Japanese Title of 花より男子2(リターンズ)? [/INST] SELECT romaji_title FROM table_name_78 WHERE japanese_title = "花より男子2(リターン... |
Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%? | CREATE TABLE table_name_65 (romaji_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR) | SELECT romaji_title FROM table_name_65 WHERE tv_station = "fuji tv" AND average_ratings = "12.41%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (romaji_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR) Question: Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%? [/INST] SELECT romaji_title FROM table_n... |
Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama? | CREATE TABLE table_name_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR) | SELECT japanese_title FROM table_name_12 WHERE episodes > 9 AND romaji_title = "haikei, chichiue-sama" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR) Question: Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama? [/INST] SELECT japanese_title ... |
Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%? | CREATE TABLE table_name_24 (romaji_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) | SELECT romaji_title FROM table_name_24 WHERE episodes = 11 AND tv_station = "fuji tv" AND average_ratings = "14.9%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (romaji_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) Question: Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%? [/INST... |
What was the result of nomination for Season 6 after 1995? | CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, episode VARCHAR) | SELECT result FROM table_name_49 WHERE year > 1995 AND episode = "season 6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, episode VARCHAR) Question: What was the result of nomination for Season 6 after 1995? [/INST] SELECT result FROM table_name_49 WHERE year > 1995 AND episode = "season... |
What was the category of the award that John Frank Levey was nominated for after 1995? | CREATE TABLE table_name_73 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR) | SELECT category FROM table_name_73 WHERE nominee_s_ = "john frank levey" AND year > 1995 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR) Question: What was the category of the award that John Frank Levey was nominated for after 1995? [/INST] SELECT category FROM table_name_73 WHER... |
What is the English Translation for the French song by the Artist Rachel? | CREATE TABLE table_name_12 (english_translation VARCHAR, language VARCHAR, artist VARCHAR) | SELECT english_translation FROM table_name_12 WHERE language = "french" AND artist = "rachel" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (english_translation VARCHAR, language VARCHAR, artist VARCHAR) Question: What is the English Translation for the French song by the Artist Rachel? [/INST] SELECT english_translation FROM table_nam... |
What is the Song by Artist Robert Cogoi? | CREATE TABLE table_name_69 (song VARCHAR, artist VARCHAR) | SELECT song FROM table_name_69 WHERE artist = "robert cogoi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (song VARCHAR, artist VARCHAR) Question: What is the Song by Artist Robert Cogoi? [/INST] SELECT song FROM table_name_69 WHERE artist = "robert cogoi" </s> |
How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7? | CREATE TABLE table_name_64 (points VARCHAR, draw VARCHAR, artist VARCHAR) | SELECT points FROM table_name_64 WHERE draw > 7 AND artist = "sabahudin kurt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (points VARCHAR, draw VARCHAR, artist VARCHAR) Question: How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7? [/INST] SELECT points FROM table_name_64 WHERE draw > 7 AND ar... |
How much Converted has a Number of 35, and a Withdrawn smaller than 1952? | CREATE TABLE table_name_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR) | SELECT COUNT(converted) FROM table_name_71 WHERE number = "35" AND withdrawn < 1952 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR) Question: How much Converted has a Number of 35, and a Withdrawn smaller than 1952? [/INST] SELECT COUNT(converted) FROM table_name_71 WHERE n... |
What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95? | CREATE TABLE table_name_15 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, county VARCHAR) | SELECT AVG(latitude) FROM table_name_15 WHERE water__sqmi_ < 2.106 AND county = "dickey" AND pop__2010_ < 95 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, county VARCHAR) Question: What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 9... |
What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water? | CREATE TABLE table_name_99 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) | SELECT MAX(geo_id) FROM table_name_99 WHERE land___sqmi__ > 38.117 AND water__sqmi_ > 2.065 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR) Question: What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water? [/INST] SELECT MAX(geo_id) FROM t... |
What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257? | CREATE TABLE table_name_28 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR) | SELECT COUNT(geo_id) FROM table_name_28 WHERE water__sqmi_ > 0.587 AND township = "riggin" AND ansi_code > 1759257 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR) Question: What is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over... |
What's the class when the identifier is cbf-fm-14? | CREATE TABLE table_name_94 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (class VARCHAR, identifier VARCHAR) Question: What's the class when the identifier is cbf-fm-14? [/INST] SELECT class FROM table_name_94 WHERE identifier = "cbf-fm-14" </s> |
What's the frequency when the identifier is cbf-fm-9? | CREATE TABLE table_name_47 (frequency VARCHAR, identifier VARCHAR) | SELECT frequency FROM table_name_47 WHERE identifier = "cbf-fm-9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (frequency VARCHAR, identifier VARCHAR) Question: What's the frequency when the identifier is cbf-fm-9? [/INST] SELECT frequency FROM table_name_47 WHERE identifier = "cbf-fm-9" </s> |
What's the RECNet when the identifier is cbf-fm-20? | CREATE TABLE table_name_38 (recnet VARCHAR, identifier VARCHAR) | SELECT recnet FROM table_name_38 WHERE identifier = "cbf-fm-20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (recnet VARCHAR, identifier VARCHAR) Question: What's the RECNet when the identifier is cbf-fm-20? [/INST] SELECT recnet FROM table_name_38 WHERE identifier = "cbf-fm-20" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.