instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327? | CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR) | SELECT AVG(fips_code) FROM table_name_70 WHERE area = "114.76 sq mi (297.23 sq km)" AND population__2010_ < 166 OFFSET 327 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR) Question: What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less t... |
In what year was Yauco, which had over 42,043 people in 2010, founded? | CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR) | SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR) Question: In what year was Yauco, which had over 42,043 people in 2010, founded? [/INST] SELECT AVG(founded) FROM table_name_9 WHER... |
What is the attendance for a week smaller than 9 with a result of L 38-20? | CREATE TABLE table_name_67 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_67 WHERE result = "l 38-20" AND week < 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (attendance INTEGER, result VARCHAR, week VARCHAR) Question: What is the attendance for a week smaller than 9 with a result of L 38-20? [/INST] SELECT MAX(attendance) FROM table_name_67 WHERE resul... |
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? | CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) | SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) Question: Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? [/INST] SELECT school FROM tabl... |
Can you tell me the County that has the Location of shelbyville? | CREATE TABLE table_name_17 (county VARCHAR, location VARCHAR) | SELECT county FROM table_name_17 WHERE location = "shelbyville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (county VARCHAR, location VARCHAR) Question: Can you tell me the County that has the Location of shelbyville? [/INST] SELECT county FROM table_name_17 WHERE location = "shelbyville" </s> |
How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? | CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) | SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) Question: How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? [/INST] SELECT COUNT(deaths) FROM table_name_1 WHERE... |
Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940? | CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR) | SELECT tonnage___grt__ FROM table_name_11 WHERE fate = "sunk" AND deaths < 17 AND date = "16 november 1940" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR) Question: Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940? [/INST] SELECT tonnage_... |
How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2? | CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) | SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AND flag = "great britain" AND date = "26 september 1940" AND deaths = 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) Question: How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and ... |
Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? | CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) | SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) Question: Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? [/INST] SELECT MIN(tonnage___grt__) FROM table_name... |
What is the highest lane for Brazil, ranked less than 8? | CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR) | SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR) Question: What is the highest lane for Brazil, ranked less than 8? [/INST] SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8 </... |
What is the total population with less than 789 males? | CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER) | SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER) Question: What is the total population with less than 789 males? [/INST] SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789 </s> |
What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households? | CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR) | SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR) Question: What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households? [/INST] SELECT MIN(f... |
What is the total number of females where the total population is less than 2,195? | CREATE TABLE table_name_65 (female VARCHAR, total_population INTEGER) | SELECT COUNT(female) FROM table_name_65 WHERE total_population < 2 OFFSET 195 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (female VARCHAR, total_population INTEGER) Question: What is the total number of females where the total population is less than 2,195? [/INST] SELECT COUNT(female) FROM table_name_65 WHERE total_p... |
What was the outcome when the partner was Iryna Bremond? | CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR) Question: What was the outcome when the partner was Iryna Bremond? [/INST] SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond" </s> |
What tournament had a Score of 6–3, 2–6, [10–8]? | CREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_90 WHERE score = "6–3, 2–6, [10–8]" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR) Question: What tournament had a Score of 6–3, 2–6, [10–8]? [/INST] SELECT tournament FROM table_name_90 WHERE score = "6–3, 2–6, [10–8]" </s> |
Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6? | CREATE TABLE table_name_28 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT partner FROM table_name_28 WHERE surface = "clay" AND outcome = "runner-up" AND score = "4–6, 1–6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) Question: Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6? [/INST] SELECT partn... |
What is the rank of Manuel Cortina Martínez? | CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) | SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) Question: What is the rank of Manuel Cortina Martínez? [/INST] SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez" </s> |
What is the rank if the person with a time of 1:40.626? | CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR) | SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR) Question: What is the rank if the person with a time of 1:40.626? [/INST] SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626" </s> |
What is the rank of the person with a time of 1:44.757? | CREATE TABLE table_name_62 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (rank INTEGER, time VARCHAR) Question: What is the rank of the person with a time of 1:44.757? [/INST] SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757" </s> |
What is the rank of Israel? | CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR) | SELECT MAX(rank) FROM table_name_97 WHERE country = "israel" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR) Question: What is the rank of Israel? [/INST] SELECT MAX(rank) FROM table_name_97 WHERE country = "israel" </s> |
What is the name of the athlete from Myanmar? | CREATE TABLE table_name_97 (athletes VARCHAR, country VARCHAR) | SELECT athletes FROM table_name_97 WHERE country = "myanmar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (athletes VARCHAR, country VARCHAR) Question: What is the name of the athlete from Myanmar? [/INST] SELECT athletes FROM table_name_97 WHERE country = "myanmar" </s> |
What are the notes for the person ranked larger than 2, and a time of 1:48.179? | CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) | SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "1:48.179" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) Question: What are the notes for the person ranked larger than 2, and a time of 1:48.179? [/INST] SELECT notes FROM table_name_48 WHERE rank > 2 AND time... |
What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire? | CREATE TABLE table_name_99 (chorley INTEGER, preston VARCHAR, west_lancashire VARCHAR) | SELECT MIN(chorley) FROM table_name_99 WHERE preston = 6 AND west_lancashire < 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (chorley INTEGER, preston VARCHAR, west_lancashire VARCHAR) Question: What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire? [/INST] SELECT MIN(chorley) FROM table_name_99 WHERE p... |
What is the average rating for a Flyde that has a Burnley less than 0? | CREATE TABLE table_name_57 (fylde INTEGER, burnley INTEGER) | SELECT AVG(fylde) FROM table_name_57 WHERE burnley < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (fylde INTEGER, burnley INTEGER) Question: What is the average rating for a Flyde that has a Burnley less than 0? [/INST] SELECT AVG(fylde) FROM table_name_57 WHERE burnley < 0 </s> |
What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? | CREATE TABLE table_name_15 (west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR) | SELECT MAX(west_lancashire) FROM table_name_15 WHERE pendle > 1 AND rossendale > 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR) Question: What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? [/INST] SELECT MAX(west_... |
What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1? | CREATE TABLE table_name_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR) | SELECT AVG(chorley) FROM table_name_96 WHERE rossendale > 0 AND party = "labour" AND pendle < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR) Question: What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1? [/INS... |
In what season was Schädlich the top goalscorer? | CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR) | SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR) Question: In what season was Schädlich the top goalscorer? [/INST] SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich" </s> |
What is the average attendance when the rank is 5? | CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) | SELECT avgatt FROM table_name_90 WHERE rank = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) Question: What is the average attendance when the rank is 5? [/INST] SELECT avgatt FROM table_name_90 WHERE rank = "5" </s> |
What is the Speed for Chris Swallow? | CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR) | SELECT speed FROM table_name_13 WHERE rider = "chris swallow" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR) Question: What is the Speed for Chris Swallow? [/INST] SELECT speed FROM table_name_13 WHERE rider = "chris swallow" </s> |
What is the speed when the rank is larger than 2, and team is 500cc norton manx? | CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR) | SELECT speed FROM table_name_36 WHERE rank > 2 AND team = "500cc norton manx" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR) Question: What is the speed when the rank is larger than 2, and team is 500cc norton manx? [/INST] SELECT speed FROM table_name_36 WHERE rank > 2 AND tea... |
What is the time for Alan Oversby? | CREATE TABLE table_name_94 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_94 WHERE rider = "alan oversby" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (time VARCHAR, rider VARCHAR) Question: What is the time for Alan Oversby? [/INST] SELECT time FROM table_name_94 WHERE rider = "alan oversby" </s> |
What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? | CREATE TABLE table_name_28 (speed VARCHAR, rank VARCHAR, time VARCHAR) | SELECT speed FROM table_name_28 WHERE rank < 3 AND time = "1:06.19.90" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (speed VARCHAR, rank VARCHAR, time VARCHAR) Question: What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? [/INST] SELECT speed FROM table_name_28 WHERE rank < 3 AND time = "1... |
What is the team when the time is 1:11.19.89? | CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR) | SELECT team FROM table_name_36 WHERE time = "1:11.19.89" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR) Question: What is the team when the time is 1:11.19.89? [/INST] SELECT team FROM table_name_36 WHERE time = "1:11.19.89" </s> |
Which actor plays the character Helga Beimer? | CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_83 WHERE character = "helga beimer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) Question: Which actor plays the character Helga Beimer? [/INST] SELECT actor FROM table_name_83 WHERE character = "helga beimer" </s> |
How long did the soap opera run in which Nadine Spruß acted in? | CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR) | SELECT character FROM table_name_13 WHERE actor = "nadine spruß" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR) Question: How long did the soap opera run in which Nadine Spruß acted in? [/INST] SELECT character FROM table_name_13 WHERE actor = "nadine spruß" </s> |
How many years did the soap opera run in which the character Clemens Richter was included? | CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR) | SELECT duration FROM table_name_2 WHERE character = "clemens richter" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR) Question: How many years did the soap opera run in which the character Clemens Richter was included? [/INST] SELECT duration FROM table_name_2 WHERE character =... |
What years did Marienhof run, which featured Leonore Capell and lasted 10 years? | CREATE TABLE table_name_88 (years VARCHAR, actor VARCHAR, soap_opera VARCHAR, duration VARCHAR) | SELECT years FROM table_name_88 WHERE soap_opera = "marienhof" AND duration = "10 years" AND actor = "leonore capell" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (years VARCHAR, actor VARCHAR, soap_opera VARCHAR, duration VARCHAR) Question: What years did Marienhof run, which featured Leonore Capell and lasted 10 years? [/INST] SELECT years FROM table_name_... |
Who was the opponent in week 6? | CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_89 WHERE week = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR) Question: Who was the opponent in week 6? [/INST] SELECT opponent FROM table_name_89 WHERE week = 6 </s> |
What's the result when the Carolina Panthers were the opponent? | CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_86 WHERE opponent = "carolina panthers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR) Question: What's the result when the Carolina Panthers were the opponent? [/INST] SELECT result FROM table_name_86 WHERE opponent = "carolina panthers" </s> |
What date had a result of W 41-0? | CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_29 WHERE result = "w 41-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR) Question: What date had a result of W 41-0? [/INST] SELECT date FROM table_name_29 WHERE result = "w 41-0" </s> |
What's the attendance when the week was more than 16? | CREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER) | SELECT attendance FROM table_name_95 WHERE week > 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER) Question: What's the attendance when the week was more than 16? [/INST] SELECT attendance FROM table_name_95 WHERE week > 16 </s> |
What was the year of the World Half Marathon Championships with a result of 3rd? | CREATE TABLE table_name_5 (year VARCHAR, tournament VARCHAR, result VARCHAR) | SELECT year FROM table_name_5 WHERE tournament = "world half marathon championships" AND result = "3rd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (year VARCHAR, tournament VARCHAR, result VARCHAR) Question: What was the year of the World Half Marathon Championships with a result of 3rd? [/INST] SELECT year FROM table_name_5 WHERE tournament =... |
What was the result of the tournament in 2001? | CREATE TABLE table_name_67 (result VARCHAR, year VARCHAR) | SELECT result FROM table_name_67 WHERE year = 2001 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (result VARCHAR, year VARCHAR) Question: What was the result of the tournament in 2001? [/INST] SELECT result FROM table_name_67 WHERE year = 2001 </s> |
What is the average capacity for the vehicle having a navigator of Macneall? | CREATE TABLE table_name_89 (capacity INTEGER, navigator VARCHAR) | SELECT AVG(capacity) FROM table_name_89 WHERE navigator = "macneall" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (capacity INTEGER, navigator VARCHAR) Question: What is the average capacity for the vehicle having a navigator of Macneall? [/INST] SELECT AVG(capacity) FROM table_name_89 WHERE navigator = "macne... |
Which vehicle had a class of CM14? | CREATE TABLE table_name_8 (vehicle VARCHAR, class VARCHAR) | SELECT vehicle FROM table_name_8 WHERE class = "cm14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (vehicle VARCHAR, class VARCHAR) Question: Which vehicle had a class of CM14? [/INST] SELECT vehicle FROM table_name_8 WHERE class = "cm14" </s> |
Who was the driver of the vehicle having class of CM22 and navigator of Macneall? | CREATE TABLE table_name_86 (driver VARCHAR, class VARCHAR, navigator VARCHAR) | SELECT driver FROM table_name_86 WHERE class = "cm22" AND navigator = "macneall" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (driver VARCHAR, class VARCHAR, navigator VARCHAR) Question: Who was the driver of the vehicle having class of CM22 and navigator of Macneall? [/INST] SELECT driver FROM table_name_86 WHERE class =... |
What is the total time of the vehicle having a navigator of Vandenberg? | CREATE TABLE table_name_79 (total_time VARCHAR, navigator VARCHAR) | SELECT total_time FROM table_name_79 WHERE navigator = "vandenberg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (total_time VARCHAR, navigator VARCHAR) Question: What is the total time of the vehicle having a navigator of Vandenberg? [/INST] SELECT total_time FROM table_name_79 WHERE navigator = "vandenberg"... |
What is the bronze with more than 2 gold and less than 14 total and 4 silver? | CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) | SELECT AVG(bronze) FROM table_name_86 WHERE gold > 2 AND total < 14 AND silver = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) Question: What is the bronze with more than 2 gold and less than 14 total and 4 silver? [/INST] SELECT AVG(bronze) FROM table_name_86 W... |
How many silvers are there with a total of 11? | CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR) | SELECT SUM(silver) FROM table_name_83 WHERE total = 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR) Question: How many silvers are there with a total of 11? [/INST] SELECT SUM(silver) FROM table_name_83 WHERE total = 11 </s> |
How many silvers are there with more than 2 golds in Germany? | CREATE TABLE table_name_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT COUNT(silver) FROM table_name_81 WHERE gold > 2 AND nation = "germany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR) Question: How many silvers are there with more than 2 golds in Germany? [/INST] SELECT COUNT(silver) FROM table_name_81 WHERE gold > 2 AND nation = "g... |
What is the average reaction for brigitte foster-hylton after heat 1? | CREATE TABLE table_name_53 (reaction INTEGER, heat VARCHAR, name VARCHAR) | SELECT AVG(reaction) FROM table_name_53 WHERE heat > 1 AND name = "brigitte foster-hylton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (reaction INTEGER, heat VARCHAR, name VARCHAR) Question: What is the average reaction for brigitte foster-hylton after heat 1? [/INST] SELECT AVG(reaction) FROM table_name_53 WHERE heat > 1 AND nam... |
What round did the home team Pohang Steelers play? | CREATE TABLE table_name_32 (round VARCHAR, home_team VARCHAR) | SELECT round FROM table_name_32 WHERE home_team = "pohang steelers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (round VARCHAR, home_team VARCHAR) Question: What round did the home team Pohang Steelers play? [/INST] SELECT round FROM table_name_32 WHERE home_team = "pohang steelers" </s> |
What is the latest round for Pohang Steelers as the away team? | CREATE TABLE table_name_28 (round INTEGER, away_team VARCHAR) | SELECT MAX(round) FROM table_name_28 WHERE away_team = "pohang steelers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (round INTEGER, away_team VARCHAR) Question: What is the latest round for Pohang Steelers as the away team? [/INST] SELECT MAX(round) FROM table_name_28 WHERE away_team = "pohang steelers" </s> |
what is the album when the remix is dead guys remix and the year is after 2003? | CREATE TABLE table_name_51 (album VARCHAR, remix VARCHAR, year VARCHAR) | SELECT album FROM table_name_51 WHERE remix = "dead guys remix" AND year > 2003 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (album VARCHAR, remix VARCHAR, year VARCHAR) Question: what is the album when the remix is dead guys remix and the year is after 2003? [/INST] SELECT album FROM table_name_51 WHERE remix = "dead gu... |
What is Joselito Escobar's Pick number? | CREATE TABLE table_name_96 (pick INTEGER, player VARCHAR) | SELECT SUM(pick) FROM table_name_96 WHERE player = "joselito escobar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (pick INTEGER, player VARCHAR) Question: What is Joselito Escobar's Pick number? [/INST] SELECT SUM(pick) FROM table_name_96 WHERE player = "joselito escobar" </s> |
What is the Pick 3 Player from East College? | CREATE TABLE table_name_67 (player VARCHAR, college VARCHAR, pick VARCHAR) | SELECT player FROM table_name_67 WHERE college = "east" AND pick = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (player VARCHAR, college VARCHAR, pick VARCHAR) Question: What is the Pick 3 Player from East College? [/INST] SELECT player FROM table_name_67 WHERE college = "east" AND pick = 3 </s> |
What is Ateneo de Manila's PBA Team? | CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR) | SELECT pba_team FROM table_name_96 WHERE college = "ateneo de manila" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR) Question: What is Ateneo de Manila's PBA Team? [/INST] SELECT pba_team FROM table_name_96 WHERE college = "ateneo de manila" </s> |
What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? | CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR) | SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR) Question: What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? [/INST] SELECT college FROM table_name_65... |
What is the College of the Player from San Miguel Beermen PBA Team? | CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR) | SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR) Question: What is the College of the Player from San Miguel Beermen PBA Team? [/INST] SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen" </s... |
who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)? | CREATE TABLE table_name_18 (Web VARCHAR, client VARCHAR, project VARCHAR) | SELECT Web AS client FROM table_name_18 WHERE client = "x" AND project = "goto servers vnc java server (gsvncj)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (Web VARCHAR, client VARCHAR, project VARCHAR) Question: who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)? [/INST] SELECT Web AS client FROM table... |
what is the color quality when the relay is ✓? | CREATE TABLE table_name_9 (color_quality VARCHAR, relay VARCHAR) | SELECT color_quality FROM table_name_9 WHERE relay = "✓" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (color_quality VARCHAR, relay VARCHAR) Question: what is the color quality when the relay is ✓? [/INST] SELECT color_quality FROM table_name_9 WHERE relay = "✓" </s> |
what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary? | CREATE TABLE table_name_59 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR) | SELECT proxy FROM table_name_59 WHERE image_quality = "✓" AND encryption = "ssl" AND license = "proprietary" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR) Question: what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary? [/INST] SE... |
what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007? | CREATE TABLE table_name_32 (image_quality VARCHAR, date VARCHAR, multiple_sessions VARCHAR, authentication VARCHAR) | SELECT image_quality FROM table_name_32 WHERE multiple_sessions = "x" AND authentication = "✓" AND date = "may 15, 2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (image_quality VARCHAR, date VARCHAR, multiple_sessions VARCHAR, authentication VARCHAR) Question: what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is... |
What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860? | CREATE TABLE table_name_76 (cores VARCHAR, l3_cache VARCHAR, model_number VARCHAR) | SELECT cores FROM table_name_76 WHERE l3_cache = "8 mb" AND model_number = "core i7-860" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (cores VARCHAR, l3_cache VARCHAR, model_number VARCHAR) Question: What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860? [/INST] SELECT cores FROM table_name_76... |
What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? | CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR) | SELECT memory FROM table_name_32 WHERE turbo = "2/2/4/5" AND release_date = "may 2010" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR) Question: What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? [/INST] SELECT memory FROM table_name_32 WHERE turbo = "2/2/4/5"... |
What Model number has the sSpec numebr of SLBJG(B1)? | CREATE TABLE table_name_30 (model_number VARCHAR, sspec_number VARCHAR) | SELECT model_number FROM table_name_30 WHERE sspec_number = "slbjg(b1)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (model_number VARCHAR, sspec_number VARCHAR) Question: What Model number has the sSpec numebr of SLBJG(B1)? [/INST] SELECT model_number FROM table_name_30 WHERE sspec_number = "slbjg(b1)" </s> |
What Turbo has the Release price (USD) of $583? | CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR) | SELECT turbo FROM table_name_29 WHERE release_price___usd__ = "$583" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR) Question: What Turbo has the Release price (USD) of $583? [/INST] SELECT turbo FROM table_name_29 WHERE release_price___usd__ = "$583" </s> |
What is the lowest prominence for a peak with elevation of 3,615 meters? | CREATE TABLE table_name_87 (prominence__m_ INTEGER, elevation__m_ VARCHAR) | SELECT MIN(prominence__m_) FROM table_name_87 WHERE elevation__m_ = 3 OFFSET 615 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (prominence__m_ INTEGER, elevation__m_ VARCHAR) Question: What is the lowest prominence for a peak with elevation of 3,615 meters? [/INST] SELECT MIN(prominence__m_) FROM table_name_87 WHERE elevat... |
What is the Col entry for the peak with an elevation of 2,308 meters? | CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR) | SELECT COUNT(col__m_) FROM table_name_86 WHERE elevation__m_ = 2 OFFSET 308 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR) Question: What is the Col entry for the peak with an elevation of 2,308 meters? [/INST] SELECT COUNT(col__m_) FROM table_name_86 WHERE elevation__m_ = 2 OFF... |
who is the actor that played rachel mckenna? | CREATE TABLE table_name_64 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_64 WHERE character = "rachel mckenna" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (actor VARCHAR, character VARCHAR) Question: who is the actor that played rachel mckenna? [/INST] SELECT actor FROM table_name_64 WHERE character = "rachel mckenna" </s> |
who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? | CREATE TABLE table_name_31 (actor VARCHAR, soap_opera VARCHAR, years VARCHAR) | SELECT actor FROM table_name_31 WHERE soap_opera = "shortland street" AND years = "1993–1999, 2001–2003, 2007, 2009—" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (actor VARCHAR, soap_opera VARCHAR, years VARCHAR) Question: who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? [/INST] SELECT actor FROM table_name_31 WHERE soa... |
what is the soap opera when the years are 2000–2004, 2005—? | CREATE TABLE table_name_10 (soap_opera VARCHAR, years VARCHAR) | SELECT soap_opera FROM table_name_10 WHERE years = "2000–2004, 2005—" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (soap_opera VARCHAR, years VARCHAR) Question: what is the soap opera when the years are 2000–2004, 2005—? [/INST] SELECT soap_opera FROM table_name_10 WHERE years = "2000–2004, 2005—" </s> |
what is the character with the duration of 11 years? | CREATE TABLE table_name_47 (character VARCHAR, duration VARCHAR) | SELECT character FROM table_name_47 WHERE duration = "11 years" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (character VARCHAR, duration VARCHAR) Question: what is the character with the duration of 11 years? [/INST] SELECT character FROM table_name_47 WHERE duration = "11 years" </s> |
what is the soap opera for elin sogn? | CREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR) | SELECT soap_opera FROM table_name_48 WHERE actor = "elin sogn" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR) Question: what is the soap opera for elin sogn? [/INST] SELECT soap_opera FROM table_name_48 WHERE actor = "elin sogn" </s> |
What station was owned since 2011, and a channel (tv/rf) of 27? | CREATE TABLE table_name_73 (station VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR) | SELECT station FROM table_name_73 WHERE owned_since = 2011 AND channel___tv___rf__ = "27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (station VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR) Question: What station was owned since 2011, and a channel (tv/rf) of 27? [/INST] SELECT station FROM table_name_73 WHERE owned_s... |
What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42? | CREATE TABLE table_name_58 (affiliation VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR) | SELECT affiliation FROM table_name_58 WHERE owned_since > 1991 AND channel___tv___rf__ = "42" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (affiliation VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR) Question: What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42? [/INST] SELECT affiliat... |
What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)? | CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR) | SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = "abc" AND channel___tv___rf__ = "9 (22)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR) Question: What city of license/market has an owned since before 2011,and a affiliation of ab... |
COunt the sum of Prominence (m) of an Elevation (m) of 2,024? | CREATE TABLE table_name_69 (prominence__m_ INTEGER, elevation__m_ VARCHAR) | SELECT SUM(prominence__m_) FROM table_name_69 WHERE elevation__m_ = 2 OFFSET 024 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (prominence__m_ INTEGER, elevation__m_ VARCHAR) Question: COunt the sum of Prominence (m) of an Elevation (m) of 2,024? [/INST] SELECT SUM(prominence__m_) FROM table_name_69 WHERE elevation__m_ = 2... |
Count the Prominence (m) of Col (m) smaller than 0? | CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER) | SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER) Question: Count the Prominence (m) of Col (m) smaller than 0? [/INST] SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 0 </s> |
Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011? | CREATE TABLE table_name_50 (col__m_ INTEGER, peak VARCHAR, prominence__m_ VARCHAR) | SELECT MIN(col__m_) FROM table_name_50 WHERE peak = "pico basilé" AND prominence__m_ < 3 OFFSET 011 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (col__m_ INTEGER, peak VARCHAR, prominence__m_ VARCHAR) Question: Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011? [/INST] SELECT MIN(col__m_) FROM table... |
What is the Week of the game with TV Time of Fox 4:15ET? | CREATE TABLE table_name_81 (week VARCHAR, tv_time VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE tv_time = "fox 4:15et" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (week VARCHAR, tv_time VARCHAR) Question: What is the Week of the game with TV Time of Fox 4:15ET? [/INST] SELECT COUNT(week) FROM table_name_81 WHERE tv_time = "fox 4:15et" </s> |
What is the TV Time of the game on December 27, 2003? | CREATE TABLE table_name_51 (tv_time VARCHAR, date VARCHAR) | SELECT tv_time FROM table_name_51 WHERE date = "december 27, 2003" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (tv_time VARCHAR, date VARCHAR) Question: What is the TV Time of the game on December 27, 2003? [/INST] SELECT tv_time FROM table_name_51 WHERE date = "december 27, 2003" </s> |
What is the Opponent at the game with Attendance of 68,436? | CREATE TABLE table_name_97 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_97 WHERE attendance = "68,436" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (opponent VARCHAR, attendance VARCHAR) Question: What is the Opponent at the game with Attendance of 68,436? [/INST] SELECT opponent FROM table_name_97 WHERE attendance = "68,436" </s> |
What is the Attendance at the game against the Cincinnati Bengals? | CREATE TABLE table_name_7 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_7 WHERE opponent = "cincinnati bengals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (attendance VARCHAR, opponent VARCHAR) Question: What is the Attendance at the game against the Cincinnati Bengals? [/INST] SELECT attendance FROM table_name_7 WHERE opponent = "cincinnati bengals" ... |
What is the Opponent of the game after Week 3 with a Result of L 10–6? | CREATE TABLE table_name_86 (opponent VARCHAR, week VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_86 WHERE week > 3 AND result = "l 10–6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (opponent VARCHAR, week VARCHAR, result VARCHAR) Question: What is the Opponent of the game after Week 3 with a Result of L 10–6? [/INST] SELECT opponent FROM table_name_86 WHERE week > 3 AND resul... |
What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET? | CREATE TABLE table_name_90 (date VARCHAR, tv_time VARCHAR, result VARCHAR) | SELECT date FROM table_name_90 WHERE tv_time = "cbs 1:00et" AND result = "w 22–16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (date VARCHAR, tv_time VARCHAR, result VARCHAR) Question: What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET? [/INST] SELECT date FROM table_name_90 WHERE tv_time = "cbs... |
At what Venue was the Attendance 47,678? | CREATE TABLE table_name_81 (venue VARCHAR, attendance VARCHAR) | SELECT venue FROM table_name_81 WHERE attendance = "47,678" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (venue VARCHAR, attendance VARCHAR) Question: At what Venue was the Attendance 47,678? [/INST] SELECT venue FROM table_name_81 WHERE attendance = "47,678" </s> |
What is the Attendance of New Zealand Scores in bold? | CREATE TABLE table_name_6 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_6 WHERE date = "new zealand scores in bold" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (attendance VARCHAR, date VARCHAR) Question: What is the Attendance of New Zealand Scores in bold? [/INST] SELECT attendance FROM table_name_6 WHERE date = "new zealand scores in bold" </s> |
What is the number of lost games when 2 were drawn, and there were 6 bonus points? | CREATE TABLE table_name_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR) | SELECT lost FROM table_name_55 WHERE drawn = "2" AND bonus_points = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR) Question: What is the number of lost games when 2 were drawn, and there were 6 bonus points? [/INST] SELECT lost FROM table_name_55 WHERE drawn =... |
What is the number of bonus points when there are 4 drawn? | CREATE TABLE table_name_28 (bonus_points VARCHAR, drawn VARCHAR) | SELECT bonus_points FROM table_name_28 WHERE drawn = "4" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (bonus_points VARCHAR, drawn VARCHAR) Question: What is the number of bonus points when there are 4 drawn? [/INST] SELECT bonus_points FROM table_name_28 WHERE drawn = "4" </s> |
What is the number of bonus points when there are 2 drawn and the points against is 599? | CREATE TABLE table_name_83 (bonus_points VARCHAR, drawn VARCHAR, points_against VARCHAR) | SELECT bonus_points FROM table_name_83 WHERE drawn = "2" AND points_against = "599" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (bonus_points VARCHAR, drawn VARCHAR, points_against VARCHAR) Question: What is the number of bonus points when there are 2 drawn and the points against is 599? [/INST] SELECT bonus_points FROM tab... |
What is the lost number when the team played 26 games and there were 83 points? | CREATE TABLE table_name_32 (lost VARCHAR, played VARCHAR, points VARCHAR) | SELECT lost FROM table_name_32 WHERE played = "26" AND points = "83" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (lost VARCHAR, played VARCHAR, points VARCHAR) Question: What is the lost number when the team played 26 games and there were 83 points? [/INST] SELECT lost FROM table_name_32 WHERE played = "26" A... |
What is the lost number for the team with 2 drawn games, and 572 points against? | CREATE TABLE table_name_58 (lost VARCHAR, drawn VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_58 WHERE drawn = "2" AND points_against = "572" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (lost VARCHAR, drawn VARCHAR, points_against VARCHAR) Question: What is the lost number for the team with 2 drawn games, and 572 points against? [/INST] SELECT lost FROM table_name_58 WHERE drawn =... |
What is the number of bonus points for the team with 2 drawn games and 475 points? | CREATE TABLE table_name_63 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR) | SELECT bonus_points FROM table_name_63 WHERE drawn = "2" AND points_for = "475" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR) Question: What is the number of bonus points for the team with 2 drawn games and 475 points? [/INST] SELECT bonus_points FROM table_name_63... |
What is the transfer fee for Helguera? | CREATE TABLE table_name_23 (transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_fee FROM table_name_23 WHERE name = "helguera" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (transfer_fee VARCHAR, name VARCHAR) Question: What is the transfer fee for Helguera? [/INST] SELECT transfer_fee FROM table_name_23 WHERE name = "helguera" </s> |
What was the transfer fee when the moving from was celta de Vigo? | CREATE TABLE table_name_25 (transfer_fee VARCHAR, moving_from VARCHAR) | SELECT transfer_fee FROM table_name_25 WHERE moving_from = "celta de vigo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (transfer_fee VARCHAR, moving_from VARCHAR) Question: What was the transfer fee when the moving from was celta de Vigo? [/INST] SELECT transfer_fee FROM table_name_25 WHERE moving_from = "celta de ... |
What was the transfer window with a moving from of fenerbahçe? | CREATE TABLE table_name_21 (transfer_window VARCHAR, moving_from VARCHAR) | SELECT transfer_window FROM table_name_21 WHERE moving_from = "fenerbahçe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (transfer_window VARCHAR, moving_from VARCHAR) Question: What was the transfer window with a moving from of fenerbahçe? [/INST] SELECT transfer_window FROM table_name_21 WHERE moving_from = "fenerb... |
What nation had a moving from of espanyol? | CREATE TABLE table_name_97 (nat VARCHAR, moving_from VARCHAR) | SELECT nat FROM table_name_97 WHERE moving_from = "espanyol" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (nat VARCHAR, moving_from VARCHAR) Question: What nation had a moving from of espanyol? [/INST] SELECT nat FROM table_name_97 WHERE moving_from = "espanyol" </s> |
What was the transfer fee for the player with an ends of 2007? | CREATE TABLE table_name_79 (transfer_fee VARCHAR, ends VARCHAR) | SELECT transfer_fee FROM table_name_79 WHERE ends = 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (transfer_fee VARCHAR, ends VARCHAR) Question: What was the transfer fee for the player with an ends of 2007? [/INST] SELECT transfer_fee FROM table_name_79 WHERE ends = 2007 </s> |
What is the Series of the Filmography with a Release date of 1946-03-16? | CREATE TABLE table_name_85 (series VARCHAR, release_date VARCHAR) | SELECT series FROM table_name_85 WHERE release_date = "1946-03-16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (series VARCHAR, release_date VARCHAR) Question: What is the Series of the Filmography with a Release date of 1946-03-16? [/INST] SELECT series FROM table_name_85 WHERE release_date = "1946-03-16" ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.