instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
When 5 is the l what is the lowest amount of stolen ends? | CREATE TABLE table_29565541_2 (stolen_ends INTEGER, l VARCHAR) | SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29565541_2 (stolen_ends INTEGER, l VARCHAR) Question: When 5 is the l what is the lowest amount of stolen ends? [/INST] SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 5 </s> |
How many million people in the US saw the episode with production code 105? | CREATE TABLE table_29569969_2 (us_viewers__millions_ VARCHAR, production_code VARCHAR) | SELECT us_viewers__millions_ FROM table_29569969_2 WHERE production_code = 105 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29569969_2 (us_viewers__millions_ VARCHAR, production_code VARCHAR) Question: How many million people in the US saw the episode with production code 105? [/INST] SELECT us_viewers__millions_ FROM table_295... |
Who directed the episode that had 1.48 million viewers in the U.S.? | CREATE TABLE table_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who directed the episode that had 1.48 million viewers in the U.S.? [/INST] SELECT directed_by FROM table_29569969_2 WHERE us_viewe... |
what is the status for seed 14 | CREATE TABLE table_29572583_20 (status VARCHAR, seed VARCHAR) | SELECT status FROM table_29572583_20 WHERE seed = 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29572583_20 (status VARCHAR, seed VARCHAR) Question: what is the status for seed 14 [/INST] SELECT status FROM table_29572583_20 WHERE seed = 14 </s> |
which player had the status to the fourth round lost to tsvetana pironkova [32] Answers: | CREATE TABLE table_29572583_20 (player VARCHAR, status VARCHAR) | SELECT player FROM table_29572583_20 WHERE status = "Fourth round lost to Tsvetana Pironkova [32]" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29572583_20 (player VARCHAR, status VARCHAR) Question: which player had the status to the fourth round lost to tsvetana pironkova [32] Answers: [/INST] SELECT player FROM table_29572583_20 WHERE status = "... |
how many new points does the player roberta vinci have? | CREATE TABLE table_29572583_20 (new_points INTEGER, player VARCHAR) | SELECT MAX(new_points) FROM table_29572583_20 WHERE player = "Roberta Vinci" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29572583_20 (new_points INTEGER, player VARCHAR) Question: how many new points does the player roberta vinci have? [/INST] SELECT MAX(new_points) FROM table_29572583_20 WHERE player = "Roberta Vinci" </s> |
How many o-19% are where the quartier is in saint-loup? | CREATE TABLE table_29615165_5 (_percentage_0_19_years VARCHAR, quartier VARCHAR) | SELECT _percentage_0_19_years FROM table_29615165_5 WHERE quartier = "Saint-Loup" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29615165_5 (_percentage_0_19_years VARCHAR, quartier VARCHAR) Question: How many o-19% are where the quartier is in saint-loup? [/INST] SELECT _percentage_0_19_years FROM table_29615165_5 WHERE quartier = ... |
how many 20-39% are in pont-de-vivaux? | CREATE TABLE table_29615165_5 (_percentage_20_39_years VARCHAR, quartier VARCHAR) | SELECT COUNT(_percentage_20_39_years) FROM table_29615165_5 WHERE quartier = "Pont-de-Vivaux" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29615165_5 (_percentage_20_39_years VARCHAR, quartier VARCHAR) Question: how many 20-39% are in pont-de-vivaux? [/INST] SELECT COUNT(_percentage_20_39_years) FROM table_29615165_5 WHERE quartier = "Pont-de... |
the quartier menpenti has how many 40-59 year olds? | CREATE TABLE table_29615165_5 (_percentage_40_59_years VARCHAR, quartier VARCHAR) | SELECT _percentage_40_59_years FROM table_29615165_5 WHERE quartier = "Menpenti" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29615165_5 (_percentage_40_59_years VARCHAR, quartier VARCHAR) Question: the quartier menpenti has how many 40-59 year olds? [/INST] SELECT _percentage_40_59_years FROM table_29615165_5 WHERE quartier = "M... |
What episode number in the series was directed by Winrich Kolbe? | CREATE TABLE table_29585196_1 (no_in_series INTEGER, directed_by VARCHAR) | SELECT MIN(no_in_series) FROM table_29585196_1 WHERE directed_by = "Winrich Kolbe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29585196_1 (no_in_series INTEGER, directed_by VARCHAR) Question: What episode number in the series was directed by Winrich Kolbe? [/INST] SELECT MIN(no_in_series) FROM table_29585196_1 WHERE directed_by = ... |
What is the position for the university of akron michigan bucks affiliation | CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) | SELECT position FROM table_29626583_1 WHERE affiliation = "University of Akron Michigan Bucks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) Question: What is the position for the university of akron michigan bucks affiliation [/INST] SELECT position FROM table_29626583_1 WHERE affiliation = "... |
What is the position for the university of north carolina carolina dynamo affiliation | CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) | SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) Question: What is the position for the university of north carolina carolina dynamo affiliation [/INST] SELECT position FROM table_29626583_1 WHERE affil... |
how many pick# does the chivas usa mls team have | CREATE TABLE table_29626583_1 (pick__number INTEGER, mls_team VARCHAR) | SELECT MAX(pick__number) FROM table_29626583_1 WHERE mls_team = "Chivas USA" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29626583_1 (pick__number INTEGER, mls_team VARCHAR) Question: how many pick# does the chivas usa mls team have [/INST] SELECT MAX(pick__number) FROM table_29626583_1 WHERE mls_team = "Chivas USA" </s> |
how many pick# does the university of akron reading united michigan bucks affiliation have | CREATE TABLE table_29626583_1 (pick__number VARCHAR, affiliation VARCHAR) | SELECT COUNT(pick__number) FROM table_29626583_1 WHERE affiliation = "University of Akron Reading United Michigan Bucks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29626583_1 (pick__number VARCHAR, affiliation VARCHAR) Question: how many pick# does the university of akron reading united michigan bucks affiliation have [/INST] SELECT COUNT(pick__number) FROM table_296... |
what is the position for the united states u-20 affiliation | CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) | SELECT position FROM table_29626583_1 WHERE affiliation = "United States U-20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR) Question: what is the position for the united states u-20 affiliation [/INST] SELECT position FROM table_29626583_1 WHERE affiliation = "United States U-... |
What is the title of the episode with a production code of FL209? | CREATE TABLE table_29747178_3 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_29747178_3 WHERE production_code = "FL209" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29747178_3 (title VARCHAR, production_code VARCHAR) Question: What is the title of the episode with a production code of FL209? [/INST] SELECT title FROM table_29747178_3 WHERE production_code = "FL209" </... |
Who directed the episode that was watched by 2.67 million U.S. viewers? | CREATE TABLE table_29747178_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_29747178_3 WHERE us_viewers__million_ = "2.67" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29747178_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed the episode that was watched by 2.67 million U.S. viewers? [/INST] SELECT directed_by FROM table_29747178_3 WHERE us_vi... |
What is the lowest value for int. caps? | CREATE TABLE table_29743928_5 (int_caps INTEGER) | SELECT MIN(int_caps) FROM table_29743928_5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29743928_5 (int_caps INTEGER) Question: What is the lowest value for int. caps? [/INST] SELECT MIN(int_caps) FROM table_29743928_5 </s> |
How many trains are there for the route via trivandrum, ernakulam, newdelhi? | CREATE TABLE table_29770377_1 (train_number VARCHAR, route_via VARCHAR) | SELECT COUNT(train_number) FROM table_29770377_1 WHERE route_via = "Trivandrum, Ernakulam, NewDelhi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29770377_1 (train_number VARCHAR, route_via VARCHAR) Question: How many trains are there for the route via trivandrum, ernakulam, newdelhi? [/INST] SELECT COUNT(train_number) FROM table_29770377_1 WHERE ro... |
What is the route for the destination of guruvayur? | CREATE TABLE table_29770377_1 (route_via VARCHAR, destination VARCHAR) | SELECT route_via FROM table_29770377_1 WHERE destination = "Guruvayur" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29770377_1 (route_via VARCHAR, destination VARCHAR) Question: What is the route for the destination of guruvayur? [/INST] SELECT route_via FROM table_29770377_1 WHERE destination = "Guruvayur" </s> |
How many route/via's are there for the ernad express? | CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR) | SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR) Question: How many route/via's are there for the ernad express? [/INST] SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express" <... |
What is the destination of the route kulitthurai,neyyattinkara? | CREATE TABLE table_29770377_1 (destination VARCHAR, route_via VARCHAR) | SELECT destination FROM table_29770377_1 WHERE route_via = "Kulitthurai,Neyyattinkara" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29770377_1 (destination VARCHAR, route_via VARCHAR) Question: What is the destination of the route kulitthurai,neyyattinkara? [/INST] SELECT destination FROM table_29770377_1 WHERE route_via = "Kulitthurai... |
What is the train number for the train name island express with a destination of kanniyakumari? | CREATE TABLE table_29770377_1 (train_number VARCHAR, train_name VARCHAR, destination VARCHAR) | SELECT train_number FROM table_29770377_1 WHERE train_name = "Island Express" AND destination = "Kanniyakumari" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29770377_1 (train_number VARCHAR, train_name VARCHAR, destination VARCHAR) Question: What is the train number for the train name island express with a destination of kanniyakumari? [/INST] SELECT train_num... |
How many reservations for sc/st are there in constituency 191? | CREATE TABLE table_29785324_4 (reservation_for_sc_st VARCHAR, constituency_no VARCHAR) | SELECT COUNT(reservation_for_sc_st) FROM table_29785324_4 WHERE constituency_no = 191 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29785324_4 (reservation_for_sc_st VARCHAR, constituency_no VARCHAR) Question: How many reservations for sc/st are there in constituency 191? [/INST] SELECT COUNT(reservation_for_sc_st) FROM table_29785324_... |
Which locations had their first year in 2001? | CREATE TABLE table_29788320_2 (location VARCHAR, first_year VARCHAR) | SELECT location FROM table_29788320_2 WHERE first_year = 2001 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29788320_2 (location VARCHAR, first_year VARCHAR) Question: Which locations had their first year in 2001? [/INST] SELECT location FROM table_29788320_2 WHERE first_year = 2001 </s> |
How many editions did Club Q-base concept have ? | CREATE TABLE table_29788320_2 (number_of_editions VARCHAR, concept VARCHAR) | SELECT COUNT(number_of_editions) FROM table_29788320_2 WHERE concept = "Club Q-BASE" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29788320_2 (number_of_editions VARCHAR, concept VARCHAR) Question: How many editions did Club Q-base concept have ? [/INST] SELECT COUNT(number_of_editions) FROM table_29788320_2 WHERE concept = "Club Q-B... |
What is the lowest value for runs when the average is 42.36? | CREATE TABLE table_2985664_8 (runs INTEGER, average VARCHAR) | SELECT MIN(runs) FROM table_2985664_8 WHERE average = "42.36" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2985664_8 (runs INTEGER, average VARCHAR) Question: What is the lowest value for runs when the average is 42.36? [/INST] SELECT MIN(runs) FROM table_2985664_8 WHERE average = "42.36" </s> |
How many entries for 50 occur when strike rate is 92.81? | CREATE TABLE table_2985664_8 (strike_rate VARCHAR) | SELECT COUNT(50) FROM table_2985664_8 WHERE strike_rate = "92.81" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2985664_8 (strike_rate VARCHAR) Question: How many entries for 50 occur when strike rate is 92.81? [/INST] SELECT COUNT(50) FROM table_2985664_8 WHERE strike_rate = "92.81" </s> |
What is the lowest value for innings? | CREATE TABLE table_2985664_8 (innings INTEGER) | SELECT MIN(innings) FROM table_2985664_8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2985664_8 (innings INTEGER) Question: What is the lowest value for innings? [/INST] SELECT MIN(innings) FROM table_2985664_8 </s> |
What is every strike rate when cathces/stumpings is 13/1? | CREATE TABLE table_2985664_8 (strike_rate VARCHAR, catches_stumpings VARCHAR) | SELECT strike_rate FROM table_2985664_8 WHERE catches_stumpings = "13/1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2985664_8 (strike_rate VARCHAR, catches_stumpings VARCHAR) Question: What is every strike rate when cathces/stumpings is 13/1? [/INST] SELECT strike_rate FROM table_2985664_8 WHERE catches_stumpings = "13/... |
What is every high score for a strike rate of 84.88? | CREATE TABLE table_2985664_8 (high_score VARCHAR, strike_rate VARCHAR) | SELECT high_score FROM table_2985664_8 WHERE strike_rate = "84.88" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2985664_8 (high_score VARCHAR, strike_rate VARCHAR) Question: What is every high score for a strike rate of 84.88? [/INST] SELECT high_score FROM table_2985664_8 WHERE strike_rate = "84.88" </s> |
How many entries for 100 occur when the average is 15.78? | CREATE TABLE table_2985664_8 (average VARCHAR) | SELECT COUNT(100) FROM table_2985664_8 WHERE average = "15.78" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2985664_8 (average VARCHAR) Question: How many entries for 100 occur when the average is 15.78? [/INST] SELECT COUNT(100) FROM table_2985664_8 WHERE average = "15.78" </s> |
What is the chromosomal location of il-1β? | CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, name VARCHAR) | SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-1β" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, name VARCHAR) Question: What is the chromosomal location of il-1β? [/INST] SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-1β" </s> |
What are the coreceptors of the chromosomes in that location 11q22.2-q22.3? | CREATE TABLE table_29871617_1 (coreceptor VARCHAR, chromosomal_location VARCHAR) | SELECT coreceptor FROM table_29871617_1 WHERE chromosomal_location = "11q22.2-q22.3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (coreceptor VARCHAR, chromosomal_location VARCHAR) Question: What are the coreceptors of the chromosomes in that location 11q22.2-q22.3? [/INST] SELECT coreceptor FROM table_29871617_1 WHERE chr... |
How many different chromosomal locations are there in the family il-1f8? | CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, family_name VARCHAR) | SELECT COUNT(chromosomal_location) FROM table_29871617_1 WHERE family_name = "IL-1F8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, family_name VARCHAR) Question: How many different chromosomal locations are there in the family il-1f8? [/INST] SELECT COUNT(chromosomal_location) FROM table_29871... |
Where is il-36β located? | CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, name VARCHAR) | SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-36β" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, name VARCHAR) Question: Where is il-36β located? [/INST] SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-36β" </s> |
What are the names listed in the family il-1f2? | CREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR) | SELECT name FROM table_29871617_1 WHERE family_name = "IL-1F2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR) Question: What are the names listed in the family il-1f2? [/INST] SELECT name FROM table_29871617_1 WHERE family_name = "IL-1F2" </s> |
Which chromosomes have an unknown property? | CREATE TABLE table_29871617_1 (name VARCHAR, property VARCHAR) | SELECT name FROM table_29871617_1 WHERE property = "Unknown" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_29871617_1 (name VARCHAR, property VARCHAR) Question: Which chromosomes have an unknown property? [/INST] SELECT name FROM table_29871617_1 WHERE property = "Unknown" </s> |
Name the least mister international | CREATE TABLE table_30007505_1 (mister_international INTEGER) | SELECT MIN(mister_international) FROM table_30007505_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30007505_1 (mister_international INTEGER) Question: Name the least mister international [/INST] SELECT MIN(mister_international) FROM table_30007505_1 </s> |
Name the most total for south korea | CREATE TABLE table_30007505_1 (total INTEGER, country_territory VARCHAR) | SELECT MAX(total) FROM table_30007505_1 WHERE country_territory = "South Korea" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30007505_1 (total INTEGER, country_territory VARCHAR) Question: Name the most total for south korea [/INST] SELECT MAX(total) FROM table_30007505_1 WHERE country_territory = "South Korea" </s> |
Name the semifinalists for singapore | CREATE TABLE table_30007505_1 (semifinalists VARCHAR, country_territory VARCHAR) | SELECT semifinalists FROM table_30007505_1 WHERE country_territory = "Singapore" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30007505_1 (semifinalists VARCHAR, country_territory VARCHAR) Question: Name the semifinalists for singapore [/INST] SELECT semifinalists FROM table_30007505_1 WHERE country_territory = "Singapore" </s> |
Name the number of semifinalists for 19 rank | CREATE TABLE table_30007505_1 (semifinalists VARCHAR, rank VARCHAR) | SELECT COUNT(semifinalists) FROM table_30007505_1 WHERE rank = 19 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30007505_1 (semifinalists VARCHAR, rank VARCHAR) Question: Name the number of semifinalists for 19 rank [/INST] SELECT COUNT(semifinalists) FROM table_30007505_1 WHERE rank = 19 </s> |
Where was d: ~50nm, l: ~600nm geometry researched? | CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR) | SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~50nm, L: ~600nm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR) Question: Where was d: ~50nm, l: ~600nm geometry researched? [/INST] SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~50nm, L: ~600nm" <... |
How many materials are there for output power of ~0.1 pw per cycle (calculated)? | CREATE TABLE table_30057479_1 (material VARCHAR, output_power VARCHAR) | SELECT COUNT(material) FROM table_30057479_1 WHERE output_power = "~0.1 pW per cycle (calculated)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30057479_1 (material VARCHAR, output_power VARCHAR) Question: How many materials are there for output power of ~0.1 pw per cycle (calculated)? [/INST] SELECT COUNT(material) FROM table_30057479_1 WHERE out... |
How many synthesis are there for 5~16.2 pw per cycle (calculated) output power? | CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR) | SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = "5~16.2 pW per cycle (calculated)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR) Question: How many synthesis are there for 5~16.2 pw per cycle (calculated) output power? [/INST] SELECT COUNT(synthesis) FROM table_30057479_1 WHERE ou... |
Where was d: ~100nm, l: 1 μm geometry researched? | CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR) | SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~100nm, L: 1 μm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR) Question: Where was d: ~100nm, l: 1 μm geometry researched? [/INST] SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: ~100nm, L: 1 μm" </s... |
Where was d: 25~70nm, l: 10~20 μm geometry researched? | CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR) | SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~20 μm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR) Question: Where was d: 25~70nm, l: 10~20 μm geometry researched? [/INST] SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~... |
Who are all providers with destination of Liverpool? | CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR) | SELECT provider FROM table_3005999_1 WHERE destination = "Liverpool" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR) Question: Who are all providers with destination of Liverpool? [/INST] SELECT provider FROM table_3005999_1 WHERE destination = "Liverpool" </s> |
What is every entry for intermediate stops for the destination of Manchester? | CREATE TABLE table_3005999_1 (intermediate_stops VARCHAR, destination VARCHAR) | SELECT intermediate_stops FROM table_3005999_1 WHERE destination = "Manchester" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005999_1 (intermediate_stops VARCHAR, destination VARCHAR) Question: What is every entry for intermediate stops for the destination of Manchester? [/INST] SELECT intermediate_stops FROM table_3005999_1 WH... |
How many route numbers occur for the origin of Birmingham and destination of Bristol? | CREATE TABLE table_3005999_1 (route_number VARCHAR, origin VARCHAR, destination VARCHAR) | SELECT COUNT(route_number) FROM table_3005999_1 WHERE origin = "Birmingham" AND destination = "Bristol" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005999_1 (route_number VARCHAR, origin VARCHAR, destination VARCHAR) Question: How many route numbers occur for the origin of Birmingham and destination of Bristol? [/INST] SELECT COUNT(route_number) FROM... |
What is every origin for the destination of Manchester? | CREATE TABLE table_3005999_1 (origin VARCHAR, destination VARCHAR) | SELECT origin FROM table_3005999_1 WHERE destination = "Manchester" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005999_1 (origin VARCHAR, destination VARCHAR) Question: What is every origin for the destination of Manchester? [/INST] SELECT origin FROM table_3005999_1 WHERE destination = "Manchester" </s> |
How many providers have a destination of Blackpool? | CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR) | SELECT COUNT(provider) FROM table_3005999_1 WHERE destination = "Blackpool" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR) Question: How many providers have a destination of Blackpool? [/INST] SELECT COUNT(provider) FROM table_3005999_1 WHERE destination = "Blackpool" </s> |
What is the maximum number of starts? | CREATE TABLE table_3005915_3 (starts INTEGER) | SELECT MAX(starts) FROM table_3005915_3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005915_3 (starts INTEGER) Question: What is the maximum number of starts? [/INST] SELECT MAX(starts) FROM table_3005915_3 </s> |
What is the maximum number of poles? | CREATE TABLE table_3005915_3 (poles INTEGER) | SELECT MAX(poles) FROM table_3005915_3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005915_3 (poles INTEGER) Question: What is the maximum number of poles? [/INST] SELECT MAX(poles) FROM table_3005915_3 </s> |
What is the minimum number of poles? | CREATE TABLE table_3005915_3 (poles INTEGER) | SELECT MIN(poles) FROM table_3005915_3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_3005915_3 (poles INTEGER) Question: What is the minimum number of poles? [/INST] SELECT MIN(poles) FROM table_3005915_3 </s> |
Name the date for s. valentino alla muta , italia | CREATE TABLE table_30073089_2 (date VARCHAR, location VARCHAR) | SELECT date FROM table_30073089_2 WHERE location = "S. Valentino Alla Muta , Italia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30073089_2 (date VARCHAR, location VARCHAR) Question: Name the date for s. valentino alla muta , italia [/INST] SELECT date FROM table_30073089_2 WHERE location = "S. Valentino Alla Muta , Italia" </s> |
Name the date for 2011 and position larger than 2.0 | CREATE TABLE table_30073089_2 (date VARCHAR, season VARCHAR, position VARCHAR) | SELECT date FROM table_30073089_2 WHERE season = 2011 AND position > 2.0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30073089_2 (date VARCHAR, season VARCHAR, position VARCHAR) Question: Name the date for 2011 and position larger than 2.0 [/INST] SELECT date FROM table_30073089_2 WHERE season = 2011 AND position > 2.0 </... |
Name the discipline for 1561 fis points | CREATE TABLE table_30073089_2 (discipline VARCHAR, fis_points VARCHAR) | SELECT discipline FROM table_30073089_2 WHERE fis_points = 1561 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30073089_2 (discipline VARCHAR, fis_points VARCHAR) Question: Name the discipline for 1561 fis points [/INST] SELECT discipline FROM table_30073089_2 WHERE fis_points = 1561 </s> |
Name the position for fis points being 3495 | CREATE TABLE table_30073089_2 (position VARCHAR, fis_points VARCHAR) | SELECT position FROM table_30073089_2 WHERE fis_points = 3495 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30073089_2 (position VARCHAR, fis_points VARCHAR) Question: Name the position for fis points being 3495 [/INST] SELECT position FROM table_30073089_2 WHERE fis_points = 3495 </s> |
what is the number of the wc matches if the matches were 79 | CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR) | SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 79 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR) Question: what is the number of the wc matches if the matches were 79 [/INST] SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 79 </s> |
what is the number of the least matches | CREATE TABLE table_30085411_1 (matches INTEGER) | SELECT MIN(matches) FROM table_30085411_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30085411_1 (matches INTEGER) Question: what is the number of the least matches [/INST] SELECT MIN(matches) FROM table_30085411_1 </s> |
if the matches are 16 what is the wc matches | CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR) | SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR) Question: if the matches are 16 what is the wc matches [/INST] SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 16 </s> |
Which barony contains a townland with an area 24 acres? | CREATE TABLE table_30120555_1 (barony VARCHAR, area__acres__ VARCHAR) | SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120555_1 (barony VARCHAR, area__acres__ VARCHAR) Question: Which barony contains a townland with an area 24 acres? [/INST] SELECT barony FROM table_30120555_1 WHERE area__acres__ = 24 </s> |
How many different civil parishes is Canrooska a part of? | CREATE TABLE table_30120555_1 (civil_parish VARCHAR, townland VARCHAR) | SELECT COUNT(civil_parish) FROM table_30120555_1 WHERE townland = "Canrooska" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120555_1 (civil_parish VARCHAR, townland VARCHAR) Question: How many different civil parishes is Canrooska a part of? [/INST] SELECT COUNT(civil_parish) FROM table_30120555_1 WHERE townland = "Canrooska"... |
What poor law union is Curradonohoe a part of? | CREATE TABLE table_30120555_1 (poor_law_union VARCHAR, townland VARCHAR) | SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120555_1 (poor_law_union VARCHAR, townland VARCHAR) Question: What poor law union is Curradonohoe a part of? [/INST] SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe" </s> |
What is the barony for the Ballintaggart townland? | CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR) | SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR) Question: What is the barony for the Ballintaggart townland? [/INST] SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" </s> |
What is the poor law union for the Barnahely towland? | CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) | SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) Question: What is the poor law union for the Barnahely towland? [/INST] SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" </s> |
What is the barony of the townland whose area is 150 acres? | CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR) | SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR) Question: What is the barony of the townland whose area is 150 acres? [/INST] SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150 </s> |
In which townlands is the civil parish Monkstown? | CREATE TABLE table_30120619_1 (townland VARCHAR, civil_parish VARCHAR) | SELECT townland FROM table_30120619_1 WHERE civil_parish = "Monkstown" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, civil_parish VARCHAR) Question: In which townlands is the civil parish Monkstown? [/INST] SELECT townland FROM table_30120619_1 WHERE civil_parish = "Monkstown" </s> |
Which townland has an area of 165 acres? | CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR) | SELECT townland FROM table_30120619_1 WHERE area__acres__ = 165 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR) Question: Which townland has an area of 165 acres? [/INST] SELECT townland FROM table_30120619_1 WHERE area__acres__ = 165 </s> |
Name the total number of barony for kilmore | CREATE TABLE table_30120559_1 (barony VARCHAR, townland VARCHAR) | SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120559_1 (barony VARCHAR, townland VARCHAR) Question: Name the total number of barony for kilmore [/INST] SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore" </s> |
Name the poor law union for area being 332 | CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR) | SELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 332 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR) Question: Name the poor law union for area being 332 [/INST] SELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 332 </s> |
How many townlands are there for caheragh and is larger than 270 acres? | CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR) | SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR) Question: How many townlands are there for caheragh and is larger than 270 acres? [/INST] SELECT COUNT(townland) FROM table_301210... |
Which civil parish is for the townland clooncugger? | CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR) | SELECT civil_parish FROM table_30121096_1 WHERE townland = "Clooncugger" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR) Question: Which civil parish is for the townland clooncugger? [/INST] SELECT civil_parish FROM table_30121096_1 WHERE townland = "Clooncugger" </s> |
How many poor law unions have an area of 262 acres and is in drinagh civil parish? | CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR) | SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE area__acres__ = 262 AND civil_parish = "Drinagh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR) Question: How many poor law unions have an area of 262 acres and is in drinagh civil parish? [/INST] SELECT COUNT(poor_law_u... |
How many current account balances are associated with GDP at constant prices growth rates of 4.6? | CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR) | SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR) Question: How many current account balances are associated with GDP at constant price... |
How many export volume of goods/services values are associated with GDP at constant prices values of 3.072? | CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR) | SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_constant_prices__thb_trillions_ = "3.072" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR) Question: How many export volume of goods/services values are associated with GDP at c... |
How many export volume of goods and services values are associated with GDP at current prices of 161.340? | CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) | SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) Question: How many export volume of goods and services values are associated with GDP at... |
What is the current account balance for an export volume of goods and service value of -4.2? | CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR) | SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE export_volume_of_goods_and_services__percent_change_ = "-4.2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR) Question: What is the current account balance for an export volume of goods and serv... |
What is the current account balance for a GDP at current prices of 142.640? | CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) | SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) Question: What is the current account balance for a GDP at current prices of 142.640? [/INST] SELECT... |
What is the GDP at constant prices for a current account balance of 12.8? | CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR) | SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.8" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR) Question: What is the GDP at constant prices for a current account balance of 12.8? [/INST] SELECT... |
Tell me the games for total less than 4 for swimming 1968 | CREATE TABLE table_name_87 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR) | SELECT games FROM table_name_87 WHERE total < 4 AND sport = "swimming" AND years = "1968" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR) Question: Tell me the games for total less than 4 for swimming 1968 [/INST] SELECT games FROM table_name_87 WHERE total < 4 AND sport = ... |
Tell me the total number of bronze for silver being 0 and sport of wrestling and total more than 3 | CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR) | SELECT COUNT(bronze) FROM table_name_16 WHERE silver = 0 AND sport = "wrestling" AND total > 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR) Question: Tell me the total number of bronze for silver being 0 and sport of wrestling and total more than 3 [/INST] SELECT COUNT(bron... |
Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0 | CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR) | SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR) Question: Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0 [/INST] ... |
What is the lowest round for an offensive guard when the overall is smaller than 150? | CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR) | SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR) Question: What is the lowest round for an offensive guard when the overall is smaller than 150? [/INST] SELECT MIN(round) FROM table_name_59 WHERE... |
Which college was the player selected from in round 1? | CREATE TABLE table_name_43 (college VARCHAR, round VARCHAR) | SELECT college FROM table_name_43 WHERE round = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (college VARCHAR, round VARCHAR) Question: Which college was the player selected from in round 1? [/INST] SELECT college FROM table_name_43 WHERE round = 1 </s> |
Tell me the DA for bureau chief ada | CREATE TABLE table_name_22 (district_attorney VARCHAR, position VARCHAR) | SELECT district_attorney FROM table_name_22 WHERE position = "bureau chief ada" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (district_attorney VARCHAR, position VARCHAR) Question: Tell me the DA for bureau chief ada [/INST] SELECT district_attorney FROM table_name_22 WHERE position = "bureau chief ada" </s> |
Tell me the left office for enrico la loggia | CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR) Question: Tell me the left office for enrico la loggia [/INST] SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" </s> |
Tell me the portfolio of minister of carlo giovanardi | CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR) | SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR) Question: Tell me the portfolio of minister of carlo giovanardi [/INST] SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi" </s> |
Tell me the left office for mirko tremaglia | CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR) Question: Tell me the left office for mirko tremaglia [/INST] SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" </s> |
What School/Club Team has a Player named Juan Dixon and a Position of guard? | CREATE TABLE table_name_58 (school_club_team VARCHAR, position VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_58 WHERE position = "guard" AND player = "juan dixon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (school_club_team VARCHAR, position VARCHAR, player VARCHAR) Question: What School/Club Team has a Player named Juan Dixon and a Position of guard? [/INST] SELECT school_club_team FROM table_name_5... |
Which Player's Position is guard and played in Toronto during the Years 2007-08? | CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR) | SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-08" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR) Question: Which Player's Position is guard and played in Toronto during the Years 2007-08? [/INST] SELECT player FROM table_name_16 WHER... |
What Player is from Argentina and whose position is a guard-forward? | CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR) | SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR) Question: What Player is from Argentina and whose position is a guard-forward? [/INST] SELECT player FROM table_name_9 WHERE position = "guard... |
What School/Club Team played in Toronto during 2012? | CREATE TABLE table_name_43 (school_club_team VARCHAR, years_in_toronto VARCHAR) | SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (school_club_team VARCHAR, years_in_toronto VARCHAR) Question: What School/Club Team played in Toronto during 2012? [/INST] SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012... |
What was the result of the syracuse grand prix? | CREATE TABLE table_name_80 (result VARCHAR, event VARCHAR) | SELECT result FROM table_name_80 WHERE event = "syracuse grand prix" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (result VARCHAR, event VARCHAR) Question: What was the result of the syracuse grand prix? [/INST] SELECT result FROM table_name_80 WHERE event = "syracuse grand prix" </s> |
What year has a result of 3 in the venue of Jarama. | CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) | SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) Question: What year has a result of 3 in the venue of Jarama. [/INST] SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" </s> |
Tell me the highest opponents for record of 7-3 and vikings points more than 7 | CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR) | SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR) Question: Tell me the highest opponents for record of 7-3 and vikings points more than 7 [/INST] SELECT MAX(opponents) FROM table_name_97... |
Tell me the most attendance for game less than 1 | CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER) | SELECT MAX(attendance) FROM table_name_15 WHERE game < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER) Question: Tell me the most attendance for game less than 1 [/INST] SELECT MAX(attendance) FROM table_name_15 WHERE game < 1 </s> |
Tell me the surface of 2 december 1974 | CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_58 WHERE date = "2 december 1974" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) Question: Tell me the surface of 2 december 1974 [/INST] SELECT surface FROM table_name_58 WHERE date = "2 december 1974" </s> |
Name the score for moscow, ussr 15 february 1971 | CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR) Question: Name the score for moscow, ussr 15 february 1971 [/INST] SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.