instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What's the RECNet when the power is 199 watts? | CREATE TABLE table_name_9 (recnet VARCHAR, power VARCHAR) | SELECT recnet FROM table_name_9 WHERE power = "199 watts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (recnet VARCHAR, power VARCHAR) Question: What's the RECNet when the power is 199 watts? [/INST] SELECT recnet FROM table_name_9 WHERE power = "199 watts" </s> |
What's the frequency when the identifier is cbf-fm-14 having a class of A? | CREATE TABLE table_name_14 (frequency VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT frequency FROM table_name_14 WHERE class = "a" AND identifier = "cbf-fm-14" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (frequency VARCHAR, class VARCHAR, identifier VARCHAR) Question: What's the frequency when the identifier is cbf-fm-14 having a class of A? [/INST] SELECT frequency FROM table_name_14 WHERE class =... |
What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham? | CREATE TABLE table_name_73 (ag VARCHAR, transmitter VARCHAR, d3 VARCHAR) | SELECT ag FROM table_name_73 WHERE d3 & 4 = "46" AND transmitter = "seaham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (ag VARCHAR, transmitter VARCHAR, d3 VARCHAR) Question: What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham? [/INST] SELECT ag FROM table_name_73 WHERE d3 & 4 = "46" AND tra... |
What is the AG value associated with a D3&4 of 41? | CREATE TABLE table_name_71 (ag VARCHAR, d3 VARCHAR) | SELECT ag FROM table_name_71 WHERE d3 & 4 = "41" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (ag VARCHAR, d3 VARCHAR) Question: What is the AG value associated with a D3&4 of 41? [/INST] SELECT ag FROM table_name_71 WHERE d3 & 4 = "41" </s> |
which Label is in 15 december 1992? | CREATE TABLE table_name_45 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_45 WHERE date = "15 december 1992" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (label VARCHAR, date VARCHAR) Question: which Label is in 15 december 1992? [/INST] SELECT label FROM table_name_45 WHERE date = "15 december 1992" </s> |
Which Album has an Artist of various artists (compilation), and a Label of laface? | CREATE TABLE table_name_53 (album VARCHAR, artist VARCHAR, label VARCHAR) | SELECT album FROM table_name_53 WHERE artist = "various artists (compilation)" AND label = "laface" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (album VARCHAR, artist VARCHAR, label VARCHAR) Question: Which Album has an Artist of various artists (compilation), and a Label of laface? [/INST] SELECT album FROM table_name_53 WHERE artist = "v... |
When has an Album of l'un n'empêche pas l'autre? | CREATE TABLE table_name_14 (date VARCHAR, album VARCHAR) | SELECT date FROM table_name_14 WHERE album = "l'un n'empêche pas l'autre" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (date VARCHAR, album VARCHAR) Question: When has an Album of l'un n'empêche pas l'autre? [/INST] SELECT date FROM table_name_14 WHERE album = "l'un n'empêche pas l'autre" </s> |
Which Track(s) is on 18 november 1985? | CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR) | SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR) Question: Which Track(s) is on 18 november 1985? [/INST] SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985" </s> |
Which Label that has an Album of so red the rose? | CREATE TABLE table_name_61 (label VARCHAR, album VARCHAR) | SELECT label FROM table_name_61 WHERE album = "so red the rose" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (label VARCHAR, album VARCHAR) Question: Which Label that has an Album of so red the rose? [/INST] SELECT label FROM table_name_61 WHERE album = "so red the rose" </s> |
What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1? | CREATE TABLE table_name_75 (lane INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(lane) FROM table_name_75 WHERE name = "natalie coughlin" AND rank > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (lane INTEGER, name VARCHAR, rank VARCHAR) Question: What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1? [/INST] SELECT MIN(lane) FROM table_name_75 WHERE... |
Who is the Athlete with a rowing Time of 6:36.05? | CREATE TABLE table_name_49 (athlete VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_49 WHERE time = "6:36.05" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (athlete VARCHAR, time VARCHAR) Question: Who is the Athlete with a rowing Time of 6:36.05? [/INST] SELECT athlete FROM table_name_49 WHERE time = "6:36.05" </s> |
What song was made by the sex pistols? | CREATE TABLE table_name_9 (song VARCHAR, artist VARCHAR) | SELECT song FROM table_name_9 WHERE artist = "sex pistols" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (song VARCHAR, artist VARCHAR) Question: What song was made by the sex pistols? [/INST] SELECT song FROM table_name_9 WHERE artist = "sex pistols" </s> |
What song has the band tour vnue of 6. tool (usa) encore? | CREATE TABLE table_name_66 (song VARCHAR, band_tour_venue VARCHAR) | SELECT song FROM table_name_66 WHERE band_tour_venue = "6. tool (usa) encore" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (song VARCHAR, band_tour_venue VARCHAR) Question: What song has the band tour vnue of 6. tool (usa) encore? [/INST] SELECT song FROM table_name_66 WHERE band_tour_venue = "6. tool (usa) encore" </s... |
What is the total when the A score was less than 6.6, and the B score was 8.925? | CREATE TABLE table_name_15 (total VARCHAR, a_score VARCHAR, b_score VARCHAR) | SELECT total FROM table_name_15 WHERE a_score < 6.6 AND b_score = 8.925 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (total VARCHAR, a_score VARCHAR, b_score VARCHAR) Question: What is the total when the A score was less than 6.6, and the B score was 8.925? [/INST] SELECT total FROM table_name_15 WHERE a_score < ... |
What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6? | CREATE TABLE table_name_89 (total INTEGER, a_score VARCHAR, position VARCHAR, b_score VARCHAR) | SELECT AVG(total) FROM table_name_89 WHERE position < 4 AND b_score > 9.125 AND a_score < 6.6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (total INTEGER, a_score VARCHAR, position VARCHAR, b_score VARCHAR) Question: What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6? [/INST] SELECT AVG... |
What is the score when watford was the away team? | CREATE TABLE table_name_59 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_59 WHERE away_team = "watford" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (score VARCHAR, away_team VARCHAR) Question: What is the score when watford was the away team? [/INST] SELECT score FROM table_name_59 WHERE away_team = "watford" </s> |
What is the score when york city was the home team? | CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_91 WHERE home_team = "york city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) Question: What is the score when york city was the home team? [/INST] SELECT score FROM table_name_91 WHERE home_team = "york city" </s> |
What score has a game greater than 29, with 24-6 as the record? | CREATE TABLE table_name_6 (score VARCHAR, game VARCHAR, record VARCHAR) | SELECT score FROM table_name_6 WHERE game > 29 AND record = "24-6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (score VARCHAR, game VARCHAR, record VARCHAR) Question: What score has a game greater than 29, with 24-6 as the record? [/INST] SELECT score FROM table_name_6 WHERE game > 29 AND record = "24-6" </s... |
What record has @ detroit as the opponent? | CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_61 WHERE opponent = "@ detroit" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR) Question: What record has @ detroit as the opponent? [/INST] SELECT record FROM table_name_61 WHERE opponent = "@ detroit" </s> |
What high assists have McWilliams-franklin (22) as the high points? | CREATE TABLE table_name_95 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_name_95 WHERE high_points = "mcwilliams-franklin (22)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (high_assists VARCHAR, high_points VARCHAR) Question: What high assists have McWilliams-franklin (22) as the high points? [/INST] SELECT high_assists FROM table_name_95 WHERE high_points = "mcwilli... |
What high assists have uic pavilion 3,520 as the location/attendance? | CREATE TABLE table_name_31 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT high_assists FROM table_name_31 WHERE location_attendance = "uic pavilion 3,520" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (high_assists VARCHAR, location_attendance VARCHAR) Question: What high assists have uic pavilion 3,520 as the location/attendance? [/INST] SELECT high_assists FROM table_name_31 WHERE location_att... |
What game has jones (10) as the high rebounds? | CREATE TABLE table_name_94 (game VARCHAR, high_rebounds VARCHAR) | SELECT game FROM table_name_94 WHERE high_rebounds = "jones (10)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (game VARCHAR, high_rebounds VARCHAR) Question: What game has jones (10) as the high rebounds? [/INST] SELECT game FROM table_name_94 WHERE high_rebounds = "jones (10)" </s> |
How many cores does the processor with a release price of $426 have? | CREATE TABLE table_name_28 (cores VARCHAR, release_price___usd__ VARCHAR) | SELECT cores FROM table_name_28 WHERE release_price___usd__ = "$426" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (cores VARCHAR, release_price___usd__ VARCHAR) Question: How many cores does the processor with a release price of $426 have? [/INST] SELECT cores FROM table_name_28 WHERE release_price___usd__ = "... |
What was the frequency of the Core i7-3610QE? | CREATE TABLE table_name_50 (frequency VARCHAR, model_number VARCHAR) | SELECT frequency FROM table_name_50 WHERE model_number = "core i7-3610qe" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (frequency VARCHAR, model_number VARCHAR) Question: What was the frequency of the Core i7-3610QE? [/INST] SELECT frequency FROM table_name_50 WHERE model_number = "core i7-3610qe" </s> |
How many cores does the processor released in April 2012 with a price of $393 and part number av8063801117503 have? | CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR) | SELECT cores FROM table_name_3 WHERE release_date = "april 2012" AND release_price___usd__ = "$393" AND part_number_s_ = "av8063801117503" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (cores VARCHAR, part_number_s_ VARCHAR, release_date VARCHAR, release_price___usd__ VARCHAR) Question: How many cores does the processor released in April 2012 with a price of $393 and part number a... |
What is Japan's Area km²? | CREATE TABLE table_name_45 (area_km² VARCHAR, country VARCHAR) | SELECT area_km² FROM table_name_45 WHERE country = "japan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (area_km² VARCHAR, country VARCHAR) Question: What is Japan's Area km²? [/INST] SELECT area_km² FROM table_name_45 WHERE country = "japan" </s> |
Which island has a density (per km²) of 1,368? | CREATE TABLE table_name_98 (island VARCHAR, density__per_km²_ VARCHAR) | SELECT island FROM table_name_98 WHERE density__per_km²_ = "1,368" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (island VARCHAR, density__per_km²_ VARCHAR) Question: Which island has a density (per km²) of 1,368? [/INST] SELECT island FROM table_name_98 WHERE density__per_km²_ = "1,368" </s> |
Which country has a density (per km²) of 6,814? | CREATE TABLE table_name_32 (country VARCHAR, density__per_km²_ VARCHAR) | SELECT country FROM table_name_32 WHERE density__per_km²_ = "6,814" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (country VARCHAR, density__per_km²_ VARCHAR) Question: Which country has a density (per km²) of 6,814? [/INST] SELECT country FROM table_name_32 WHERE density__per_km²_ = "6,814" </s> |
Which island has a population of 9,520 (2000)? | CREATE TABLE table_name_20 (island VARCHAR, population VARCHAR) | SELECT island FROM table_name_20 WHERE population = "9,520 (2000)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (island VARCHAR, population VARCHAR) Question: Which island has a population of 9,520 (2000)? [/INST] SELECT island FROM table_name_20 WHERE population = "9,520 (2000)" </s> |
What is the area km² for a population of 99,685 (2008)? | CREATE TABLE table_name_99 (area_km² VARCHAR, population VARCHAR) | SELECT area_km² FROM table_name_99 WHERE population = "99,685 (2008)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (area_km² VARCHAR, population VARCHAR) Question: What is the area km² for a population of 99,685 (2008)? [/INST] SELECT area_km² FROM table_name_99 WHERE population = "99,685 (2008)" </s> |
Which island is in the United Kingdom? | CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR) | SELECT island FROM table_name_43 WHERE country = "united kingdom" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR) Question: Which island is in the United Kingdom? [/INST] SELECT island FROM table_name_43 WHERE country = "united kingdom" </s> |
Who is the pitcher from the 1983 season in location Kingdome? | CREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR) | SELECT pitcher FROM table_name_40 WHERE location = "kingdome" AND season = "1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR) Question: Who is the pitcher from the 1983 season in location Kingdome? [/INST] SELECT pitcher FROM table_name_40 WHERE location = "kingdome" AND... |
Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent? | CREATE TABLE table_name_5 (pitcher VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT pitcher FROM table_name_5 WHERE opponent = "cleveland indians" AND season = "1994" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (pitcher VARCHAR, opponent VARCHAR, season VARCHAR) Question: Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent? [/INST] SELECT pitcher FROM table_name_5 WHERE op... |
Who is the opponent for the 2011 season with a decision of W? | CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR) | SELECT opponent FROM table_name_11 WHERE decision = "w" AND season = "2011" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR) Question: Who is the opponent for the 2011 season with a decision of W? [/INST] SELECT opponent FROM table_name_11 WHERE decision = "w" AND seas... |
What season was played at Safeco Field, against the Boston Red Sox, with a decision of L? | CREATE TABLE table_name_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR) | SELECT season FROM table_name_60 WHERE location = "safeco field" AND decision = "l" AND opponent = "boston red sox" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR) Question: What season was played at Safeco Field, against the Boston Red Sox, with a decision of L? [/INST] SELECT season FROM... |
What was the decision for the 1983 season for the game played against the New York Yankees? | CREATE TABLE table_name_35 (decision VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT decision FROM table_name_35 WHERE opponent = "new york yankees" AND season = "1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (decision VARCHAR, opponent VARCHAR, season VARCHAR) Question: What was the decision for the 1983 season for the game played against the New York Yankees? [/INST] SELECT decision FROM table_name_35... |
what is the encoding when the tracks/side is 80 and sectors/track is 11? | CREATE TABLE table_name_44 (encoding VARCHAR, tracks__side VARCHAR, sectors__track VARCHAR) | SELECT encoding FROM table_name_44 WHERE tracks__side = "80" AND sectors__track = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (encoding VARCHAR, tracks__side VARCHAR, sectors__track VARCHAR) Question: what is the encoding when the tracks/side is 80 and sectors/track is 11? [/INST] SELECT encoding FROM table_name_44 WHERE... |
What is the highest bronze for less than 2 total trophies? | CREATE TABLE table_name_16 (bronze INTEGER, total INTEGER) | SELECT MAX(bronze) FROM table_name_16 WHERE total < 2 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (bronze INTEGER, total INTEGER) Question: What is the highest bronze for less than 2 total trophies? [/INST] SELECT MAX(bronze) FROM table_name_16 WHERE total < 2 </s> |
Which Total has a Finish of t64, and a Year won larger than 2006? | CREATE TABLE table_name_64 (total INTEGER, finish VARCHAR, year_won VARCHAR) | SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND year_won > 2006 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (total INTEGER, finish VARCHAR, year_won VARCHAR) Question: Which Total has a Finish of t64, and a Year won larger than 2006? [/INST] SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND y... |
Which year won has a Finish of t24, and a Country of england? | CREATE TABLE table_name_6 (year_won INTEGER, finish VARCHAR, country VARCHAR) | SELECT AVG(year_won) FROM table_name_6 WHERE finish = "t24" AND country = "england" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (year_won INTEGER, finish VARCHAR, country VARCHAR) Question: Which year won has a Finish of t24, and a Country of england? [/INST] SELECT AVG(year_won) FROM table_name_6 WHERE finish = "t24" AND co... |
What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over 10? | CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_45 WHERE total > 2 AND silver < 1 AND rank > 10 AND gold < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (bronze INTEGER, gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR) Question: What is the smallest bronze value for countries with totals over 2, golds of 0, silvers under 1, and ranks over... |
Which school has an enrollment of A and had lost river as their previous conference? | CREATE TABLE table_name_53 (school VARCHAR, previous_conference VARCHAR, enrollment VARCHAR) | SELECT school FROM table_name_53 WHERE previous_conference = "lost river" AND enrollment = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (school VARCHAR, previous_conference VARCHAR, enrollment VARCHAR) Question: Which school has an enrollment of A and had lost river as their previous conference? [/INST] SELECT school FROM table_nam... |
What is the average year joined of the 277 county? | CREATE TABLE table_name_43 (year_joined INTEGER, county VARCHAR) | SELECT AVG(year_joined) FROM table_name_43 WHERE county = 277 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (year_joined INTEGER, county VARCHAR) Question: What is the average year joined of the 277 county? [/INST] SELECT AVG(year_joined) FROM table_name_43 WHERE county = 277 </s> |
What is the IHSAA class of the county that is less than 228? | CREATE TABLE table_name_71 (ihsaa_class VARCHAR, county INTEGER) | SELECT ihsaa_class FROM table_name_71 WHERE county < 228 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (ihsaa_class VARCHAR, county INTEGER) Question: What is the IHSAA class of the county that is less than 228? [/INST] SELECT ihsaa_class FROM table_name_71 WHERE county < 228 </s> |
What is the engine when the transmission was 4-speed automatic, and acceleration 0–100km/h (0–62mph) was 10.4 s? | CREATE TABLE table_name_12 (engine VARCHAR, transmission VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) | SELECT engine FROM table_name_12 WHERE transmission = "4-speed automatic" AND acceleration_0_100km_h__0_62mph_ = "10.4 s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (engine VARCHAR, transmission VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) Question: What is the engine when the transmission was 4-speed automatic, and acceleration 0–100km/h (0–62mph) was 1... |
What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s? | CREATE TABLE table_name_49 (power VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) | SELECT power FROM table_name_49 WHERE acceleration_0_100km_h__0_62mph_ = "9.1 s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (power VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) Question: What is the Power when the acceleration 0–100km/h (0–62mph) is 9.1 s? [/INST] SELECT power FROM table_name_49 WHERE acceleration_... |
What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s? | CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) | SELECT transmission FROM table_name_99 WHERE engine = "2.0l" AND acceleration_0_100km_h__0_62mph_ = "10.5 s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) Question: What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s? [/INST] ... |
What is the production when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s? | CREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) | SELECT production FROM table_name_5 WHERE engine = "2.7l" AND acceleration_0_100km_h__0_62mph_ = "8.5 s" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) Question: What is the production when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s? [/INST] SELECT pro... |
What is the transmission when the production was 2002-2005? | CREATE TABLE table_name_29 (transmission VARCHAR, production VARCHAR) | SELECT transmission FROM table_name_29 WHERE production = "2002-2005" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (transmission VARCHAR, production VARCHAR) Question: What is the transmission when the production was 2002-2005? [/INST] SELECT transmission FROM table_name_29 WHERE production = "2002-2005" </s> |
What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual? | CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR) | SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = "5-speed manual" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR) Question: What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual? [/INST] SELECT acceleration_0_100km_... |
What is the highest year for the Bethesda Game Studios Developer? | CREATE TABLE table_name_68 (year INTEGER, developer_s_ VARCHAR) | SELECT MAX(year) FROM table_name_68 WHERE developer_s_ = "bethesda game studios" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (year INTEGER, developer_s_ VARCHAR) Question: What is the highest year for the Bethesda Game Studios Developer? [/INST] SELECT MAX(year) FROM table_name_68 WHERE developer_s_ = "bethesda game stud... |
What is the lowest year for the game called The Elder Scrolls v: Skyrim? | CREATE TABLE table_name_99 (year INTEGER, game VARCHAR) | SELECT MIN(year) FROM table_name_99 WHERE game = "the elder scrolls v: skyrim" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (year INTEGER, game VARCHAR) Question: What is the lowest year for the game called The Elder Scrolls v: Skyrim? [/INST] SELECT MIN(year) FROM table_name_99 WHERE game = "the elder scrolls v: skyrim... |
What game was developed by Naughty Dog? | CREATE TABLE table_name_33 (genre VARCHAR, developer_s_ VARCHAR) | SELECT genre FROM table_name_33 WHERE developer_s_ = "naughty dog" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (genre VARCHAR, developer_s_ VARCHAR) Question: What game was developed by Naughty Dog? [/INST] SELECT genre FROM table_name_33 WHERE developer_s_ = "naughty dog" </s> |
What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD? | CREATE TABLE table_name_31 (imed_avicenna_listed VARCHAR, established VARCHAR, degree VARCHAR, regional_offshore VARCHAR, country_territory VARCHAR) | SELECT imed_avicenna_listed FROM table_name_31 WHERE regional_offshore = "offshore" AND country_territory = "saint kitts and nevis" AND degree = "md" AND established < 2000 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (imed_avicenna_listed VARCHAR, established VARCHAR, degree VARCHAR, regional_offshore VARCHAR, country_territory VARCHAR) Question: What is the imed/avicenna listed for a medical school offshore in... |
What country has a medical school established in 1969 with both an IMED and avicenna? | CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR) | SELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = "both" AND established = 1969 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR) Question: What country has a medical school established in 1969 with both an IMED and avicenna? [/INST] SELECT country... |
What is the average year that the medical school in dominican republic was established? | CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR) | SELECT AVG(established) FROM table_name_86 WHERE country_territory = "dominican republic" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (established INTEGER, country_territory VARCHAR) Question: What is the average year that the medical school in dominican republic was established? [/INST] SELECT AVG(established) FROM table_name_86... |
What are the most wins with byes more than 0 and 1637 against? | CREATE TABLE table_name_99 (wins INTEGER, against VARCHAR, byes VARCHAR) | SELECT MAX(wins) FROM table_name_99 WHERE against = 1637 AND byes > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (wins INTEGER, against VARCHAR, byes VARCHAR) Question: What are the most wins with byes more than 0 and 1637 against? [/INST] SELECT MAX(wins) FROM table_name_99 WHERE against = 1637 AND byes > 0 ... |
What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against? | CREATE TABLE table_name_78 (byes VARCHAR, against VARCHAR, losses VARCHAR, sunrayia_fl VARCHAR) | SELECT COUNT(byes) FROM table_name_78 WHERE losses > 4 AND sunrayia_fl = "red cliffs" AND against > 2422 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (byes VARCHAR, against VARCHAR, losses VARCHAR, sunrayia_fl VARCHAR) Question: What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against? [/INST] SELECT COUNT(by... |
What's the total wins for Wentworth with less than 0 byes? | CREATE TABLE table_name_45 (wins VARCHAR, sunrayia_fl VARCHAR, byes VARCHAR) | SELECT COUNT(wins) FROM table_name_45 WHERE sunrayia_fl = "wentworth" AND byes < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (wins VARCHAR, sunrayia_fl VARCHAR, byes VARCHAR) Question: What's the total wins for Wentworth with less than 0 byes? [/INST] SELECT COUNT(wins) FROM table_name_45 WHERE sunrayia_fl = "wentworth" ... |
Which venue had an opponent of Sunderland and a result of a 1-1 draw? | CREATE TABLE table_name_40 (venue VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT venue FROM table_name_40 WHERE opponent = "sunderland" AND result = "1-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (venue VARCHAR, opponent VARCHAR, result VARCHAR) Question: Which venue had an opponent of Sunderland and a result of a 1-1 draw? [/INST] SELECT venue FROM table_name_40 WHERE opponent = "sunderlan... |
What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1? | CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR) Question: What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1? [/INST] SELECT COUNT(attendan... |
Which venue ended in a 3-0 result? | CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_35 WHERE result = "3-0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR) Question: Which venue ended in a 3-0 result? [/INST] SELECT venue FROM table_name_35 WHERE result = "3-0" </s> |
Where was a 0-5 game played? | CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_7 WHERE result = "0-5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR) Question: Where was a 0-5 game played? [/INST] SELECT venue FROM table_name_7 WHERE result = "0-5" </s> |
What is the average rank of a player with fewer than 3 matches? | CREATE TABLE table_name_38 (rank INTEGER, matches INTEGER) | SELECT AVG(rank) FROM table_name_38 WHERE matches < 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, matches INTEGER) Question: What is the average rank of a player with fewer than 3 matches? [/INST] SELECT AVG(rank) FROM table_name_38 WHERE matches < 3 </s> |
Who was the opponent on April 21? | CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_24 WHERE date = "april 21" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) Question: Who was the opponent on April 21? [/INST] SELECT opponent FROM table_name_24 WHERE date = "april 21" </s> |
What's the record on April 12 when the location was The Omni? | CREATE TABLE table_name_25 (record VARCHAR, location_attendance VARCHAR, date VARCHAR) | SELECT record FROM table_name_25 WHERE location_attendance = "the omni" AND date = "april 12" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (record VARCHAR, location_attendance VARCHAR, date VARCHAR) Question: What's the record on April 12 when the location was The Omni? [/INST] SELECT record FROM table_name_25 WHERE location_attendanc... |
What date was the score "score"? | CREATE TABLE table_name_91 (date VARCHAR) | SELECT date FROM table_name_91 WHERE "score" = "score" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (date VARCHAR) Question: What date was the score "score"? [/INST] SELECT date FROM table_name_91 WHERE "score" = "score" </s> |
What's the score of game 77? | CREATE TABLE table_name_20 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_20 WHERE game = "77" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (score VARCHAR, game VARCHAR) Question: What's the score of game 77? [/INST] SELECT score FROM table_name_20 WHERE game = "77" </s> |
What date had a record of 43-34? | CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_17 WHERE record = "43-34" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR) Question: What date had a record of 43-34? [/INST] SELECT date FROM table_name_17 WHERE record = "43-34" </s> |
What Artist had a Percentage of 17.14%? | CREATE TABLE table_name_5 (artist VARCHAR, percentage VARCHAR) | SELECT artist FROM table_name_5 WHERE percentage = "17.14%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (artist VARCHAR, percentage VARCHAR) Question: What Artist had a Percentage of 17.14%? [/INST] SELECT artist FROM table_name_5 WHERE percentage = "17.14%" </s> |
What Percentage has a Place of 5? | CREATE TABLE table_name_73 (percentage VARCHAR, place VARCHAR) | SELECT percentage FROM table_name_73 WHERE place = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (percentage VARCHAR, place VARCHAR) Question: What Percentage has a Place of 5? [/INST] SELECT percentage FROM table_name_73 WHERE place = 5 </s> |
Which BR number has an LMS number over 14768? | CREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER) | SELECT br_number FROM table_name_5 WHERE lms_number > 14768 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER) Question: Which BR number has an LMS number over 14768? [/INST] SELECT br_number FROM table_name_5 WHERE lms_number > 14768 </s> |
what is the frequency when the city of license is belleville? | CREATE TABLE table_name_42 (frequency VARCHAR, city_of_license VARCHAR) | SELECT frequency FROM table_name_42 WHERE city_of_license = "belleville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (frequency VARCHAR, city_of_license VARCHAR) Question: what is the frequency when the city of license is belleville? [/INST] SELECT frequency FROM table_name_42 WHERE city_of_license = "belleville"... |
what is the class when the power is 22500 watts? | CREATE TABLE table_name_17 (class VARCHAR, power VARCHAR) | SELECT class FROM table_name_17 WHERE power = "22500 watts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (class VARCHAR, power VARCHAR) Question: what is the class when the power is 22500 watts? [/INST] SELECT class FROM table_name_17 WHERE power = "22500 watts" </s> |
what is the class when the identifier is cjbc-1-fm? | CREATE TABLE table_name_60 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_60 WHERE identifier = "cjbc-1-fm" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (class VARCHAR, identifier VARCHAR) Question: what is the class when the identifier is cjbc-1-fm? [/INST] SELECT class FROM table_name_60 WHERE identifier = "cjbc-1-fm" </s> |
what is the recnet when the city of license is peterborough? | CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR) | SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR) Question: what is the recnet when the city of license is peterborough? [/INST] SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough" </s> |
what is the power when the city of license is belleville? | CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR) | SELECT power FROM table_name_71 WHERE city_of_license = "belleville" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (power VARCHAR, city_of_license VARCHAR) Question: what is the power when the city of license is belleville? [/INST] SELECT power FROM table_name_71 WHERE city_of_license = "belleville" </s> |
what is the identifier when the power is 22500 watts? | CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR) | SELECT identifier FROM table_name_17 WHERE power = "22500 watts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR) Question: what is the identifier when the power is 22500 watts? [/INST] SELECT identifier FROM table_name_17 WHERE power = "22500 watts" </s> |
What is the Opponents in the game with a Date of nov. 25? | CREATE TABLE table_name_80 (opponents INTEGER, date VARCHAR) | SELECT MIN(opponents) FROM table_name_80 WHERE date = "nov. 25" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (opponents INTEGER, date VARCHAR) Question: What is the Opponents in the game with a Date of nov. 25? [/INST] SELECT MIN(opponents) FROM table_name_80 WHERE date = "nov. 25" </s> |
How many games does leandro love have? | CREATE TABLE table_name_96 (games VARCHAR, name VARCHAR) | SELECT games FROM table_name_96 WHERE name = "leandro love" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (games VARCHAR, name VARCHAR) Question: How many games does leandro love have? [/INST] SELECT games FROM table_name_96 WHERE name = "leandro love" </s> |
What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08? | CREATE TABLE table_name_84 (goals INTEGER, assists VARCHAR, years VARCHAR, name VARCHAR) | SELECT MIN(goals) FROM table_name_84 WHERE years = "2007/08" AND name = "joe keenan" AND assists > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (goals INTEGER, assists VARCHAR, years VARCHAR, name VARCHAR) Question: What is the lowest number of goals joe keenan, who has more than 1 assists, had in 2007/08? [/INST] SELECT MIN(goals) FROM ta... |
What is the lowest number of goals of the player with 9 (0) games and less than 0 assists? | CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR) | SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR) Question: What is the lowest number of goals of the player with 9 (0) games and less than 0 assists? [/INST] SELECT MIN(goals) FROM table_name_37 WHE... |
How many finals had more than 0 goals and 8 assists? | CREATE TABLE table_name_14 (finals VARCHAR, goals VARCHAR, assists VARCHAR) | SELECT finals FROM table_name_14 WHERE goals > 0 AND assists = 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (finals VARCHAR, goals VARCHAR, assists VARCHAR) Question: How many finals had more than 0 goals and 8 assists? [/INST] SELECT finals FROM table_name_14 WHERE goals > 0 AND assists = 8 </s> |
When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank? | CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR) | SELECT MIN(rank) FROM table_name_6 WHERE nationality = "united states" AND time = "58.06" AND heat > 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR) Question: When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank? [/INST]... |
What is the highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia? | CREATE TABLE table_name_67 (rank INTEGER, nationality VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT MAX(rank) FROM table_name_67 WHERE lane > 6 AND heat = 3 AND nationality = "colombia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (rank INTEGER, nationality VARCHAR, lane VARCHAR, heat VARCHAR) Question: What is the highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia? [/INST] SELECT... |
What is the total lane for a heat larger than 7? | CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER) | SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER) Question: What is the total lane for a heat larger than 7? [/INST] SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7 </s> |
What is the highest heat when the nationality is poland, and the lane is smaller than 6? | CREATE TABLE table_name_22 (heat INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT MAX(heat) FROM table_name_22 WHERE nationality = "poland" AND lane < 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (heat INTEGER, nationality VARCHAR, lane VARCHAR) Question: What is the highest heat when the nationality is poland, and the lane is smaller than 6? [/INST] SELECT MAX(heat) FROM table_name_22 WHER... |
Which Lead Pitch/mm has a Body Width/mm larger than 10.16? | CREATE TABLE table_name_28 (lead_pitch_mm INTEGER, body_width_mm INTEGER) | SELECT SUM(lead_pitch_mm) FROM table_name_28 WHERE body_width_mm > 10.16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (lead_pitch_mm INTEGER, body_width_mm INTEGER) Question: Which Lead Pitch/mm has a Body Width/mm larger than 10.16? [/INST] SELECT SUM(lead_pitch_mm) FROM table_name_28 WHERE body_width_mm > 10.16 ... |
How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42? | CREATE TABLE table_name_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) | SELECT SUM(body_width_mm) FROM table_name_66 WHERE part_number = "tsop40/44" AND body_length_mm < 18.42 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) Question: How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42? [/INST] SELECT SUM(bod... |
Which Lead Pitch/mm has a Part Number of tsop24/28? | CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR) | SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR) Question: Which Lead Pitch/mm has a Part Number of tsop24/28? [/INST] SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28" </s> |
What is the highest amount of silver when gold is 1 and bronze larger than 0? | CREATE TABLE table_name_40 (silver INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_40 WHERE gold = 1 AND bronze > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (silver INTEGER, gold VARCHAR, bronze VARCHAR) Question: What is the highest amount of silver when gold is 1 and bronze larger than 0? [/INST] SELECT MAX(silver) FROM table_name_40 WHERE gold = 1 A... |
What is the Time of the Athlete with a Reaction time of 0.164? | CREATE TABLE table_name_48 (time INTEGER, reaction_time VARCHAR) | SELECT SUM(time) FROM table_name_48 WHERE reaction_time = 0.164 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (time INTEGER, reaction_time VARCHAR) Question: What is the Time of the Athlete with a Reaction time of 0.164? [/INST] SELECT SUM(time) FROM table_name_48 WHERE reaction_time = 0.164 </s> |
What is the Time of the Athlete in Lane 4? | CREATE TABLE table_name_34 (time VARCHAR, lane VARCHAR) | SELECT COUNT(time) FROM table_name_34 WHERE lane = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (time VARCHAR, lane VARCHAR) Question: What is the Time of the Athlete in Lane 4? [/INST] SELECT COUNT(time) FROM table_name_34 WHERE lane = 4 </s> |
What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than 44.74? | CREATE TABLE table_name_82 (lane INTEGER, nationality VARCHAR, reaction_time VARCHAR, time VARCHAR) | SELECT SUM(lane) FROM table_name_82 WHERE reaction_time < 0.218 AND time > 44.74 AND nationality = "great britain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (lane INTEGER, nationality VARCHAR, reaction_time VARCHAR, time VARCHAR) Question: What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than ... |
What is the time in week 3? | CREATE TABLE table_name_29 (tv_time VARCHAR, week VARCHAR) | SELECT tv_time FROM table_name_29 WHERE week = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (tv_time VARCHAR, week VARCHAR) Question: What is the time in week 3? [/INST] SELECT tv_time FROM table_name_29 WHERE week = 3 </s> |
What is the week with attendance of 73,572? | CREATE TABLE table_name_61 (week INTEGER, attendance VARCHAR) | SELECT MAX(week) FROM table_name_61 WHERE attendance = "73,572" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (week INTEGER, attendance VARCHAR) Question: What is the week with attendance of 73,572? [/INST] SELECT MAX(week) FROM table_name_61 WHERE attendance = "73,572" </s> |
What week was the opponent the San Diego Chargers? | CREATE TABLE table_name_94 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_94 WHERE opponent = "san diego chargers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (week VARCHAR, opponent VARCHAR) Question: What week was the opponent the San Diego Chargers? [/INST] SELECT COUNT(week) FROM table_name_94 WHERE opponent = "san diego chargers" </s> |
What week was the result of l 38–21? | CREATE TABLE table_name_63 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_63 WHERE result = "l 38–21" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (week INTEGER, result VARCHAR) Question: What week was the result of l 38–21? [/INST] SELECT MAX(week) FROM table_name_63 WHERE result = "l 38–21" </s> |
What's the total of Rank for the County of Galway and has a Total that's larger than 13? | CREATE TABLE table_name_60 (rank INTEGER, county VARCHAR, total VARCHAR) | SELECT SUM(rank) FROM table_name_60 WHERE county = "galway" AND total > 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (rank INTEGER, county VARCHAR, total VARCHAR) Question: What's the total of Rank for the County of Galway and has a Total that's larger than 13? [/INST] SELECT SUM(rank) FROM table_name_60 WHERE co... |
What County has an Opposition of Antrim and the Player Bernie Forde? | CREATE TABLE table_name_53 (county VARCHAR, opposition VARCHAR, player VARCHAR) | SELECT county FROM table_name_53 WHERE opposition = "antrim" AND player = "bernie forde" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (county VARCHAR, opposition VARCHAR, player VARCHAR) Question: What County has an Opposition of Antrim and the Player Bernie Forde? [/INST] SELECT county FROM table_name_53 WHERE opposition = "antr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.