instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941? | CREATE TABLE table_name_8 (tonnage__grt_ VARCHAR, nationality VARCHAR, date VARCHAR) | SELECT COUNT(tonnage__grt_) FROM table_name_8 WHERE nationality = "united kingdom" AND date = "27 june 1941" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (tonnage__grt_ VARCHAR, nationality VARCHAR, date VARCHAR) Question: How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941? [/INST] SELECT COUNT(tonnage__grt... |
Which Nationality has a Date of 8 may 1942? | CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR) | SELECT nationality FROM table_name_39 WHERE date = "8 may 1942" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR) Question: Which Nationality has a Date of 8 may 1942? [/INST] SELECT nationality FROM table_name_39 WHERE date = "8 may 1942" </s> |
What is Canada's highest round before 1973? | CREATE TABLE table_name_39 (round INTEGER, nationality VARCHAR, draft VARCHAR) | SELECT MAX(round) FROM table_name_39 WHERE nationality = "canada" AND draft < 1973 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (round INTEGER, nationality VARCHAR, draft VARCHAR) Question: What is Canada's highest round before 1973? [/INST] SELECT MAX(round) FROM table_name_39 WHERE nationality = "canada" AND draft < 1973 ... |
What year was The Saber nominated for best action? | CREATE TABLE table_name_17 (year INTEGER, title_of_work VARCHAR, category VARCHAR) | SELECT AVG(year) FROM table_name_17 WHERE title_of_work = "saber" AND category = "best action" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (year INTEGER, title_of_work VARCHAR, category VARCHAR) Question: What year was The Saber nominated for best action? [/INST] SELECT AVG(year) FROM table_name_17 WHERE title_of_work = "saber" AND ca... |
What was awarded before 2013 to the Saber in the category of Best Action? | CREATE TABLE table_name_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR) | SELECT award FROM table_name_93 WHERE year < 2013 AND title_of_work = "saber" AND category = "best action" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR) Question: What was awarded before 2013 to the Saber in the category of Best Action? [/INST] SELECT award FROM table_name_93 WH... |
What date had the patent number US plant patent 12098? | CREATE TABLE table_name_97 (date VARCHAR, plant_patent_number VARCHAR) | SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant patent 12098" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (date VARCHAR, plant_patent_number VARCHAR) Question: What date had the patent number US plant patent 12098? [/INST] SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant patent 1209... |
What's the mutated having a patent number of US plant patent 9645? | CREATE TABLE table_name_39 (mutated_from VARCHAR, plant_patent_number VARCHAR) | SELECT mutated_from FROM table_name_39 WHERE plant_patent_number = "us plant patent 9645" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (mutated_from VARCHAR, plant_patent_number VARCHAR) Question: What's the mutated having a patent number of US plant patent 9645? [/INST] SELECT mutated_from FROM table_name_39 WHERE plant_patent_nu... |
What's the patent number when it was mutated from Yakata 7001 and a standard habit? | CREATE TABLE table_name_63 (plant_patent_number VARCHAR, habit VARCHAR, mutated_from VARCHAR) | SELECT plant_patent_number FROM table_name_63 WHERE habit = "standard" AND mutated_from = "yakata 7001" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (plant_patent_number VARCHAR, habit VARCHAR, mutated_from VARCHAR) Question: What's the patent number when it was mutated from Yakata 7001 and a standard habit? [/INST] SELECT plant_patent_number F... |
What's the patent number of Fukuda? | CREATE TABLE table_name_21 (plant_patent_number VARCHAR) | SELECT plant_patent_number FROM table_name_21 WHERE "inventor" = "fukuda" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (plant_patent_number VARCHAR) Question: What's the patent number of Fukuda? [/INST] SELECT plant_patent_number FROM table_name_21 WHERE "inventor" = "fukuda" </s> |
Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit? | CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR) | SELECT "inventor" FROM table_name_2 WHERE habit = "spur" AND pattern = "stripe" AND mutated_from = "redsport type 2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR) Question: Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit? [/INST] SELECT "inventor" FROM ta... |
What's the mutated of Auvil? | CREATE TABLE table_name_19 (mutated_from VARCHAR, assignee VARCHAR) | SELECT mutated_from FROM table_name_19 WHERE assignee = "auvil" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (mutated_from VARCHAR, assignee VARCHAR) Question: What's the mutated of Auvil? [/INST] SELECT mutated_from FROM table_name_19 WHERE assignee = "auvil" </s> |
Which model has a top speed of 231km/h (143mph)? | CREATE TABLE table_name_37 (model VARCHAR, top_speed VARCHAR) | SELECT model FROM table_name_37 WHERE top_speed = "231km/h (143mph)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (model VARCHAR, top_speed VARCHAR) Question: Which model has a top speed of 231km/h (143mph)? [/INST] SELECT model FROM table_name_37 WHERE top_speed = "231km/h (143mph)" </s> |
How fast can the SLK200K, with a top speed of 236km/h (147mph), accelerate to 100km/h (62mph)? | CREATE TABLE table_name_26 (model VARCHAR, top_speed VARCHAR) | SELECT 0 AS _100km_h__62mph_ FROM table_name_26 WHERE model = "slk200k" AND top_speed = "236km/h (147mph)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (model VARCHAR, top_speed VARCHAR) Question: How fast can the SLK200K, with a top speed of 236km/h (147mph), accelerate to 100km/h (62mph)? [/INST] SELECT 0 AS _100km_h__62mph_ FROM table_name_26 W... |
What is the 0–100km/h (62mph) acceleration of the model with a top speed of 208km/h (129mph)? | CREATE TABLE table_name_68 (top_speed VARCHAR) | SELECT 0 AS _100km_h__62mph_ FROM table_name_68 WHERE top_speed = "208km/h (129mph)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (top_speed VARCHAR) Question: What is the 0–100km/h (62mph) acceleration of the model with a top speed of 208km/h (129mph)? [/INST] SELECT 0 AS _100km_h__62mph_ FROM table_name_68 WHERE top_speed =... |
What is the top speed of the SLK200K that produces 122kw (163hp)? | CREATE TABLE table_name_4 (top_speed VARCHAR, model VARCHAR, power VARCHAR) | SELECT top_speed FROM table_name_4 WHERE model = "slk200k" AND power = "122kw (163hp)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (top_speed VARCHAR, model VARCHAR, power VARCHAR) Question: What is the top speed of the SLK200K that produces 122kw (163hp)? [/INST] SELECT top_speed FROM table_name_4 WHERE model = "slk200k" AND p... |
What is the Latin term for the Greek symbol μ? | CREATE TABLE table_name_80 (latin VARCHAR, greek VARCHAR) | SELECT latin FROM table_name_80 WHERE greek = "μ" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (latin VARCHAR, greek VARCHAR) Question: What is the Latin term for the Greek symbol μ? [/INST] SELECT latin FROM table_name_80 WHERE greek = "μ" </s> |
Which role had a closing broadway cast of Adam Grupper? | CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR) | SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR) Question: Which role had a closing broadway cast of Adam Grupper? [/INST] SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper" <... |
What was the original US Tour cast when the original broadway was Kevin Chamberlin? | CREATE TABLE table_name_75 (original_us_tour_cast VARCHAR, original_broadway_cast VARCHAR) | SELECT original_us_tour_cast FROM table_name_75 WHERE original_broadway_cast = "kevin chamberlin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (original_us_tour_cast VARCHAR, original_broadway_cast VARCHAR) Question: What was the original US Tour cast when the original broadway was Kevin Chamberlin? [/INST] SELECT original_us_tour_cast FR... |
What was the original nonequity tour when the original broadway was Kevin Chamberlin? | CREATE TABLE table_name_49 (original_nonequity_tour_cast VARCHAR, original_broadway_cast VARCHAR) | SELECT original_nonequity_tour_cast FROM table_name_49 WHERE original_broadway_cast = "kevin chamberlin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (original_nonequity_tour_cast VARCHAR, original_broadway_cast VARCHAR) Question: What was the original nonequity tour when the original broadway was Kevin Chamberlin? [/INST] SELECT original_nonequ... |
What was the role when the original broadway was Adam Riegler? | CREATE TABLE table_name_8 (role VARCHAR, original_broadway_cast VARCHAR) | SELECT role FROM table_name_8 WHERE original_broadway_cast = "adam riegler" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (role VARCHAR, original_broadway_cast VARCHAR) Question: What was the role when the original broadway was Adam Riegler? [/INST] SELECT role FROM table_name_8 WHERE original_broadway_cast = "adam rie... |
What is the number for the international with 669 domestic earlier than 2005? | CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR) | SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR) Question: What is the number for the international with 669 domestic earlier than 2005? [/INST] SELECT AVG(international) FROM table_name_78 ... |
What was the score on 14 march 2004? | CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_39 WHERE date = "14 march 2004" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) Question: What was the score on 14 march 2004? [/INST] SELECT score FROM table_name_39 WHERE date = "14 march 2004" </s> |
In what season was Kilmarnock a finalist and Hibernian the winner? | CREATE TABLE table_name_75 (season VARCHAR, winners VARCHAR, finalists VARCHAR) | SELECT season FROM table_name_75 WHERE winners = "hibernian" AND finalists = "kilmarnock" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (season VARCHAR, winners VARCHAR, finalists VARCHAR) Question: In what season was Kilmarnock a finalist and Hibernian the winner? [/INST] SELECT season FROM table_name_75 WHERE winners = "hibernian... |
Who were the finalists in the 1972–73 season? | CREATE TABLE table_name_53 (finalists VARCHAR, season VARCHAR) | SELECT finalists FROM table_name_53 WHERE season = "1972–73" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (finalists VARCHAR, season VARCHAR) Question: Who were the finalists in the 1972–73 season? [/INST] SELECT finalists FROM table_name_53 WHERE season = "1972–73" </s> |
In which season did the Rangers win with a score of 2–1? | CREATE TABLE table_name_21 (season VARCHAR, score VARCHAR, winners VARCHAR) | SELECT season FROM table_name_21 WHERE score = "2–1" AND winners = "rangers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (season VARCHAR, score VARCHAR, winners VARCHAR) Question: In which season did the Rangers win with a score of 2–1? [/INST] SELECT season FROM table_name_21 WHERE score = "2–1" AND winners = "range... |
When did Motherwell win? | CREATE TABLE table_name_15 (date VARCHAR, winners VARCHAR) | SELECT date FROM table_name_15 WHERE winners = "motherwell" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (date VARCHAR, winners VARCHAR) Question: When did Motherwell win? [/INST] SELECT date FROM table_name_15 WHERE winners = "motherwell" </s> |
What is the smallest rate of burglary when forcible rape is 39.1 and motor vehicle theft is less than 568.8? | CREATE TABLE table_name_90 (burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR) | SELECT MIN(burglary) FROM table_name_90 WHERE forcible_rape = "39.1" AND motor_vehicle_theft < 568.8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR) Question: What is the smallest rate of burglary when forcible rape is 39.1 and motor vehicle theft is less than 568.8? [/INST]... |
What is the total rate of murder and non-negligent manslaughter when larceny-theft is 3,693.9 and burglary is more than 1,027.0? | CREATE TABLE table_name_86 (murder_and_non_negligent_manslaughter INTEGER, larceny_theft VARCHAR, burglary VARCHAR) | SELECT SUM(murder_and_non_negligent_manslaughter) FROM table_name_86 WHERE larceny_theft = "3,693.9" AND burglary > 1 OFFSET 027.0 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (murder_and_non_negligent_manslaughter INTEGER, larceny_theft VARCHAR, burglary VARCHAR) Question: What is the total rate of murder and non-negligent manslaughter when larceny-theft is 3,693.9 and ... |
What is the name for district total:? | CREATE TABLE table_name_80 (name VARCHAR, district VARCHAR) | SELECT name FROM table_name_80 WHERE district = "total:" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (name VARCHAR, district VARCHAR) Question: What is the name for district total:? [/INST] SELECT name FROM table_name_80 WHERE district = "total:" </s> |
What is the electorates in 2009 for Modi Nagar? | CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR) | SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR) Question: What is the electorates in 2009 for Modi Nagar? [/INST] SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi n... |
Who was the opponent on 12 May, when the match day was more than 33? | CREATE TABLE table_name_53 (opponent VARCHAR, match_day VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_53 WHERE match_day > 33 AND date = "12 may" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (opponent VARCHAR, match_day VARCHAR, date VARCHAR) Question: Who was the opponent on 12 May, when the match day was more than 33? [/INST] SELECT opponent FROM table_name_53 WHERE match_day > 33 AN... |
What is the largest issue date for an album that reached position of 3? | CREATE TABLE table_name_6 (issue_date INTEGER, highest_position VARCHAR) | SELECT MAX(issue_date) FROM table_name_6 WHERE highest_position = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (issue_date INTEGER, highest_position VARCHAR) Question: What is the largest issue date for an album that reached position of 3? [/INST] SELECT MAX(issue_date) FROM table_name_6 WHERE highest_positi... |
What is the record on March 16? | CREATE TABLE table_name_66 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_66 WHERE date = "march 16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (record VARCHAR, date VARCHAR) Question: What is the record on March 16? [/INST] SELECT record FROM table_name_66 WHERE date = "march 16" </s> |
What was the score on January 23? | CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_51 WHERE date = "january 23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) Question: What was the score on January 23? [/INST] SELECT score FROM table_name_51 WHERE date = "january 23" </s> |
How many strokes off par was the player who scored 157? | CREATE TABLE table_name_17 (to_par VARCHAR, total VARCHAR) | SELECT COUNT(to_par) FROM table_name_17 WHERE total = 157 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (to_par VARCHAR, total VARCHAR) Question: How many strokes off par was the player who scored 157? [/INST] SELECT COUNT(to_par) FROM table_name_17 WHERE total = 157 </s> |
Which player who won in 1977 and scored great than 155 was the closest to par? | CREATE TABLE table_name_96 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR) | SELECT MAX(to_par) FROM table_name_96 WHERE year_s__won = "1977" AND total > 155 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR) Question: Which player who won in 1977 and scored great than 155 was the closest to par? [/INST] SELECT MAX(to_par) FROM table_name_96 WHERE yea... |
What country was the player who was 11 off par from? | CREATE TABLE table_name_88 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_88 WHERE to_par = 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (country VARCHAR, to_par VARCHAR) Question: What country was the player who was 11 off par from? [/INST] SELECT country FROM table_name_88 WHERE to_par = 11 </s> |
What was the Home team in Tie no 16? | CREATE TABLE table_name_90 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_90 WHERE tie_no = "16" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (home_team VARCHAR, tie_no VARCHAR) Question: What was the Home team in Tie no 16? [/INST] SELECT home_team FROM table_name_90 WHERE tie_no = "16" </s> |
What is the Date of Tie no 9? | CREATE TABLE table_name_61 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_61 WHERE tie_no = "9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, tie_no VARCHAR) Question: What is the Date of Tie no 9? [/INST] SELECT date FROM table_name_61 WHERE tie_no = "9" </s> |
What is the Score in Tie 2? | CREATE TABLE table_name_4 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_4 WHERE tie_no = "2" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (score VARCHAR, tie_no VARCHAR) Question: What is the Score in Tie 2? [/INST] SELECT score FROM table_name_4 WHERE tie_no = "2" </s> |
What is the Tie no when Scarborough is the Home team? | CREATE TABLE table_name_98 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_98 WHERE home_team = "scarborough" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (tie_no VARCHAR, home_team VARCHAR) Question: What is the Tie no when Scarborough is the Home team? [/INST] SELECT tie_no FROM table_name_98 WHERE home_team = "scarborough" </s> |
What is the Tie no when Swansea City is the Away team with a Score of 2–2? | CREATE TABLE table_name_75 (tie_no VARCHAR, score VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_75 WHERE score = "2–2" AND away_team = "swansea city" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (tie_no VARCHAR, score VARCHAR, away_team VARCHAR) Question: What is the Tie no when Swansea City is the Away team with a Score of 2–2? [/INST] SELECT tie_no FROM table_name_75 WHERE score = "2–2" ... |
What is the name of constituency 5? | CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_50 WHERE constituency_number = "5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (name VARCHAR, constituency_number VARCHAR) Question: What is the name of constituency 5? [/INST] SELECT name FROM table_name_50 WHERE constituency_number = "5" </s> |
What label is released on September 20, 2005? | CREATE TABLE table_name_16 (label VARCHAR, date_of_release VARCHAR) | SELECT label FROM table_name_16 WHERE date_of_release = "september 20, 2005" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (label VARCHAR, date_of_release VARCHAR) Question: What label is released on September 20, 2005? [/INST] SELECT label FROM table_name_16 WHERE date_of_release = "september 20, 2005" </s> |
What is the lowest total with an all around of 10 and a rope higher than 10? | CREATE TABLE table_name_13 (total INTEGER, all_around VARCHAR, rope VARCHAR) | SELECT MIN(total) FROM table_name_13 WHERE all_around = 10 AND rope > 10 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (total INTEGER, all_around VARCHAR, rope VARCHAR) Question: What is the lowest total with an all around of 10 and a rope higher than 10? [/INST] SELECT MIN(total) FROM table_name_13 WHERE all_aroun... |
What is Bianka Panova's highest total with lower than place 1? | CREATE TABLE table_name_56 (total INTEGER, name VARCHAR, place VARCHAR) | SELECT MAX(total) FROM table_name_56 WHERE name = "bianka panova" AND place < 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (total INTEGER, name VARCHAR, place VARCHAR) Question: What is Bianka Panova's highest total with lower than place 1? [/INST] SELECT MAX(total) FROM table_name_56 WHERE name = "bianka panova" AND p... |
What is Milena Reljin's place with a smaller than 9.8 rope? | CREATE TABLE table_name_5 (place VARCHAR, rope VARCHAR, name VARCHAR) | SELECT place FROM table_name_5 WHERE rope < 9.8 AND name = "milena reljin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (place VARCHAR, rope VARCHAR, name VARCHAR) Question: What is Milena Reljin's place with a smaller than 9.8 rope? [/INST] SELECT place FROM table_name_5 WHERE rope < 9.8 AND name = "milena reljin" <... |
What is the highest game with a 24-23 record? | CREATE TABLE table_name_62 (game INTEGER, record VARCHAR) | SELECT MAX(game) FROM table_name_62 WHERE record = "24-23" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (game INTEGER, record VARCHAR) Question: What is the highest game with a 24-23 record? [/INST] SELECT MAX(game) FROM table_name_62 WHERE record = "24-23" </s> |
What is the highest game with a 1-0 record, and the Hornets scored more than 100? | CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR) | SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR) Question: What is the highest game with a 1-0 record, and the Hornets scored more than 100? [/INST] SELECT MAX(game) FROM table_name_32 WHERE r... |
When was Daniel Moro born? | CREATE TABLE table_name_63 (date_of_birth VARCHAR, name VARCHAR) | SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (date_of_birth VARCHAR, name VARCHAR) Question: When was Daniel Moro born? [/INST] SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro" </s> |
What was the score for the player than won $450? | CREATE TABLE table_name_64 (score VARCHAR, money___$__ VARCHAR) | SELECT score FROM table_name_64 WHERE money___$__ = 450 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (score VARCHAR, money___$__ VARCHAR) Question: What was the score for the player than won $450? [/INST] SELECT score FROM table_name_64 WHERE money___$__ = 450 </s> |
What place did the player that took won $350 finish in? | CREATE TABLE table_name_21 (place VARCHAR, money___$__ VARCHAR) | SELECT place FROM table_name_21 WHERE money___$__ = 350 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (place VARCHAR, money___$__ VARCHAR) Question: What place did the player that took won $350 finish in? [/INST] SELECT place FROM table_name_21 WHERE money___$__ = 350 </s> |
Which player had a score of 71-73-68-75=287? | CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_53 WHERE score = 71 - 73 - 68 - 75 = 287 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR) Question: Which player had a score of 71-73-68-75=287? [/INST] SELECT player FROM table_name_53 WHERE score = 71 - 73 - 68 - 75 = 287 </s> |
What is Year, when Name is "Dong Shihou, 29 (董世侯)"? | CREATE TABLE table_name_93 (year VARCHAR, name VARCHAR) | SELECT year FROM table_name_93 WHERE name = "dong shihou, 29 (董世侯)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (year VARCHAR, name VARCHAR) Question: What is Year, when Name is "Dong Shihou, 29 (董世侯)"? [/INST] SELECT year FROM table_name_93 WHERE name = "dong shihou, 29 (董世侯)" </s> |
What is Name, when Location is "DZ"? | CREATE TABLE table_name_23 (name VARCHAR, location VARCHAR) | SELECT name FROM table_name_23 WHERE location = "dz" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (name VARCHAR, location VARCHAR) Question: What is Name, when Location is "DZ"? [/INST] SELECT name FROM table_name_23 WHERE location = "dz" </s> |
What is Injured, when Date is "09.15 Sep. 15"? | CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR) | SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR) Question: What is Injured, when Date is "09.15 Sep. 15"? [/INST] SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15" </s> |
What is Date, when Name is "Guay, Albert , 32"? | CREATE TABLE table_name_48 (date VARCHAR, name VARCHAR) | SELECT date FROM table_name_48 WHERE name = "guay, albert , 32" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (date VARCHAR, name VARCHAR) Question: What is Date, when Name is "Guay, Albert , 32"? [/INST] SELECT date FROM table_name_48 WHERE name = "guay, albert , 32" </s> |
What is the highest grid for rider Fonsi Nieto? | CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR) | SELECT MAX(grid) FROM table_name_7 WHERE rider = "fonsi nieto" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR) Question: What is the highest grid for rider Fonsi Nieto? [/INST] SELECT MAX(grid) FROM table_name_7 WHERE rider = "fonsi nieto" </s> |
What was the total number of Laps for the rider whose time was +7.951? | CREATE TABLE table_name_2 (laps VARCHAR, time VARCHAR) | SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (laps VARCHAR, time VARCHAR) Question: What was the total number of Laps for the rider whose time was +7.951? [/INST] SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951" </s> |
What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24? | CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR) Question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24? [/INST] SELECT MAX(laps) FROM table_name_37 WHERE rider =... |
What was the grid for rider Russell Holland, riding a Honda CBR1000rr? | CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR) | SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR) Question: What was the grid for rider Russell Holland, riding a Honda CBR1000rr? [/INST] SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AN... |
Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? | CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr" AND time = "+1'04.877" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR) Question: Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? [/INST]... |
What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? | CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR) | SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR) Question: What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? [/INST] SELECT MIN(year) FROM table_na... |
Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007? | CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR) | SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a play" AND year < 2007 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR) Question: Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007? [/INST] SELECT nomin... |
What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award? | CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR) | SELECT MAX(year) FROM table_name_54 WHERE nominated_work = "the mineola twins" AND category = "outstanding actress in a play" AND award = "drama desk award" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR) Question: What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Des... |
What is the result for the Outer Critics Circle award earlier than 2004? | CREATE TABLE table_name_6 (result VARCHAR, award VARCHAR, year VARCHAR) | SELECT result FROM table_name_6 WHERE award = "outer critics circle award" AND year < 2004 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (result VARCHAR, award VARCHAR, year VARCHAR) Question: What is the result for the Outer Critics Circle award earlier than 2004? [/INST] SELECT result FROM table_name_6 WHERE award = "outer critics ... |
In what year was The House of Blue Leaves nominated for outstanding actress in a play? | CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR) | SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR) Question: In what year was The House of Blue Leaves nominated for outstanding actress in a play? [/INST] SELECT SUM(year) FROM table_name_62... |
Which Country has a Total smaller than 284? | CREATE TABLE table_name_75 (country VARCHAR, total INTEGER) | SELECT country FROM table_name_75 WHERE total < 284 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (country VARCHAR, total INTEGER) Question: Which Country has a Total smaller than 284? [/INST] SELECT country FROM table_name_75 WHERE total < 284 </s> |
Which To par has a Year(s) won of 1983? | CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR) | SELECT to_par FROM table_name_15 WHERE year_s__won = "1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR) Question: Which To par has a Year(s) won of 1983? [/INST] SELECT to_par FROM table_name_15 WHERE year_s__won = "1983" </s> |
How many Total has a Player of dave stockton? | CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR) Question: How many Total has a Player of dave stockton? [/INST] SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton" </s> |
What was the result in 1973 when the surface was clay? | CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR) | SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR) Question: What was the result in 1973 when the surface was clay? [/INST] SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay" </... |
What was the outcome in 1975? | CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR) | SELECT outcome FROM table_name_25 WHERE year = 1975 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR) Question: What was the outcome in 1975? [/INST] SELECT outcome FROM table_name_25 WHERE year = 1975 </s> |
Who was Margaret Court's opponent on clay in 1975? | CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) Question: Who was Margaret Court's opponent on clay in 1975? [/INST] SELECT opponents FROM table_name_84 WHERE surface = "clay" A... |
What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins? | CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR) | SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR) Question: What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins? [/INST] SELECT MAX(aga... |
How many byes when the draws are fewer than 0? | CREATE TABLE table_name_84 (byes INTEGER, draws INTEGER) | SELECT AVG(byes) FROM table_name_84 WHERE draws < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (byes INTEGER, draws INTEGER) Question: How many byes when the draws are fewer than 0? [/INST] SELECT AVG(byes) FROM table_name_84 WHERE draws < 0 </s> |
What is the byes for Woorineen when losses are more than 13? | CREATE TABLE table_name_27 (byes INTEGER, central_murray VARCHAR, losses VARCHAR) | SELECT SUM(byes) FROM table_name_27 WHERE central_murray = "woorineen" AND losses > 13 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (byes INTEGER, central_murray VARCHAR, losses VARCHAR) Question: What is the byes for Woorineen when losses are more than 13? [/INST] SELECT SUM(byes) FROM table_name_27 WHERE central_murray = "woo... |
How many wins when there are 4 losses and against are fewer than 1281? | CREATE TABLE table_name_7 (wins INTEGER, losses VARCHAR, against VARCHAR) | SELECT AVG(wins) FROM table_name_7 WHERE losses = 4 AND against < 1281 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (wins INTEGER, losses VARCHAR, against VARCHAR) Question: How many wins when there are 4 losses and against are fewer than 1281? [/INST] SELECT AVG(wins) FROM table_name_7 WHERE losses = 4 AND again... |
How many against when losses are 11 and wins are fewer than 5? | CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR) | SELECT AVG(against) FROM table_name_24 WHERE losses = 11 AND wins < 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR) Question: How many against when losses are 11 and wins are fewer than 5? [/INST] SELECT AVG(against) FROM table_name_24 WHERE losses = 11 AND wins < ... |
which Player has a To par of –7, and a Country of spain? | CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR) Question: which Player has a To par of –7, and a Country of spain? [/INST] SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spai... |
What doctor published on June 2003? | CREATE TABLE table_name_40 (doctor VARCHAR, published VARCHAR) | SELECT doctor FROM table_name_40 WHERE published = "june 2003" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (doctor VARCHAR, published VARCHAR) Question: What doctor published on June 2003? [/INST] SELECT doctor FROM table_name_40 WHERE published = "june 2003" </s> |
What title was published on November 2001 and has a 1st Doctor? | CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) | SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) Question: What title was published on November 2001 and has a 1st Doctor? [/INST] SELECT title FROM table_name_99 WHERE doctor = "1st" AND publish... |
What is the title of the 8th doctor published in January 2003? | CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR) | SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 2003" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR) Question: What is the title of the 8th doctor published in January 2003? [/INST] SELECT title FROM table_name_74 WHERE doctor = "8th" AND publishe... |
What is the companion for the author Dave Stone? | CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR) | SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR) Question: What is the companion for the author Dave Stone? [/INST] SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone" </s> |
What Player won the PGA in 1989? | CREATE TABLE table_name_29 (player VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_29 WHERE year_s__won = "1989" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (player VARCHAR, year_s__won VARCHAR) Question: What Player won the PGA in 1989? [/INST] SELECT player FROM table_name_29 WHERE year_s__won = "1989" </s> |
Which player is from Northern Ireland? | CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_42 WHERE country = "northern ireland" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR) Question: Which player is from Northern Ireland? [/INST] SELECT player FROM table_name_42 WHERE country = "northern ireland" </s> |
What player has a score of 69-68-68=205? | CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR) Question: What player has a score of 69-68-68=205? [/INST] SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205 </s> |
Which Week has an Attendance larger than 63,369? | CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER) | SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER) Question: Which Week has an Attendance larger than 63,369? [/INST] SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369 ROWS </s> |
What was the result on september 26? | CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_43 WHERE date = "september 26" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR) Question: What was the result on september 26? [/INST] SELECT result FROM table_name_43 WHERE date = "september 26" </s> |
Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169? | CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR) Question: Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169? [/INST] SELECT MIN(week) FROM ta... |
What is Player, when Score is "68-71=139"? | CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR) Question: What is Player, when Score is "68-71=139"? [/INST] SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139 </s> |
What is Country, when Player is "Tom Watson"? | CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_99 WHERE player = "tom watson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is "Tom Watson"? [/INST] SELECT country FROM table_name_99 WHERE player = "tom watson" </s> |
How many against on the date of 08/06/1985? | CREATE TABLE table_name_64 (against INTEGER, date VARCHAR) | SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (against INTEGER, date VARCHAR) Question: How many against on the date of 08/06/1985? [/INST] SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985" </s> |
What is the venue for the match on 30/03/1985? | CREATE TABLE table_name_80 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_80 WHERE date = "30/03/1985" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (venue VARCHAR, date VARCHAR) Question: What is the venue for the match on 30/03/1985? [/INST] SELECT venue FROM table_name_80 WHERE date = "30/03/1985" </s> |
What is the status of the match with 24 against? | CREATE TABLE table_name_19 (status VARCHAR, against VARCHAR) | SELECT status FROM table_name_19 WHERE against = 24 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (status VARCHAR, against VARCHAR) Question: What is the status of the match with 24 against? [/INST] SELECT status FROM table_name_19 WHERE against = 24 </s> |
Who was the opposing team when the status is second test? | CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR) | SELECT opposing_teams FROM table_name_76 WHERE status = "second test" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR) Question: Who was the opposing team when the status is second test? [/INST] SELECT opposing_teams FROM table_name_76 WHERE status = "second test" </s> |
What is the status when Wales is the opposing team and there are more than 13 against? | CREATE TABLE table_name_81 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR) | SELECT status FROM table_name_81 WHERE against > 13 AND opposing_teams = "wales" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR) Question: What is the status when Wales is the opposing team and there are more than 13 against? [/INST] SELECT status FROM table_name_81 W... |
What is the lowest number of households for the entry with a median income of $41,778 and a population greater than 38,319? | CREATE TABLE table_name_77 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) | SELECT MIN(number_of_households) FROM table_name_77 WHERE median_family_income = "$41,778" AND population > 38 OFFSET 319 ROWS | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR) Question: What is the lowest number of households for the entry with a median income of $41,778 and a population gre... |
Which Church has 27 stops? | CREATE TABLE table_name_71 (church VARCHAR, stops VARCHAR) | SELECT church FROM table_name_71 WHERE stops = "27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (church VARCHAR, stops VARCHAR) Question: Which Church has 27 stops? [/INST] SELECT church FROM table_name_71 WHERE stops = "27" </s> |
Who is the opponent(s) in round 6? | CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR) | SELECT opponents FROM table_name_12 WHERE round = "round 6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR) Question: Who is the opponent(s) in round 6? [/INST] SELECT opponents FROM table_name_12 WHERE round = "round 6" </s> |
In what year was the winner a soccer player from Virginia? | CREATE TABLE table_name_81 (year INTEGER, sport VARCHAR, college VARCHAR) | SELECT SUM(year) FROM table_name_81 WHERE sport = "soccer" AND college = "virginia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (year INTEGER, sport VARCHAR, college VARCHAR) Question: In what year was the winner a soccer player from Virginia? [/INST] SELECT SUM(year) FROM table_name_81 WHERE sport = "soccer" AND college = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.