instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What university was founded in 1898? | CREATE TABLE table_24697604_1 (university VARCHAR, year_founded VARCHAR) | SELECT university FROM table_24697604_1 WHERE year_founded = 1898 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24697604_1 (university VARCHAR, year_founded VARCHAR) Question: What university was founded in 1898? [/INST] SELECT university FROM table_24697604_1 WHERE year_founded = 1898 </s> |
What is the maximum average associated with a total of 221902? | CREATE TABLE table_2472711_32 (average INTEGER, total VARCHAR) | SELECT MAX(average) FROM table_2472711_32 WHERE total = 221902 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2472711_32 (average INTEGER, total VARCHAR) Question: What is the maximum average associated with a total of 221902? [/INST] SELECT MAX(average) FROM table_2472711_32 WHERE total = 221902 </s> |
How many values of hosted have a highest value of 42659? | CREATE TABLE table_2472711_32 (hosted VARCHAR, highest VARCHAR) | SELECT COUNT(hosted) FROM table_2472711_32 WHERE highest = 42659 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2472711_32 (hosted VARCHAR, highest VARCHAR) Question: How many values of hosted have a highest value of 42659? [/INST] SELECT COUNT(hosted) FROM table_2472711_32 WHERE highest = 42659 </s> |
How many values of up/down have a total value of exactly 301470? | CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR) | SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR) Question: How many values of up/down have a total value of exactly 301470? [/INST] SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470 </s> |
What is the up/down associated with the Subiaco Oval? | CREATE TABLE table_2472711_32 (up_down VARCHAR, venue VARCHAR) | SELECT up_down FROM table_2472711_32 WHERE venue = "Subiaco Oval" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2472711_32 (up_down VARCHAR, venue VARCHAR) Question: What is the up/down associated with the Subiaco Oval? [/INST] SELECT up_down FROM table_2472711_32 WHERE venue = "Subiaco Oval" </s> |
What team was ranked in 7th? | CREATE TABLE table_24765815_1 (team VARCHAR, rank VARCHAR) | SELECT team FROM table_24765815_1 WHERE rank = "7th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24765815_1 (team VARCHAR, rank VARCHAR) Question: What team was ranked in 7th? [/INST] SELECT team FROM table_24765815_1 WHERE rank = "7th" </s> |
Which player had an opponent of Blackburn Rovers? | CREATE TABLE table_24765815_1 (player VARCHAR, opponent VARCHAR) | SELECT player FROM table_24765815_1 WHERE opponent = "Blackburn Rovers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24765815_1 (player VARCHAR, opponent VARCHAR) Question: Which player had an opponent of Blackburn Rovers? [/INST] SELECT player FROM table_24765815_1 WHERE opponent = "Blackburn Rovers" </s> |
What was the score for the 1st ranked team? | CREATE TABLE table_24765815_1 (score VARCHAR, rank VARCHAR) | SELECT score FROM table_24765815_1 WHERE rank = "1st" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24765815_1 (score VARCHAR, rank VARCHAR) Question: What was the score for the 1st ranked team? [/INST] SELECT score FROM table_24765815_1 WHERE rank = "1st" </s> |
What was the name of the player that had a vote percentage of 7.85%? | CREATE TABLE table_24765815_1 (player VARCHAR, vote_percentage VARCHAR) | SELECT player FROM table_24765815_1 WHERE vote_percentage = "7.85%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24765815_1 (player VARCHAR, vote_percentage VARCHAR) Question: What was the name of the player that had a vote percentage of 7.85%? [/INST] SELECT player FROM table_24765815_1 WHERE vote_percentage = "7.85... |
What is the original airdate of the episode where the challenge was three overstuffed sandwiches? | CREATE TABLE table_24798489_1 (original_airdate VARCHAR, challenge VARCHAR) | SELECT original_airdate FROM table_24798489_1 WHERE challenge = "Three overstuffed sandwiches" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24798489_1 (original_airdate VARCHAR, challenge VARCHAR) Question: What is the original airdate of the episode where the challenge was three overstuffed sandwiches? [/INST] SELECT original_airdate FROM ta... |
Who was the challenge winner in the episode that originally aired on January 28, 2009? | CREATE TABLE table_24798489_1 (challenge_winner VARCHAR, original_airdate VARCHAR) | SELECT challenge_winner FROM table_24798489_1 WHERE original_airdate = "January 28, 2009" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24798489_1 (challenge_winner VARCHAR, original_airdate VARCHAR) Question: Who was the challenge winner in the episode that originally aired on January 28, 2009? [/INST] SELECT challenge_winner FROM table_2... |
How many episodes had New York, New York as the location? | CREATE TABLE table_24798489_1 (episode_number VARCHAR, location VARCHAR) | SELECT COUNT(episode_number) FROM table_24798489_1 WHERE location = "New York, New York" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24798489_1 (episode_number VARCHAR, location VARCHAR) Question: How many episodes had New York, New York as the location? [/INST] SELECT COUNT(episode_number) FROM table_24798489_1 WHERE location = "New Yo... |
What were the shots below par when the winning score was 67-64-63-71-66=331? | CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_247955_2 WHERE winning_score = 67 - 64 - 63 - 71 - 66 = 331 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR) Question: What were the shots below par when the winning score was 67-64-63-71-66=331? [/INST] SELECT to_par FROM table_247955_2 WHERE winning_score = 67 - ... |
What were the shots below par when the winning score was 69-66-69-64=268? | CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR) | SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 - 69 - 64 = 268 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR) Question: What were the shots below par when the winning score was 69-66-69-64=268? [/INST] SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 ... |
What is the total number of to par when runner-up was Jonathan Kaye? | CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR) | SELECT COUNT(to_par) FROM table_247955_2 WHERE runner_s__up = "Jonathan Kaye" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_247955_2 (to_par VARCHAR, runner_s__up VARCHAR) Question: What is the total number of to par when runner-up was Jonathan Kaye? [/INST] SELECT COUNT(to_par) FROM table_247955_2 WHERE runner_s__up = "Jonatha... |
What was the margin of victory when runner-up was K. J. Choi? | CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = "K. J. Choi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR) Question: What was the margin of victory when runner-up was K. J. Choi? [/INST] SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = ... |
What was the date for no. 7? | CREATE TABLE table_247955_2 (date VARCHAR, no VARCHAR) | SELECT date FROM table_247955_2 WHERE no = 7 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_247955_2 (date VARCHAR, no VARCHAR) Question: What was the date for no. 7? [/INST] SELECT date FROM table_247955_2 WHERE no = 7 </s> |
Which team had 342 total points? | CREATE TABLE table_24784769_1 (team VARCHAR, total_points VARCHAR) | SELECT team FROM table_24784769_1 WHERE total_points = 342 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24784769_1 (team VARCHAR, total_points VARCHAR) Question: Which team had 342 total points? [/INST] SELECT team FROM table_24784769_1 WHERE total_points = 342 </s> |
How many points did the team who had 325 total points have in round 3? | CREATE TABLE table_24784769_1 (round3 VARCHAR, total_points VARCHAR) | SELECT round3 FROM table_24784769_1 WHERE total_points = 325 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24784769_1 (round3 VARCHAR, total_points VARCHAR) Question: How many points did the team who had 325 total points have in round 3? [/INST] SELECT round3 FROM table_24784769_1 WHERE total_points = 325 </s> |
What is the most amount of points any team had in round 4? | CREATE TABLE table_24784769_1 (round4 INTEGER) | SELECT MAX(round4) FROM table_24784769_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24784769_1 (round4 INTEGER) Question: What is the most amount of points any team had in round 4? [/INST] SELECT MAX(round4) FROM table_24784769_1 </s> |
How many points did the team who had 132 total points have in round 1? | CREATE TABLE table_24784769_1 (round1 INTEGER, total_points VARCHAR) | SELECT MAX(round1) FROM table_24784769_1 WHERE total_points = 132 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24784769_1 (round1 INTEGER, total_points VARCHAR) Question: How many points did the team who had 132 total points have in round 1? [/INST] SELECT MAX(round1) FROM table_24784769_1 WHERE total_points = 132... |
Who did Rhein Fire play Against where 30701 people attended? | CREATE TABLE table_24786958_2 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_24786958_2 WHERE attendance = 30701 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24786958_2 (opponent VARCHAR, attendance VARCHAR) Question: Who did Rhein Fire play Against where 30701 people attended? [/INST] SELECT opponent FROM table_24786958_2 WHERE attendance = 30701 </s> |
What week had kickoff time at 6:00 p.m.? | CREATE TABLE table_24786958_2 (week INTEGER, kickoff VARCHAR) | SELECT MIN(week) FROM table_24786958_2 WHERE kickoff = "6:00 p.m." | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24786958_2 (week INTEGER, kickoff VARCHAR) Question: What week had kickoff time at 6:00 p.m.? [/INST] SELECT MIN(week) FROM table_24786958_2 WHERE kickoff = "6:00 p.m." </s> |
Where was the game played that was on Sunday, May 27? | CREATE TABLE table_24786958_2 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_24786958_2 WHERE date = "Sunday, May 27" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24786958_2 (game_site VARCHAR, date VARCHAR) Question: Where was the game played that was on Sunday, May 27? [/INST] SELECT game_site FROM table_24786958_2 WHERE date = "Sunday, May 27" </s> |
How many people attended the game at Jahn-sportpark? | CREATE TABLE table_24786958_2 (attendance INTEGER, game_site VARCHAR) | SELECT MIN(attendance) FROM table_24786958_2 WHERE game_site = "Jahn-Sportpark" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24786958_2 (attendance INTEGER, game_site VARCHAR) Question: How many people attended the game at Jahn-sportpark? [/INST] SELECT MIN(attendance) FROM table_24786958_2 WHERE game_site = "Jahn-Sportpark" </s... |
How many final scores were there on the game at Amsterdam arena? | CREATE TABLE table_24786958_2 (final_score VARCHAR, game_site VARCHAR) | SELECT COUNT(final_score) FROM table_24786958_2 WHERE game_site = "Amsterdam ArenA" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24786958_2 (final_score VARCHAR, game_site VARCHAR) Question: How many final scores were there on the game at Amsterdam arena? [/INST] SELECT COUNT(final_score) FROM table_24786958_2 WHERE game_site = "Ams... |
What was the group in the British Champion Stakes? | CREATE TABLE table_24850630_4 (group VARCHAR, race VARCHAR) | SELECT group FROM table_24850630_4 WHERE race = "British Champion Stakes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24850630_4 (group VARCHAR, race VARCHAR) Question: What was the group in the British Champion Stakes? [/INST] SELECT group FROM table_24850630_4 WHERE race = "British Champion Stakes" </s> |
What was the weight of the jockey at Sandown Park? | CREATE TABLE table_24850630_4 (weight VARCHAR, venue VARCHAR) | SELECT weight FROM table_24850630_4 WHERE venue = "Sandown Park" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24850630_4 (weight VARCHAR, venue VARCHAR) Question: What was the weight of the jockey at Sandown Park? [/INST] SELECT weight FROM table_24850630_4 WHERE venue = "Sandown Park" </s> |
What is the distance of the Mooresbridge Stakes race? | CREATE TABLE table_24850630_4 (distance VARCHAR, race VARCHAR) | SELECT distance FROM table_24850630_4 WHERE race = "Mooresbridge Stakes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24850630_4 (distance VARCHAR, race VARCHAR) Question: What is the distance of the Mooresbridge Stakes race? [/INST] SELECT distance FROM table_24850630_4 WHERE race = "Mooresbridge Stakes" </s> |
who was the winner /2nd for the British Champion Stakes race? | CREATE TABLE table_24850630_4 (winner_2nd VARCHAR, race VARCHAR) | SELECT winner_2nd FROM table_24850630_4 WHERE race = "British Champion Stakes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24850630_4 (winner_2nd VARCHAR, race VARCHAR) Question: who was the winner /2nd for the British Champion Stakes race? [/INST] SELECT winner_2nd FROM table_24850630_4 WHERE race = "British Champion Stakes"... |
The MacKinnon Stakes races took place on how many venues? | CREATE TABLE table_24850630_3 (venue VARCHAR, race VARCHAR) | SELECT COUNT(venue) FROM table_24850630_3 WHERE race = "Mackinnon Stakes" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24850630_3 (venue VARCHAR, race VARCHAR) Question: The MacKinnon Stakes races took place on how many venues? [/INST] SELECT COUNT(venue) FROM table_24850630_3 WHERE race = "Mackinnon Stakes" </s> |
What is the largest average for the episode with 1.97 million Hong Kong viewers? | CREATE TABLE table_24856090_1 (average INTEGER, hk_viewers VARCHAR) | SELECT MAX(average) FROM table_24856090_1 WHERE hk_viewers = "1.97 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24856090_1 (average INTEGER, hk_viewers VARCHAR) Question: What is the largest average for the episode with 1.97 million Hong Kong viewers? [/INST] SELECT MAX(average) FROM table_24856090_1 WHERE hk_viewer... |
What is the English title of the episode with 1.92 million Hong Kong viewers? | CREATE TABLE table_24856090_1 (english_title VARCHAR, hk_viewers VARCHAR) | SELECT english_title FROM table_24856090_1 WHERE hk_viewers = "1.92 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24856090_1 (english_title VARCHAR, hk_viewers VARCHAR) Question: What is the English title of the episode with 1.92 million Hong Kong viewers? [/INST] SELECT english_title FROM table_24856090_1 WHERE hk_vi... |
What is the premiere number for the episode titled "The Mysteries of Love" in English? | CREATE TABLE table_24856090_1 (premiere INTEGER, english_title VARCHAR) | SELECT MAX(premiere) FROM table_24856090_1 WHERE english_title = "The Mysteries of Love" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24856090_1 (premiere INTEGER, english_title VARCHAR) Question: What is the premiere number for the episode titled "The Mysteries of Love" in English? [/INST] SELECT MAX(premiere) FROM table_24856090_1 WHER... |
What is the Chinese name of the episode with 1.97 million Hong Kong viewers? | CREATE TABLE table_24856090_1 (chinese_title VARCHAR, hk_viewers VARCHAR) | SELECT chinese_title FROM table_24856090_1 WHERE hk_viewers = "1.97 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24856090_1 (chinese_title VARCHAR, hk_viewers VARCHAR) Question: What is the Chinese name of the episode with 1.97 million Hong Kong viewers? [/INST] SELECT chinese_title FROM table_24856090_1 WHERE hk_vie... |
Who was the home team when the away team was fulham? | CREATE TABLE table_24887326_7 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_24887326_7 WHERE away_team = "Fulham" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24887326_7 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when the away team was fulham? [/INST] SELECT home_team FROM table_24887326_7 WHERE away_team = "Fulham" </s> |
What was the attendance of the game where Stoke city was the away team? | CREATE TABLE table_24887326_7 (attendance INTEGER, away_team VARCHAR) | SELECT MIN(attendance) FROM table_24887326_7 WHERE away_team = "Stoke City" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24887326_7 (attendance INTEGER, away_team VARCHAR) Question: What was the attendance of the game where Stoke city was the away team? [/INST] SELECT MIN(attendance) FROM table_24887326_7 WHERE away_team = "... |
When the away team is Millwall, what is the total possible amount of tie numbers? | CREATE TABLE table_24887326_7 (tie_no VARCHAR, away_team VARCHAR) | SELECT COUNT(tie_no) FROM table_24887326_7 WHERE away_team = "Millwall" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24887326_7 (tie_no VARCHAR, away_team VARCHAR) Question: When the away team is Millwall, what is the total possible amount of tie numbers? [/INST] SELECT COUNT(tie_no) FROM table_24887326_7 WHERE away_team... |
What is the date of the game played with Birmingham City as the away team? | CREATE TABLE table_24887326_7 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_24887326_7 WHERE away_team = "Birmingham City" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24887326_7 (date VARCHAR, away_team VARCHAR) Question: What is the date of the game played with Birmingham City as the away team? [/INST] SELECT date FROM table_24887326_7 WHERE away_team = "Birmingham Cit... |
What was the airdate of episode number 18? | CREATE TABLE table_24910742_1 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT original_air_date FROM table_24910742_1 WHERE no_in_season = 18 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24910742_1 (original_air_date VARCHAR, no_in_season VARCHAR) Question: What was the airdate of episode number 18? [/INST] SELECT original_air_date FROM table_24910742_1 WHERE no_in_season = 18 </s> |
What was the title of the episode having exactly 9.64 million US viewers? | CREATE TABLE table_24910742_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_24910742_1 WHERE us_viewers__millions_ = "9.64" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24910742_1 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: What was the title of the episode having exactly 9.64 million US viewers? [/INST] SELECT title FROM table_24910742_1 WHERE us_viewers__mi... |
For which jockey was the weight in kg 53.5? | CREATE TABLE table_24915874_1 (jockey VARCHAR, weight__kg_ VARCHAR) | SELECT jockey FROM table_24915874_1 WHERE weight__kg_ = "53.5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (jockey VARCHAR, weight__kg_ VARCHAR) Question: For which jockey was the weight in kg 53.5? [/INST] SELECT jockey FROM table_24915874_1 WHERE weight__kg_ = "53.5" </s> |
Who was the trainer when the jockey was Luke Nolen? | CREATE TABLE table_24915874_1 (trainer VARCHAR, jockey VARCHAR) | SELECT trainer FROM table_24915874_1 WHERE jockey = "Luke Nolen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (trainer VARCHAR, jockey VARCHAR) Question: Who was the trainer when the jockey was Luke Nolen? [/INST] SELECT trainer FROM table_24915874_1 WHERE jockey = "Luke Nolen" </s> |
What was the placing when the jockey was Damien Oliver? | CREATE TABLE table_24915874_1 (placing VARCHAR, jockey VARCHAR) | SELECT placing FROM table_24915874_1 WHERE jockey = "Damien Oliver" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (placing VARCHAR, jockey VARCHAR) Question: What was the placing when the jockey was Damien Oliver? [/INST] SELECT placing FROM table_24915874_1 WHERE jockey = "Damien Oliver" </s> |
What was the placing when the weight in kg was 58.0? | CREATE TABLE table_24915874_1 (placing VARCHAR, weight__kg_ VARCHAR) | SELECT placing FROM table_24915874_1 WHERE weight__kg_ = "58.0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (placing VARCHAR, weight__kg_ VARCHAR) Question: What was the placing when the weight in kg was 58.0? [/INST] SELECT placing FROM table_24915874_1 WHERE weight__kg_ = "58.0" </s> |
Who was the horse when the jockey was Peter Wells? | CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR) | SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (horse VARCHAR, jockey VARCHAR) Question: Who was the horse when the jockey was Peter Wells? [/INST] SELECT horse FROM table_24915874_1 WHERE jockey = "Peter Wells" </s> |
What was the weight in kg when the horse was Alcopop? | CREATE TABLE table_24915874_1 (weight__kg_ VARCHAR, horse VARCHAR) | SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24915874_1 (weight__kg_ VARCHAR, horse VARCHAR) Question: What was the weight in kg when the horse was Alcopop? [/INST] SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop" </s> |
How many weeks are teams playing agains the Barcelona dragons? | CREATE TABLE table_24918268_2 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_24918268_2 WHERE opponent = "Barcelona Dragons" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24918268_2 (week VARCHAR, opponent VARCHAR) Question: How many weeks are teams playing agains the Barcelona dragons? [/INST] SELECT COUNT(week) FROM table_24918268_2 WHERE opponent = "Barcelona Dragons" </... |
What was the score for the game that kicked off at 6:00 p.m.? | CREATE TABLE table_24918268_2 (final_score VARCHAR, kickoff VARCHAR) | SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m." | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24918268_2 (final_score VARCHAR, kickoff VARCHAR) Question: What was the score for the game that kicked off at 6:00 p.m.? [/INST] SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m." </s> |
Who are the opponents for games on Sunday, June 9? | CREATE TABLE table_24918268_2 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_24918268_2 WHERE date = "Sunday, June 9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24918268_2 (opponent VARCHAR, date VARCHAR) Question: Who are the opponents for games on Sunday, June 9? [/INST] SELECT opponent FROM table_24918268_2 WHERE date = "Sunday, June 9" </s> |
Name the fat for protein being 4 and calories 80 | CREATE TABLE table_2493389_1 (fat__g_ VARCHAR, protein__g_ VARCHAR, calories__1_tbsp__ VARCHAR) | SELECT fat__g_ FROM table_2493389_1 WHERE protein__g_ = "4" AND calories__1_tbsp__ = 80 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2493389_1 (fat__g_ VARCHAR, protein__g_ VARCHAR, calories__1_tbsp__ VARCHAR) Question: Name the fat for protein being 4 and calories 80 [/INST] SELECT fat__g_ FROM table_2493389_1 WHERE protein__g_ = "4" A... |
Name the number of butters for 3 protein | CREATE TABLE table_2493389_1 (butter VARCHAR, protein__g_ VARCHAR) | SELECT COUNT(butter) FROM table_2493389_1 WHERE protein__g_ = "3" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2493389_1 (butter VARCHAR, protein__g_ VARCHAR) Question: Name the number of butters for 3 protein [/INST] SELECT COUNT(butter) FROM table_2493389_1 WHERE protein__g_ = "3" </s> |
Name the calcium for fat being 6.5 | CREATE TABLE table_2493389_1 (calcium__mg_ VARCHAR, fat__g_ VARCHAR) | SELECT calcium__mg_ FROM table_2493389_1 WHERE fat__g_ = "6.5" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2493389_1 (calcium__mg_ VARCHAR, fat__g_ VARCHAR) Question: Name the calcium for fat being 6.5 [/INST] SELECT calcium__mg_ FROM table_2493389_1 WHERE fat__g_ = "6.5" </s> |
How many counties have a place name of Macedonia? | CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR) | SELECT COUNT(county_ies__) AS "a_" FROM table_249512_2 WHERE place_name = "Macedonia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR) Question: How many counties have a place name of Macedonia? [/INST] SELECT COUNT(county_ies__) AS "a_" FROM table_249512_2 WHERE place_name =... |
What is the number of land areas that have a place name of Ballplay? | CREATE TABLE table_249512_2 (land_area__2010_ VARCHAR, place_name VARCHAR) | SELECT COUNT(land_area__2010_) FROM table_249512_2 WHERE place_name = "Ballplay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_249512_2 (land_area__2010_ VARCHAR, place_name VARCHAR) Question: What is the number of land areas that have a place name of Ballplay? [/INST] SELECT COUNT(land_area__2010_) FROM table_249512_2 WHERE place... |
What is the minimum 2010 population of Edgewater? | CREATE TABLE table_249512_2 (population__2010_ INTEGER, place_name VARCHAR) | SELECT MIN(population__2010_) FROM table_249512_2 WHERE place_name = "Edgewater" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_249512_2 (population__2010_ INTEGER, place_name VARCHAR) Question: What is the minimum 2010 population of Edgewater? [/INST] SELECT MIN(population__2010_) FROM table_249512_2 WHERE place_name = "Edgewater"... |
Which country is akiko suzuki from? | CREATE TABLE table_24990183_5 (country VARCHAR, name VARCHAR) | SELECT country FROM table_24990183_5 WHERE name = "Akiko Suzuki" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24990183_5 (country VARCHAR, name VARCHAR) Question: Which country is akiko suzuki from? [/INST] SELECT country FROM table_24990183_5 WHERE name = "Akiko Suzuki" </s> |
What was the 08-09 i/o best of the player with 1386 points? | CREATE TABLE table_24990183_5 (ws_points VARCHAR) | SELECT 08 AS _09_i_o_best FROM table_24990183_5 WHERE ws_points = 1386 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24990183_5 (ws_points VARCHAR) Question: What was the 08-09 i/o best of the player with 1386 points? [/INST] SELECT 08 AS _09_i_o_best FROM table_24990183_5 WHERE ws_points = 1386 </s> |
Who was the player from georgia? | CREATE TABLE table_24990183_5 (name VARCHAR, country VARCHAR) | SELECT name FROM table_24990183_5 WHERE country = "Georgia" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24990183_5 (name VARCHAR, country VARCHAR) Question: Who was the player from georgia? [/INST] SELECT name FROM table_24990183_5 WHERE country = "Georgia" </s> |
When tracy reid is the player what is the highest amount of minutes? | CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR) | SELECT MAX(minutes) FROM table_25016555_5 WHERE player = "Tracy Reid" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR) Question: When tracy reid is the player what is the highest amount of minutes? [/INST] SELECT MAX(minutes) FROM table_25016555_5 WHERE player = "Tracy Reid" </s... |
What is the lowest overall amount of assists? | CREATE TABLE table_25016555_5 (assists INTEGER) | SELECT MIN(assists) FROM table_25016555_5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25016555_5 (assists INTEGER) Question: What is the lowest overall amount of assists? [/INST] SELECT MIN(assists) FROM table_25016555_5 </s> |
When sandy brondello is the player what is the lowest amount of minutes? | CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR) | SELECT MIN(minutes) FROM table_25016555_5 WHERE player = "Sandy Brondello" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25016555_5 (minutes INTEGER, player VARCHAR) Question: When sandy brondello is the player what is the lowest amount of minutes? [/INST] SELECT MIN(minutes) FROM table_25016555_5 WHERE player = "Sandy Brond... |
When 21 is the number of assists how many sets of blocks are there? | CREATE TABLE table_25016555_5 (blocks VARCHAR, assists VARCHAR) | SELECT COUNT(blocks) FROM table_25016555_5 WHERE assists = 21 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25016555_5 (blocks VARCHAR, assists VARCHAR) Question: When 21 is the number of assists how many sets of blocks are there? [/INST] SELECT COUNT(blocks) FROM table_25016555_5 WHERE assists = 21 </s> |
When 2010 is the first elected and Florida 7 is the district who are the candidates? | CREATE TABLE table_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_12 WHERE district = "Florida 7" AND first_elected = "2010" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR) Question: When 2010 is the first elected and Florida 7 is the district who are the candidates? [/INST] SELECT candidates FROM table... |
When bill young redistricted from the 10th district is the incumbent what is the party? | CREATE TABLE table_25030512_12 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_25030512_12 WHERE incumbent = "Bill Young Redistricted from the 10th district" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_12 (party VARCHAR, incumbent VARCHAR) Question: When bill young redistricted from the 10th district is the incumbent what is the party? [/INST] SELECT party FROM table_25030512_12 WHERE incumbent ... |
When dennis ross (r) unopposed is the candidate what is the party? | CREATE TABLE table_25030512_12 (party VARCHAR, candidates VARCHAR) | SELECT party FROM table_25030512_12 WHERE candidates = "Dennis Ross (R) unopposed" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_12 (party VARCHAR, candidates VARCHAR) Question: When dennis ross (r) unopposed is the candidate what is the party? [/INST] SELECT party FROM table_25030512_12 WHERE candidates = "Dennis Ross (R) ... |
When none (new seat) is the first elected who are the candidates? | CREATE TABLE table_25030512_12 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_12 WHERE first_elected = "None (New seat)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_12 (candidates VARCHAR, first_elected VARCHAR) Question: When none (new seat) is the first elected who are the candidates? [/INST] SELECT candidates FROM table_25030512_12 WHERE first_elected = "N... |
How many millions of people watched the episode with a production code of icec483x? | CREATE TABLE table_2501754_4 (viewing_figures_millions VARCHAR, prod_code VARCHAR) | SELECT viewing_figures_millions FROM table_2501754_4 WHERE prod_code = "ICEC483X" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2501754_4 (viewing_figures_millions VARCHAR, prod_code VARCHAR) Question: How many millions of people watched the episode with a production code of icec483x? [/INST] SELECT viewing_figures_millions FROM ta... |
What is the lowest episode number? | CREATE TABLE table_2501754_4 (episode__number INTEGER) | SELECT MIN(episode__number) FROM table_2501754_4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2501754_4 (episode__number INTEGER) Question: What is the lowest episode number? [/INST] SELECT MIN(episode__number) FROM table_2501754_4 </s> |
What is the lowest episode number with 6.19 million viewers and a production code of icec487y? | CREATE TABLE table_2501754_4 (episode__number INTEGER, viewing_figures_millions VARCHAR, prod_code VARCHAR) | SELECT MIN(episode__number) FROM table_2501754_4 WHERE viewing_figures_millions = "6.19" AND prod_code = "ICEC487Y" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2501754_4 (episode__number INTEGER, viewing_figures_millions VARCHAR, prod_code VARCHAR) Question: What is the lowest episode number with 6.19 million viewers and a production code of icec487y? [/INST] SEL... |
List the production code for the episode had 5.55 million viewers? | CREATE TABLE table_2501754_3 (prod_code VARCHAR, viewing_figures_millions VARCHAR) | SELECT prod_code FROM table_2501754_3 WHERE viewing_figures_millions = "5.55" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2501754_3 (prod_code VARCHAR, viewing_figures_millions VARCHAR) Question: List the production code for the episode had 5.55 million viewers? [/INST] SELECT prod_code FROM table_2501754_3 WHERE viewing_figu... |
List the 1st air date for the episode with a iceb786e production code. | CREATE TABLE table_2501754_3 (original_airdate VARCHAR, prod_code VARCHAR) | SELECT original_airdate FROM table_2501754_3 WHERE prod_code = "ICEB786E" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2501754_3 (original_airdate VARCHAR, prod_code VARCHAR) Question: List the 1st air date for the episode with a iceb786e production code. [/INST] SELECT original_airdate FROM table_2501754_3 WHERE prod_code... |
Name the party for 1998 first elected | CREATE TABLE table_25030512_24 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_25030512_24 WHERE first_elected = "1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_24 (party VARCHAR, first_elected VARCHAR) Question: Name the party for 1998 first elected [/INST] SELECT party FROM table_25030512_24 WHERE first_elected = "1998" </s> |
Name the result for barney frank | CREATE TABLE table_25030512_24 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_25030512_24 WHERE incumbent = "Barney Frank" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_24 (result VARCHAR, incumbent VARCHAR) Question: Name the result for barney frank [/INST] SELECT result FROM table_25030512_24 WHERE incumbent = "Barney Frank" </s> |
Name the candidates for first elected being 1976 | CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) Question: Name the candidates for first elected being 1976 [/INST] SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976" </s> |
Name the total number of districts for first elected being 1998 | CREATE TABLE table_25030512_24 (district VARCHAR, first_elected VARCHAR) | SELECT COUNT(district) FROM table_25030512_24 WHERE first_elected = "1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_24 (district VARCHAR, first_elected VARCHAR) Question: Name the total number of districts for first elected being 1998 [/INST] SELECT COUNT(district) FROM table_25030512_24 WHERE first_elected = "... |
Name the result for 1998 | CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_25030512_24 WHERE first_elected = "1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR) Question: Name the result for 1998 [/INST] SELECT result FROM table_25030512_24 WHERE first_elected = "1998" </s> |
Name the candidates for 1998 | CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_25030512_24 WHERE first_elected = "1998" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) Question: Name the candidates for 1998 [/INST] SELECT candidates FROM table_25030512_24 WHERE first_elected = "1998" </s> |
Who is the driver of the Chevrolet engine that is sponsored by godaddy.com? | CREATE TABLE table_2503102_1 (driver_s_ VARCHAR, engine VARCHAR, car_sponsor_s_ VARCHAR) | SELECT driver_s_ FROM table_2503102_1 WHERE engine = "Chevrolet" AND car_sponsor_s_ = "GoDaddy.com" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2503102_1 (driver_s_ VARCHAR, engine VARCHAR, car_sponsor_s_ VARCHAR) Question: Who is the driver of the Chevrolet engine that is sponsored by godaddy.com? [/INST] SELECT driver_s_ FROM table_2503102_1 WHE... |
What engine does the Fuzzy's Ultra Premium Vodka sponsored car use? | CREATE TABLE table_2503102_1 (engine VARCHAR, car_sponsor_s_ VARCHAR) | SELECT engine FROM table_2503102_1 WHERE car_sponsor_s_ = "Fuzzy's Ultra Premium Vodka" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2503102_1 (engine VARCHAR, car_sponsor_s_ VARCHAR) Question: What engine does the Fuzzy's Ultra Premium Vodka sponsored car use? [/INST] SELECT engine FROM table_2503102_1 WHERE car_sponsor_s_ = "Fuzzy's U... |
What engine doe the Ed Carpenter Racing team use? | CREATE TABLE table_2503102_1 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_2503102_1 WHERE team = "Ed Carpenter Racing" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2503102_1 (engine VARCHAR, team VARCHAR) Question: What engine doe the Ed Carpenter Racing team use? [/INST] SELECT engine FROM table_2503102_1 WHERE team = "Ed Carpenter Racing" </s> |
What team is sponsored by hydroxycut? | CREATE TABLE table_2503102_1 (team VARCHAR, car_sponsor_s_ VARCHAR) | SELECT team FROM table_2503102_1 WHERE car_sponsor_s_ = "HydroxyCut" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2503102_1 (team VARCHAR, car_sponsor_s_ VARCHAR) Question: What team is sponsored by hydroxycut? [/INST] SELECT team FROM table_2503102_1 WHERE car_sponsor_s_ = "HydroxyCut" </s> |
What percentage of the population is below 50% of the median income in the region where 10.4% of the population earns below 40% of the median income? | CREATE TABLE table_25042332_16 (below_50_percentage_of_median_income VARCHAR, below_40_percentage_of_median_income VARCHAR) | SELECT COUNT(below_50_percentage_of_median_income) FROM table_25042332_16 WHERE below_40_percentage_of_median_income = "10.4%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_16 (below_50_percentage_of_median_income VARCHAR, below_40_percentage_of_median_income VARCHAR) Question: What percentage of the population is below 50% of the median income in the region where 10... |
What is the median income for the region where 24.4% pf people make below 60% of the median income? | CREATE TABLE table_25042332_16 (median_income___intl INTEGER, below_60_percentage_of_median_income VARCHAR) | SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE below_60_percentage_of_median_income = "24.4%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_16 (median_income___intl INTEGER, below_60_percentage_of_median_income VARCHAR) Question: What is the median income for the region where 24.4% pf people make below 60% of the median income? [/INST... |
What is the median income of Maule? | CREATE TABLE table_25042332_16 (median_income___intl INTEGER, region VARCHAR) | SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE region = "Maule" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_16 (median_income___intl INTEGER, region VARCHAR) Question: What is the median income of Maule? [/INST] SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE region = "Maule" </s> |
In what region does 17.4% of the population make below 50% of the median income? | CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR) | SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "17.4%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR) Question: In what region does 17.4% of the population make below 50% of the median income? [/INST] SELECT region FROM table_250423... |
In what region do 18.6% of the people make less than 50% of the median income? | CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR) | SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "18.6%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR) Question: In what region do 18.6% of the people make less than 50% of the median income? [/INST] SELECT region FROM table_25042332... |
What is the gdp per capita in 2008 for the region that had a combined gross enrollment ration of 89.0? | CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) | SELECT MIN(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "89.0" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) Question: What is the gdp per capita in 2008 for the region that had a combined gross enrollment ration of ... |
Which region had a life expectancy at birth of 77.9 from 2001-2002? | CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) | SELECT region FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "77.9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_33 (region VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) Question: Which region had a life expectancy at birth of 77.9 from 2001-2002? [/INST] SELECT region FROM table_25042332_33 WHERE l... |
What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009? | CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) | SELECT MAX(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "86.6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR) Question: What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 ... |
How many regions had an hdi of 0.896? | CREATE TABLE table_25042332_33 (combined_gross_enrollment_ratio__2009_ VARCHAR, hdi VARCHAR) | SELECT COUNT(combined_gross_enrollment_ratio__2009_) FROM table_25042332_33 WHERE hdi = "0.896" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_33 (combined_gross_enrollment_ratio__2009_ VARCHAR, hdi VARCHAR) Question: How many regions had an hdi of 0.896? [/INST] SELECT COUNT(combined_gross_enrollment_ratio__2009_) FROM table_25042332_33... |
How many regions had a life expectancy at birth in 2001-2002 of 75.9? | CREATE TABLE table_25042332_33 (hdi VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) | SELECT COUNT(hdi) FROM table_25042332_33 WHERE life_expectancy_at_birth__2001_2002_ = "75.9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25042332_33 (hdi VARCHAR, life_expectancy_at_birth__2001_2002_ VARCHAR) Question: How many regions had a life expectancy at birth in 2001-2002 of 75.9? [/INST] SELECT COUNT(hdi) FROM table_25042332_33 WHER... |
In which season is the runner-up Lase-R/Riga? | CREATE TABLE table_25058269_1 (season VARCHAR, runner_up VARCHAR) | SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25058269_1 (season VARCHAR, runner_up VARCHAR) Question: In which season is the runner-up Lase-R/Riga? [/INST] SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga" </s> |
In season 2007β08 who is the runner-up? | CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) | SELECT runner_up FROM table_25058269_1 WHERE season = "2007β08" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) Question: In season 2007β08 who is the runner-up? [/INST] SELECT runner_up FROM table_25058269_1 WHERE season = "2007β08" </s> |
Who is the runner-up for season 2011β12? | CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) | SELECT runner_up FROM table_25058269_1 WHERE season = "2011β12" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR) Question: Who is the runner-up for season 2011β12? [/INST] SELECT runner_up FROM table_25058269_1 WHERE season = "2011β12" </s> |
In season 2005β06, who is 3rd place? | CREATE TABLE table_25058269_1 (season VARCHAR) | SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005β06" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25058269_1 (season VARCHAR) Question: In season 2005β06, who is 3rd place? [/INST] SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005β06" </s> |
What draft pick number did Kentucky get? | CREATE TABLE table_25085059_1 (pick__number INTEGER, college VARCHAR) | SELECT MIN(pick__number) FROM table_25085059_1 WHERE college = "Kentucky" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25085059_1 (pick__number INTEGER, college VARCHAR) Question: What draft pick number did Kentucky get? [/INST] SELECT MIN(pick__number) FROM table_25085059_1 WHERE college = "Kentucky" </s> |
What position was the number 6 draft pick? | CREATE TABLE table_25085059_1 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_25085059_1 WHERE pick__number = 6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25085059_1 (position VARCHAR, pick__number VARCHAR) Question: What position was the number 6 draft pick? [/INST] SELECT position FROM table_25085059_1 WHERE pick__number = 6 </s> |
What CFL team obtained a draft pick from North Dakota who plays OL position? | CREATE TABLE table_25085059_1 (cfl_team VARCHAR, position VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_25085059_1 WHERE position = "OL" AND college = "North Dakota" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25085059_1 (cfl_team VARCHAR, position VARCHAR, college VARCHAR) Question: What CFL team obtained a draft pick from North Dakota who plays OL position? [/INST] SELECT cfl_team FROM table_25085059_1 WHERE p... |
What college did the Toronto Argonauts draft pick come from? | CREATE TABLE table_25085059_1 (college VARCHAR, cfl_team VARCHAR) | SELECT college FROM table_25085059_1 WHERE cfl_team = "Toronto Argonauts" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_25085059_1 (college VARCHAR, cfl_team VARCHAR) Question: What college did the Toronto Argonauts draft pick come from? [/INST] SELECT college FROM table_25085059_1 WHERE cfl_team = "Toronto Argonauts" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.