instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
When troy is the regular season winner what is the conference tournament?
|
CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR)
|
SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = "Troy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR) Question: When troy is the regular season winner what is the conference tournament? [/INST] SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = "Troy" </s>
|
When madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament?
|
CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_venue__city_ VARCHAR)
|
SELECT conference AS Tournament FROM table_24160890_3 WHERE tournament_venue__city_ = "Madison Square Garden ( New York City, New York )"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_venue__city_ VARCHAR) Question: When madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament? [/INST] SELECT conference AS Tournament FROM table_24160890_3 WHERE tournament_venue__city_ = "Madison Square Garden ( New York City, New York )" </s>
|
When Cincinnati is the tournament winner how many regular season winners are there?
|
CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
|
SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) Question: When Cincinnati is the tournament winner how many regular season winners are there? [/INST] SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" </s>
|
When western michigan is the tournament winner how many conferences are there?
|
CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR)
|
SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = "Western Michigan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR) Question: When western michigan is the tournament winner how many conferences are there? [/INST] SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = "Western Michigan" </s>
|
When was successor George E. Harris (R) seated?
|
CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR)
|
SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "George E. Harris (R)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) Question: When was successor George E. Harris (R) seated? [/INST] SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "George E. Harris (R)" </s>
|
What was the reason for change when the successor was William Milnes, Jr. (C)?
|
CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR)
|
SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR) Question: What was the reason for change when the successor was William Milnes, Jr. (C)? [/INST] SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)" </s>
|
When were the successor/s seated for Ohio 10th?
|
CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, district VARCHAR)
|
SELECT date_successor_seated FROM table_2417345_4 WHERE district = "Ohio 10th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, district VARCHAR) Question: When were the successor/s seated for Ohio 10th? [/INST] SELECT date_successor_seated FROM table_2417345_4 WHERE district = "Ohio 10th" </s>
|
Name the reason for change when George W. Greene (D) was the vacator.
|
CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR)
|
SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR) Question: Name the reason for change when George W. Greene (D) was the vacator. [/INST] SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)" </s>
|
When was successor David Atwood (R) seated?
|
CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR)
|
SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "David Atwood (R)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) Question: When was successor David Atwood (R) seated? [/INST] SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "David Atwood (R)" </s>
|
What district was the successor seated in March 28, 1878?
|
CREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR)
|
SELECT district FROM table_2417390_4 WHERE date_successor_seated = "March 28, 1878"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR) Question: What district was the successor seated in March 28, 1878? [/INST] SELECT district FROM table_2417390_4 WHERE date_successor_seated = "March 28, 1878" </s>
|
Who was the vacator for the district of Nebraska at-large?
|
CREATE TABLE table_2417390_4 (vacator VARCHAR, district VARCHAR)
|
SELECT vacator FROM table_2417390_4 WHERE district = "Nebraska At-large"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2417390_4 (vacator VARCHAR, district VARCHAR) Question: Who was the vacator for the district of Nebraska at-large? [/INST] SELECT vacator FROM table_2417390_4 WHERE district = "Nebraska At-large" </s>
|
Name the enrollment with cougars
|
CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR)
|
SELECT enrollment FROM table_24216139_2 WHERE nickname = "Cougars"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR) Question: Name the enrollment with cougars [/INST] SELECT enrollment FROM table_24216139_2 WHERE nickname = "Cougars" </s>
|
Name the least enrollment for field hockey, men's swimming
|
CREATE TABLE table_24216139_2 (enrollment INTEGER, sport VARCHAR)
|
SELECT MIN(enrollment) FROM table_24216139_2 WHERE sport = "Field hockey, men's swimming"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24216139_2 (enrollment INTEGER, sport VARCHAR) Question: Name the least enrollment for field hockey, men's swimming [/INST] SELECT MIN(enrollment) FROM table_24216139_2 WHERE sport = "Field hockey, men's swimming" </s>
|
Name the school that is cougars
|
CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR)
|
SELECT institution FROM table_24216139_2 WHERE nickname = "Cougars"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) Question: Name the school that is cougars [/INST] SELECT institution FROM table_24216139_2 WHERE nickname = "Cougars" </s>
|
Name the institution for purple aces
|
CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR)
|
SELECT institution FROM table_24216139_2 WHERE nickname = "Purple Aces"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) Question: Name the institution for purple aces [/INST] SELECT institution FROM table_24216139_2 WHERE nickname = "Purple Aces" </s>
|
Name the title that was directed by john terlesky
|
CREATE TABLE table_24222929_2 (title VARCHAR, directed_by VARCHAR)
|
SELECT title FROM table_24222929_2 WHERE directed_by = "John Terlesky"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24222929_2 (title VARCHAR, directed_by VARCHAR) Question: Name the title that was directed by john terlesky [/INST] SELECT title FROM table_24222929_2 WHERE directed_by = "John Terlesky" </s>
|
Name the total number of titles for 3x5655
|
CREATE TABLE table_24222929_2 (title VARCHAR, production_code VARCHAR)
|
SELECT COUNT(title) FROM table_24222929_2 WHERE production_code = "3X5655"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24222929_2 (title VARCHAR, production_code VARCHAR) Question: Name the total number of titles for 3x5655 [/INST] SELECT COUNT(title) FROM table_24222929_2 WHERE production_code = "3X5655" </s>
|
What date did the episode that had 1.023 million u.s. viewers originally air?
|
CREATE TABLE table_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR)
|
SELECT original_air_date FROM table_24223834_3 WHERE us_viewers__in_millions_ = "1.023"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR) Question: What date did the episode that had 1.023 million u.s. viewers originally air? [/INST] SELECT original_air_date FROM table_24223834_3 WHERE us_viewers__in_millions_ = "1.023" </s>
|
What episode number in the series had 2.528 million u.s. viewers?
|
CREATE TABLE table_24223834_3 (no_in_series VARCHAR, us_viewers__in_millions_ VARCHAR)
|
SELECT no_in_series FROM table_24223834_3 WHERE us_viewers__in_millions_ = "2.528"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24223834_3 (no_in_series VARCHAR, us_viewers__in_millions_ VARCHAR) Question: What episode number in the series had 2.528 million u.s. viewers? [/INST] SELECT no_in_series FROM table_24223834_3 WHERE us_viewers__in_millions_ = "2.528" </s>
|
How many million U.S. viewers watched the episode that Daniel H. Forer directed?
|
CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR)
|
SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) Question: How many million U.S. viewers watched the episode that Daniel H. Forer directed? [/INST] SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer" </s>
|
How may overall episodes had the title "this is what they want"?
|
CREATE TABLE table_24223834_3 (overall VARCHAR, title VARCHAR)
|
SELECT COUNT(overall) FROM table_24223834_3 WHERE title = "This is What They Want"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24223834_3 (overall VARCHAR, title VARCHAR) Question: How may overall episodes had the title "this is what they want"? [/INST] SELECT COUNT(overall) FROM table_24223834_3 WHERE title = "This is What They Want" </s>
|
Who was the Tournament Winner when UNC Wilmington won the regular season?
|
CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR)
|
SELECT tournament_winner FROM table_24248450_3 WHERE regular_season_winner = "UNC Wilmington"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR) Question: Who was the Tournament Winner when UNC Wilmington won the regular season? [/INST] SELECT tournament_winner FROM table_24248450_3 WHERE regular_season_winner = "UNC Wilmington" </s>
|
Who won the tournament for the Atlantic Sun Conference?
|
CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, conference VARCHAR)
|
SELECT tournament_winner FROM table_24248450_3 WHERE conference = "Atlantic Sun conference"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, conference VARCHAR) Question: Who won the tournament for the Atlantic Sun Conference? [/INST] SELECT tournament_winner FROM table_24248450_3 WHERE conference = "Atlantic Sun conference" </s>
|
What is the tournament called for the Big Sky Conference?
|
CREATE TABLE table_24248450_3 (conference VARCHAR)
|
SELECT conference AS Tournament FROM table_24248450_3 WHERE conference = "Big Sky conference"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24248450_3 (conference VARCHAR) Question: What is the tournament called for the Big Sky Conference? [/INST] SELECT conference AS Tournament FROM table_24248450_3 WHERE conference = "Big Sky conference" </s>
|
How many men had an event 1 medley score of 6 (16.6m)?
|
CREATE TABLE table_24302700_2 (event_2_truck_pull VARCHAR, event_1_medley VARCHAR)
|
SELECT COUNT(event_2_truck_pull) FROM table_24302700_2 WHERE event_1_medley = "6 (16.6m)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24302700_2 (event_2_truck_pull VARCHAR, event_1_medley VARCHAR) Question: How many men had an event 1 medley score of 6 (16.6m)? [/INST] SELECT COUNT(event_2_truck_pull) FROM table_24302700_2 WHERE event_1_medley = "6 (16.6m)" </s>
|
How many men from the Ukraine?
|
CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR)
|
SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR) Question: How many men from the Ukraine? [/INST] SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine" </s>
|
What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull?
|
CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR)
|
SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR) Question: What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull? [/INST] SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)" </s>
|
What was the result in the event 1 medley for the man with a 4 (6 in 31.85s) in the event 3 squat lift?
|
CREATE TABLE table_24302700_2 (event_1_medley VARCHAR, event_3_squat_lift VARCHAR)
|
SELECT event_1_medley FROM table_24302700_2 WHERE event_3_squat_lift = "4 (6 in 31.85s)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24302700_2 (event_1_medley VARCHAR, event_3_squat_lift VARCHAR) Question: What was the result in the event 1 medley for the man with a 4 (6 in 31.85s) in the event 3 squat lift? [/INST] SELECT event_1_medley FROM table_24302700_2 WHERE event_3_squat_lift = "4 (6 in 31.85s)" </s>
|
Name the least series number
|
CREATE TABLE table_2430014_9 (series_no INTEGER)
|
SELECT MIN(series_no) FROM table_2430014_9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2430014_9 (series_no INTEGER) Question: Name the least series number [/INST] SELECT MIN(series_no) FROM table_2430014_9 </s>
|
Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
|
CREATE TABLE table_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR)
|
SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR) Question: Which county has a membership of 1, a franchise type of corporation and a borough of Ennis? [/INST] SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis" </s>
|
What is the number of members that have boroughs of Bandon Bridge?
|
CREATE TABLE table_24329520_8 (members VARCHAR, borough VARCHAR)
|
SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24329520_8 (members VARCHAR, borough VARCHAR) Question: What is the number of members that have boroughs of Bandon Bridge? [/INST] SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge" </s>
|
What is the number of voters in 1800 that have boroughs named Drogheda?
|
CREATE TABLE table_24329520_8 (voters_in_1800 VARCHAR, borough VARCHAR)
|
SELECT COUNT(voters_in_1800) FROM table_24329520_8 WHERE borough = "Drogheda"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24329520_8 (voters_in_1800 VARCHAR, borough VARCHAR) Question: What is the number of voters in 1800 that have boroughs named Drogheda? [/INST] SELECT COUNT(voters_in_1800) FROM table_24329520_8 WHERE borough = "Drogheda" </s>
|
While the original toyko/seoul tour cast included thomas hettrick, who was in the original 1st us tour cast?
|
CREATE TABLE table_24353141_1 (original_1st_us_tour_cast VARCHAR, original_tokyo___seoul_tour_cast VARCHAR)
|
SELECT original_1st_us_tour_cast FROM table_24353141_1 WHERE original_tokyo___seoul_tour_cast = "Thomas Hettrick"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24353141_1 (original_1st_us_tour_cast VARCHAR, original_tokyo___seoul_tour_cast VARCHAR) Question: While the original toyko/seoul tour cast included thomas hettrick, who was in the original 1st us tour cast? [/INST] SELECT original_1st_us_tour_cast FROM table_24353141_1 WHERE original_tokyo___seoul_tour_cast = "Thomas Hettrick" </s>
|
How many original 3rd us tour cast were there while the original uk cast was alyssa dipalma?
|
CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_uk_cast VARCHAR)
|
SELECT COUNT(original_3rd_us_tour_cast) FROM table_24353141_1 WHERE original_uk_cast = "Alyssa DiPalma"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_uk_cast VARCHAR) Question: How many original 3rd us tour cast were there while the original uk cast was alyssa dipalma? [/INST] SELECT COUNT(original_3rd_us_tour_cast) FROM table_24353141_1 WHERE original_uk_cast = "Alyssa DiPalma" </s>
|
While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast?
|
CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
|
SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) Question: While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast? [/INST] SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" </s>
|
Who was in the original berkley cast while stark sands was in the original broadway cast?
|
CREATE TABLE table_24353141_1 (original_berkeley_cast VARCHAR, original_broadway_cast VARCHAR)
|
SELECT original_berkeley_cast FROM table_24353141_1 WHERE original_broadway_cast = "Stark Sands"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24353141_1 (original_berkeley_cast VARCHAR, original_broadway_cast VARCHAR) Question: Who was in the original berkley cast while stark sands was in the original broadway cast? [/INST] SELECT original_berkeley_cast FROM table_24353141_1 WHERE original_broadway_cast = "Stark Sands" </s>
|
Who was in the original broadway cast while jake epstein was in the original 1st us tour cast?
|
CREATE TABLE table_24353141_1 (original_broadway_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
|
SELECT original_broadway_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Jake Epstein"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24353141_1 (original_broadway_cast VARCHAR, original_1st_us_tour_cast VARCHAR) Question: Who was in the original broadway cast while jake epstein was in the original 1st us tour cast? [/INST] SELECT original_broadway_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Jake Epstein" </s>
|
Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast?
|
CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
|
SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) Question: Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast? [/INST] SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell" </s>
|
What is the highest cable ranking?
|
CREATE TABLE table_24399615_6 (cable_rank INTEGER)
|
SELECT MAX(cable_rank) FROM table_24399615_6
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24399615_6 (cable_rank INTEGER) Question: What is the highest cable ranking? [/INST] SELECT MAX(cable_rank) FROM table_24399615_6 </s>
|
What is the status of player Philipp Kohlschreiber?
|
CREATE TABLE table_24431348_18 (status VARCHAR, player VARCHAR)
|
SELECT status FROM table_24431348_18 WHERE player = "Philipp Kohlschreiber"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431348_18 (status VARCHAR, player VARCHAR) Question: What is the status of player Philipp Kohlschreiber? [/INST] SELECT status FROM table_24431348_18 WHERE player = "Philipp Kohlschreiber" </s>
|
What the total amount of points won during seed 25?
|
CREATE TABLE table_24431348_18 (points VARCHAR, seed VARCHAR)
|
SELECT COUNT(points) AS won FROM table_24431348_18 WHERE seed = 25
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431348_18 (points VARCHAR, seed VARCHAR) Question: What the total amount of points won during seed 25? [/INST] SELECT COUNT(points) AS won FROM table_24431348_18 WHERE seed = 25 </s>
|
What was the status of rank 20?
|
CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR)
|
SELECT status FROM table_24431348_18 WHERE rank = 20
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR) Question: What was the status of rank 20? [/INST] SELECT status FROM table_24431348_18 WHERE rank = 20 </s>
|
List the total number of defense points for caroline wozniacki.
|
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)
|
SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR) Question: List the total number of defense points for caroline wozniacki. [/INST] SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki" </s>
|
List the total defensive points for marion bartoli.
|
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)
|
SELECT points AS defending FROM table_24431264_17 WHERE player = "Marion Bartoli"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR) Question: List the total defensive points for marion bartoli. [/INST] SELECT points AS defending FROM table_24431264_17 WHERE player = "Marion Bartoli" </s>
|
What is the highest points won when the player is aravane rezaï?
|
CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR)
|
SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR) Question: What is the highest points won when the player is aravane rezaï? [/INST] SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï" </s>
|
How many times is the new points 2690?
|
CREATE TABLE table_24431348_20 (status VARCHAR, new_points VARCHAR)
|
SELECT COUNT(status) FROM table_24431348_20 WHERE new_points = 2690
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431348_20 (status VARCHAR, new_points VARCHAR) Question: How many times is the new points 2690? [/INST] SELECT COUNT(status) FROM table_24431348_20 WHERE new_points = 2690 </s>
|
List the players with 1285 new points?
|
CREATE TABLE table_24431264_18 (player VARCHAR, new_points VARCHAR)
|
SELECT player FROM table_24431264_18 WHERE new_points = 1285
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_18 (player VARCHAR, new_points VARCHAR) Question: List the players with 1285 new points? [/INST] SELECT player FROM table_24431264_18 WHERE new_points = 1285 </s>
|
How many defending points did radek štěpánek have?
|
CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR)
|
SELECT MAX(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR) Question: How many defending points did radek štěpánek have? [/INST] SELECT MAX(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek" </s>
|
List the rank of the player that left the tournament due to right foot injury
|
CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)
|
SELECT COUNT(rank) FROM table_24431264_18 WHERE withdrew_due_to = "right foot injury"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR) Question: List the rank of the player that left the tournament due to right foot injury [/INST] SELECT COUNT(rank) FROM table_24431264_18 WHERE withdrew_due_to = "right foot injury" </s>
|
List the total number of defensive points for radek štěpánek?
|
CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR)
|
SELECT MIN(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR) Question: List the total number of defensive points for radek štěpánek? [/INST] SELECT MIN(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek" </s>
|
List the rank of the player that left due to right wrist surgery?
|
CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR)
|
SELECT rank FROM table_24431264_18 WHERE withdrew_due_to = "right wrist surgery"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR) Question: List the rank of the player that left due to right wrist surgery? [/INST] SELECT rank FROM table_24431264_18 WHERE withdrew_due_to = "right wrist surgery" </s>
|
Name the awardees for best special effects
|
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
|
SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_award = "Best Special Effects"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) Question: Name the awardees for best special effects [/INST] SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_award = "Best Special Effects" </s>
|
Name the total number of awardees for best screenplay
|
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
|
SELECT COUNT(awardee_s_) FROM table_24446718_3 WHERE name_of_award = "Best Screenplay"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) Question: Name the total number of awardees for best screenplay [/INST] SELECT COUNT(awardee_s_) FROM table_24446718_3 WHERE name_of_award = "Best Screenplay" </s>
|
Name the name of award for marathi
|
CREATE TABLE table_24446718_3 (name_of_award VARCHAR, language VARCHAR)
|
SELECT name_of_award FROM table_24446718_3 WHERE language = "Marathi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24446718_3 (name_of_award VARCHAR, language VARCHAR) Question: Name the name of award for marathi [/INST] SELECT name_of_award FROM table_24446718_3 WHERE language = "Marathi" </s>
|
Name the awardee for tingya
|
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_film VARCHAR)
|
SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_film = "Tingya"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_film VARCHAR) Question: Name the awardee for tingya [/INST] SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_film = "Tingya" </s>
|
Name the language for b. ajith kumar
|
CREATE TABLE table_24446718_3 (language VARCHAR, awardee_s_ VARCHAR)
|
SELECT language FROM table_24446718_3 WHERE awardee_s_ = "B. Ajith Kumar"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24446718_3 (language VARCHAR, awardee_s_ VARCHAR) Question: Name the language for b. ajith kumar [/INST] SELECT language FROM table_24446718_3 WHERE awardee_s_ = "B. Ajith Kumar" </s>
|
What game date was the game at AOL Arena?
|
CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR)
|
SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR) Question: What game date was the game at AOL Arena? [/INST] SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena" </s>
|
What was the Rhein Fire team record on week 8?
|
CREATE TABLE table_24453847_2 (team_record VARCHAR, week VARCHAR)
|
SELECT team_record FROM table_24453847_2 WHERE week = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24453847_2 (team_record VARCHAR, week VARCHAR) Question: What was the Rhein Fire team record on week 8? [/INST] SELECT team_record FROM table_24453847_2 WHERE week = 8 </s>
|
Name the circuit for france and portugal
|
CREATE TABLE table_2446333_2 (circuit VARCHAR, main_winner VARCHAR, country VARCHAR)
|
SELECT circuit FROM table_2446333_2 WHERE main_winner = "France" AND country = "Portugal"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2446333_2 (circuit VARCHAR, main_winner VARCHAR, country VARCHAR) Question: Name the circuit for france and portugal [/INST] SELECT circuit FROM table_2446333_2 WHERE main_winner = "France" AND country = "Portugal" </s>
|
Name the date for sprint winner mexico
|
CREATE TABLE table_2446333_2 (date VARCHAR, sprint_winner VARCHAR)
|
SELECT date FROM table_2446333_2 WHERE sprint_winner = "Mexico"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2446333_2 (date VARCHAR, sprint_winner VARCHAR) Question: Name the date for sprint winner mexico [/INST] SELECT date FROM table_2446333_2 WHERE sprint_winner = "Mexico" </s>
|
Name the date for eastern creek raceway
|
CREATE TABLE table_2446333_2 (date VARCHAR, circuit VARCHAR)
|
SELECT date FROM table_2446333_2 WHERE circuit = "Eastern Creek Raceway"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2446333_2 (date VARCHAR, circuit VARCHAR) Question: Name the date for eastern creek raceway [/INST] SELECT date FROM table_2446333_2 WHERE circuit = "Eastern Creek Raceway" </s>
|
Name the circuit for united arab emirates
|
CREATE TABLE table_2446333_2 (circuit VARCHAR, country VARCHAR)
|
SELECT circuit FROM table_2446333_2 WHERE country = "United Arab Emirates"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2446333_2 (circuit VARCHAR, country VARCHAR) Question: Name the circuit for united arab emirates [/INST] SELECT circuit FROM table_2446333_2 WHERE country = "United Arab Emirates" </s>
|
Name the total number of date for 10
|
CREATE TABLE table_2446333_2 (date VARCHAR, round VARCHAR)
|
SELECT COUNT(date) FROM table_2446333_2 WHERE round = 10
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2446333_2 (date VARCHAR, round VARCHAR) Question: Name the total number of date for 10 [/INST] SELECT COUNT(date) FROM table_2446333_2 WHERE round = 10 </s>
|
What is the number of the first game?
|
CREATE TABLE table_24464253_1 (game INTEGER)
|
SELECT MIN(game) FROM table_24464253_1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24464253_1 (game INTEGER) Question: What is the number of the first game? [/INST] SELECT MIN(game) FROM table_24464253_1 </s>
|
Against what opponent did the Wildcats have a record of 5-4?
|
CREATE TABLE table_24464253_1 (opponent VARCHAR, record VARCHAR)
|
SELECT opponent FROM table_24464253_1 WHERE record = "5-4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24464253_1 (opponent VARCHAR, record VARCHAR) Question: Against what opponent did the Wildcats have a record of 5-4? [/INST] SELECT opponent FROM table_24464253_1 WHERE record = "5-4" </s>
|
How many pa were blank ends 7 and 5?
|
CREATE TABLE table_24475186_2 (pa VARCHAR, blank_ends VARCHAR, l VARCHAR)
|
SELECT COUNT(pa) FROM table_24475186_2 WHERE blank_ends = 7 AND l = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24475186_2 (pa VARCHAR, blank_ends VARCHAR, l VARCHAR) Question: How many pa were blank ends 7 and 5? [/INST] SELECT COUNT(pa) FROM table_24475186_2 WHERE blank_ends = 7 AND l = 5 </s>
|
Who is the conductor on the Multisonic label?
|
CREATE TABLE table_24521345_1 (conductor VARCHAR, record_label VARCHAR)
|
SELECT conductor FROM table_24521345_1 WHERE record_label = "Multisonic"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24521345_1 (conductor VARCHAR, record_label VARCHAR) Question: Who is the conductor on the Multisonic label? [/INST] SELECT conductor FROM table_24521345_1 WHERE record_label = "Multisonic" </s>
|
Who is the conductor for Rusalka?
|
CREATE TABLE table_24521345_1 (conductor VARCHAR, work_title VARCHAR)
|
SELECT conductor FROM table_24521345_1 WHERE work_title = "Rusalka"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24521345_1 (conductor VARCHAR, work_title VARCHAR) Question: Who is the conductor for Rusalka? [/INST] SELECT conductor FROM table_24521345_1 WHERE work_title = "Rusalka" </s>
|
Who composed the work conducted by jaroslav Vogel?
|
CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR)
|
SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR) Question: Who composed the work conducted by jaroslav Vogel? [/INST] SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel" </s>
|
What is the title of the episode with production code 406?
|
CREATE TABLE table_2453243_5 (title VARCHAR, production_code VARCHAR)
|
SELECT title FROM table_2453243_5 WHERE production_code = "406"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2453243_5 (title VARCHAR, production_code VARCHAR) Question: What is the title of the episode with production code 406? [/INST] SELECT title FROM table_2453243_5 WHERE production_code = "406" </s>
|
Who write episode number 48 in the series?
|
CREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR)
|
SELECT written_by FROM table_2453243_5 WHERE no_in_series = "48"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR) Question: Who write episode number 48 in the series? [/INST] SELECT written_by FROM table_2453243_5 WHERE no_in_series = "48" </s>
|
Name the most goals for 1972 – 1975, 1976 – 1982
|
CREATE TABLE table_24565004_19 (goals¹ INTEGER, period VARCHAR)
|
SELECT MAX(goals¹) FROM table_24565004_19 WHERE period = "1972 – 1975, 1976 – 1982"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_19 (goals¹ INTEGER, period VARCHAR) Question: Name the most goals for 1972 – 1975, 1976 – 1982 [/INST] SELECT MAX(goals¹) FROM table_24565004_19 WHERE period = "1972 – 1975, 1976 – 1982" </s>
|
Name the period for uruguay
|
CREATE TABLE table_24565004_19 (period VARCHAR, nationality² VARCHAR)
|
SELECT period FROM table_24565004_19 WHERE nationality² = "Uruguay"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_19 (period VARCHAR, nationality² VARCHAR) Question: Name the period for uruguay [/INST] SELECT period FROM table_24565004_19 WHERE nationality² = "Uruguay" </s>
|
Name the position for 1980 – 1987
|
CREATE TABLE table_24565004_19 (position VARCHAR, period VARCHAR)
|
SELECT position FROM table_24565004_19 WHERE period = "1980 – 1987"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_19 (position VARCHAR, period VARCHAR) Question: Name the position for 1980 – 1987 [/INST] SELECT position FROM table_24565004_19 WHERE period = "1980 – 1987" </s>
|
which position did pierre bajoc play?
|
CREATE TABLE table_24565004_3 (position VARCHAR, name VARCHAR)
|
SELECT position FROM table_24565004_3 WHERE name = "Pierre Bajoc"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_3 (position VARCHAR, name VARCHAR) Question: which position did pierre bajoc play? [/INST] SELECT position FROM table_24565004_3 WHERE name = "Pierre Bajoc" </s>
|
during which period did albert baning play?
|
CREATE TABLE table_24565004_3 (period VARCHAR, name VARCHAR)
|
SELECT period FROM table_24565004_3 WHERE name = "Albert Baning"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_3 (period VARCHAR, name VARCHAR) Question: during which period did albert baning play? [/INST] SELECT period FROM table_24565004_3 WHERE name = "Albert Baning" </s>
|
What is the number of goals if the name is Xavier Gravelaine?
|
CREATE TABLE table_24565004_8 (goals¹ VARCHAR, name VARCHAR)
|
SELECT goals¹ FROM table_24565004_8 WHERE name = "Xavier Gravelaine"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_8 (goals¹ VARCHAR, name VARCHAR) Question: What is the number of goals if the name is Xavier Gravelaine? [/INST] SELECT goals¹ FROM table_24565004_8 WHERE name = "Xavier Gravelaine" </s>
|
If the name is Patrick Grappin, what is the nationality?
|
CREATE TABLE table_24565004_8 (nationality² VARCHAR, name VARCHAR)
|
SELECT nationality² FROM table_24565004_8 WHERE name = "Patrick Grappin"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_8 (nationality² VARCHAR, name VARCHAR) Question: If the name is Patrick Grappin, what is the nationality? [/INST] SELECT nationality² FROM table_24565004_8 WHERE name = "Patrick Grappin" </s>
|
What is the period total number if the name is Geraldão?
|
CREATE TABLE table_24565004_8 (period VARCHAR, name VARCHAR)
|
SELECT COUNT(period) FROM table_24565004_8 WHERE name = "Geraldão"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_8 (period VARCHAR, name VARCHAR) Question: What is the period total number if the name is Geraldão? [/INST] SELECT COUNT(period) FROM table_24565004_8 WHERE name = "Geraldão" </s>
|
What is the nationality if the appearance is 29?
|
CREATE TABLE table_24565004_8 (nationality² VARCHAR, appearances¹ VARCHAR)
|
SELECT nationality² FROM table_24565004_8 WHERE appearances¹ = 29
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24565004_8 (nationality² VARCHAR, appearances¹ VARCHAR) Question: What is the nationality if the appearance is 29? [/INST] SELECT nationality² FROM table_24565004_8 WHERE appearances¹ = 29 </s>
|
Name the concacaf for 2010 season
|
CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR)
|
SELECT concacaf FROM table_245694_4 WHERE season = 2010
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR) Question: Name the concacaf for 2010 season [/INST] SELECT concacaf FROM table_245694_4 WHERE season = 2010 </s>
|
Name the least season for round of 32
|
CREATE TABLE table_245694_4 (season INTEGER, us_open_cup VARCHAR)
|
SELECT MIN(season) FROM table_245694_4 WHERE us_open_cup = "Round of 32"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_245694_4 (season INTEGER, us_open_cup VARCHAR) Question: Name the least season for round of 32 [/INST] SELECT MIN(season) FROM table_245694_4 WHERE us_open_cup = "Round of 32" </s>
|
Name the number of playoffs for semifinals
|
CREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR)
|
SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR) Question: Name the number of playoffs for semifinals [/INST] SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals" </s>
|
Name the number of season for 18th position
|
CREATE TABLE table_24596664_1 (season VARCHAR, position VARCHAR)
|
SELECT COUNT(season) FROM table_24596664_1 WHERE position = "18th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24596664_1 (season VARCHAR, position VARCHAR) Question: Name the number of season for 18th position [/INST] SELECT COUNT(season) FROM table_24596664_1 WHERE position = "18th" </s>
|
Name the least wins
|
CREATE TABLE table_24596664_1 (wins INTEGER)
|
SELECT MIN(wins) FROM table_24596664_1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24596664_1 (wins INTEGER) Question: Name the least wins [/INST] SELECT MIN(wins) FROM table_24596664_1 </s>
|
Name the total number of language of films for méga-plex taschereau imax
|
CREATE TABLE table_2461720_1 (language_of_films VARCHAR, theatre_name VARCHAR)
|
SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2461720_1 (language_of_films VARCHAR, theatre_name VARCHAR) Question: Name the total number of language of films for méga-plex taschereau imax [/INST] SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX" </s>
|
Name the theatre name for french
|
CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)
|
SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR) Question: Name the theatre name for french [/INST] SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French" </s>
|
Name the location for democratic méga-plex taschereau imax
|
CREATE TABLE table_2461720_1 (location VARCHAR, theatre_name VARCHAR)
|
SELECT location FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2461720_1 (location VARCHAR, theatre_name VARCHAR) Question: Name the location for democratic méga-plex taschereau imax [/INST] SELECT location FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX" </s>
|
What episode number has 2j5352 as a production code?
|
CREATE TABLE table_24625467_1 (no VARCHAR, production_code VARCHAR)
|
SELECT no FROM table_24625467_1 WHERE production_code = "2J5352"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24625467_1 (no VARCHAR, production_code VARCHAR) Question: What episode number has 2j5352 as a production code? [/INST] SELECT no FROM table_24625467_1 WHERE production_code = "2J5352" </s>
|
What date did the episode with a production code of 2j5356 originally air?
|
CREATE TABLE table_24625467_1 (original_air_date VARCHAR, production_code VARCHAR)
|
SELECT original_air_date FROM table_24625467_1 WHERE production_code = "2J5356"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24625467_1 (original_air_date VARCHAR, production_code VARCHAR) Question: What date did the episode with a production code of 2j5356 originally air? [/INST] SELECT original_air_date FROM table_24625467_1 WHERE production_code = "2J5356" </s>
|
When 2012 is the year what is the winning boat?
|
CREATE TABLE table_24673710_1 (winning_boat VARCHAR, year VARCHAR)
|
SELECT winning_boat FROM table_24673710_1 WHERE year = 2012
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24673710_1 (winning_boat VARCHAR, year VARCHAR) Question: When 2012 is the year what is the winning boat? [/INST] SELECT winning_boat FROM table_24673710_1 WHERE year = 2012 </s>
|
When 64 is the entries what is the winning boat?
|
CREATE TABLE table_24673710_1 (winning_boat VARCHAR, entries VARCHAR)
|
SELECT winning_boat FROM table_24673710_1 WHERE entries = 64
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24673710_1 (winning_boat VARCHAR, entries VARCHAR) Question: When 64 is the entries what is the winning boat? [/INST] SELECT winning_boat FROM table_24673710_1 WHERE entries = 64 </s>
|
When 61 is the entries what is the winning boat?
|
CREATE TABLE table_24673710_1 (winning_boat VARCHAR, entries VARCHAR)
|
SELECT winning_boat FROM table_24673710_1 WHERE entries = 61
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_24673710_1 (winning_boat VARCHAR, entries VARCHAR) Question: When 61 is the entries what is the winning boat? [/INST] SELECT winning_boat FROM table_24673710_1 WHERE entries = 61 </s>
|
What is the name of the episode that aired originally on October 18, 1991?
|
CREATE TABLE table_2468961_2 (title VARCHAR, original_air_date VARCHAR)
|
SELECT title FROM table_2468961_2 WHERE original_air_date = "October 18, 1991"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_2 (title VARCHAR, original_air_date VARCHAR) Question: What is the name of the episode that aired originally on October 18, 1991? [/INST] SELECT title FROM table_2468961_2 WHERE original_air_date = "October 18, 1991" </s>
|
What is the name of the episode written by Ross Brown?
|
CREATE TABLE table_2468961_2 (title VARCHAR, written_by VARCHAR)
|
SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_2 (title VARCHAR, written_by VARCHAR) Question: What is the name of the episode written by Ross Brown? [/INST] SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown" </s>
|
What episode number in the series originally aired on February 28, 1992?
|
CREATE TABLE table_2468961_2 (no_in_series INTEGER, original_air_date VARCHAR)
|
SELECT MIN(no_in_series) FROM table_2468961_2 WHERE original_air_date = "February 28, 1992"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_2 (no_in_series INTEGER, original_air_date VARCHAR) Question: What episode number in the series originally aired on February 28, 1992? [/INST] SELECT MIN(no_in_series) FROM table_2468961_2 WHERE original_air_date = "February 28, 1992" </s>
|
What date did the episode with a production code of 447004 originally air?
|
CREATE TABLE table_2468961_2 (original_air_date VARCHAR, production_code VARCHAR)
|
SELECT original_air_date FROM table_2468961_2 WHERE production_code = 447004
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_2 (original_air_date VARCHAR, production_code VARCHAR) Question: What date did the episode with a production code of 447004 originally air? [/INST] SELECT original_air_date FROM table_2468961_2 WHERE production_code = 447004 </s>
|
How many episodes were written by Ross brown?
|
CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)
|
SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR) Question: How many episodes were written by Ross brown? [/INST] SELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = "Ross Brown" </s>
|
What number in the series was episode 2 in the season?
|
CREATE TABLE table_2468961_3 (no_in_series INTEGER, no_in_season VARCHAR)
|
SELECT MAX(no_in_series) FROM table_2468961_3 WHERE no_in_season = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_3 (no_in_series INTEGER, no_in_season VARCHAR) Question: What number in the series was episode 2 in the season? [/INST] SELECT MAX(no_in_series) FROM table_2468961_3 WHERE no_in_season = 2 </s>
|
What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?
|
CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)
|
SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) Question: What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll? [/INST] SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.