instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
How many July 1, 2013 projections have a Rank of 27? | CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR) | SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR) Question: How many July 1, 2013 projections have a Rank of 27? [/INST] SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank ... |
What is the format for the one which has a call sign of cite-fm-1? | CREATE TABLE table_name_94 (format VARCHAR, call_sign VARCHAR) | SELECT format FROM table_name_94 WHERE call_sign = "cite-fm-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (format VARCHAR, call_sign VARCHAR) Question: What is the format for the one which has a call sign of cite-fm-1? [/INST] SELECT format FROM table_name_94 WHERE call_sign = "cite-fm-1" </s> |
What'd the total Dolphin points when there was an attendance of 52,860? | CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR) | SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR) Question: What'd the total Dolphin points when there was an attendance of 52,860? [/INST] SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attend... |
What's the most in attendance when the Dolphins points were less than 24 and, they played the New England Patriots? | CREATE TABLE table_name_77 (attendance INTEGER, dolphins_points VARCHAR, opponent VARCHAR) | SELECT MAX(attendance) FROM table_name_77 WHERE dolphins_points < 24 AND opponent = "new england patriots" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (attendance INTEGER, dolphins_points VARCHAR, opponent VARCHAR) Question: What's the most in attendance when the Dolphins points were less than 24 and, they played the New England Patriots? [/INST]... |
Which district had SC reserved and 169 Constituents? | CREATE TABLE table_name_2 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: Which district had SC reserved and 169 Constituents? [/INST] SELECT district FROM table_name_2 WHERE ... |
What was reserved in the district that has 169 constituents? | CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = "169" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: What was reserved in the district that has 169 constituents? [/INST] SELECT reserved_for___sc___st__none_ FROM table_n... |
What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R? | CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "1r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (Id VARCHAR) Question: What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R? [/INST] SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "1r" </s> |
What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R? | CREATE TABLE table_name_4 (Id VARCHAR) | SELECT 1996 FROM table_name_4 WHERE 1994 = "lq" AND 1992 = "3r" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (Id VARCHAR) Question: What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R? [/INST] SELECT 1996 FROM table_name_4 WHERE 1994 = "lq" AND 1992 = "3r" </s> |
What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments? | CREATE TABLE table_name_88 (Id VARCHAR) | SELECT 1994 FROM table_name_88 WHERE 1993 = "grand slam tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (Id VARCHAR) Question: What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments? [/INST] SELECT 1994 FROM table_name_88 WHERE 1993 = "grand slam tournaments" </s> |
What is 1995 Grand Slam Tournament if 1990 is LQ? | CREATE TABLE table_name_96 (Id VARCHAR) | SELECT 1995 FROM table_name_96 WHERE 1990 = "lq" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (Id VARCHAR) Question: What is 1995 Grand Slam Tournament if 1990 is LQ? [/INST] SELECT 1995 FROM table_name_96 WHERE 1990 = "lq" </s> |
What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments? | CREATE TABLE table_name_33 (Id VARCHAR) | SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (Id VARCHAR) Question: What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments? [/INST] SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments" </s> |
What is 1987 Grand Slam Tournament if 1989 is also grand slam tournaments? | CREATE TABLE table_name_71 (Id VARCHAR) | SELECT 1987 FROM table_name_71 WHERE 1989 = "grand slam tournaments" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (Id VARCHAR) Question: What is 1987 Grand Slam Tournament if 1989 is also grand slam tournaments? [/INST] SELECT 1987 FROM table_name_71 WHERE 1989 = "grand slam tournaments" </s> |
How many people attended the home game against the New York Jets? | CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR) Question: How many people attended the home game against the New York Jets? [/INST] SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets"... |
How many people attended the September 14, 1968 game? | CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_28 WHERE date = "september 14, 1968" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) Question: How many people attended the September 14, 1968 game? [/INST] SELECT COUNT(attendance) FROM table_name_28 WHERE date = "september 14, 1968" </s> |
Who is the director of the production number 9368? | CREATE TABLE table_name_51 (director VARCHAR, production_number VARCHAR) | SELECT director FROM table_name_51 WHERE production_number = "9368" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (director VARCHAR, production_number VARCHAR) Question: Who is the director of the production number 9368? [/INST] SELECT director FROM table_name_51 WHERE production_number = "9368" </s> |
What is the title with chuck jones as the director and the production number 9537? | CREATE TABLE table_name_78 (title VARCHAR, director VARCHAR, production_number VARCHAR) | SELECT title FROM table_name_78 WHERE director = "chuck jones" AND production_number = "9537" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (title VARCHAR, director VARCHAR, production_number VARCHAR) Question: What is the title with chuck jones as the director and the production number 9537? [/INST] SELECT title FROM table_name_78 WHE... |
What is the release date of the mm series, which has the title tom thumb in trouble? | CREATE TABLE table_name_40 (release_date VARCHAR, series VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_40 WHERE series = "mm" AND title = "tom thumb in trouble" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (release_date VARCHAR, series VARCHAR, title VARCHAR) Question: What is the release date of the mm series, which has the title tom thumb in trouble? [/INST] SELECT release_date FROM table_name_40 W... |
What is the release date of the mm series which has the title confederate honey? | CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR) Question: What is the release date of the mm series which has the title confederate honey? [/INST] SELECT release_date FROM table_name_92 WHERE... |
What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007? | CREATE TABLE table_name_33 (start INTEGER, year VARCHAR, team VARCHAR, finish VARCHAR) | SELECT AVG(start) FROM table_name_33 WHERE team = "andretti green racing" AND finish > 3 AND year < 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (start INTEGER, year VARCHAR, team VARCHAR, finish VARCHAR) Question: What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007? [/INST] SELECT AVG(st... |
What is the lowest start in a year after 2008? | CREATE TABLE table_name_62 (start INTEGER, year INTEGER) | SELECT MIN(start) FROM table_name_62 WHERE year > 2008 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (start INTEGER, year INTEGER) Question: What is the lowest start in a year after 2008? [/INST] SELECT MIN(start) FROM table_name_62 WHERE year > 2008 </s> |
What finish has a start smaller than 25? | CREATE TABLE table_name_73 (finish VARCHAR, start INTEGER) | SELECT finish FROM table_name_73 WHERE start < 25 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (finish VARCHAR, start INTEGER) Question: What finish has a start smaller than 25? [/INST] SELECT finish FROM table_name_73 WHERE start < 25 </s> |
Where did the team of Rahal Letterman in 2006 start? | CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR) | SELECT COUNT(start) FROM table_name_53 WHERE team = "rahal letterman" AND year = 2006 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR) Question: Where did the team of Rahal Letterman in 2006 start? [/INST] SELECT COUNT(start) FROM table_name_53 WHERE team = "rahal letterman" AND year = 2... |
What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis? | CREATE TABLE table_name_51 (year VARCHAR, finish VARCHAR, chassis VARCHAR, team VARCHAR) | SELECT year FROM table_name_51 WHERE chassis = "dallara" AND team = "andretti green racing" AND finish < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (year VARCHAR, finish VARCHAR, chassis VARCHAR, team VARCHAR) Question: What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis? [/INST] SELECT year FROM tab... |
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character? | CREATE TABLE table_name_93 (director VARCHAR, release_date VARCHAR, characters VARCHAR) | SELECT director FROM table_name_93 WHERE release_date = "2004-03-31" AND characters = "daffy (as duck dodgers)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (director VARCHAR, release_date VARCHAR, characters VARCHAR) Question: What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character? [/INST] SELECT director FROM ... |
What title has daffy (as duck dodgers) as the character? | CREATE TABLE table_name_98 (title VARCHAR, characters VARCHAR) | SELECT title FROM table_name_98 WHERE characters = "daffy (as duck dodgers)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (title VARCHAR, characters VARCHAR) Question: What title has daffy (as duck dodgers) as the character? [/INST] SELECT title FROM table_name_98 WHERE characters = "daffy (as duck dodgers)" </s> |
What series has dan povenmire as the director, with museum scream as the title? | CREATE TABLE table_name_46 (series VARCHAR, director VARCHAR, title VARCHAR) | SELECT series FROM table_name_46 WHERE director = "dan povenmire" AND title = "museum scream" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (series VARCHAR, director VARCHAR, title VARCHAR) Question: What series has dan povenmire as the director, with museum scream as the title? [/INST] SELECT series FROM table_name_46 WHERE director =... |
What was the highest number of 2009 electorates for Raisen when the consituency number was 142? | CREATE TABLE table_name_86 (number_of_electorates__2009_ INTEGER, district VARCHAR, constituency_number VARCHAR) | SELECT MAX(number_of_electorates__2009_) FROM table_name_86 WHERE district = "raisen" AND constituency_number = "142" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (number_of_electorates__2009_ INTEGER, district VARCHAR, constituency_number VARCHAR) Question: What was the highest number of 2009 electorates for Raisen when the consituency number was 142? [/INS... |
How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414? | CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR) | SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR) Question: How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger... |
Which Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790? | CREATE TABLE table_name_90 (population_density__per_km²_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km²_ VARCHAR) | SELECT MAX(population_density__per_km²_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km²_ < 15.59 AND population__2011_ > 790 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (population_density__per_km²_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km²_ VARCHAR) Question: Which Population density (per km²) has a Change (%) larger than 4.... |
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3? | CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR) | SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR) Question: How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (pe... |
Which Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse? | CREATE TABLE table_name_12 (land_area__km²_ INTEGER, name VARCHAR, population_density__per_km²_ VARCHAR, population__2006_ VARCHAR) | SELECT MAX(land_area__km²_) FROM table_name_12 WHERE population_density__per_km²_ > 112.6 AND population__2006_ > 785 AND name = "pinehouse" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (land_area__km²_ INTEGER, name VARCHAR, population_density__per_km²_ VARCHAR, population__2006_ VARCHAR) Question: Which Land area (km²) has a Population density (per km²) larger than 112.6, and a ... |
With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn? | CREATE TABLE table_name_18 (withdrawn INTEGER, number VARCHAR, converted VARCHAR) | SELECT MAX(withdrawn) FROM table_name_18 WHERE number = "32 (2nd)" AND converted < 1966 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (withdrawn INTEGER, number VARCHAR, converted VARCHAR) Question: With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn? [/INST] SELECT MAX(withdr... |
What is the average when the matches are 11? | CREATE TABLE table_name_47 (average VARCHAR, matches VARCHAR) | SELECT average FROM table_name_47 WHERE matches = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (average VARCHAR, matches VARCHAR) Question: What is the average when the matches are 11? [/INST] SELECT average FROM table_name_47 WHERE matches = "11" </s> |
What is the overs when the matches are 10? | CREATE TABLE table_name_88 (overs VARCHAR, matches VARCHAR) | SELECT overs FROM table_name_88 WHERE matches = "10" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (overs VARCHAR, matches VARCHAR) Question: What is the overs when the matches are 10? [/INST] SELECT overs FROM table_name_88 WHERE matches = "10" </s> |
Which Car # has a Driver of ryan newman, and a Position larger than 10? | CREATE TABLE table_name_39 (car__number INTEGER, driver VARCHAR, pos VARCHAR) | SELECT MIN(car__number) FROM table_name_39 WHERE driver = "ryan newman" AND pos > 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (car__number INTEGER, driver VARCHAR, pos VARCHAR) Question: Which Car # has a Driver of ryan newman, and a Position larger than 10? [/INST] SELECT MIN(car__number) FROM table_name_39 WHERE driver ... |
Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4? | CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR) | SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR) Question: Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4? [/INST] SELECT ... |
Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news? | CREATE TABLE table_name_24 (time VARCHAR, news_freq VARCHAR, local_networked VARCHAR, ad_freq VARCHAR) | SELECT time FROM table_name_24 WHERE local_networked = "local" AND ad_freq = "20 minutes" AND news_freq = "n/a after 7pm news" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (time VARCHAR, news_freq VARCHAR, local_networked VARCHAR, ad_freq VARCHAR) Question: Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a af... |
Which time has a news frequency of 1 hour and show name of Best Mix Overnight? | CREATE TABLE table_name_84 (time VARCHAR, news_freq VARCHAR, show_name VARCHAR) | SELECT time FROM table_name_84 WHERE news_freq = "1 hour" AND show_name = "best mix overnight" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (time VARCHAR, news_freq VARCHAR, show_name VARCHAR) Question: Which time has a news frequency of 1 hour and show name of Best Mix Overnight? [/INST] SELECT time FROM table_name_84 WHERE news_freq ... |
What is the ad frequency for the show named Health Matters? | CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR) | SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR) Question: What is the ad frequency for the show named Health Matters? [/INST] SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters" </s> |
What is the news frequency for the show Locker Room? | CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR) | SELECT news_freq FROM table_name_73 WHERE show_name = "locker room" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR) Question: What is the news frequency for the show Locker Room? [/INST] SELECT news_freq FROM table_name_73 WHERE show_name = "locker room" </s> |
What is the local/networked value for the show with an ad frequency of N/A? | CREATE TABLE table_name_38 (local_networked VARCHAR, ad_freq VARCHAR) | SELECT local_networked FROM table_name_38 WHERE ad_freq = "n/a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (local_networked VARCHAR, ad_freq VARCHAR) Question: What is the local/networked value for the show with an ad frequency of N/A? [/INST] SELECT local_networked FROM table_name_38 WHERE ad_freq = "n... |
When france had a rank larger than 2, what was their time? | CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR) | SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR) Question: When france had a rank larger than 2, what was their time? [/INST] SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france" </s> |
What was the time for the country of kazakhstan? | CREATE TABLE table_name_13 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_13 WHERE country = "kazakhstan" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (time VARCHAR, country VARCHAR) Question: What was the time for the country of kazakhstan? [/INST] SELECT time FROM table_name_13 WHERE country = "kazakhstan" </s> |
What athletes represented the country of germany? | CREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR) | SELECT athletes FROM table_name_82 WHERE country = "germany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR) Question: What athletes represented the country of germany? [/INST] SELECT athletes FROM table_name_82 WHERE country = "germany" </s> |
What was the rank for the finish time of 1:42.054? | CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR) | SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR) Question: What was the rank for the finish time of 1:42.054? [/INST] SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054" </s> |
Which country had a rank smaller than 7 and a time of 1:43.189? | CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR) | SELECT country FROM table_name_81 WHERE rank < 7 AND time = "1:43.189" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR) Question: Which country had a rank smaller than 7 and a time of 1:43.189? [/INST] SELECT country FROM table_name_81 WHERE rank < 7 AND time = "1:43.189... |
what is the club when the runners-up is 1 and the last final won is 1999? | CREATE TABLE table_name_35 (club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR) | SELECT club FROM table_name_35 WHERE runners_up = 1 AND last_final_won = "1999" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR) Question: what is the club when the runners-up is 1 and the last final won is 1999? [/INST] SELECT club FROM table_name_35 WHERE runners_u... |
what is the last final won when runners-up is 1 and club is rijeka? | CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR) | SELECT last_final_won FROM table_name_13 WHERE runners_up = 1 AND club = "rijeka" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR) Question: what is the last final won when runners-up is 1 and club is rijeka? [/INST] SELECT last_final_won FROM table_name_13 WHERE runne... |
How many times is runners-up less than 0? | CREATE TABLE table_name_11 (winners VARCHAR, runners_up INTEGER) | SELECT COUNT(winners) FROM table_name_11 WHERE runners_up < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (winners VARCHAR, runners_up INTEGER) Question: How many times is runners-up less than 0? [/INST] SELECT COUNT(winners) FROM table_name_11 WHERE runners_up < 0 </s> |
How many games have a Result of 4–0, and an Attendance larger than 12,256? | CREATE TABLE table_name_29 (game VARCHAR, result VARCHAR, attendance VARCHAR) | SELECT COUNT(game) FROM table_name_29 WHERE result = "4–0" AND attendance > 12 OFFSET 256 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (game VARCHAR, result VARCHAR, attendance VARCHAR) Question: How many games have a Result of 4–0, and an Attendance larger than 12,256? [/INST] SELECT COUNT(game) FROM table_name_29 WHERE result = ... |
Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth? | CREATE TABLE table_name_22 (result VARCHAR, opponent VARCHAR, venue VARCHAR, game VARCHAR) | SELECT result FROM table_name_22 WHERE venue = "away" AND game < 43 AND opponent = "bournemouth" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (result VARCHAR, opponent VARCHAR, venue VARCHAR, game VARCHAR) Question: Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth? [/INST] SELECT result FROM ta... |
Which Result has a Venue of home, and a Date of 3 october 1987? | CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR) Question: Which Result has a Venue of home, and a Date of 3 october 1987? [/INST] SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 o... |
What is the score of 1993? | CREATE TABLE table_name_91 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_91 WHERE year = "1993" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (score VARCHAR, year VARCHAR) Question: What is the score of 1993? [/INST] SELECT score FROM table_name_91 WHERE year = "1993" </s> |
What is the Name when the runner-up was Sania Mirza Elena Vesnina? | CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR) | SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR) Question: What is the Name when the runner-up was Sania Mirza Elena Vesnina? [/INST] SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina" <... |
What is the name with a Score of 6–3, 6–3? | CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR) | SELECT name FROM table_name_97 WHERE score = "6–3, 6–3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR) Question: What is the name with a Score of 6–3, 6–3? [/INST] SELECT name FROM table_name_97 WHERE score = "6–3, 6–3" </s> |
What was the location in 2009? | CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR) | SELECT location FROM table_name_50 WHERE year = "2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR) Question: What was the location in 2009? [/INST] SELECT location FROM table_name_50 WHERE year = "2009" </s> |
What's the railway number of a D(rebuild) class? | CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR) | SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR) Question: What's the railway number of a D(rebuild) class? [/INST] SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)" </s> |
What the least quantity having a T2A class? | CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR) | SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR) Question: What the least quantity having a T2A class? [/INST] SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a" </s> |
Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in? | CREATE TABLE table_name_15 (lane INTEGER, react VARCHAR, time VARCHAR) | SELECT SUM(lane) FROM table_name_15 WHERE react = 0.185 AND time < 20.9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (lane INTEGER, react VARCHAR, time VARCHAR) Question: Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in? [/INST] SELECT SUM(lane) FROM table_name_15 WHERE react... |
What was the 200-metre time for the swimmer from Slovenia in lane 9? | CREATE TABLE table_name_15 (time VARCHAR, nationality VARCHAR, lane VARCHAR) | SELECT COUNT(time) FROM table_name_15 WHERE nationality = "slovenia" AND lane < 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (time VARCHAR, nationality VARCHAR, lane VARCHAR) Question: What was the 200-metre time for the swimmer from Slovenia in lane 9? [/INST] SELECT COUNT(time) FROM table_name_15 WHERE nationality = "s... |
Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7? | CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR) | SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = "dominica" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR) Question: Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7? [/INST] SELECT athlete FROM table_name_49 W... |
What player had a pick higher than 53, and a position of defensive tackle? | CREATE TABLE table_name_35 (player VARCHAR, pick VARCHAR, position VARCHAR) | SELECT player FROM table_name_35 WHERE pick > 53 AND position = "defensive tackle" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (player VARCHAR, pick VARCHAR, position VARCHAR) Question: What player had a pick higher than 53, and a position of defensive tackle? [/INST] SELECT player FROM table_name_35 WHERE pick > 53 AND po... |
What team is Jim Garcia category:Articles with Hcards on? | CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR) Question: What team is Jim Garcia category:Articles with Hcards on? [/INST] SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards" <... |
Who is the pick from the Purdue College? | CREATE TABLE table_name_90 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_90 WHERE college = "purdue" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (pick VARCHAR, college VARCHAR) Question: Who is the pick from the Purdue College? [/INST] SELECT pick FROM table_name_90 WHERE college = "purdue" </s> |
What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total? | CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR) | SELECT marcin_dołęga___pol__ FROM table_name_76 WHERE world_record = "olympic record" AND snatch = "total" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR) Question: What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total? [/INST] SELECT... |
What is the snatch when Marcin Dołęga ( POL ) was 430kg? | CREATE TABLE table_name_1 (snatch VARCHAR, marcin_dołęga___pol__ VARCHAR) | SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (snatch VARCHAR, marcin_dołęga___pol__ VARCHAR) Question: What is the snatch when Marcin Dołęga ( POL ) was 430kg? [/INST] SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg" </s> |
What shows for Władysławowo, Poland when the world record was clean & jerk? | CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR) | SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR) Question: What shows for Władysławowo, Poland when the world record was clean & jerk? [/INST] SELECT władysławowo_, _poland FROM table... |
What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk? | CREATE TABLE table_name_83 (władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR) | SELECT władysławowo_, _poland FROM table_name_83 WHERE world_record = "olympic record" AND marcin_dołęga___pol__ = "olympic standard" AND snatch = "clean & jerk" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR) Question: What shows for Władysławowo, Poland when the world record shows olympic recor... |
What date has 0-6700-30838-2-9 for a catalog? | CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR) Question: What date has 0-6700-30838-2-9 for a catalog? [/INST] SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9" </s> |
What's the date in the United Kingdom having a catalog of reveal50cd/lp? | CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR) | SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR) Question: What's the date in the United Kingdom having a catalog of reveal50cd/lp? [/INST] SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/l... |
What day was king's cup 1996? | CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_49 WHERE competition = "king's cup 1996" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR) Question: What day was king's cup 1996? [/INST] SELECT date FROM table_name_49 WHERE competition = "king's cup 1996" </s> |
What was the score for king's cup 1996? | CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_50 WHERE competition = "king's cup 1996" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR) Question: What was the score for king's cup 1996? [/INST] SELECT score FROM table_name_50 WHERE competition = "king's cup 1996" </s> |
What was the result when the score was 5-1? | CREATE TABLE table_name_61 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_61 WHERE score = "5-1" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (result VARCHAR, score VARCHAR) Question: What was the result when the score was 5-1? [/INST] SELECT result FROM table_name_61 WHERE score = "5-1" </s> |
What tournament had an A in 2012 and Q2 in 2010? | CREATE TABLE table_name_4 (tournament VARCHAR) | SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (tournament VARCHAR) Question: What tournament had an A in 2012 and Q2 in 2010? [/INST] SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2" </s> |
What's the 2010 when they had a Q2 in 2009? | CREATE TABLE table_name_10 (Id VARCHAR) | SELECT 2010 FROM table_name_10 WHERE 2009 = "q2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (Id VARCHAR) Question: What's the 2010 when they had a Q2 in 2009? [/INST] SELECT 2010 FROM table_name_10 WHERE 2009 = "q2" </s> |
What's the 2012 during Wimbledon and had a Q3 in 2008? | CREATE TABLE table_name_83 (tournament VARCHAR) | SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (tournament VARCHAR) Question: What's the 2012 during Wimbledon and had a Q3 in 2008? [/INST] SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon" </s> |
What's the tournament name when they had an A in 2011 & 2012? | CREATE TABLE table_name_74 (tournament VARCHAR) | SELECT tournament FROM table_name_74 WHERE 2012 = "a" AND 2011 = "a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (tournament VARCHAR) Question: What's the tournament name when they had an A in 2011 & 2012? [/INST] SELECT tournament FROM table_name_74 WHERE 2012 = "a" AND 2011 = "a" </s> |
What's the 2012 when 2009 was 205? | CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 2012 FROM table_name_22 WHERE 2009 = "205" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (Id VARCHAR) Question: What's the 2012 when 2009 was 205? [/INST] SELECT 2012 FROM table_name_22 WHERE 2009 = "205" </s> |
How much Col (m) has a Prominence (m) of 2,344? | CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR) | SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR) Question: How much Col (m) has a Prominence (m) of 2,344? [/INST] SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344 ROWS </s> |
Which Prominence (m) has a Col (m) of 350? | CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR) | SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR) Question: Which Prominence (m) has a Col (m) of 350? [/INST] SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350 </s> |
Who was the athlete from Lithuania? | CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR) | SELECT athlete FROM table_name_87 WHERE country = "lithuania" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR) Question: Who was the athlete from Lithuania? [/INST] SELECT athlete FROM table_name_87 WHERE country = "lithuania" </s> |
How many votes did Jeannemarie Devolites Davis get in 1995-Special? | CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR) | SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR) Question: How many votes did Jeannemarie Devolites Davis get in 1995-Special? [/INST] SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie d... |
Who was the subject for the year of 2007? | CREATE TABLE table_name_35 (subject VARCHAR, year VARCHAR) | SELECT subject FROM table_name_35 WHERE year = "2007" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (subject VARCHAR, year VARCHAR) Question: Who was the subject for the year of 2007? [/INST] SELECT subject FROM table_name_35 WHERE year = "2007" </s> |
Which party has a voting total greater than 4,478? | CREATE TABLE table_name_51 (party VARCHAR, votes INTEGER) | SELECT party FROM table_name_51 WHERE votes > 4 OFFSET 478 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (party VARCHAR, votes INTEGER) Question: Which party has a voting total greater than 4,478? [/INST] SELECT party FROM table_name_51 WHERE votes > 4 OFFSET 478 ROWS </s> |
Which Type has a Nat of geo? | CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR) | SELECT type FROM table_name_58 WHERE nat = "geo" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR) Question: Which Type has a Nat of geo? [/INST] SELECT type FROM table_name_58 WHERE nat = "geo" </s> |
Which Moving from has a Nat of ned? | CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR) | SELECT moving_from FROM table_name_26 WHERE nat = "ned" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR) Question: Which Moving from has a Nat of ned? [/INST] SELECT moving_from FROM table_name_26 WHERE nat = "ned" </s> |
Which Ends have a Name of zambrano? | CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR) | SELECT MAX(ends) FROM table_name_41 WHERE name = "zambrano" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR) Question: Which Ends have a Name of zambrano? [/INST] SELECT MAX(ends) FROM table_name_41 WHERE name = "zambrano" </s> |
Which Transfer fee has a Moving from of youth system, and a Nat of mar? | CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR) | SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR) Question: Which Transfer fee has a Moving from of youth system, and a Nat of mar? [/INST] SELECT transfer_fee FROM table_name_10 WHERE movin... |
Which Transfer fee has Ends larger than 2011, and a Moving from of psv? | CREATE TABLE table_name_27 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) | SELECT transfer_fee FROM table_name_27 WHERE ends > 2011 AND moving_from = "psv" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) Question: Which Transfer fee has Ends larger than 2011, and a Moving from of psv? [/INST] SELECT transfer_fee FROM table_name_27 WHERE ends... |
What is the result for the Toscane Horse in the freestyle test? | CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR) | SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR) Question: What is the result for the Toscane Horse in the freestyle test? [/INST] SELECT result FROM table_name_60 WHERE horse = "toscane" AND event =... |
What horse has a 66.452 result? | CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR) | SELECT horse FROM table_name_69 WHERE result = "66.452" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR) Question: What horse has a 66.452 result? [/INST] SELECT horse FROM table_name_69 WHERE result = "66.452" </s> |
What event did Sjerstin Vermeulen receive a 66.452 result? | CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR) | SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AND result = "66.452" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR) Question: What event did Sjerstin Vermeulen receive a 66.452 result? [/INST] SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AN... |
What class had a Championship Test event with a 62.516 result? | CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR) | SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR) Question: What class had a Championship Test event with a 62.516 result? [/INST] SELECT class FROM table_name_66 WHERE event = "championship test" AND... |
What horse has a 65.863 result? | CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR) | SELECT horse FROM table_name_18 WHERE result = "65.863" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR) Question: What horse has a 65.863 result? [/INST] SELECT horse FROM table_name_18 WHERE result = "65.863" </s> |
What is the displacement for the model 1400? | CREATE TABLE table_name_88 (displacement VARCHAR, model VARCHAR) | SELECT displacement FROM table_name_88 WHERE model = "1400" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (displacement VARCHAR, model VARCHAR) Question: What is the displacement for the model 1400? [/INST] SELECT displacement FROM table_name_88 WHERE model = "1400" </s> |
What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? | CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR) | SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AND power = "ps (kw; hp)" AND model = "2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR) Question: What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of... |
What engine with the years of 1975-84 has a model of 1600? | CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR) | SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR) Question: What engine with the years of 1975-84 has a model of 1600? [/INST] SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-8... |
What displacement has a model of 2000? | CREATE TABLE table_name_78 (displacement VARCHAR, model VARCHAR) | SELECT displacement FROM table_name_78 WHERE model = "2000" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (displacement VARCHAR, model VARCHAR) Question: What displacement has a model of 2000? [/INST] SELECT displacement FROM table_name_78 WHERE model = "2000" </s> |
What engine with years of 1975-84 has a displacement of 1585cc? | CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR) | SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR) Question: What engine with years of 1975-84 has a displacement of 1585cc? [/INST] SELECT engine FROM table_name_9 WHERE years = "1975-84" AND di... |
What is the power for the years 1975-84? | CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR) | SELECT power FROM table_name_40 WHERE years = "1975-84" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR) Question: What is the power for the years 1975-84? [/INST] SELECT power FROM table_name_40 WHERE years = "1975-84" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.