instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What is the Standalone in the year when Space Invaders is the Console?
|
CREATE TABLE table_name_43 (standalone VARCHAR, console VARCHAR)
|
SELECT standalone FROM table_name_43 WHERE console = "space invaders"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (standalone VARCHAR, console VARCHAR) Question: What is the Standalone in the year when Space Invaders is the Console? [/INST] SELECT standalone FROM table_name_43 WHERE console = "space invaders" </s>
|
What is the Standalone when Tron is the Arcade?
|
CREATE TABLE table_name_99 (standalone VARCHAR, arcade VARCHAR)
|
SELECT standalone FROM table_name_99 WHERE arcade = "tron"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (standalone VARCHAR, arcade VARCHAR) Question: What is the Standalone when Tron is the Arcade? [/INST] SELECT standalone FROM table_name_99 WHERE arcade = "tron" </s>
|
What is the Console when Space Invaders is the Arcade?
|
CREATE TABLE table_name_59 (console VARCHAR, arcade VARCHAR)
|
SELECT console FROM table_name_59 WHERE arcade = "space invaders"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (console VARCHAR, arcade VARCHAR) Question: What is the Console when Space Invaders is the Arcade? [/INST] SELECT console FROM table_name_59 WHERE arcade = "space invaders" </s>
|
What position does the player from the Arizona Diamondbacks play?
|
CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR)
|
SELECT position FROM table_name_6 WHERE team = "arizona diamondbacks"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR) Question: What position does the player from the Arizona Diamondbacks play? [/INST] SELECT position FROM table_name_6 WHERE team = "arizona diamondbacks" </s>
|
What school did P Jay Gehrke of the Kansas City Royals attend?
|
CREATE TABLE table_name_30 (school VARCHAR, player VARCHAR, position VARCHAR, team VARCHAR)
|
SELECT school FROM table_name_30 WHERE position = "p" AND team = "kansas city royals" AND player = "jay gehrke"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (school VARCHAR, player VARCHAR, position VARCHAR, team VARCHAR) Question: What school did P Jay Gehrke of the Kansas City Royals attend? [/INST] SELECT school FROM table_name_30 WHERE position = "p" AND team = "kansas city royals" AND player = "jay gehrke" </s>
|
What country does Adam van Koeverden play for?
|
CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR)
|
SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR) Question: What country does Adam van Koeverden play for? [/INST] SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden" </s>
|
what is the pick when the school is jasper hs (jasper, texas)?
|
CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR)
|
SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR) Question: what is the pick when the school is jasper hs (jasper, texas)? [/INST] SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)" </s>
|
who is the player when the position is p and the team is oakland athletics?
|
CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, team VARCHAR)
|
SELECT player FROM table_name_99 WHERE position = "p" AND team = "oakland athletics"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, team VARCHAR) Question: who is the player when the position is p and the team is oakland athletics? [/INST] SELECT player FROM table_name_99 WHERE position = "p" AND team = "oakland athletics" </s>
|
what is the school when the team is new york yankees?
|
CREATE TABLE table_name_1 (school VARCHAR, team VARCHAR)
|
SELECT school FROM table_name_1 WHERE team = "new york yankees"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (school VARCHAR, team VARCHAR) Question: what is the school when the team is new york yankees? [/INST] SELECT school FROM table_name_1 WHERE team = "new york yankees" </s>
|
who is the player when the school is spring hs (spring, texas)?
|
CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR)
|
SELECT player FROM table_name_24 WHERE school = "spring hs (spring, texas)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR) Question: who is the player when the school is spring hs (spring, texas)? [/INST] SELECT player FROM table_name_24 WHERE school = "spring hs (spring, texas)" </s>
|
What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed?
|
CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)
|
SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR) Question: What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed? [/INST] SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉" </s>
|
What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory?
|
CREATE TABLE table_name_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR)
|
SELECT MAX(melamine_content_mg_kg_) FROM table_name_48 WHERE producer = "guangzhou jinding dairy products factory" AND samples_failed > 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR) Question: What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory? [/INST] SELECT MAX(melamine_content_mg_kg_) FROM table_name_48 WHERE producer = "guangzhou jinding dairy products factory" AND samples_failed > 1 </s>
|
What's the product that has less than 98.6 melamine content, more than 1 sample failed and took less than 3 samples?
|
CREATE TABLE table_name_88 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR)
|
SELECT product FROM table_name_88 WHERE melamine_content_mg_kg_ < 98.6 AND samples_failed > 1 AND samples_taken < 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR) Question: What's the product that has less than 98.6 melamine content, more than 1 sample failed and took less than 3 samples? [/INST] SELECT product FROM table_name_88 WHERE melamine_content_mg_kg_ < 98.6 AND samples_failed > 1 AND samples_taken < 3 </s>
|
What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken?
|
CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR)
|
SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR) Question: What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken? [/INST] SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1 </s>
|
How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?
|
CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)
|
SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR) Question: How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4? [/INST] SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology" </s>
|
What did the golfer from Australia score?
|
CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR)
|
SELECT score FROM table_name_13 WHERE country = "australia"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR) Question: What did the golfer from Australia score? [/INST] SELECT score FROM table_name_13 WHERE country = "australia" </s>
|
Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%?
|
CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR)
|
SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.5%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR) Question: Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%? [/INST] SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.5%" </s>
|
Which source has a date of June 2008?
|
CREATE TABLE table_name_28 (source VARCHAR, date VARCHAR)
|
SELECT source FROM table_name_28 WHERE date = "june 2008"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (source VARCHAR, date VARCHAR) Question: Which source has a date of June 2008? [/INST] SELECT source FROM table_name_28 WHERE date = "june 2008" </s>
|
Which source date has an Internet Explorer usage of 60.2%?
|
CREATE TABLE table_name_52 (source VARCHAR, internet_explorer VARCHAR)
|
SELECT source FROM table_name_52 WHERE internet_explorer = "60.2%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (source VARCHAR, internet_explorer VARCHAR) Question: Which source date has an Internet Explorer usage of 60.2%? [/INST] SELECT source FROM table_name_52 WHERE internet_explorer = "60.2%" </s>
|
What city has the home team of the brisbane broncos?
|
CREATE TABLE table_name_88 (city VARCHAR, home_team_s VARCHAR)
|
SELECT city FROM table_name_88 WHERE home_team_s = "brisbane broncos"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (city VARCHAR, home_team_s VARCHAR) Question: What city has the home team of the brisbane broncos? [/INST] SELECT city FROM table_name_88 WHERE home_team_s = "brisbane broncos" </s>
|
What is the earliest closed year in the country of france?
|
CREATE TABLE table_name_94 (closed__as_a_rl_stadium_ INTEGER, country VARCHAR)
|
SELECT MIN(closed__as_a_rl_stadium_) FROM table_name_94 WHERE country = "france"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (closed__as_a_rl_stadium_ INTEGER, country VARCHAR) Question: What is the earliest closed year in the country of france? [/INST] SELECT MIN(closed__as_a_rl_stadium_) FROM table_name_94 WHERE country = "france" </s>
|
What is the result for the event that lasted 2:20?
|
CREATE TABLE table_name_7 (res VARCHAR, time VARCHAR)
|
SELECT res FROM table_name_7 WHERE time = "2:20"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (res VARCHAR, time VARCHAR) Question: What is the result for the event that lasted 2:20? [/INST] SELECT res FROM table_name_7 WHERE time = "2:20" </s>
|
Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event?
|
CREATE TABLE table_name_54 (opponent VARCHAR, res VARCHAR, event VARCHAR)
|
SELECT opponent FROM table_name_54 WHERE res = "loss" AND event = "gladiator challenge 87: collision course"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (opponent VARCHAR, res VARCHAR, event VARCHAR) Question: Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event? [/INST] SELECT opponent FROM table_name_54 WHERE res = "loss" AND event = "gladiator challenge 87: collision course" </s>
|
For the Cage Combat Fighting Championships: Mayhem, what was the record?
|
CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR)
|
SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR) Question: For the Cage Combat Fighting Championships: Mayhem, what was the record? [/INST] SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem" </s>
|
Who was the designer for The Grapefruit Moon?
|
CREATE TABLE table_name_89 (designer VARCHAR, restaurant_name VARCHAR)
|
SELECT designer FROM table_name_89 WHERE restaurant_name = "the grapefruit moon"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (designer VARCHAR, restaurant_name VARCHAR) Question: Who was the designer for The Grapefruit Moon? [/INST] SELECT designer FROM table_name_89 WHERE restaurant_name = "the grapefruit moon" </s>
|
Who is the chef at Lakes Bar and Grill?
|
CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR)
|
SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR) Question: Who is the chef at Lakes Bar and Grill? [/INST] SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill" </s>
|
What is the name of the Cobourg, ON restaurant that had Robin de Groot as designer?
|
CREATE TABLE table_name_85 (restaurant_name VARCHAR, designer VARCHAR, location VARCHAR)
|
SELECT restaurant_name FROM table_name_85 WHERE designer = "robin de groot" AND location = "cobourg, on"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (restaurant_name VARCHAR, designer VARCHAR, location VARCHAR) Question: What is the name of the Cobourg, ON restaurant that had Robin de Groot as designer? [/INST] SELECT restaurant_name FROM table_name_85 WHERE designer = "robin de groot" AND location = "cobourg, on" </s>
|
What European competitions have a tier of 2 and a position of 3?
|
CREATE TABLE table_name_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR)
|
SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR) Question: What European competitions have a tier of 2 and a position of 3? [/INST] SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3 </s>
|
Which Nation won 5 Silver, and more than 4 Gold?
|
CREATE TABLE table_name_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
|
SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR) Question: Which Nation won 5 Silver, and more than 4 Gold? [/INST] SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 4 </s>
|
What is the sum of heat for christophe lebon when lane is less than 4?
|
CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)
|
SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR) Question: What is the sum of heat for christophe lebon when lane is less than 4? [/INST] SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon" </s>
|
Who is from the united states, has a rank less than 9, and heat more than 5?
|
CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
|
SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR) Question: Who is from the united states, has a rank less than 9, and heat more than 5? [/INST] SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states" </s>
|
Serbia has a heat less than 2 and what sum of rank?
|
CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR)
|
SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR) Question: Serbia has a heat less than 2 and what sum of rank? [/INST] SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2 </s>
|
When rank is 33, what is the smallest lane?
|
CREATE TABLE table_name_38 (lane INTEGER, rank VARCHAR)
|
SELECT MIN(lane) FROM table_name_38 WHERE rank = 33
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (lane INTEGER, rank VARCHAR) Question: When rank is 33, what is the smallest lane? [/INST] SELECT MIN(lane) FROM table_name_38 WHERE rank = 33 </s>
|
Which Model has a Number of CPUs of 1–10, and a Performance (MIPS) of 49–447?
|
CREATE TABLE table_name_6 (model VARCHAR, number_of_cpus VARCHAR, performance__mips_ VARCHAR)
|
SELECT model FROM table_name_6 WHERE number_of_cpus = "1–10" AND performance__mips_ = "49–447"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (model VARCHAR, number_of_cpus VARCHAR, performance__mips_ VARCHAR) Question: Which Model has a Number of CPUs of 1–10, and a Performance (MIPS) of 49–447? [/INST] SELECT model FROM table_name_6 WHERE number_of_cpus = "1–10" AND performance__mips_ = "49–447" </s>
|
Which Year Introduced has a Memory (GB) of 0.125–2?
|
CREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR)
|
SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = "0.125–2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR) Question: Which Year Introduced has a Memory (GB) of 0.125–2? [/INST] SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = "0.125–2" </s>
|
Which Number of CPUs has a Memory (GB) of 0.5–16?
|
CREATE TABLE table_name_59 (number_of_cpus VARCHAR, memory__gb_ VARCHAR)
|
SELECT number_of_cpus FROM table_name_59 WHERE memory__gb_ = "0.5–16"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (number_of_cpus VARCHAR, memory__gb_ VARCHAR) Question: Which Number of CPUs has a Memory (GB) of 0.5–16? [/INST] SELECT number_of_cpus FROM table_name_59 WHERE memory__gb_ = "0.5–16" </s>
|
Which Memory (GB) has a Number of CPUs of 1–6?
|
CREATE TABLE table_name_57 (memory__gb_ VARCHAR, number_of_cpus VARCHAR)
|
SELECT memory__gb_ FROM table_name_57 WHERE number_of_cpus = "1–6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (memory__gb_ VARCHAR, number_of_cpus VARCHAR) Question: Which Memory (GB) has a Number of CPUs of 1–6? [/INST] SELECT memory__gb_ FROM table_name_57 WHERE number_of_cpus = "1–6" </s>
|
Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined larger than 50 from renault?
|
CREATE TABLE table_name_62 (fuel_type VARCHAR, manufacturer VARCHAR, mpg_us_extra_urban VARCHAR, mpg_us_combined VARCHAR)
|
SELECT fuel_type FROM table_name_62 WHERE mpg_us_extra_urban > 53.5 AND mpg_us_combined > 50 AND manufacturer = "renault"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (fuel_type VARCHAR, manufacturer VARCHAR, mpg_us_extra_urban VARCHAR, mpg_us_combined VARCHAR) Question: Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined larger than 50 from renault? [/INST] SELECT fuel_type FROM table_name_62 WHERE mpg_us_extra_urban > 53.5 AND mpg_us_combined > 50 AND manufacturer = "renault" </s>
|
What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56?
|
CREATE TABLE table_name_26 (country VARCHAR, rank VARCHAR, time VARCHAR)
|
SELECT country FROM table_name_26 WHERE rank > 4 AND time = "5:59.56"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (country VARCHAR, rank VARCHAR, time VARCHAR) Question: What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56? [/INST] SELECT country FROM table_name_26 WHERE rank > 4 AND time = "5:59.56" </s>
|
What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?
|
CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR)
|
SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR) Question: What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB? [/INST] SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus" </s>
|
What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
|
CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)
|
SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR) Question: What is the Time of the Player with a Rank of 1 or 2 and Notes of FA? [/INST] SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2 </s>
|
Who are the Rowers from Poland?
|
CREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR)
|
SELECT rowers FROM table_name_66 WHERE country = "poland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR) Question: Who are the Rowers from Poland? [/INST] SELECT rowers FROM table_name_66 WHERE country = "poland" </s>
|
Who are the Rowers with a Time of 5:56.38?
|
CREATE TABLE table_name_14 (rowers VARCHAR, time VARCHAR)
|
SELECT rowers FROM table_name_14 WHERE time = "5:56.38"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (rowers VARCHAR, time VARCHAR) Question: Who are the Rowers with a Time of 5:56.38? [/INST] SELECT rowers FROM table_name_14 WHERE time = "5:56.38" </s>
|
What's the title of the film with the release date of 1954-12-18?
|
CREATE TABLE table_name_95 (title VARCHAR, release_date VARCHAR)
|
SELECT title FROM table_name_95 WHERE release_date = "1954-12-18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (title VARCHAR, release_date VARCHAR) Question: What's the title of the film with the release date of 1954-12-18? [/INST] SELECT title FROM table_name_95 WHERE release_date = "1954-12-18" </s>
|
What is the production number for Bell Hoppy in the MM Series?
|
CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR)
|
SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR) Question: What is the production number for Bell Hoppy in the MM Series? [/INST] SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy" </s>
|
How much Scored has Losses smaller than 0?
|
CREATE TABLE table_name_75 (scored INTEGER, losses INTEGER)
|
SELECT SUM(scored) FROM table_name_75 WHERE losses < 0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (scored INTEGER, losses INTEGER) Question: How much Scored has Losses smaller than 0? [/INST] SELECT SUM(scored) FROM table_name_75 WHERE losses < 0 </s>
|
Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9?
|
CREATE TABLE table_name_98 (wins INTEGER, played VARCHAR, losses VARCHAR, position VARCHAR)
|
SELECT MIN(wins) FROM table_name_98 WHERE losses < 6 AND position = 4 AND played > 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (wins INTEGER, played VARCHAR, losses VARCHAR, position VARCHAR) Question: Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9? [/INST] SELECT MIN(wins) FROM table_name_98 WHERE losses < 6 AND position = 4 AND played > 9 </s>
|
How much Conceded has Wins smaller than 3, and Points larger than 11?
|
CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR)
|
SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR) Question: How much Conceded has Wins smaller than 3, and Points larger than 11? [/INST] SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11 </s>
|
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?
|
CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)
|
SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR) Question: Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1? [/INST] SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1 </s>
|
How many losses have 11 points?
|
CREATE TABLE table_name_62 (losses VARCHAR, points VARCHAR)
|
SELECT COUNT(losses) FROM table_name_62 WHERE points = 11
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (losses VARCHAR, points VARCHAR) Question: How many losses have 11 points? [/INST] SELECT COUNT(losses) FROM table_name_62 WHERE points = 11 </s>
|
What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
|
CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR)
|
SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR) Question: What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8? [/INST] SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8 </s>
|
Who was the singer for the song numbered 3, with lyricist Dev Kohli?
|
CREATE TABLE table_name_97 (singer_s_ VARCHAR, lyricist VARCHAR, number VARCHAR)
|
SELECT singer_s_ FROM table_name_97 WHERE lyricist = "dev kohli" AND number = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (singer_s_ VARCHAR, lyricist VARCHAR, number VARCHAR) Question: Who was the singer for the song numbered 3, with lyricist Dev Kohli? [/INST] SELECT singer_s_ FROM table_name_97 WHERE lyricist = "dev kohli" AND number = 3 </s>
|
What is the average number for the song "O Sudha"?
|
CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR)
|
SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR) Question: What is the average number for the song "O Sudha"? [/INST] SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha" </s>
|
What is the average length for the song "Ma Ke Jaisi"?
|
CREATE TABLE table_name_53 (length VARCHAR, song_title VARCHAR)
|
SELECT length FROM table_name_53 WHERE song_title = "ma ke jaisi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (length VARCHAR, song_title VARCHAR) Question: What is the average length for the song "Ma Ke Jaisi"? [/INST] SELECT length FROM table_name_53 WHERE song_title = "ma ke jaisi" </s>
|
Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2?
|
CREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR)
|
SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR) Question: Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2? [/INST] SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2 </s>
|
what is the fa cup goals when total apps is 10 (4)?
|
CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR)
|
SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR) Question: what is the fa cup goals when total apps is 10 (4)? [/INST] SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)" </s>
|
how many times is the fa cup apps more than 0, the position mf and the league goals 4?
|
CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)
|
SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) Question: how many times is the fa cup apps more than 0, the position mf and the league goals 4? [/INST] SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4 </s>
|
What is the total number of electorates in 2009 with a constituency of 193?
|
CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)
|
SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) Question: What is the total number of electorates in 2009 with a constituency of 193? [/INST] SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193" </s>
|
What is the reserved for the constituency of 192?
|
CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
|
SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: What is the reserved for the constituency of 192? [/INST] SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192" </s>
|
Which Artist has a Percentage of 11.32%?
|
CREATE TABLE table_name_79 (artist VARCHAR, percentage VARCHAR)
|
SELECT artist FROM table_name_79 WHERE percentage = "11.32%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (artist VARCHAR, percentage VARCHAR) Question: Which Artist has a Percentage of 11.32%? [/INST] SELECT artist FROM table_name_79 WHERE percentage = "11.32%" </s>
|
What is the week for November 28, 1982?
|
CREATE TABLE table_name_14 (week INTEGER, date VARCHAR)
|
SELECT MIN(week) FROM table_name_14 WHERE date = "november 28, 1982"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (week INTEGER, date VARCHAR) Question: What is the week for November 28, 1982? [/INST] SELECT MIN(week) FROM table_name_14 WHERE date = "november 28, 1982" </s>
|
What is the attendance number when the result is l 41-37?
|
CREATE TABLE table_name_32 (attendance VARCHAR, result VARCHAR)
|
SELECT attendance FROM table_name_32 WHERE result = "l 41-37"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (attendance VARCHAR, result VARCHAR) Question: What is the attendance number when the result is l 41-37? [/INST] SELECT attendance FROM table_name_32 WHERE result = "l 41-37" </s>
|
What is the attendance in a week earlier than 4, and result is w 31-20?
|
CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR)
|
SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-20"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR) Question: What is the attendance in a week earlier than 4, and result is w 31-20? [/INST] SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-20" </s>
|
What is the opponent in a week larger than 1, with a result of l 21-20?
|
CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR, result VARCHAR)
|
SELECT opponent FROM table_name_31 WHERE week > 1 AND result = "l 21-20"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR, result VARCHAR) Question: What is the opponent in a week larger than 1, with a result of l 21-20? [/INST] SELECT opponent FROM table_name_31 WHERE week > 1 AND result = "l 21-20" </s>
|
What sport was played by the team founded in 2010?
|
CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR)
|
SELECT sport FROM table_name_3 WHERE founded = 2010
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR) Question: What sport was played by the team founded in 2010? [/INST] SELECT sport FROM table_name_3 WHERE founded = 2010 </s>
|
What club team was founded before 2011 and plays at the champion window field?
|
CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR)
|
SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR) Question: What club team was founded before 2011 and plays at the champion window field? [/INST] SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field" </s>
|
How many different dates are there for founded teams for the venue of champion window field?
|
CREATE TABLE table_name_77 (founded VARCHAR, venue VARCHAR)
|
SELECT COUNT(founded) FROM table_name_77 WHERE venue = "champion window field"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (founded VARCHAR, venue VARCHAR) Question: How many different dates are there for founded teams for the venue of champion window field? [/INST] SELECT COUNT(founded) FROM table_name_77 WHERE venue = "champion window field" </s>
|
What club team plays at the champion window field?
|
CREATE TABLE table_name_40 (club VARCHAR, venue VARCHAR)
|
SELECT club FROM table_name_40 WHERE venue = "champion window field"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (club VARCHAR, venue VARCHAR) Question: What club team plays at the champion window field? [/INST] SELECT club FROM table_name_40 WHERE venue = "champion window field" </s>
|
Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.65, and a Year smaller than 1990?
|
CREATE TABLE table_name_67 (inflation_index__2000 INTEGER, per_capita_income__as__percentage_of_usa_ VARCHAR, year VARCHAR)
|
SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_67 WHERE per_capita_income__as__percentage_of_usa_ = 10.65 AND year < 1990
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (inflation_index__2000 INTEGER, per_capita_income__as__percentage_of_usa_ VARCHAR, year VARCHAR) Question: Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.65, and a Year smaller than 1990? [/INST] SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_67 WHERE per_capita_income__as__percentage_of_usa_ = 10.65 AND year < 1990 </s>
|
What release date has 6998 as the production num.?
|
CREATE TABLE table_name_77 (release_date VARCHAR, production_num VARCHAR)
|
SELECT release_date FROM table_name_77 WHERE production_num = "6998"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (release_date VARCHAR, production_num VARCHAR) Question: What release date has 6998 as the production num.? [/INST] SELECT release_date FROM table_name_77 WHERE production_num = "6998" </s>
|
What director has lt as the series, with 6982 as the production num.?
|
CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR)
|
SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR) Question: What director has lt as the series, with 6982 as the production num.? [/INST] SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982" </s>
|
What series has 1935-07-13 as the release date?
|
CREATE TABLE table_name_12 (series VARCHAR, release_date VARCHAR)
|
SELECT series FROM table_name_12 WHERE release_date = "1935-07-13"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (series VARCHAR, release_date VARCHAR) Question: What series has 1935-07-13 as the release date? [/INST] SELECT series FROM table_name_12 WHERE release_date = "1935-07-13" </s>
|
What title has lt as the series, ben hardaway as the director, with 6612 as the production num.?
|
CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR)
|
SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR) Question: What title has lt as the series, ben hardaway as the director, with 6612 as the production num.? [/INST] SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612" </s>
|
What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr of st-81?
|
CREATE TABLE table_name_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR)
|
SELECT title FROM table_name_26 WHERE label = "pacific jazz" AND year = 1963 AND label - Nr = st - 81
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR) Question: What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr of st-81? [/INST] SELECT title FROM table_name_26 WHERE label = "pacific jazz" AND year = 1963 AND label - Nr = st - 81 </s>
|
What is the earliest year with a label-Nr of st-43?
|
CREATE TABLE table_name_37 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR)
|
SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 43
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR) Question: What is the earliest year with a label-Nr of st-43? [/INST] SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 43 </s>
|
What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
|
CREATE TABLE table_name_3 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR)
|
SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR) Question: What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124? [/INST] SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124 </s>
|
What is the type earlier than 1968, and a Title of stretchin' out?
|
CREATE TABLE table_name_42 (type VARCHAR, year VARCHAR, title VARCHAR)
|
SELECT type FROM table_name_42 WHERE year < 1968 AND title = "stretchin' out"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (type VARCHAR, year VARCHAR, title VARCHAR) Question: What is the type earlier than 1968, and a Title of stretchin' out? [/INST] SELECT type FROM table_name_42 WHERE year < 1968 AND title = "stretchin' out" </s>
|
what is the team that is pick 31?
|
CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR)
|
SELECT team FROM table_name_19 WHERE pick = 31
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR) Question: what is the team that is pick 31? [/INST] SELECT team FROM table_name_19 WHERE pick = 31 </s>
|
what is the position when the pick is higher than 32 and the team is atlanta braves?
|
CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR, team VARCHAR)
|
SELECT position FROM table_name_8 WHERE pick > 32 AND team = "atlanta braves"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR, team VARCHAR) Question: what is the position when the pick is higher than 32 and the team is atlanta braves? [/INST] SELECT position FROM table_name_8 WHERE pick > 32 AND team = "atlanta braves" </s>
|
what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)?
|
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR)
|
SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR) Question: what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)? [/INST] SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)" </s>
|
What is the Attendance of the game in Week 12?
|
CREATE TABLE table_name_99 (attendance INTEGER, week VARCHAR)
|
SELECT MAX(attendance) FROM table_name_99 WHERE week = 12
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (attendance INTEGER, week VARCHAR) Question: What is the Attendance of the game in Week 12? [/INST] SELECT MAX(attendance) FROM table_name_99 WHERE week = 12 </s>
|
What is the Opponent on December 3, 1979?
|
CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR)
|
SELECT opponent FROM table_name_25 WHERE date = "december 3, 1979"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR) Question: What is the Opponent on December 3, 1979? [/INST] SELECT opponent FROM table_name_25 WHERE date = "december 3, 1979" </s>
|
What is the Result of the game against Philadelphia Eagles?
|
CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR)
|
SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR) Question: What is the Result of the game against Philadelphia Eagles? [/INST] SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles" </s>
|
What is the score March 27?
|
CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_55 WHERE date = "march 27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR) Question: What is the score March 27? [/INST] SELECT score FROM table_name_55 WHERE date = "march 27" </s>
|
What is the score for the game larger than 4 in series 3-2?
|
CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, series VARCHAR)
|
SELECT score FROM table_name_77 WHERE game > 4 AND series = "3-2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, series VARCHAR) Question: What is the score for the game larger than 4 in series 3-2? [/INST] SELECT score FROM table_name_77 WHERE game > 4 AND series = "3-2" </s>
|
What is the game number for series 4-2?
|
CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR)
|
SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR) Question: What is the game number for series 4-2? [/INST] SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2" </s>
|
What date has a game smaller than 4, and a score of 116-114?
|
CREATE TABLE table_name_73 (date VARCHAR, game VARCHAR, score VARCHAR)
|
SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (date VARCHAR, game VARCHAR, score VARCHAR) Question: What date has a game smaller than 4, and a score of 116-114? [/INST] SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114" </s>
|
What is the game number on April 7?
|
CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR)
|
SELECT COUNT(game) FROM table_name_43 WHERE date = "april 7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR) Question: What is the game number on April 7? [/INST] SELECT COUNT(game) FROM table_name_43 WHERE date = "april 7" </s>
|
Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979?
|
CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)
|
SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = "20/05/1979"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR) Question: Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979? [/INST] SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = "20/05/1979" </s>
|
What was the production number of the episode titel of pre-hysterical hare?
|
CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR)
|
SELECT COUNT(production_number) FROM table_name_76 WHERE title = "pre-hysterical hare"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR) Question: What was the production number of the episode titel of pre-hysterical hare? [/INST] SELECT COUNT(production_number) FROM table_name_76 WHERE title = "pre-hysterical hare" </s>
|
What director had a production number of 1490?
|
CREATE TABLE table_name_27 (director VARCHAR, production_number VARCHAR)
|
SELECT director FROM table_name_27 WHERE production_number = 1490
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (director VARCHAR, production_number VARCHAR) Question: What director had a production number of 1490? [/INST] SELECT director FROM table_name_27 WHERE production_number = 1490 </s>
|
Which title was directed by chuck jones and released on 1958-04-12?
|
CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)
|
SELECT title FROM table_name_56 WHERE director = "chuck jones" AND release_date = "1958-04-12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR) Question: Which title was directed by chuck jones and released on 1958-04-12? [/INST] SELECT title FROM table_name_56 WHERE director = "chuck jones" AND release_date = "1958-04-12" </s>
|
Which Name has a Time larger than 53.06, and a Lane smaller than 8, and a Rank larger than 2, and a Nationality of japan?
|
CREATE TABLE table_name_96 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR)
|
SELECT name FROM table_name_96 WHERE time > 53.06 AND lane < 8 AND rank > 2 AND nationality = "japan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR) Question: Which Name has a Time larger than 53.06, and a Lane smaller than 8, and a Rank larger than 2, and a Nationality of japan? [/INST] SELECT name FROM table_name_96 WHERE time > 53.06 AND lane < 8 AND rank > 2 AND nationality = "japan" </s>
|
How many lanes have a Time of 53.61, and a Rank larger than 3?
|
CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR)
|
SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND rank > 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR) Question: How many lanes have a Time of 53.61, and a Rank larger than 3? [/INST] SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND rank > 3 </s>
|
What is the finish position in the year prior to 2009?
|
CREATE TABLE table_name_64 (finish_position VARCHAR, year INTEGER)
|
SELECT finish_position FROM table_name_64 WHERE year < 2009
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (finish_position VARCHAR, year INTEGER) Question: What is the finish position in the year prior to 2009? [/INST] SELECT finish_position FROM table_name_64 WHERE year < 2009 </s>
|
Which #/ County has a Location of ossian?
|
CREATE TABLE table_name_88 (_number___county VARCHAR, location VARCHAR)
|
SELECT _number___county FROM table_name_88 WHERE location = "ossian"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_88 (_number___county VARCHAR, location VARCHAR) Question: Which #/ County has a Location of ossian? [/INST] SELECT _number___county FROM table_name_88 WHERE location = "ossian" </s>
|
How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans?
|
CREATE TABLE table_name_79 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
|
SELECT COUNT(enrollment) FROM table_name_79 WHERE ihsaa_class = "aaaaa" AND mascot = "spartans"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) Question: How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans? [/INST] SELECT COUNT(enrollment) FROM table_name_79 WHERE ihsaa_class = "aaaaa" AND mascot = "spartans" </s>
|
How much Enrollment has a School of fort wayne homestead?
|
CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR)
|
SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR) Question: How much Enrollment has a School of fort wayne homestead? [/INST] SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead" </s>
|
Which IHSAA Class has a Location of columbia city?
|
CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR)
|
SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR) Question: Which IHSAA Class has a Location of columbia city? [/INST] SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city" </s>
|
Who was the opponent at the game with a score of 111-106?
|
CREATE TABLE table_name_78 (opponent VARCHAR, score VARCHAR)
|
SELECT opponent FROM table_name_78 WHERE score = "111-106"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (opponent VARCHAR, score VARCHAR) Question: Who was the opponent at the game with a score of 111-106? [/INST] SELECT opponent FROM table_name_78 WHERE score = "111-106" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.