instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What is the 3rd day result for years under 2012 and a finish position of 33rd? | CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR) | SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = "33rd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR) Question: What is the 3rd day result for years under 2012 and a finish position of 33rd? [/INST] SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND ... |
For the vessel with a listed In service of 1, what is the origin given? | CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR) | SELECT origin FROM table_name_57 WHERE in_service = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR) Question: For the vessel with a listed In service of 1, what is the origin given? [/INST] SELECT origin FROM table_name_57 WHERE in_service = 1 </s> |
What is the lowest listed In service for a vessel of xavery czernicki class? | CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR) | SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR) Question: What is the lowest listed In service for a vessel of xavery czernicki class? [/INST] SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery ... |
Which vessel has a type of logistic support? | CREATE TABLE table_name_72 (vessel VARCHAR, type VARCHAR) | SELECT vessel FROM table_name_72 WHERE type = "logistic support" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (vessel VARCHAR, type VARCHAR) Question: Which vessel has a type of logistic support? [/INST] SELECT vessel FROM table_name_72 WHERE type = "logistic support" </s> |
What is the type for a vessel of lublin class? | CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR) | SELECT type FROM table_name_77 WHERE vessel = "lublin class" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR) Question: What is the type for a vessel of lublin class? [/INST] SELECT type FROM table_name_77 WHERE vessel = "lublin class" </s> |
What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron? | CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR) | SELECT MAX(in_service) FROM table_name_37 WHERE unit = "12th minesweeper squadron" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR) Question: What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron? [/INST] SELECT MAX(in_service) FROM table_name_37 WHERE uni... |
What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)? | CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR) | SELECT type FROM table_name_49 WHERE unit = "naval base swinoujscie (auxiliary squadron)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR) Question: What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)? [/INST] SELECT type FROM table_name_49 WHERE unit = "naval ba... |
Which rider was on the 600cc Yamaha team? | CREATE TABLE table_name_44 (rider VARCHAR, team VARCHAR) | SELECT rider FROM table_name_44 WHERE team = "600cc yamaha" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (rider VARCHAR, team VARCHAR) Question: Which rider was on the 600cc Yamaha team? [/INST] SELECT rider FROM table_name_44 WHERE team = "600cc yamaha" </s> |
What was John Hildreth's speed? | CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR) | SELECT speed FROM table_name_55 WHERE rider = "john hildreth" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR) Question: What was John Hildreth's speed? [/INST] SELECT speed FROM table_name_55 WHERE rider = "john hildreth" </s> |
What is the average draw number of an entrant with a time of 22:29? | CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR) | SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR) Question: What is the average draw number of an entrant with a time of 22:29? [/INST] SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29" </s> |
What is Mark Henry's brand? | CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR) | SELECT brand FROM table_name_28 WHERE entrant = "mark henry" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR) Question: What is Mark Henry's brand? [/INST] SELECT brand FROM table_name_28 WHERE entrant = "mark henry" </s> |
Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking? | CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR) | SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR) Question: Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking? [/... |
How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America? | CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR) | SELECT SUM(countries_sampled) FROM table_name_71 WHERE year_of_publication = "2010" AND world_ranking__1_ = "33" AND ranking_in_latin_america__2_ < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR) Question: How many countries sampled has a world ranking of 33 in 2010 and ... |
What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America? | CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR) | SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR) Question: What's the world ranking in 2011 having more than 142 countries s... |
What home team has a tie no of 20? | CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_44 WHERE tie_no = "20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR) Question: What home team has a tie no of 20? [/INST] SELECT home_team FROM table_name_44 WHERE tie_no = "20" </s> |
What date was the score 3–3, and away team was Barnet? | CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR) Question: What date was the score 3–3, and away team was Barnet? [/INST] SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet"... |
What is the Tie no when Wimbledon is the home team? | CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) Question: What is the Tie no when Wimbledon is the home team? [/INST] SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon" </s> |
What is the score when the Tie no is replay, and the away team is York City? | CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) Question: What is the score when the Tie no is replay, and the away team is York City? [/INST] SELECT score FROM table_name_43 WHERE tie_no = "rep... |
What is the Tie no when Chester is the away team? | CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_83 WHERE away_team = "chester" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR) Question: What is the Tie no when Chester is the away team? [/INST] SELECT tie_no FROM table_name_83 WHERE away_team = "chester" </s> |
What is the broadcast date of the episode with 9.65 million viewers? | CREATE TABLE table_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR) | SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR) Question: What is the broadcast date of the episode with 9.65 million viewers? [/INST] SELECT broadcast_date FROM table_name_39 WHERE viewers... |
What is the lowest viewership in millions of the episode broadcast on 7 September 2001? | CREATE TABLE table_name_54 (viewership__millions_ INTEGER, broadcast_date VARCHAR) | SELECT MIN(viewership__millions_) FROM table_name_54 WHERE broadcast_date = "7 september 2001" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (viewership__millions_ INTEGER, broadcast_date VARCHAR) Question: What is the lowest viewership in millions of the episode broadcast on 7 September 2001? [/INST] SELECT MIN(viewership__millions_) F... |
What is the episode number of the episode broadcast on 21 September 2001? | CREATE TABLE table_name_79 (episode_number VARCHAR, broadcast_date VARCHAR) | SELECT episode_number FROM table_name_79 WHERE broadcast_date = "21 september 2001" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (episode_number VARCHAR, broadcast_date VARCHAR) Question: What is the episode number of the episode broadcast on 21 September 2001? [/INST] SELECT episode_number FROM table_name_79 WHERE broadcast... |
How many times is the points 8 and the place larger than 8? | CREATE TABLE table_name_65 (draw VARCHAR, points VARCHAR, place VARCHAR) | SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AND place > 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (draw VARCHAR, points VARCHAR, place VARCHAR) Question: How many times is the points 8 and the place larger than 8? [/INST] SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AND place > 8 </s> |
what is the average draw when the place is 5 and points more than 15? | CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR, points VARCHAR) | SELECT AVG(draw) FROM table_name_62 WHERE place = 5 AND points > 15 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR, points VARCHAR) Question: what is the average draw when the place is 5 and points more than 15? [/INST] SELECT AVG(draw) FROM table_name_62 WHERE place = 5 AND points ... |
what is the highest draw when points is less than 11 and language is norwegian? | CREATE TABLE table_name_54 (draw INTEGER, points VARCHAR, language VARCHAR) | SELECT MAX(draw) FROM table_name_54 WHERE points < 11 AND language = "norwegian" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (draw INTEGER, points VARCHAR, language VARCHAR) Question: what is the highest draw when points is less than 11 and language is norwegian? [/INST] SELECT MAX(draw) FROM table_name_54 WHERE points <... |
What is the total number of picks from the PBA team of purefoods tender juicy hotdogs? | CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR) | SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "purefoods tender juicy hotdogs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR) Question: What is the total number of picks from the PBA team of purefoods tender juicy hotdogs? [/INST] SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "pur... |
What is the pba team for the player who went to santo tomas college? | CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR) | SELECT pba_team FROM table_name_50 WHERE college = "santo tomas" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (pba_team VARCHAR, college VARCHAR) Question: What is the pba team for the player who went to santo tomas college? [/INST] SELECT pba_team FROM table_name_50 WHERE college = "santo tomas" </s> |
What is the PBA team for roberto jabar who was picked before number 11? | CREATE TABLE table_name_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR) | SELECT pba_team FROM table_name_41 WHERE pick < 11 AND player = "roberto jabar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (pba_team VARCHAR, pick VARCHAR, player VARCHAR) Question: What is the PBA team for roberto jabar who was picked before number 11? [/INST] SELECT pba_team FROM table_name_41 WHERE pick < 11 AND pla... |
What is the Most Spoken language in the Place with Code 70403 with an Area (km 2) larger than 3.79 and a Population larger than 73,283? | CREATE TABLE table_name_91 (most_spoken_language VARCHAR, population VARCHAR, code VARCHAR, area__km_2__ VARCHAR) | SELECT most_spoken_language FROM table_name_91 WHERE code > 70403 AND area__km_2__ > 3.79 AND population > 73 OFFSET 283 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (most_spoken_language VARCHAR, population VARCHAR, code VARCHAR, area__km_2__ VARCHAR) Question: What is the Most Spoken language in the Place with Code 70403 with an Area (km 2) larger than 3.79 a... |
What is the Population of the Place with an Area (km 2) larger than 498.77? | CREATE TABLE table_name_51 (population VARCHAR, area__km_2__ INTEGER) | SELECT COUNT(population) FROM table_name_51 WHERE area__km_2__ > 498.77 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (population VARCHAR, area__km_2__ INTEGER) Question: What is the Population of the Place with an Area (km 2) larger than 498.77? [/INST] SELECT COUNT(population) FROM table_name_51 WHERE area__km_2... |
What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than 5.97? | CREATE TABLE table_name_66 (population INTEGER, place VARCHAR, code VARCHAR, area__km_2__ VARCHAR) | SELECT MIN(population) FROM table_name_66 WHERE code < 70409 AND area__km_2__ < 5.97 AND place = "tshepiso" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (population INTEGER, place VARCHAR, code VARCHAR, area__km_2__ VARCHAR) Question: What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than 5.97? [/INST] SE... |
What the time of Paul Hession with more than an 0.187 react? | CREATE TABLE table_name_76 (time VARCHAR, react VARCHAR, athlete VARCHAR) | SELECT time FROM table_name_76 WHERE react > 0.187 AND athlete = "paul hession" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (time VARCHAR, react VARCHAR, athlete VARCHAR) Question: What the time of Paul Hession with more than an 0.187 react? [/INST] SELECT time FROM table_name_76 WHERE react > 0.187 AND athlete = "paul ... |
What's the lane number when time was 20.45 and the react was less than 0.164? | CREATE TABLE table_name_85 (lane INTEGER, react VARCHAR, time VARCHAR) | SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 AND time = "20.45" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (lane INTEGER, react VARCHAR, time VARCHAR) Question: What's the lane number when time was 20.45 and the react was less than 0.164? [/INST] SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 A... |
what is 1958 when 1957 is 2 and 1956 is 3? | CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (Id VARCHAR) Question: what is 1958 when 1957 is 2 and 1956 is 3? [/INST] SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "3" </s> |
what is 1955 when 1961 is n/a? | CREATE TABLE table_name_78 (Id VARCHAR) | SELECT 1955 FROM table_name_78 WHERE 1961 = "n/a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (Id VARCHAR) Question: what is 1955 when 1961 is n/a? [/INST] SELECT 1955 FROM table_name_78 WHERE 1961 = "n/a" </s> |
What date has 7 as the tie no.? | CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_80 WHERE tie_no = "7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR) Question: What date has 7 as the tie no.? [/INST] SELECT date FROM table_name_80 WHERE tie_no = "7" </s> |
Which year was held in beijing? | CREATE TABLE table_name_87 (year VARCHAR, venue VARCHAR) | SELECT year FROM table_name_87 WHERE venue = "beijing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (year VARCHAR, venue VARCHAR) Question: Which year was held in beijing? [/INST] SELECT year FROM table_name_87 WHERE venue = "beijing" </s> |
How many years had a Venue of eindhoven? | CREATE TABLE table_name_88 (year VARCHAR, venue VARCHAR) | SELECT COUNT(year) FROM table_name_88 WHERE venue = "eindhoven" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (year VARCHAR, venue VARCHAR) Question: How many years had a Venue of eindhoven? [/INST] SELECT COUNT(year) FROM table_name_88 WHERE venue = "eindhoven" </s> |
Which Competition has a Venue of manchester in 2009? | CREATE TABLE table_name_92 (competition VARCHAR, venue VARCHAR, year VARCHAR) | SELECT competition FROM table_name_92 WHERE venue = "manchester" AND year = 2009 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (competition VARCHAR, venue VARCHAR, year VARCHAR) Question: Which Competition has a Venue of manchester in 2009? [/INST] SELECT competition FROM table_name_92 WHERE venue = "manchester" AND year =... |
Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester? | CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR) | SELECT year FROM table_name_4 WHERE position = "2nd" AND notes = "-63kg" AND venue = "manchester" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR) Question: Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester? [/INST] SELECT year FROM table_name_4 WHERE ... |
Name the the Best of rodolfo lavín | CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_12 WHERE name = "rodolfo lavín" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR) Question: Name the the Best of rodolfo lavín [/INST] SELECT best FROM table_name_12 WHERE name = "rodolfo lavín" </s> |
Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073? | CREATE TABLE table_name_15 (qual_2 VARCHAR, team VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_15 WHERE team = "american spirit team johansson" AND best = "59.073" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (qual_2 VARCHAR, team VARCHAR, best VARCHAR) Question: Name the Qual 2 of a Team of american spirit team johansson and a Best of 59.073? [/INST] SELECT qual_2 FROM table_name_15 WHERE team = "ameri... |
Name the Best which has a Qual 2 of 58.700? | CREATE TABLE table_name_47 (best VARCHAR, qual_2 VARCHAR) | SELECT best FROM table_name_47 WHERE qual_2 = "58.700" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (best VARCHAR, qual_2 VARCHAR) Question: Name the Best which has a Qual 2 of 58.700? [/INST] SELECT best FROM table_name_47 WHERE qual_2 = "58.700" </s> |
Which Qual 1 has a Qual 2 of 58.861? | CREATE TABLE table_name_98 (qual_1 VARCHAR, qual_2 VARCHAR) | SELECT qual_1 FROM table_name_98 WHERE qual_2 = "58.861" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (qual_1 VARCHAR, qual_2 VARCHAR) Question: Which Qual 1 has a Qual 2 of 58.861? [/INST] SELECT qual_1 FROM table_name_98 WHERE qual_2 = "58.861" </s> |
Which Qual 1 has a Qual 2 of 59.822? | CREATE TABLE table_name_76 (qual_1 VARCHAR, qual_2 VARCHAR) | SELECT qual_1 FROM table_name_76 WHERE qual_2 = "59.822" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (qual_1 VARCHAR, qual_2 VARCHAR) Question: Which Qual 1 has a Qual 2 of 59.822? [/INST] SELECT qual_1 FROM table_name_76 WHERE qual_2 = "59.822" </s> |
Which Qual 1 has a Team of team player's, and a Best of 58.405? | CREATE TABLE table_name_91 (qual_1 VARCHAR, team VARCHAR, best VARCHAR) | SELECT qual_1 FROM table_name_91 WHERE team = "team player's" AND best = "58.405" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (qual_1 VARCHAR, team VARCHAR, best VARCHAR) Question: Which Qual 1 has a Team of team player's, and a Best of 58.405? [/INST] SELECT qual_1 FROM table_name_91 WHERE team = "team player's" AND best... |
what is the height (m) when the nation is sweden (swe) and the weight (kg) is 102? | CREATE TABLE table_name_19 (height__m_ VARCHAR, nation VARCHAR, weight__kg_ VARCHAR) | SELECT height__m_ FROM table_name_19 WHERE nation = "sweden (swe)" AND weight__kg_ = "102" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (height__m_ VARCHAR, nation VARCHAR, weight__kg_ VARCHAR) Question: what is the height (m) when the nation is sweden (swe) and the weight (kg) is 102? [/INST] SELECT height__m_ FROM table_name_19 W... |
what is the nation when the world rank is 2 and the birth date is 1976-12-20? | CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) | SELECT nation FROM table_name_35 WHERE world_rank = "2" AND birth_date = "1976-12-20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) Question: what is the nation when the world rank is 2 and the birth date is 1976-12-20? [/INST] SELECT nation FROM table_name_35 WHERE world... |
what is the nation when the world rank is 6 and the birth date is 1971-07-31? | CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) | SELECT nation FROM table_name_88 WHERE world_rank = "6" AND birth_date = "1971-07-31" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) Question: what is the nation when the world rank is 6 and the birth date is 1971-07-31? [/INST] SELECT nation FROM table_name_88 WHERE world... |
what is the birth date when the weight (kg) is 100 and the world rank is 2? | CREATE TABLE table_name_3 (birth_date VARCHAR, weight__kg_ VARCHAR, world_rank VARCHAR) | SELECT birth_date FROM table_name_3 WHERE weight__kg_ = "100" AND world_rank = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (birth_date VARCHAR, weight__kg_ VARCHAR, world_rank VARCHAR) Question: what is the birth date when the weight (kg) is 100 and the world rank is 2? [/INST] SELECT birth_date FROM table_name_3 WHERE ... |
what is the nation when the height (m) is 1.91 and the weight (kg) is 99? | CREATE TABLE table_name_83 (nation VARCHAR, height__m_ VARCHAR, weight__kg_ VARCHAR) | SELECT nation FROM table_name_83 WHERE height__m_ = "1.91" AND weight__kg_ = "99" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (nation VARCHAR, height__m_ VARCHAR, weight__kg_ VARCHAR) Question: what is the nation when the height (m) is 1.91 and the weight (kg) is 99? [/INST] SELECT nation FROM table_name_83 WHERE height__... |
what is the height (m) when the birth date is 1968-07-01? | CREATE TABLE table_name_89 (height__m_ VARCHAR, birth_date VARCHAR) | SELECT height__m_ FROM table_name_89 WHERE birth_date = "1968-07-01" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (height__m_ VARCHAR, birth_date VARCHAR) Question: what is the height (m) when the birth date is 1968-07-01? [/INST] SELECT height__m_ FROM table_name_89 WHERE birth_date = "1968-07-01" </s> |
What is the nationality of the athlete with a time of 2:12.56? | CREATE TABLE table_name_80 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_80 WHERE time = "2:12.56" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (nationality VARCHAR, time VARCHAR) Question: What is the nationality of the athlete with a time of 2:12.56? [/INST] SELECT nationality FROM table_name_80 WHERE time = "2:12.56" </s> |
What time did Sara Nordenstam get? | CREATE TABLE table_name_40 (time VARCHAR, name VARCHAR) | SELECT time FROM table_name_40 WHERE name = "sara nordenstam" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (time VARCHAR, name VARCHAR) Question: What time did Sara Nordenstam get? [/INST] SELECT time FROM table_name_40 WHERE name = "sara nordenstam" </s> |
What nationality is Jessica Pengelly? | CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR) Question: What nationality is Jessica Pengelly? [/INST] SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly" </s> |
What league apps with 1 flt apps, 0 goals, and more than 1 league goals? | CREATE TABLE table_name_38 (league_apps VARCHAR, league_goals VARCHAR, flt_apps VARCHAR, total_goals VARCHAR) | SELECT league_apps FROM table_name_38 WHERE flt_apps = "1" AND total_goals > 0 AND league_goals > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (league_apps VARCHAR, league_goals VARCHAR, flt_apps VARCHAR, total_goals VARCHAR) Question: What league apps with 1 flt apps, 0 goals, and more than 1 league goals? [/INST] SELECT league_apps FROM... |
What is the total number of league goals for Simon Charlton? | CREATE TABLE table_name_14 (league_goals VARCHAR, name VARCHAR) | SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (league_goals VARCHAR, name VARCHAR) Question: What is the total number of league goals for Simon Charlton? [/INST] SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton" </s> |
What was the place when the score was 65-70-72=207? | CREATE TABLE table_name_35 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_35 WHERE score = 65 - 70 - 72 = 207 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (place VARCHAR, score VARCHAR) Question: What was the place when the score was 65-70-72=207? [/INST] SELECT place FROM table_name_35 WHERE score = 65 - 70 - 72 = 207 </s> |
What was the score for place 4? | CREATE TABLE table_name_21 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_21 WHERE place = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (score VARCHAR, place VARCHAR) Question: What was the score for place 4? [/INST] SELECT score FROM table_name_21 WHERE place = "4" </s> |
Who scored 67-73-70=210? | CREATE TABLE table_name_93 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (player VARCHAR, score VARCHAR) Question: Who scored 67-73-70=210? [/INST] SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210 </s> |
What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion? | CREATE TABLE table_name_61 (poles INTEGER, position VARCHAR, wins VARCHAR, top_5 VARCHAR) | SELECT MIN(poles) FROM table_name_61 WHERE wins = 0 AND top_5 = 0 AND position = "66th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (poles INTEGER, position VARCHAR, wins VARCHAR, top_5 VARCHAR) Question: What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion? [/INST] SELECT MIN(poles) FROM tabl... |
Who was the music director in 1971 for the movie Kalyani? | CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR) | SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR) Question: Who was the music director in 1971 for the movie Kalyani? [/INST] SELECT Music AS director FROM table_name_7 WHERE year = 1971 AN... |
Which county has a median family income of $50,227? | CREATE TABLE table_name_99 (county VARCHAR, median_family_income VARCHAR) | SELECT county FROM table_name_99 WHERE median_family_income = "$50,227" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (county VARCHAR, median_family_income VARCHAR) Question: Which county has a median family income of $50,227? [/INST] SELECT county FROM table_name_99 WHERE median_family_income = "$50,227" </s> |
What is the tournament when 2010 is not held? | CREATE TABLE table_name_86 (tournament VARCHAR) | SELECT tournament FROM table_name_86 WHERE 2010 = "not held" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (tournament VARCHAR) Question: What is the tournament when 2010 is not held? [/INST] SELECT tournament FROM table_name_86 WHERE 2010 = "not held" </s> |
What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? | CREATE TABLE table_name_98 (Id VARCHAR) | SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (Id VARCHAR) Question: What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? [/INST] SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 =... |
What is the tournament when 2010 is q2, and 2009 is 1r? | CREATE TABLE table_name_93 (tournament VARCHAR) | SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "1r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (tournament VARCHAR) Question: What is the tournament when 2010 is q2, and 2009 is 1r? [/INST] SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "1r" </s> |
What is the tournament when 2007 is WTA Premier 5 tournaments? | CREATE TABLE table_name_26 (tournament VARCHAR) | SELECT tournament FROM table_name_26 WHERE 2007 = "wta premier 5 tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (tournament VARCHAR) Question: What is the tournament when 2007 is WTA Premier 5 tournaments? [/INST] SELECT tournament FROM table_name_26 WHERE 2007 = "wta premier 5 tournaments" </s> |
What is the tournament when 2012 is q2? | CREATE TABLE table_name_64 (tournament VARCHAR) | SELECT tournament FROM table_name_64 WHERE 2012 = "q2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (tournament VARCHAR) Question: What is the tournament when 2012 is q2? [/INST] SELECT tournament FROM table_name_64 WHERE 2012 = "q2" </s> |
What shows for 2008 when 2010 is 138? | CREATE TABLE table_name_2 (Id VARCHAR) | SELECT 2008 FROM table_name_2 WHERE 2010 = "138" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (Id VARCHAR) Question: What shows for 2008 when 2010 is 138? [/INST] SELECT 2008 FROM table_name_2 WHERE 2010 = "138" </s> |
Which country timed at 7:03.91? | CREATE TABLE table_name_55 (country VARCHAR, time VARCHAR) | SELECT country FROM table_name_55 WHERE time = "7:03.91" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (country VARCHAR, time VARCHAR) Question: Which country timed at 7:03.91? [/INST] SELECT country FROM table_name_55 WHERE time = "7:03.91" </s> |
What did Denmark time at? | CREATE TABLE table_name_87 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_87 WHERE country = "denmark" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (time VARCHAR, country VARCHAR) Question: What did Denmark time at? [/INST] SELECT time FROM table_name_87 WHERE country = "denmark" </s> |
What was the internet explorer % when firefox was 24.98%? | CREATE TABLE table_name_47 (internet_explorer VARCHAR, firefox VARCHAR) | SELECT internet_explorer FROM table_name_47 WHERE firefox = "24.98%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (internet_explorer VARCHAR, firefox VARCHAR) Question: What was the internet explorer % when firefox was 24.98%? [/INST] SELECT internet_explorer FROM table_name_47 WHERE firefox = "24.98%" </s> |
What was the percentage of firefox was chrome was 23.90% | CREATE TABLE table_name_95 (firefox VARCHAR, chrome VARCHAR) | SELECT firefox FROM table_name_95 WHERE chrome = "23.90%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (firefox VARCHAR, chrome VARCHAR) Question: What was the percentage of firefox was chrome was 23.90% [/INST] SELECT firefox FROM table_name_95 WHERE chrome = "23.90%" </s> |
What was the percentage of safari when internet explorer was 20.27%? | CREATE TABLE table_name_98 (safari VARCHAR, internet_explorer VARCHAR) | SELECT safari FROM table_name_98 WHERE internet_explorer = "20.27%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (safari VARCHAR, internet_explorer VARCHAR) Question: What was the percentage of safari when internet explorer was 20.27%? [/INST] SELECT safari FROM table_name_98 WHERE internet_explorer = "20.27%... |
What was the firefox % was chrome was 25.08%? | CREATE TABLE table_name_86 (firefox VARCHAR, chrome VARCHAR) | SELECT firefox FROM table_name_86 WHERE chrome = "25.08%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (firefox VARCHAR, chrome VARCHAR) Question: What was the firefox % was chrome was 25.08%? [/INST] SELECT firefox FROM table_name_86 WHERE chrome = "25.08%" </s> |
What was the percentage of safari when firefox was 24.66% | CREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR) | SELECT safari FROM table_name_10 WHERE firefox = "24.66%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR) Question: What was the percentage of safari when firefox was 24.66% [/INST] SELECT safari FROM table_name_10 WHERE firefox = "24.66%" </s> |
Which label released on February 18, 2009? | CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_77 WHERE date = "february 18, 2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (label VARCHAR, date VARCHAR) Question: Which label released on February 18, 2009? [/INST] SELECT label FROM table_name_77 WHERE date = "february 18, 2009" </s> |
When did Avex Entertainment release a CD? | CREATE TABLE table_name_22 (date VARCHAR, format VARCHAR, label VARCHAR) | SELECT date FROM table_name_22 WHERE format = "cd" AND label = "avex entertainment" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (date VARCHAR, format VARCHAR, label VARCHAR) Question: When did Avex Entertainment release a CD? [/INST] SELECT date FROM table_name_22 WHERE format = "cd" AND label = "avex entertainment" </s> |
When did Hollywood Records release a digital download? | CREATE TABLE table_name_87 (date VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_87 WHERE label = "hollywood records" AND format = "digital download" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (date VARCHAR, label VARCHAR, format VARCHAR) Question: When did Hollywood Records release a digital download? [/INST] SELECT date FROM table_name_87 WHERE label = "hollywood records" AND format = ... |
What kind of edition was released September 23, 2008 from the United States? | CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR) | SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR) Question: What kind of edition was released September 23, 2008 from the United States? [/INST] SELECT edition FROM table_name_69 WHERE date = "septem... |
What format was released April 16, 2009? | CREATE TABLE table_name_55 (format VARCHAR, date VARCHAR) | SELECT format FROM table_name_55 WHERE date = "april 16, 2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (format VARCHAR, date VARCHAR) Question: What format was released April 16, 2009? [/INST] SELECT format FROM table_name_55 WHERE date = "april 16, 2009" </s> |
What's the call sign if the branding is 1062 DXKI Koronadal? | CREATE TABLE table_name_6 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_6 WHERE branding = "1062 dxki koronadal" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (call_sign VARCHAR, branding VARCHAR) Question: What's the call sign if the branding is 1062 DXKI Koronadal? [/INST] SELECT call_sign FROM table_name_6 WHERE branding = "1062 dxki koronadal" </s> |
What's the branding for frequency 1233khz? | CREATE TABLE table_name_5 (branding VARCHAR, frequency VARCHAR) | SELECT branding FROM table_name_5 WHERE frequency = "1233khz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (branding VARCHAR, frequency VARCHAR) Question: What's the branding for frequency 1233khz? [/INST] SELECT branding FROM table_name_5 WHERE frequency = "1233khz" </s> |
What's the call sign that has 20kw of power? | CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR) | SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR) Question: What's the call sign that has 20kw of power? [/INST] SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw" </s> |
What's the location when the branding is 1116 DXAS Zamboanga? | CREATE TABLE table_name_89 (location VARCHAR, branding VARCHAR) | SELECT location FROM table_name_89 WHERE branding = "1116 dxas zamboanga" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (location VARCHAR, branding VARCHAR) Question: What's the location when the branding is 1116 DXAS Zamboanga? [/INST] SELECT location FROM table_name_89 WHERE branding = "1116 dxas zamboanga" </s> |
What's the location of the 1197khz frequency? | CREATE TABLE table_name_22 (location VARCHAR, frequency VARCHAR) | SELECT location FROM table_name_22 WHERE frequency = "1197khz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (location VARCHAR, frequency VARCHAR) Question: What's the location of the 1197khz frequency? [/INST] SELECT location FROM table_name_22 WHERE frequency = "1197khz" </s> |
What's the frequency of the call sign DYFR with 10KW of power? | CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR) | SELECT frequency FROM table_name_50 WHERE power__kw_ = "10kw" AND call_sign = "dyfr" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR) Question: What's the frequency of the call sign DYFR with 10KW of power? [/INST] SELECT frequency FROM table_name_50 WHERE power__kw_ = "1... |
What is Hungary's highest Rank? | CREATE TABLE table_name_38 (rank INTEGER, country VARCHAR) | SELECT MAX(rank) FROM table_name_38 WHERE country = "hungary" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, country VARCHAR) Question: What is Hungary's highest Rank? [/INST] SELECT MAX(rank) FROM table_name_38 WHERE country = "hungary" </s> |
What is the Notes of the Country with a Rank of 4? | CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_31 WHERE rank = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR) Question: What is the Notes of the Country with a Rank of 4? [/INST] SELECT notes FROM table_name_31 WHERE rank = 4 </s> |
What country had a Time of 6:14.84? | CREATE TABLE table_name_14 (country VARCHAR, time VARCHAR) | SELECT country FROM table_name_14 WHERE time = "6:14.84" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (country VARCHAR, time VARCHAR) Question: What country had a Time of 6:14.84? [/INST] SELECT country FROM table_name_14 WHERE time = "6:14.84" </s> |
Which Nationality has a Lane of 5, and a Time of 7:08.04? | CREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.04" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR) Question: Which Nationality has a Lane of 5, and a Time of 7:08.04? [/INST] SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.0... |
Which Heat has a Rank of 8? | CREATE TABLE table_name_16 (heat INTEGER, rank VARCHAR) | SELECT MAX(heat) FROM table_name_16 WHERE rank = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (heat INTEGER, rank VARCHAR) Question: Which Heat has a Rank of 8? [/INST] SELECT MAX(heat) FROM table_name_16 WHERE rank = 8 </s> |
Which Season has Finals of out of playoffs.? | CREATE TABLE table_name_88 (season VARCHAR, finals VARCHAR) | SELECT season FROM table_name_88 WHERE finals = "out of playoffs." | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (season VARCHAR, finals VARCHAR) Question: Which Season has Finals of out of playoffs.? [/INST] SELECT season FROM table_name_88 WHERE finals = "out of playoffs." </s> |
What's Albufeira's assist/pass? | CREATE TABLE table_name_22 (assist_pass VARCHAR, location VARCHAR) | SELECT assist_pass FROM table_name_22 WHERE location = "albufeira" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (assist_pass VARCHAR, location VARCHAR) Question: What's Albufeira's assist/pass? [/INST] SELECT assist_pass FROM table_name_22 WHERE location = "albufeira" </s> |
What's the lineup when the assist/pass was Unassisted? | CREATE TABLE table_name_42 (lineup VARCHAR, assist_pass VARCHAR) | SELECT lineup FROM table_name_42 WHERE assist_pass = "unassisted" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (lineup VARCHAR, assist_pass VARCHAR) Question: What's the lineup when the assist/pass was Unassisted? [/INST] SELECT lineup FROM table_name_42 WHERE assist_pass = "unassisted" </s> |
What date was the result 3-1 in Hague? | CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR) | SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR) Question: What date was the result 3-1 in Hague? [/INST] SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague" </s> |
what is the total when the rank is total and the silver is less than 10? | CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_35 WHERE rank = "total" AND silver < 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR, silver VARCHAR) Question: what is the total when the rank is total and the silver is less than 10? [/INST] SELECT SUM(total) FROM table_name_35 WHERE rank = "total" AN... |
what is the least silver when gold is 0? | CREATE TABLE table_name_93 (silver INTEGER, gold INTEGER) | SELECT MIN(silver) FROM table_name_93 WHERE gold < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (silver INTEGER, gold INTEGER) Question: what is the least silver when gold is 0? [/INST] SELECT MIN(silver) FROM table_name_93 WHERE gold < 0 </s> |
what is the total silver when total is 30 and bronze is more than 10? | CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR) Question: what is the total silver when total is 30 and bronze is more than 10? [/INST] SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND ... |
what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3? | CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT SUM(total) FROM table_name_37 WHERE bronze > 1 AND nation = "hong kong (hkg)" AND gold < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) Question: what is the total when bronze is more than 1, nation is hong kong (hkg) and gold is less than 3? [/INST] SELECT SUM(total) FR... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.