instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
Which Athlete has a Reaction of 0.248? | CREATE TABLE table_name_9 (athlete VARCHAR, react VARCHAR) | SELECT athlete FROM table_name_9 WHERE react = 0.248 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (athlete VARCHAR, react VARCHAR) Question: Which Athlete has a Reaction of 0.248? [/INST] SELECT athlete FROM table_name_9 WHERE react = 0.248 </s> |
Which Rank has a Reaction of 0.198, and a Time smaller than 46.3? | CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR) | SELECT MAX(rank) FROM table_name_98 WHERE react = 0.198 AND time < 46.3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR) Question: Which Rank has a Reaction of 0.198, and a Time smaller than 46.3? [/INST] SELECT MAX(rank) FROM table_name_98 WHERE react = 0.198 AND time < 46... |
Which Lane has a Time larger than 47.83? | CREATE TABLE table_name_8 (lane INTEGER, time INTEGER) | SELECT AVG(lane) FROM table_name_8 WHERE time > 47.83 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (lane INTEGER, time INTEGER) Question: Which Lane has a Time larger than 47.83? [/INST] SELECT AVG(lane) FROM table_name_8 WHERE time > 47.83 </s> |
Which Reaction has a Rank smaller than 4, and a Nationality of trinidad and tobago, and a Time larger than 45.13? | CREATE TABLE table_name_16 (react INTEGER, time VARCHAR, rank VARCHAR, nationality VARCHAR) | SELECT AVG(react) FROM table_name_16 WHERE rank < 4 AND nationality = "trinidad and tobago" AND time > 45.13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (react INTEGER, time VARCHAR, rank VARCHAR, nationality VARCHAR) Question: Which Reaction has a Rank smaller than 4, and a Nationality of trinidad and tobago, and a Time larger than 45.13? [/INST] ... |
Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4? | CREATE TABLE table_name_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR) | SELECT COUNT(rank_final) FROM table_name_68 WHERE year > 2008 AND apparatus = "balance beam" AND rank_qualifying > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR) Question: Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualify... |
Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009? | CREATE TABLE table_name_26 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) | SELECT MIN(score_final) FROM table_name_26 WHERE rank_final = 7 AND year > 2009 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) Question: Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009? [/INST] SELECT MIN(score_final) FROM table_name_26 W... |
Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275? | CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR) | SELECT AVG(year) FROM table_name_8 WHERE rank_final < 2 AND apparatus = "team" AND score_qualifying < 248.275 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR) Question: Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 24... |
What's the pick for the New York jets with a defensive end? | CREATE TABLE table_name_54 (pick VARCHAR, position VARCHAR, team VARCHAR) | SELECT pick FROM table_name_54 WHERE position = "defensive end" AND team = "new york jets" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (pick VARCHAR, position VARCHAR, team VARCHAR) Question: What's the pick for the New York jets with a defensive end? [/INST] SELECT pick FROM table_name_54 WHERE position = "defensive end" AND team... |
What's the pick for Georgia tech? | CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_94 WHERE college = "georgia tech" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR) Question: What's the pick for Georgia tech? [/INST] SELECT pick FROM table_name_94 WHERE college = "georgia tech" </s> |
Who plays halfback? | CREATE TABLE table_name_54 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_54 WHERE position = "halfback" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (player VARCHAR, position VARCHAR) Question: Who plays halfback? [/INST] SELECT player FROM table_name_54 WHERE position = "halfback" </s> |
Who is the team for Washington College? | CREATE TABLE table_name_1 (team VARCHAR, college VARCHAR) | SELECT team FROM table_name_1 WHERE college = "washington" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (team VARCHAR, college VARCHAR) Question: Who is the team for Washington College? [/INST] SELECT team FROM table_name_1 WHERE college = "washington" </s> |
What is the Rank of the game with an Attendance of 93,039? | CREATE TABLE table_name_98 (rank VARCHAR, attendance VARCHAR) | SELECT COUNT(rank) FROM table_name_98 WHERE attendance = 93 OFFSET 039 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (rank VARCHAR, attendance VARCHAR) Question: What is the Rank of the game with an Attendance of 93,039? [/INST] SELECT COUNT(rank) FROM table_name_98 WHERE attendance = 93 OFFSET 039 ROWS </s> |
What fuel system does the diesel engines model have? | CREATE TABLE table_name_60 (fuel_system VARCHAR, model VARCHAR) | SELECT fuel_system FROM table_name_60 WHERE model = "diesel engines" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (fuel_system VARCHAR, model VARCHAR) Question: What fuel system does the diesel engines model have? [/INST] SELECT fuel_system FROM table_name_60 WHERE model = "diesel engines" </s> |
What is the displacement for the petrol engines model? | CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR) | SELECT displacement FROM table_name_64 WHERE model = "petrol engines" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR) Question: What is the displacement for the petrol engines model? [/INST] SELECT displacement FROM table_name_64 WHERE model = "petrol engines" </s> |
What is the size of the 2009 electorate for Gwalior Rural? | CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, name VARCHAR) | SELECT number_of_electorates__2009_ FROM table_name_94 WHERE name = "gwalior rural" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, name VARCHAR) Question: What is the size of the 2009 electorate for Gwalior Rural? [/INST] SELECT number_of_electorates__2009_ FROM table_name_94 WHERE name =... |
Who was eliminated that entered after number 3 and lasted 35:55? | CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR) | SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = "35:55" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR) Question: Who was eliminated that entered after number 3 and lasted 35:55? [/INST] SELECT eliminated FROM table_name_74 WHERE entered > 3 AND tim... |
What is the average year in which the finish position was 13th? | CREATE TABLE table_name_30 (year INTEGER, position VARCHAR) | SELECT AVG(year) FROM table_name_30 WHERE position = "13th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (year INTEGER, position VARCHAR) Question: What is the average year in which the finish position was 13th? [/INST] SELECT AVG(year) FROM table_name_30 WHERE position = "13th" </s> |
What is the average year for the Olympic Games? | CREATE TABLE table_name_68 (year INTEGER, competition VARCHAR) | SELECT AVG(year) FROM table_name_68 WHERE competition = "olympic games" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (year INTEGER, competition VARCHAR) Question: What is the average year for the Olympic Games? [/INST] SELECT AVG(year) FROM table_name_68 WHERE competition = "olympic games" </s> |
What is the Label of the September 20, 2008 release with Catalog number RTRADCD491? | CREATE TABLE table_name_22 (label VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT label FROM table_name_22 WHERE catalog = "rtradcd491" AND date = "september 20, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (label VARCHAR, catalog VARCHAR, date VARCHAR) Question: What is the Label of the September 20, 2008 release with Catalog number RTRADCD491? [/INST] SELECT label FROM table_name_22 WHERE catalog = ... |
What is the Format of the September 22, 2008 release with Catalog number RTRADCD491? | CREATE TABLE table_name_41 (format VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT format FROM table_name_41 WHERE catalog = "rtradcd491" AND date = "september 22, 2008" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (format VARCHAR, catalog VARCHAR, date VARCHAR) Question: What is the Format of the September 22, 2008 release with Catalog number RTRADCD491? [/INST] SELECT format FROM table_name_41 WHERE catalog... |
What is the Format of the release with Catalog number RTRADLP491? | CREATE TABLE table_name_15 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_15 WHERE catalog = "rtradlp491" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (format VARCHAR, catalog VARCHAR) Question: What is the Format of the release with Catalog number RTRADLP491? [/INST] SELECT format FROM table_name_15 WHERE catalog = "rtradlp491" </s> |
What is the Label of the Release with Catalog number 2508668? | CREATE TABLE table_name_51 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_51 WHERE catalog = "2508668" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (label VARCHAR, catalog VARCHAR) Question: What is the Label of the Release with Catalog number 2508668? [/INST] SELECT label FROM table_name_51 WHERE catalog = "2508668" </s> |
What is the Format of the release with Catalog number 2508668? | CREATE TABLE table_name_86 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_86 WHERE catalog = "2508668" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (format VARCHAR, catalog VARCHAR) Question: What is the Format of the release with Catalog number 2508668? [/INST] SELECT format FROM table_name_86 WHERE catalog = "2508668" </s> |
What is the Region of the Warner Music Canada Label release? | CREATE TABLE table_name_29 (region VARCHAR, label VARCHAR) | SELECT region FROM table_name_29 WHERE label = "warner music canada" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (region VARCHAR, label VARCHAR) Question: What is the Region of the Warner Music Canada Label release? [/INST] SELECT region FROM table_name_29 WHERE label = "warner music canada" </s> |
Who were the developers for Portal? | CREATE TABLE table_name_68 (developer_s_ VARCHAR, game VARCHAR) | SELECT developer_s_ FROM table_name_68 WHERE game = "portal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (developer_s_ VARCHAR, game VARCHAR) Question: Who were the developers for Portal? [/INST] SELECT developer_s_ FROM table_name_68 WHERE game = "portal" </s> |
Who were the developers for the Action RPG made after 2010? | CREATE TABLE table_name_71 (developer_s_ VARCHAR, year VARCHAR, genre VARCHAR) | SELECT developer_s_ FROM table_name_71 WHERE year > 2010 AND genre = "action rpg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (developer_s_ VARCHAR, year VARCHAR, genre VARCHAR) Question: Who were the developers for the Action RPG made after 2010? [/INST] SELECT developer_s_ FROM table_name_71 WHERE year > 2010 AND genre ... |
Which Callsign has an IATA of tr? | CREATE TABLE table_name_4 (callsign VARCHAR, iata VARCHAR) | SELECT callsign FROM table_name_4 WHERE iata = "tr" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (callsign VARCHAR, iata VARCHAR) Question: Which Callsign has an IATA of tr? [/INST] SELECT callsign FROM table_name_4 WHERE iata = "tr" </s> |
Which Commenced operations have an Airline of valuair? | CREATE TABLE table_name_10 (commenced_operations VARCHAR, airline VARCHAR) | SELECT commenced_operations FROM table_name_10 WHERE airline = "valuair" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (commenced_operations VARCHAR, airline VARCHAR) Question: Which Commenced operations have an Airline of valuair? [/INST] SELECT commenced_operations FROM table_name_10 WHERE airline = "valuair" </s... |
Which Commenced operations have an Airline of valuair? | CREATE TABLE table_name_39 (commenced_operations INTEGER, airline VARCHAR) | SELECT MAX(commenced_operations) FROM table_name_39 WHERE airline = "valuair" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (commenced_operations INTEGER, airline VARCHAR) Question: Which Commenced operations have an Airline of valuair? [/INST] SELECT MAX(commenced_operations) FROM table_name_39 WHERE airline = "valuair... |
Which IATA has a ICAO of slk? | CREATE TABLE table_name_14 (iata VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_14 WHERE icao = "slk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (iata VARCHAR, icao VARCHAR) Question: Which IATA has a ICAO of slk? [/INST] SELECT iata FROM table_name_14 WHERE icao = "slk" </s> |
How many Viewers have a Rank smaller than 2? | CREATE TABLE table_name_71 (viewers INTEGER, rank INTEGER) | SELECT SUM(viewers) FROM table_name_71 WHERE rank < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (viewers INTEGER, rank INTEGER) Question: How many Viewers have a Rank smaller than 2? [/INST] SELECT SUM(viewers) FROM table_name_71 WHERE rank < 2 </s> |
What is the longitude for the Township that has a ANSI code less than 1036534, a water (sqmi) of 0, and a GEO ID greater than 3809959540? | CREATE TABLE table_name_20 (longitude VARCHAR, geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) | SELECT COUNT(longitude) FROM table_name_20 WHERE ansi_code < 1036534 AND water__sqmi_ = 0 AND geo_id > 3809959540 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (longitude VARCHAR, geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) Question: What is the longitude for the Township that has a ANSI code less than 1036534, a water (sqmi) of 0, and a GEO ... |
What is the population in 2010 for the longitude of -97.578927? | CREATE TABLE table_name_24 (pop__2010_ VARCHAR, longitude VARCHAR) | SELECT COUNT(pop__2010_) FROM table_name_24 WHERE longitude = -97.578927 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (pop__2010_ VARCHAR, longitude VARCHAR) Question: What is the population in 2010 for the longitude of -97.578927? [/INST] SELECT COUNT(pop__2010_) FROM table_name_24 WHERE longitude = -97.578927 </... |
What is the total population in 2010 for the township located in Mountrail which has land less than 34.424 sq miles and a GEO ID less than 3806159940? | CREATE TABLE table_name_17 (pop__2010_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, county VARCHAR) | SELECT SUM(pop__2010_) FROM table_name_17 WHERE land___sqmi__ < 34.424 AND county = "mountrail" AND geo_id < 3806159940 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (pop__2010_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, county VARCHAR) Question: What is the total population in 2010 for the township located in Mountrail which has land less than 34.424 sq m... |
What is the highest recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72? | CREATE TABLE table_name_4 (latitude INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR) | SELECT MAX(latitude) FROM table_name_4 WHERE ansi_code > 1759541 AND pop__2010_ = 72 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (latitude INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR) Question: What is the highest recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72? ... |
Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a Nationality of china? | CREATE TABLE table_name_97 (athlete VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR) | SELECT athlete FROM table_name_97 WHERE rank > 1 AND lane > 7 AND nationality = "china" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (athlete VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR) Question: Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a Nationality of china? [/INST] SELECT athlete FRO... |
How many Lanes have a Time larger than 13.59, and a Rank larger than 8? | CREATE TABLE table_name_36 (lane INTEGER, time VARCHAR, rank VARCHAR) | SELECT SUM(lane) FROM table_name_36 WHERE time > 13.59 AND rank > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (lane INTEGER, time VARCHAR, rank VARCHAR) Question: How many Lanes have a Time larger than 13.59, and a Rank larger than 8? [/INST] SELECT SUM(lane) FROM table_name_36 WHERE time > 13.59 AND rank ... |
How many lanes have a Nationality of france, and a Rank larger than 8? | CREATE TABLE table_name_92 (lane INTEGER, nationality VARCHAR, rank VARCHAR) | SELECT SUM(lane) FROM table_name_92 WHERE nationality = "france" AND rank > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (lane INTEGER, nationality VARCHAR, rank VARCHAR) Question: How many lanes have a Nationality of france, and a Rank larger than 8? [/INST] SELECT SUM(lane) FROM table_name_92 WHERE nationality = "f... |
What game was developed by Nintendo for the Gamecube platform? | CREATE TABLE table_name_92 (game VARCHAR, developer_s_ VARCHAR, platform_s_ VARCHAR) | SELECT game FROM table_name_92 WHERE developer_s_ = "nintendo" AND platform_s_ = "gamecube" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (game VARCHAR, developer_s_ VARCHAR, platform_s_ VARCHAR) Question: What game was developed by Nintendo for the Gamecube platform? [/INST] SELECT game FROM table_name_92 WHERE developer_s_ = "ninte... |
What is the genre of Super Mario Galaxy? | CREATE TABLE table_name_50 (genre VARCHAR, game VARCHAR) | SELECT genre FROM table_name_50 WHERE game = "super mario galaxy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (genre VARCHAR, game VARCHAR) Question: What is the genre of Super Mario Galaxy? [/INST] SELECT genre FROM table_name_50 WHERE game = "super mario galaxy" </s> |
What is the highest population for the province having a rank under 5? | CREATE TABLE table_name_57 (population INTEGER, rank_among_provinces INTEGER) | SELECT MAX(population) FROM table_name_57 WHERE rank_among_provinces < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (population INTEGER, rank_among_provinces INTEGER) Question: What is the highest population for the province having a rank under 5? [/INST] SELECT MAX(population) FROM table_name_57 WHERE rank_amon... |
What's the comp for 1998-04-22? | CREATE TABLE table_name_1 (comp VARCHAR, date VARCHAR) | SELECT comp FROM table_name_1 WHERE date = "1998-04-22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (comp VARCHAR, date VARCHAR) Question: What's the comp for 1998-04-22? [/INST] SELECT comp FROM table_name_1 WHERE date = "1998-04-22" </s> |
What's the score at Olympic Stadium Tokyo, Japan? | CREATE TABLE table_name_49 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_49 WHERE venue = "olympic stadium tokyo, japan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (score VARCHAR, venue VARCHAR) Question: What's the score at Olympic Stadium Tokyo, Japan? [/INST] SELECT score FROM table_name_49 WHERE venue = "olympic stadium tokyo, japan" </s> |
What's the comp in Olympic Stadium Tokyo, Japan? | CREATE TABLE table_name_60 (comp VARCHAR, venue VARCHAR) | SELECT comp FROM table_name_60 WHERE venue = "olympic stadium tokyo, japan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (comp VARCHAR, venue VARCHAR) Question: What's the comp in Olympic Stadium Tokyo, Japan? [/INST] SELECT comp FROM table_name_60 WHERE venue = "olympic stadium tokyo, japan" </s> |
What's the report in King Baudouin Stadium Brussels, Belgium? | CREATE TABLE table_name_31 (report VARCHAR, venue VARCHAR) | SELECT report FROM table_name_31 WHERE venue = "king baudouin stadium brussels, belgium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (report VARCHAR, venue VARCHAR) Question: What's the report in King Baudouin Stadium Brussels, Belgium? [/INST] SELECT report FROM table_name_31 WHERE venue = "king baudouin stadium brussels, belgi... |
What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg? | CREATE TABLE table_name_93 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR) | SELECT percentage_lost FROM table_name_93 WHERE starting_weight__kg_ > 102 AND weight_lost__kg_ = 46.9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR) Question: What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg? [/IN... |
What lane has a time of 1:57.71? | CREATE TABLE table_name_95 (lane INTEGER, time VARCHAR) | SELECT SUM(lane) FROM table_name_95 WHERE time = "1:57.71" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (lane INTEGER, time VARCHAR) Question: What lane has a time of 1:57.71? [/INST] SELECT SUM(lane) FROM table_name_95 WHERE time = "1:57.71" </s> |
Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15? | CREATE TABLE table_name_32 (name VARCHAR, time VARCHAR, rank VARCHAR, lane VARCHAR) | SELECT name FROM table_name_32 WHERE rank > 3 AND lane < 6 AND time = "1:58.15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (name VARCHAR, time VARCHAR, rank VARCHAR, lane VARCHAR) Question: Who had a larger rank than 3, less than 6 lanes, and a time of 1:58.15? [/INST] SELECT name FROM table_name_32 WHERE rank > 3 AND ... |
Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7? | CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR) | SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = "768" AND crude_birth_rate__per_1000_ < 29.7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR) Question: Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller t... |
Which Attendance has an Opponent of perth glory, and a Round of 9? | CREATE TABLE table_name_91 (attendance INTEGER, opponent VARCHAR, round VARCHAR) | SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "perth glory" AND round = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (attendance INTEGER, opponent VARCHAR, round VARCHAR) Question: Which Attendance has an Opponent of perth glory, and a Round of 9? [/INST] SELECT MIN(attendance) FROM table_name_91 WHERE opponent =... |
What is the lowest rank of rider darren gilpin? | CREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR) | SELECT MIN(rank) FROM table_name_91 WHERE rider = "darren gilpin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR) Question: What is the lowest rank of rider darren gilpin? [/INST] SELECT MIN(rank) FROM table_name_91 WHERE rider = "darren gilpin" </s> |
What is the highest rank of rider colin martin? | CREATE TABLE table_name_66 (rank INTEGER, rider VARCHAR) | SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (rank INTEGER, rider VARCHAR) Question: What is the highest rank of rider colin martin? [/INST] SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin" </s> |
What is shown on Tuesday when Monday is showing Fox Sports Primetime? | CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR) | SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR) Question: What is shown on Tuesday when Monday is showing Fox Sports Primetime? [/INST] SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime" </s... |
What is shown on Friday when Tuesday is Jay Mohr Sports? | CREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR) | SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr sports" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR) Question: What is shown on Friday when Tuesday is Jay Mohr Sports? [/INST] SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr sports" </s> |
What is shown on Friday when Monday is Fox Sports Primetime? | CREATE TABLE table_name_36 (friday VARCHAR, monday VARCHAR) | SELECT friday FROM table_name_36 WHERE monday = "fox sports primetime" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (friday VARCHAR, monday VARCHAR) Question: What is shown on Friday when Monday is Fox Sports Primetime? [/INST] SELECT friday FROM table_name_36 WHERE monday = "fox sports primetime" </s> |
What is shown on Tuesday when Thursday shows Fox Sports Tonight (ends 1 am next day)? | CREATE TABLE table_name_71 (tuesday VARCHAR, thursday VARCHAR) | SELECT tuesday FROM table_name_71 WHERE thursday = "fox sports tonight (ends 1 am next day)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (tuesday VARCHAR, thursday VARCHAR) Question: What is shown on Tuesday when Thursday shows Fox Sports Tonight (ends 1 am next day)? [/INST] SELECT tuesday FROM table_name_71 WHERE thursday = "fox s... |
What is shown on Tuesday when Wednesday is Fox Sports Tonight (ends 1 am next day)? | CREATE TABLE table_name_59 (tuesday VARCHAR, wednesday VARCHAR) | SELECT tuesday FROM table_name_59 WHERE wednesday = "fox sports tonight (ends 1 am next day)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (tuesday VARCHAR, wednesday VARCHAR) Question: What is shown on Tuesday when Wednesday is Fox Sports Tonight (ends 1 am next day)? [/INST] SELECT tuesday FROM table_name_59 WHERE wednesday = "fox s... |
Which capacity has the class 4c3h? | CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR) | SELECT capacity FROM table_name_37 WHERE class = "4c3h" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR) Question: Which capacity has the class 4c3h? [/INST] SELECT capacity FROM table_name_37 WHERE class = "4c3h" </s> |
What is the navigator for James? | CREATE TABLE table_name_3 (navigator VARCHAR, driver VARCHAR) | SELECT navigator FROM table_name_3 WHERE driver = "james" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (navigator VARCHAR, driver VARCHAR) Question: What is the navigator for James? [/INST] SELECT navigator FROM table_name_3 WHERE driver = "james" </s> |
How much time did Coad make when the margin was 04:02? | CREATE TABLE table_name_44 (total_time VARCHAR, margin VARCHAR, driver VARCHAR) | SELECT total_time FROM table_name_44 WHERE margin = "04:02" AND driver = "coad" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (total_time VARCHAR, margin VARCHAR, driver VARCHAR) Question: How much time did Coad make when the margin was 04:02? [/INST] SELECT total_time FROM table_name_44 WHERE margin = "04:02" AND driver ... |
What class has a capacity smaller than 3384 for Ferguson? | CREATE TABLE table_name_40 (class VARCHAR, capacity VARCHAR, navigator VARCHAR) | SELECT class FROM table_name_40 WHERE capacity < 3384 AND navigator = "ferguson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (class VARCHAR, capacity VARCHAR, navigator VARCHAR) Question: What class has a capacity smaller than 3384 for Ferguson? [/INST] SELECT class FROM table_name_40 WHERE capacity < 3384 AND navigator ... |
What is the total number of places for a song with a draw of 21 and more than 36 points? | CREATE TABLE table_name_97 (place VARCHAR, draw VARCHAR, points VARCHAR) | SELECT COUNT(place) FROM table_name_97 WHERE draw = 21 AND points > 36 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (place VARCHAR, draw VARCHAR, points VARCHAR) Question: What is the total number of places for a song with a draw of 21 and more than 36 points? [/INST] SELECT COUNT(place) FROM table_name_97 WHERE... |
What is the lowest numbered game against Phoenix with a record of 29-17? | CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR) | SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR) Question: What is the lowest numbered game against Phoenix with a record of 29-17? [/INST] SELECT MIN(game) FROM table_name_61 WHERE opponent = "pho... |
what is the soap opera when the duration is 18 years and the character is miley byrne? | CREATE TABLE table_name_4 (soap_opera VARCHAR, duration VARCHAR, character VARCHAR) | SELECT soap_opera FROM table_name_4 WHERE duration = "18 years" AND character = "miley byrne" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (soap_opera VARCHAR, duration VARCHAR, character VARCHAR) Question: what is the soap opera when the duration is 18 years and the character is miley byrne? [/INST] SELECT soap_opera FROM table_name_4... |
what is the years when the duration is 13 years and the character is renee phelan? | CREATE TABLE table_name_17 (years VARCHAR, duration VARCHAR, character VARCHAR) | SELECT years FROM table_name_17 WHERE duration = "13 years" AND character = "renee phelan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (years VARCHAR, duration VARCHAR, character VARCHAR) Question: what is the years when the duration is 13 years and the character is renee phelan? [/INST] SELECT years FROM table_name_17 WHERE durat... |
what is the years when the soap opera is glenroe and the actor is mick lally? | CREATE TABLE table_name_21 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR) | SELECT years FROM table_name_21 WHERE soap_opera = "glenroe" AND actor = "mick lally" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR) Question: what is the years when the soap opera is glenroe and the actor is mick lally? [/INST] SELECT years FROM table_name_21 WHERE soap_opera =... |
who is the actor when the character is dinny byrne? | CREATE TABLE table_name_8 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_8 WHERE character = "dinny byrne" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (actor VARCHAR, character VARCHAR) Question: who is the actor when the character is dinny byrne? [/INST] SELECT actor FROM table_name_8 WHERE character = "dinny byrne" </s> |
what is the soap opera when the actor is dave duffy? | CREATE TABLE table_name_11 (soap_opera VARCHAR, actor VARCHAR) | SELECT soap_opera FROM table_name_11 WHERE actor = "dave duffy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (soap_opera VARCHAR, actor VARCHAR) Question: what is the soap opera when the actor is dave duffy? [/INST] SELECT soap_opera FROM table_name_11 WHERE actor = "dave duffy" </s> |
What is the score for the game with an 11 tie number? | CREATE TABLE table_name_50 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_50 WHERE tie_no = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (score VARCHAR, tie_no VARCHAR) Question: What is the score for the game with an 11 tie number? [/INST] SELECT score FROM table_name_50 WHERE tie_no = "11" </s> |
What date was Ipswich Town the away team? | CREATE TABLE table_name_76 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_76 WHERE away_team = "ipswich town" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (date VARCHAR, away_team VARCHAR) Question: What date was Ipswich Town the away team? [/INST] SELECT date FROM table_name_76 WHERE away_team = "ipswich town" </s> |
Who is the owner with a Hot Adult Contemporary format? | CREATE TABLE table_name_29 (owner VARCHAR, format VARCHAR) | SELECT owner FROM table_name_29 WHERE format = "hot adult contemporary" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (owner VARCHAR, format VARCHAR) Question: Who is the owner with a Hot Adult Contemporary format? [/INST] SELECT owner FROM table_name_29 WHERE format = "hot adult contemporary" </s> |
What's the call sign of The Q? | CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_43 WHERE branding = "the q" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (call_sign VARCHAR, branding VARCHAR) Question: What's the call sign of The Q? [/INST] SELECT call_sign FROM table_name_43 WHERE branding = "the q" </s> |
What's the call sign for Jack FM? | CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_60 WHERE branding = "jack fm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR) Question: What's the call sign for Jack FM? [/INST] SELECT call_sign FROM table_name_60 WHERE branding = "jack fm" </s> |
What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? | CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR) | SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR) Question: What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? [/INST] SELECT AVG(year) FROM table_name_47 WHERE saar = "fk... |
What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and Hessen of Wormatia Worms? | CREATE TABLE table_name_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR) | SELECT MIN(year) FROM table_name_96 WHERE main = "eintracht frankfurt" AND rhein = "waldhof mannheim" AND saar = "fk pirmasens" AND hessen = "wormatia worms" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR) Question: What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmasens, and... |
Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05? | CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR) | SELECT year FROM table_name_3 WHERE main = "eintracht frankfurt" AND hessen = "fsv mainz 05" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (year VARCHAR, main VARCHAR, hessen VARCHAR) Question: Which year has a Main of Eintracht Frankfurt and Hessen of FSV Mainz 05? [/INST] SELECT year FROM table_name_3 WHERE main = "eintracht frankfur... |
Who was the Hessen the year that Saar was FK Pirmasens? | CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR) | SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR) Question: Who was the Hessen the year that Saar was FK Pirmasens? [/INST] SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens" </s> |
What's the series of Buddy The Woodsman by director Jack King? | CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR) | SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR) Question: What's the series of Buddy The Woodsman by director Jack King? [/INST] SELECT series FROM table_name_33 WHERE director = "jack king" AND ... |
Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production number less than 6494? | CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR) | SELECT director FROM table_name_12 WHERE series = "mm" AND production_num < 6494 AND release_date = "1934-09-15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (director VARCHAR, release_date VARCHAR, series VARCHAR, production_num VARCHAR) Question: Who was the director of the movie having a release date of 1934-09-15, an MM Series and a production numbe... |
Who's the director of Buddy of the Apes? | CREATE TABLE table_name_80 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_80 WHERE title = "buddy of the apes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (director VARCHAR, title VARCHAR) Question: Who's the director of Buddy of the Apes? [/INST] SELECT director FROM table_name_80 WHERE title = "buddy of the apes" </s> |
What's the title of the film directed by Friz Freleng with an MM Series, production number greater than 6209 and a release date of 1934-11-03? | CREATE TABLE table_name_77 (title VARCHAR, release_date VARCHAR, director VARCHAR, production_num VARCHAR, series VARCHAR) | SELECT title FROM table_name_77 WHERE production_num > 6209 AND series = "mm" AND director = "friz freleng" AND release_date = "1934-11-03" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (title VARCHAR, release_date VARCHAR, director VARCHAR, production_num VARCHAR, series VARCHAR) Question: What's the title of the film directed by Friz Freleng with an MM Series, production number ... |
What is the lowest time for Paulo Villar in lane 9? | CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR) | SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR) Question: What is the lowest time for Paulo Villar in lane 9? [/INST] SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 9 <... |
What is the nationality of lane 4? | CREATE TABLE table_name_78 (nationality VARCHAR, lane VARCHAR) | SELECT nationality FROM table_name_78 WHERE lane = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (nationality VARCHAR, lane VARCHAR) Question: What is the nationality of lane 4? [/INST] SELECT nationality FROM table_name_78 WHERE lane = 4 </s> |
What is the nationality with a 13.21 time? | CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_55 WHERE time = 13.21 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR) Question: What is the nationality with a 13.21 time? [/INST] SELECT nationality FROM table_name_55 WHERE time = 13.21 </s> |
What increase in net assets also has $5,617,236 as the total expenses? | CREATE TABLE table_name_16 (increase_in_net_assets VARCHAR, total_expenses VARCHAR) | SELECT increase_in_net_assets FROM table_name_16 WHERE total_expenses = "$5,617,236" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (increase_in_net_assets VARCHAR, total_expenses VARCHAR) Question: What increase in net assets also has $5,617,236 as the total expenses? [/INST] SELECT increase_in_net_assets FROM table_name_16 WH... |
How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less? | CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less? [/INST] SELECT COUNT(gold) FROM table_na... |
What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger? | CREATE TABLE table_name_90 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger?... |
How many Silver medals did the Nation with 10 or more Bronze receive? | CREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER) | SELECT MIN(silver) FROM table_name_73 WHERE bronze > 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER) Question: How many Silver medals did the Nation with 10 or more Bronze receive? [/INST] SELECT MIN(silver) FROM table_name_73 WHERE bronze > 10 </s> |
what is the average wins when draws is less than 0? | CREATE TABLE table_name_72 (wins INTEGER, draws INTEGER) | SELECT AVG(wins) FROM table_name_72 WHERE draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (wins INTEGER, draws INTEGER) Question: what is the average wins when draws is less than 0? [/INST] SELECT AVG(wins) FROM table_name_72 WHERE draws < 0 </s> |
what is the average losses when the club is warrnambool and wins is less than 12? | CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR) | SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR) Question: what is the average losses when the club is warrnambool and wins is less than 12? [/INST] SELECT AVG(losses) FROM table_name_58 WHERE club = "... |
what is the most losses when the club is terang and draws is less than 0? | CREATE TABLE table_name_75 (losses INTEGER, club VARCHAR, draws VARCHAR) | SELECT MAX(losses) FROM table_name_75 WHERE club = "terang" AND draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (losses INTEGER, club VARCHAR, draws VARCHAR) Question: what is the most losses when the club is terang and draws is less than 0? [/INST] SELECT MAX(losses) FROM table_name_75 WHERE club = "terang"... |
What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238? | CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR) | SELECT SUM(losses) FROM table_name_6 WHERE wins > 6 AND club = "camperdown" AND against > 1238 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR) Question: What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238? [/INST] SELECT SUM(losse... |
What is the drew for the 1999-2000 season when they were in third place? | CREATE TABLE table_name_52 (drew VARCHAR, round VARCHAR, season VARCHAR) | SELECT drew FROM table_name_52 WHERE round = "third place" AND season = "1999-2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (drew VARCHAR, round VARCHAR, season VARCHAR) Question: What is the drew for the 1999-2000 season when they were in third place? [/INST] SELECT drew FROM table_name_52 WHERE round = "third place" A... |
What competition did they have 1 lost, 3 draws, and played 9 games? | CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR) | SELECT competition FROM table_name_17 WHERE lost = "1" AND drew = "3" AND played = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR) Question: What competition did they have 1 lost, 3 draws, and played 9 games? [/INST] SELECT competition FROM table_name_17 WHERE l... |
What is the number of draws when the played 9 and lost 3? | CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR) | SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR) Question: What is the number of draws when the played 9 and lost 3? [/INST] SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3" </s> |
How many cable channels have callsign CBFT-DT? | CREATE TABLE table_name_38 (cable_channel VARCHAR, call_sign VARCHAR) | SELECT COUNT(cable_channel) FROM table_name_38 WHERE call_sign = "cbft-dt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (cable_channel VARCHAR, call_sign VARCHAR) Question: How many cable channels have callsign CBFT-DT? [/INST] SELECT COUNT(cable_channel) FROM table_name_38 WHERE call_sign = "cbft-dt" </s> |
What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT? | CREATE TABLE table_name_81 (digital_psip INTEGER, call_sign VARCHAR, broadcast_channel VARCHAR) | SELECT MIN(digital_psip) FROM table_name_81 WHERE call_sign = "cftu-dt" AND broadcast_channel > 29 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (digital_psip INTEGER, call_sign VARCHAR, broadcast_channel VARCHAR) Question: What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT? [/INST] SELECT MIN(digital_psip) FROM tabl... |
What is the Digital PSIP for channels over 15 with callsign CFTU-DT? | CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR) | SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR) Question: What is the Digital PSIP for channels over 15 with callsign CFTU-DT? [/INST] SELECT digital_psip FROM table_name_14 WH... |
Where was the location of the Mong Kok Stadium? | CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR) | SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR) Question: Where was the location of the Mong Kok Stadium? [/INST] SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium" </s> |
Which club, had a home ground of n/a? | CREATE TABLE table_name_95 (club VARCHAR, home_ground VARCHAR) | SELECT club FROM table_name_95 WHERE home_ground = "n/a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (club VARCHAR, home_ground VARCHAR) Question: Which club, had a home ground of n/a? [/INST] SELECT club FROM table_name_95 WHERE home_ground = "n/a" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.