instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)? | CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR) | SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR) Question: What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)? [/INST] SELECT oppositi... |
What is the Season of the game with a Score of 0–2 (a), 3–1 (h)? | CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR) | SELECT season FROM table_name_24 WHERE score = "0–2 (a), 3–1 (h)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR) Question: What is the Season of the game with a Score of 0–2 (a), 3–1 (h)? [/INST] SELECT season FROM table_name_24 WHERE score = "0–2 (a), 3–1 (h)" </s> |
Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka? | CREATE TABLE table_name_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) | SELECT location FROM table_name_83 WHERE year_joined = 1966 AND previous_conference = "noble county" AND school = "wawaka" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) Question: Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of w... |
How much Year Left has a Location of howe? | CREATE TABLE table_name_13 (year_left INTEGER, location VARCHAR) | SELECT SUM(year_left) FROM table_name_13 WHERE location = "howe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (year_left INTEGER, location VARCHAR) Question: How much Year Left has a Location of howe? [/INST] SELECT SUM(year_left) FROM table_name_13 WHERE location = "howe" </s> |
Which School has a Year Left of 1966, and a Mascot of indians? | CREATE TABLE table_name_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_8 WHERE year_left = 1966 AND mascot = "indians" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR) Question: Which School has a Year Left of 1966, and a Mascot of indians? [/INST] SELECT school FROM table_name_8 WHERE year_left = 1966 AND mascot... |
Who was the Elevator of Giacomo Colonna? | CREATE TABLE table_name_21 (elevator VARCHAR, elector VARCHAR) | SELECT elevator FROM table_name_21 WHERE elector = "giacomo colonna" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (elevator VARCHAR, elector VARCHAR) Question: Who was the Elevator of Giacomo Colonna? [/INST] SELECT elevator FROM table_name_21 WHERE elector = "giacomo colonna" </s> |
What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio? | CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR) | SELECT elevated FROM table_name_7 WHERE elevator = "nicholas iii" AND cardinalatial_order_and_title = "cardinal-deacon of s. eustachio" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR) Question: What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eu... |
What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana? | CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) | SELECT elevated FROM table_name_91 WHERE cardinalatial_order_and_title = "cardinal-priest of s. pudenziana" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) Question: What was the date of elevation for the cardinal given the order and title of Cardinal-Priest of S. Pudenziana? [/INST] SELECT ele... |
What are the games behind for the Oklahoma City Thunder division? | CREATE TABLE table_name_49 (games_behind__gb_ VARCHAR, division__div_ VARCHAR) | SELECT games_behind__gb_ FROM table_name_49 WHERE division__div_ = "oklahoma city thunder" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (games_behind__gb_ VARCHAR, division__div_ VARCHAR) Question: What are the games behind for the Oklahoma City Thunder division? [/INST] SELECT games_behind__gb_ FROM table_name_49 WHERE division__d... |
What is the highest elevation of a place where the lowest point is the Allaine River, National border? | CREATE TABLE table_name_93 (highest_elevation VARCHAR, lowest_point VARCHAR) | SELECT highest_elevation FROM table_name_93 WHERE lowest_point = "allaine river, national border" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (highest_elevation VARCHAR, lowest_point VARCHAR) Question: What is the highest elevation of a place where the lowest point is the Allaine River, National border? [/INST] SELECT highest_elevation F... |
What is the lowest elevation value whose highest point is Mont Raimeux? | CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR) | SELECT lowest_elevation FROM table_name_62 WHERE highest_point = "mont raimeux" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (lowest_elevation VARCHAR, highest_point VARCHAR) Question: What is the lowest elevation value whose highest point is Mont Raimeux? [/INST] SELECT lowest_elevation FROM table_name_62 WHERE highest_... |
What rank is Vaud with the lowest point is Lake Geneva? | CREATE TABLE table_name_19 (rank INTEGER, lowest_point VARCHAR, canton VARCHAR) | SELECT SUM(rank) FROM table_name_19 WHERE lowest_point = "lake geneva" AND canton = "vaud" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (rank INTEGER, lowest_point VARCHAR, canton VARCHAR) Question: What rank is Vaud with the lowest point is Lake Geneva? [/INST] SELECT SUM(rank) FROM table_name_19 WHERE lowest_point = "lake geneva"... |
Wich rank is given to the Canton of Schaffhausen? | CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR) | SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR) Question: Wich rank is given to the Canton of Schaffhausen? [/INST] SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen" </s> |
What is the highest elevation for the highest point of Schnebelhorn? | CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR) | SELECT highest_elevation FROM table_name_7 WHERE highest_point = "schnebelhorn" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR) Question: What is the highest elevation for the highest point of Schnebelhorn? [/INST] SELECT highest_elevation FROM table_name_7 WHERE highest_poi... |
What is the Canton of Vaud's highest point? | CREATE TABLE table_name_85 (highest_point VARCHAR, canton VARCHAR) | SELECT highest_point FROM table_name_85 WHERE canton = "vaud" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (highest_point VARCHAR, canton VARCHAR) Question: What is the Canton of Vaud's highest point? [/INST] SELECT highest_point FROM table_name_85 WHERE canton = "vaud" </s> |
What type of ship is a Kobben class vessel that has been in service longer than 2? | CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR) | SELECT type FROM table_name_18 WHERE in_service > 2 AND vessel = "kobben class" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (type VARCHAR, in_service VARCHAR, vessel VARCHAR) Question: What type of ship is a Kobben class vessel that has been in service longer than 2? [/INST] SELECT type FROM table_name_18 WHERE in_servi... |
What is the unit for a submarine type ship from Norway? | CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR) | SELECT unit FROM table_name_74 WHERE type = "submarine" AND origin = "norway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR) Question: What is the unit for a submarine type ship from Norway? [/INST] SELECT unit FROM table_name_74 WHERE type = "submarine" AND origin = "norway" ... |
Who was the opponent with a 32-25 record? | CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_50 WHERE record = "32-25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent with a 32-25 record? [/INST] SELECT opponent FROM table_name_50 WHERE record = "32-25" </s> |
What is the location/ attendance for a 35-28 record? | CREATE TABLE table_name_4 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_4 WHERE record = "35-28" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (location_attendance VARCHAR, record VARCHAR) Question: What is the location/ attendance for a 35-28 record? [/INST] SELECT location_attendance FROM table_name_4 WHERE record = "35-28" </s> |
What is the latest year when Neal Baer was a nominee, and the result was nominated? | CREATE TABLE table_name_38 (year INTEGER, result VARCHAR, nominee_s_ VARCHAR) | SELECT MAX(year) FROM table_name_38 WHERE result = "nominated" AND nominee_s_ = "neal baer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (year INTEGER, result VARCHAR, nominee_s_ VARCHAR) Question: What is the latest year when Neal Baer was a nominee, and the result was nominated? [/INST] SELECT MAX(year) FROM table_name_38 WHERE re... |
That is the total year that Neal Baer is a nominee? | CREATE TABLE table_name_91 (year INTEGER, nominee_s_ VARCHAR) | SELECT SUM(year) FROM table_name_91 WHERE nominee_s_ = "neal baer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (year INTEGER, nominee_s_ VARCHAR) Question: That is the total year that Neal Baer is a nominee? [/INST] SELECT SUM(year) FROM table_name_91 WHERE nominee_s_ = "neal baer" </s> |
For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result? | CREATE TABLE table_name_52 (episode VARCHAR, result VARCHAR, nominee_s_ VARCHAR) | SELECT episode FROM table_name_52 WHERE result = "nominated" AND nominee_s_ = "walon green, joe sachs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (episode VARCHAR, result VARCHAR, nominee_s_ VARCHAR) Question: For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result? [/INST] SELECT episode FROM table_name_52 WHERE re... |
Nominee Neal Baer had what result? | CREATE TABLE table_name_23 (result VARCHAR, nominee_s_ VARCHAR) | SELECT result FROM table_name_23 WHERE nominee_s_ = "neal baer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (result VARCHAR, nominee_s_ VARCHAR) Question: Nominee Neal Baer had what result? [/INST] SELECT result FROM table_name_23 WHERE nominee_s_ = "neal baer" </s> |
What episode after 1998 had John Wells as the nominee? | CREATE TABLE table_name_25 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) | SELECT episode FROM table_name_25 WHERE year > 1998 AND nominee_s_ = "john wells" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) Question: What episode after 1998 had John Wells as the nominee? [/INST] SELECT episode FROM table_name_25 WHERE year > 1998 AND nominee_s_ = "jo... |
Who has the world record of 153kg in the clean & jerk? | CREATE TABLE table_name_27 (world_record VARCHAR) | SELECT 153 AS kg FROM table_name_27 WHERE world_record = "clean & jerk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (world_record VARCHAR) Question: Who has the world record of 153kg in the clean & jerk? [/INST] SELECT 153 AS kg FROM table_name_27 WHERE world_record = "clean & jerk" </s> |
What's the release date for the processor spec number SLBEQ(d0)? | CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR) | SELECT release_date FROM table_name_29 WHERE sspec_number = "slbeq(d0)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR) Question: What's the release date for the processor spec number SLBEQ(d0)? [/INST] SELECT release_date FROM table_name_29 WHERE sspec_number = "slbeq(d0... |
What's the release date of model number CORE I7-940? | CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR) | SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR) Question: What's the release date of model number CORE I7-940? [/INST] SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940" </s> |
What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O? | CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR) | SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = "1 × 6.4 gt/s qpi" AND part_number_s_ = "bx80601975at80601002274aa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR) Question: What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi... |
What's the release price of a processor that has a frequency of 3.2 ghz and 1 × 6.4 gt/s qpi I/O? | CREATE TABLE table_name_76 (release_price___usd__ VARCHAR, frequency VARCHAR, i_o_bus VARCHAR) | SELECT release_price___usd__ FROM table_name_76 WHERE frequency = "3.2 ghz" AND i_o_bus = "1 × 6.4 gt/s qpi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (release_price___usd__ VARCHAR, frequency VARCHAR, i_o_bus VARCHAR) Question: What's the release price of a processor that has a frequency of 3.2 ghz and 1 × 6.4 gt/s qpi I/O? [/INST] SELECT releas... |
What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000? | CREATE TABLE table_name_41 (aids_orphans_as__percentage_of_orphans INTEGER, double__aids_related_ VARCHAR, paternal__total_ VARCHAR) | SELECT SUM(aids_orphans_as__percentage_of_orphans) FROM table_name_41 WHERE double__aids_related_ = "41,000" AND paternal__total_ > 442 OFFSET 000 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (aids_orphans_as__percentage_of_orphans INTEGER, double__aids_related_ VARCHAR, paternal__total_ VARCHAR) Question: What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related)... |
What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000? | CREATE TABLE table_name_66 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR) | SELECT MIN(total_orphans__total_) FROM table_name_66 WHERE total_orphans__aids_related_ = "< 100" AND maternal__total_ < 31 OFFSET 000 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (total_orphans__total_ INTEGER, total_orphans__aids_related_ VARCHAR, maternal__total_ VARCHAR) Question: What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, ... |
What's the term start date for Meretz? | CREATE TABLE table_name_94 (term_start VARCHAR, party VARCHAR) | SELECT term_start FROM table_name_94 WHERE party = "meretz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (term_start VARCHAR, party VARCHAR) Question: What's the term start date for Meretz? [/INST] SELECT term_start FROM table_name_94 WHERE party = "meretz" </s> |
How many clubs are involved when the clubs remaining are 2? | CREATE TABLE table_name_88 (clubs_involved INTEGER, clubs_remaining VARCHAR) | SELECT SUM(clubs_involved) FROM table_name_88 WHERE clubs_remaining = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (clubs_involved INTEGER, clubs_remaining VARCHAR) Question: How many clubs are involved when the clubs remaining are 2? [/INST] SELECT SUM(clubs_involved) FROM table_name_88 WHERE clubs_remaining =... |
How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league? | CREATE TABLE table_name_87 (new_entries_this_round VARCHAR, leagues_entering_at_this_round VARCHAR) | SELECT new_entries_this_round FROM table_name_87 WHERE leagues_entering_at_this_round = "tff third league & turkish regional amateur league" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (new_entries_this_round VARCHAR, leagues_entering_at_this_round VARCHAR) Question: How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league... |
What is the number of clubs remaining in the second round? | CREATE TABLE table_name_65 (clubs_remaining INTEGER, round VARCHAR) | SELECT MIN(clubs_remaining) FROM table_name_65 WHERE round = "second round" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (clubs_remaining INTEGER, round VARCHAR) Question: What is the number of clubs remaining in the second round? [/INST] SELECT MIN(clubs_remaining) FROM table_name_65 WHERE round = "second round" </s... |
Which round has 4 clubs involved? | CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR) | SELECT round FROM table_name_51 WHERE clubs_involved = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR) Question: Which round has 4 clubs involved? [/INST] SELECT round FROM table_name_51 WHERE clubs_involved = 4 </s> |
How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining? | CREATE TABLE table_name_59 (clubs_involved INTEGER, winners_from_previous_round VARCHAR, clubs_remaining VARCHAR) | SELECT MIN(clubs_involved) FROM table_name_59 WHERE winners_from_previous_round = "4" AND clubs_remaining > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (clubs_involved INTEGER, winners_from_previous_round VARCHAR, clubs_remaining VARCHAR) Question: How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs ... |
What is the Away team at the game with a Score of 4 – 2? | CREATE TABLE table_name_29 (away_team VARCHAR, score VARCHAR) | SELECT away_team FROM table_name_29 WHERE score = "4 – 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (away_team VARCHAR, score VARCHAR) Question: What is the Away team at the game with a Score of 4 – 2? [/INST] SELECT away_team FROM table_name_29 WHERE score = "4 – 2" </s> |
What is the Tie no of the game with an Attendance of 4,658? | CREATE TABLE table_name_34 (tie_no VARCHAR, attendance VARCHAR) | SELECT tie_no FROM table_name_34 WHERE attendance = "4,658" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (tie_no VARCHAR, attendance VARCHAR) Question: What is the Tie no of the game with an Attendance of 4,658? [/INST] SELECT tie_no FROM table_name_34 WHERE attendance = "4,658" </s> |
What is the Home team at the Lincoln City Away game? | CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_80 WHERE away_team = "lincoln city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR) Question: What is the Home team at the Lincoln City Away game? [/INST] SELECT home_team FROM table_name_80 WHERE away_team = "lincoln city" </s> |
What is the Away team at the game with a Score of 1 – 0 and Attendance of 1,791? | CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_4 WHERE score = "1 – 0" AND attendance = "1,791" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR, attendance VARCHAR) Question: What is the Away team at the game with a Score of 1 – 0 and Attendance of 1,791? [/INST] SELECT away_team FROM table_name_4 WHERE sco... |
What is the Home team of the game with a Score of 2 – 2? | CREATE TABLE table_name_98 (home_team VARCHAR, score VARCHAR) | SELECT home_team FROM table_name_98 WHERE score = "2 – 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (home_team VARCHAR, score VARCHAR) Question: What is the Home team of the game with a Score of 2 – 2? [/INST] SELECT home_team FROM table_name_98 WHERE score = "2 – 2" </s> |
What is the Attendance of the game with a Score of 0 – 0? | CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_94 WHERE score = "0 – 0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR) Question: What is the Attendance of the game with a Score of 0 – 0? [/INST] SELECT attendance FROM table_name_94 WHERE score = "0 – 0" </s> |
What year had Nintendo EAD, Monolith Soft as developers? | CREATE TABLE table_name_36 (year INTEGER, developer_s_ VARCHAR) | SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = "nintendo ead, monolith soft" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (year INTEGER, developer_s_ VARCHAR) Question: What year had Nintendo EAD, Monolith Soft as developers? [/INST] SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = "nintendo ead, monolith soft... |
what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos? | CREATE TABLE table_name_48 (location VARCHAR, designer VARCHAR, restaurant_name VARCHAR) | SELECT location FROM table_name_48 WHERE designer = "glen peloso" AND restaurant_name = "joe boo's cookoos" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (location VARCHAR, designer VARCHAR, restaurant_name VARCHAR) Question: what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos? [/INST] SELECT location FROM t... |
What year did the team from City of Aurora join? | CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR) | SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE city = "aurora" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR) Question: What year did the team from City of Aurora join? [/INST] SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE city = "aurora" </s... |
What was the total enrollment 08-09 of Franklin County? | CREATE TABLE table_name_93 (enrollment_08_09 VARCHAR, school VARCHAR) | SELECT COUNT(enrollment_08_09) FROM table_name_93 WHERE school = "franklin county" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (enrollment_08_09 VARCHAR, school VARCHAR) Question: What was the total enrollment 08-09 of Franklin County? [/INST] SELECT COUNT(enrollment_08_09) FROM table_name_93 WHERE school = "franklin count... |
What school has a team called the Pirates? | CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR) | SELECT school FROM table_name_79 WHERE team_name = "pirates" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR) Question: What school has a team called the Pirates? [/INST] SELECT school FROM table_name_79 WHERE team_name = "pirates" </s> |
What is the rank of the team with a time of 1:00.61? | CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR) | SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR) Question: What is the rank of the team with a time of 1:00.61? [/INST] SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61" </s> |
What's the lane with a time of 1:00.66? | CREATE TABLE table_name_93 (lane INTEGER, time VARCHAR) | SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (lane INTEGER, time VARCHAR) Question: What's the lane with a time of 1:00.66? [/INST] SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66" </s> |
What's the rank when the time was 59.65? | CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_43 WHERE time = "59.65" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR) Question: What's the rank when the time was 59.65? [/INST] SELECT rank FROM table_name_43 WHERE time = "59.65" </s> |
What is the record when they played New York? | CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_64 WHERE opponent = "new york" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR) Question: What is the record when they played New York? [/INST] SELECT record FROM table_name_64 WHERE opponent = "new york" </s> |
Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma? | CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR) | SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR) Question: Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma? [/INST] SELECT county FROM table_name_2... |
Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? | CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR) | SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR) Question: Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? [/INST] SELECT co... |
Can you tell me the Mascot that has the School of rosedale? | CREATE TABLE table_name_70 (mascot VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_70 WHERE school = "rosedale" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (mascot VARCHAR, school VARCHAR) Question: Can you tell me the Mascot that has the School of rosedale? [/INST] SELECT mascot FROM table_name_70 WHERE school = "rosedale" </s> |
Can you tell me the Conference Joined that has the Mascot of little sycamores? | CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR) | SELECT conference_joined FROM table_name_88 WHERE mascot = "little sycamores" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR) Question: Can you tell me the Conference Joined that has the Mascot of little sycamores? [/INST] SELECT conference_joined FROM table_name_88 WHERE mascot... |
Can you tell me the Location that has the Mascot of lakers? | CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR) | SELECT location FROM table_name_69 WHERE mascot = "lakers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR) Question: Can you tell me the Location that has the Mascot of lakers? [/INST] SELECT location FROM table_name_69 WHERE mascot = "lakers" </s> |
What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph? | CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR) | SELECT time FROM table_name_55 WHERE team = "348cc k4 honda" AND speed = "97.743mph" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR) Question: What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph? [/INST] SELECT time FROM table_name_55 WHERE team = "348c... |
What is the Lane of the swimmer with a Time of 8:34.25? | CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR) | SELECT lane FROM table_name_30 WHERE time = "8:34.25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR) Question: What is the Lane of the swimmer with a Time of 8:34.25? [/INST] SELECT lane FROM table_name_30 WHERE time = "8:34.25" </s> |
What is the Name of the swimmer with a Time of 9:04.86 in Heat 2? | CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR) | SELECT name FROM table_name_40 WHERE heat = 2 AND time = "9:04.86" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR) Question: What is the Name of the swimmer with a Time of 9:04.86 in Heat 2? [/INST] SELECT name FROM table_name_40 WHERE heat = 2 AND time = "9:04.86" </s... |
What is the Location of the Event in Round 1 with a Time of 1:25? | CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, time VARCHAR) | SELECT location FROM table_name_21 WHERE round = 1 AND time = "1:25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, time VARCHAR) Question: What is the Location of the Event in Round 1 with a Time of 1:25? [/INST] SELECT location FROM table_name_21 WHERE round = 1 AND time = "1:... |
What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf? | CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR) | SELECT AVG(goals) FROM table_name_52 WHERE last_appearance < 1984 AND appearances > 17 AND first_appearance < 1961 AND position = "mf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR) Question: What is the average goals when the last appearance was before 1984, there were mo... |
what is the school that left in 1966? | CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR) | SELECT school FROM table_name_18 WHERE year_left = 1966 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR) Question: what is the school that left in 1966? [/INST] SELECT school FROM table_name_18 WHERE year_left = 1966 </s> |
what is the mascot for moores hill that joined later than 1952? | CREATE TABLE table_name_19 (mascot VARCHAR, year_joined VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_19 WHERE year_joined > 1952 AND school = "moores hill" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (mascot VARCHAR, year_joined VARCHAR, school VARCHAR) Question: what is the mascot for moores hill that joined later than 1952? [/INST] SELECT mascot FROM table_name_19 WHERE year_joined > 1952 AND... |
what is the conference joined for the county 69 ripley in 1952 in versailles? | CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR) | SELECT conference_joined FROM table_name_58 WHERE county = "69 ripley" AND year_joined = 1952 AND location = "versailles" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR) Question: what is the conference joined for the county 69 ripley in 1952 in versailles? [/INST] SELECT conference_... |
who is the mascot of the county 78 switzerland? | CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR) | SELECT mascot FROM table_name_91 WHERE county = "78 switzerland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR) Question: who is the mascot of the county 78 switzerland? [/INST] SELECT mascot FROM table_name_91 WHERE county = "78 switzerland" </s> |
What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8? | CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR) Question: What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8? [/INST] SELECT COUNT(time... |
What is the total react number with a time less than 20.05 and a lane less than 6? | CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR) | SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR) Question: What is the total react number with a time less than 20.05 and a lane less than 6? [/INST] SELECT COUNT(react) FROM table_name_53 WHERE time < ... |
What is the average react of bryan barnett, who has a lane less than 2? | CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR) | SELECT AVG(react) FROM table_name_59 WHERE name = "bryan barnett" AND lane < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR) Question: What is the average react of bryan barnett, who has a lane less than 2? [/INST] SELECT AVG(react) FROM table_name_59 WHERE name = "bryan barnet... |
What year did the Hornets leave the conference? | CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) | SELECT year_left FROM table_name_68 WHERE team_name = "hornets" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) Question: What year did the Hornets leave the conference? [/INST] SELECT year_left FROM table_name_68 WHERE team_name = "hornets" </s> |
In what city was the team that left the conference in 1949 based? | CREATE TABLE table_name_65 (city VARCHAR, year_left VARCHAR) | SELECT city FROM table_name_65 WHERE year_left = "1949" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (city VARCHAR, year_left VARCHAR) Question: In what city was the team that left the conference in 1949 based? [/INST] SELECT city FROM table_name_65 WHERE year_left = "1949" </s> |
What year did the team based in the city of Winamac join the conference? | CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR) | SELECT year_joined FROM table_name_6 WHERE city = "winamac" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR) Question: What year did the team based in the city of Winamac join the conference? [/INST] SELECT year_joined FROM table_name_6 WHERE city = "winamac" </s> |
From what county was the team that left the conference in 1993? | CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR) | SELECT county FROM table_name_3 WHERE year_left = "1993" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR) Question: From what county was the team that left the conference in 1993? [/INST] SELECT county FROM table_name_3 WHERE year_left = "1993" </s> |
From what school was the team that left the conference in 1992? | CREATE TABLE table_name_63 (school VARCHAR, year_left VARCHAR) | SELECT school FROM table_name_63 WHERE year_left = "1992" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (school VARCHAR, year_left VARCHAR) Question: From what school was the team that left the conference in 1992? [/INST] SELECT school FROM table_name_63 WHERE year_left = "1992" </s> |
In what year did the team from the Western school join the conference? | CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR) | SELECT year_joined FROM table_name_10 WHERE school = "western" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR) Question: In what year did the team from the Western school join the conference? [/INST] SELECT year_joined FROM table_name_10 WHERE school = "western" </s> |
What is the place when less than 1 point is scored? | CREATE TABLE table_name_77 (place INTEGER, points INTEGER) | SELECT AVG(place) FROM table_name_77 WHERE points < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (place INTEGER, points INTEGER) Question: What is the place when less than 1 point is scored? [/INST] SELECT AVG(place) FROM table_name_77 WHERE points < 1 </s> |
What is the highest draw number when 23 points are scored? | CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR) | SELECT MAX(draw) FROM table_name_36 WHERE points = 23 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR) Question: What is the highest draw number when 23 points are scored? [/INST] SELECT MAX(draw) FROM table_name_36 WHERE points = 23 </s> |
What is the lowest heat that had a time of 1:02.85 in a lane larger than 7? | CREATE TABLE table_name_40 (heat INTEGER, time VARCHAR, lane VARCHAR) | SELECT MIN(heat) FROM table_name_40 WHERE time = "1:02.85" AND lane > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (heat INTEGER, time VARCHAR, lane VARCHAR) Question: What is the lowest heat that had a time of 1:02.85 in a lane larger than 7? [/INST] SELECT MIN(heat) FROM table_name_40 WHERE time = "1:02.85" A... |
What is the sum of the lanes before heat 7 that elizabeth simmonds swam? | CREATE TABLE table_name_75 (lane INTEGER, heat VARCHAR, name VARCHAR) | SELECT SUM(lane) FROM table_name_75 WHERE heat < 7 AND name = "elizabeth simmonds" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (lane INTEGER, heat VARCHAR, name VARCHAR) Question: What is the sum of the lanes before heat 7 that elizabeth simmonds swam? [/INST] SELECT SUM(lane) FROM table_name_75 WHERE heat < 7 AND name = "... |
What's the Südbayern in 1928? | CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR) | SELECT südbayern FROM table_name_27 WHERE year = 1928 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR) Question: What's the Südbayern in 1928? [/INST] SELECT südbayern FROM table_name_27 WHERE year = 1928 </s> |
What's the Württemberg for Karlsruher FV happening after 1931? | CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR) | SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher fv" AND year > 1931 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR) Question: What's the Württemberg for Karlsruher FV happening after 1931? [/INST] SELECT württemberg FROM table_name_51 WHERE baden = "karlsruher f... |
What's the year that has a Baden Freiburger FC? | CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR) | SELECT COUNT(year) FROM table_name_78 WHERE baden = "freiburger fc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR) Question: What's the year that has a Baden Freiburger FC? [/INST] SELECT COUNT(year) FROM table_name_78 WHERE baden = "freiburger fc" </s> |
What's the Württemberg in the year before 1929? | CREATE TABLE table_name_42 (württemberg VARCHAR, year INTEGER) | SELECT württemberg FROM table_name_42 WHERE year < 1929 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (württemberg VARCHAR, year INTEGER) Question: What's the Württemberg in the year before 1929? [/INST] SELECT württemberg FROM table_name_42 WHERE year < 1929 </s> |
What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932? | CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR) | SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR) Question: What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932? [/INST] SELECT nordbayern FROM table_name_92 W... |
What was the high rebounds for the game that had a score of w 76-66? | CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR) Question: What was the high rebounds for the game that had a score of w 76-66? [/INST] SELECT high_rebounds FROM table_name_83 WHERE score = "w 76-66" </s> |
What was the location/attendance for the game with a record of 16-6? | CREATE TABLE table_name_79 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_79 WHERE record = "16-6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (location_attendance VARCHAR, record VARCHAR) Question: What was the location/attendance for the game with a record of 16-6? [/INST] SELECT location_attendance FROM table_name_79 WHERE record = "16... |
What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh? | CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_24 WHERE lane > 1 AND rank > 5 AND name = "hsu chi-chieh" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR) Question: What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh? [/INST] SELECT nationality ... |
What is the lane with a time of 1:56.64, and a tank smaller than 7? | CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR) | SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND rank < 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR) Question: What is the lane with a time of 1:56.64, and a tank smaller than 7? [/INST] SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND ran... |
What is the rank of Japan? | CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR) | SELECT rank FROM table_name_84 WHERE nationality = "japan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR) Question: What is the rank of Japan? [/INST] SELECT rank FROM table_name_84 WHERE nationality = "japan" </s> |
What is the time for Russia? | CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_54 WHERE nationality = "russia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR) Question: What is the time for Russia? [/INST] SELECT time FROM table_name_54 WHERE nationality = "russia" </s> |
What nation has more than 0 silver medals and is ranked 1? | CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR) Question: What nation has more than 0 silver medals and is ranked 1? [/INST] SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1" </s> |
What is the rank of the country with total more than 3 and more than 6 silver? | CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR) Question: What is the rank of the country with total more than 3 and more than 6 silver? [/INST] SELECT rank FROM table_name_66 WHERE total > 3 AND sil... |
What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total? | CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 12 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR) Question: What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the t... |
What nation has a total less than 11, more than 1 silver and less than 1 bronze? | CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_58 WHERE total < 11 AND silver < 1 AND bronze < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) Question: What nation has a total less than 11, more than 1 silver and less than 1 bronze? [/INST] SELECT nation FROM table_name_58 W... |
What is the most silver won by Norway? | CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR) | SELECT MAX(silver) FROM table_name_76 WHERE nation = "norway" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR) Question: What is the most silver won by Norway? [/INST] SELECT MAX(silver) FROM table_name_76 WHERE nation = "norway" </s> |
What district has a constituency of 60? | CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR) | SELECT district FROM table_name_27 WHERE constituency_number = "60" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR) Question: What district has a constituency of 60? [/INST] SELECT district FROM table_name_27 WHERE constituency_number = "60" </s> |
What is district has a name of Rajnagar? | CREATE TABLE table_name_88 (district VARCHAR, name VARCHAR) | SELECT district FROM table_name_88 WHERE name = "rajnagar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (district VARCHAR, name VARCHAR) Question: What is district has a name of Rajnagar? [/INST] SELECT district FROM table_name_88 WHERE name = "rajnagar" </s> |
What was the score for the away team of Brentford? | CREATE TABLE table_name_25 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_25 WHERE away_team = "brentford" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (score VARCHAR, away_team VARCHAR) Question: What was the score for the away team of Brentford? [/INST] SELECT score FROM table_name_25 WHERE away_team = "brentford" </s> |
What was the score of the tied game or the away team of Crewe Alexandra? | CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_13 WHERE away_team = "crewe alexandra" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR) Question: What was the score of the tied game or the away team of Crewe Alexandra? [/INST] SELECT tie_no FROM table_name_13 WHERE away_team = "crewe alexandra" <... |
What was the date of the game for the Wrexham away team? | CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_17 WHERE away_team = "wrexham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) Question: What was the date of the game for the Wrexham away team? [/INST] SELECT date FROM table_name_17 WHERE away_team = "wrexham" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.