instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
Name the least points for patrick | CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR) | SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR) Question: Name the least points for patrick [/INST] SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick" </s> |
Name the starter for schulte | CREATE TABLE table_14342592_4 (starter VARCHAR, player VARCHAR) | SELECT starter FROM table_14342592_4 WHERE player = "Schulte" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_4 (starter VARCHAR, player VARCHAR) Question: Name the starter for schulte [/INST] SELECT starter FROM table_14342592_4 WHERE player = "Schulte" </s> |
Name the total number of points for the right end | CREATE TABLE table_14342592_4 (points VARCHAR, position VARCHAR) | SELECT COUNT(points) FROM table_14342592_4 WHERE position = "Right end" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_4 (points VARCHAR, position VARCHAR) Question: Name the total number of points for the right end [/INST] SELECT COUNT(points) FROM table_14342592_4 WHERE position = "Right end" </s> |
Name the number of players when starter is no and touchdowns is 1 for right halfback | CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR) | SELECT COUNT(player) FROM table_14342592_4 WHERE starter = "No" AND touchdowns = 1 AND position = "Right halfback" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14342592_4 (player VARCHAR, position VARCHAR, starter VARCHAR, touchdowns VARCHAR) Question: Name the number of players when starter is no and touchdowns is 1 for right halfback [/INST] SELECT COUNT(player) FROM table_14342592_4 WHERE starter = "No" AND touchdowns = 1 AND position = "Right halfback" </s> |
What was the series number of the episode directed by Rob Bailey? | CREATE TABLE table_14346689_1 (series__number INTEGER, directed_by VARCHAR) | SELECT MAX(series__number) FROM table_14346689_1 WHERE directed_by = "Rob Bailey" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14346689_1 (series__number INTEGER, directed_by VARCHAR) Question: What was the series number of the episode directed by Rob Bailey? [/INST] SELECT MAX(series__number) FROM table_14346689_1 WHERE directed_by = "Rob Bailey" </s> |
Name the timeslot for season 5 | CREATE TABLE table_143554_1 (timeslot VARCHAR, season VARCHAR) | SELECT timeslot FROM table_143554_1 WHERE season = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_143554_1 (timeslot VARCHAR, season VARCHAR) Question: Name the timeslot for season 5 [/INST] SELECT timeslot FROM table_143554_1 WHERE season = 5 </s> |
What is the area of Colonsay Island? | CREATE TABLE table_143579_1 (area___ha__ INTEGER, island VARCHAR) | SELECT MIN(area___ha__) FROM table_143579_1 WHERE island = "Colonsay" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_143579_1 (area___ha__ INTEGER, island VARCHAR) Question: What is the area of Colonsay Island? [/INST] SELECT MIN(area___ha__) FROM table_143579_1 WHERE island = "Colonsay" </s> |
How many ties were there for game 36 started? | CREATE TABLE table_14389782_2 (ties VARCHAR, games_started VARCHAR) | SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14389782_2 (ties VARCHAR, games_started VARCHAR) Question: How many ties were there for game 36 started? [/INST] SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36 </s> |
What is the winning pct for jersey 15? | CREATE TABLE table_14389782_2 (winning_pct VARCHAR, jersey_no VARCHAR) | SELECT winning_pct FROM table_14389782_2 WHERE jersey_no = "15" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14389782_2 (winning_pct VARCHAR, jersey_no VARCHAR) Question: What is the winning pct for jersey 15? [/INST] SELECT winning_pct FROM table_14389782_2 WHERE jersey_no = "15" </s> |
Who is the quarter back for a winning pct of .792 | CREATE TABLE table_14389782_2 (quarterback VARCHAR, winning_pct VARCHAR) | SELECT quarterback FROM table_14389782_2 WHERE winning_pct = ".792" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14389782_2 (quarterback VARCHAR, winning_pct VARCHAR) Question: Who is the quarter back for a winning pct of .792 [/INST] SELECT quarterback FROM table_14389782_2 WHERE winning_pct = ".792" </s> |
How many lost games for jersey number 2 and games started is less than 7.0? | CREATE TABLE table_14389782_2 (losses VARCHAR, jersey_no VARCHAR, games_started VARCHAR) | SELECT losses FROM table_14389782_2 WHERE jersey_no = "2" AND games_started < 7.0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14389782_2 (losses VARCHAR, jersey_no VARCHAR, games_started VARCHAR) Question: How many lost games for jersey number 2 and games started is less than 7.0? [/INST] SELECT losses FROM table_14389782_2 WHERE jersey_no = "2" AND games_started < 7.0 </s> |
Name the total number of date of vacancy for manner of departure being resigned and outgoing manager is geninho | CREATE TABLE table_14406743_5 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT COUNT(date_of_vacancy) FROM table_14406743_5 WHERE manner_of_departure = "Resigned" AND outgoing_manager = "Geninho" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14406743_5 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) Question: Name the total number of date of vacancy for manner of departure being resigned and outgoing manager is geninho [/INST] SELECT COUNT(date_of_vacancy) FROM table_14406743_5 WHERE manner_of_departure = "Resigned" AND outgoing_manager = "Geninho" </s> |
Who led the points classification when Roman Kreuziger led the young rider classification? | CREATE TABLE table_14395920_2 (points_classification VARCHAR, young_rider_classification VARCHAR) | SELECT points_classification FROM table_14395920_2 WHERE young_rider_classification = "Roman Kreuziger" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14395920_2 (points_classification VARCHAR, young_rider_classification VARCHAR) Question: Who led the points classification when Roman Kreuziger led the young rider classification? [/INST] SELECT points_classification FROM table_14395920_2 WHERE young_rider_classification = "Roman Kreuziger" </s> |
Who won the stage when Fumiyuki Beppu won the combativity award? | CREATE TABLE table_14395920_2 (winner VARCHAR, combativity_award VARCHAR) | SELECT winner FROM table_14395920_2 WHERE combativity_award = "Fumiyuki Beppu" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, combativity_award VARCHAR) Question: Who won the stage when Fumiyuki Beppu won the combativity award? [/INST] SELECT winner FROM table_14395920_2 WHERE combativity_award = "Fumiyuki Beppu" </s> |
Who won stage 18? | CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_14395920_2 WHERE stage = 18 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR) Question: Who won stage 18? [/INST] SELECT winner FROM table_14395920_2 WHERE stage = 18 </s> |
Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0? | CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) | SELECT winner FROM table_14395920_2 WHERE points_classification = "Mark Cavendish" AND general_classification = "Rinaldo Nocentini" AND stage < 11.0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) Question: Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0? [/INST] SELECT winner FROM table_14395920_2 WHERE points_classification = "Mark Cavendish" AND general_classification = "Rinaldo Nocentini" AND stage < 11.0 </s> |
Name the 1st m for nor | CREATE TABLE table_14407512_24 (nationality VARCHAR) | SELECT 1 AS st__m_ FROM table_14407512_24 WHERE nationality = "NOR" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14407512_24 (nationality VARCHAR) Question: Name the 1st m for nor [/INST] SELECT 1 AS st__m_ FROM table_14407512_24 WHERE nationality = "NOR" </s> |
Name the 2nd m for gregor schlierenzauer | CREATE TABLE table_14407512_24 (name VARCHAR) | SELECT 2 AS nd__m_ FROM table_14407512_24 WHERE name = "Gregor Schlierenzauer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14407512_24 (name VARCHAR) Question: Name the 2nd m for gregor schlierenzauer [/INST] SELECT 2 AS nd__m_ FROM table_14407512_24 WHERE name = "Gregor Schlierenzauer" </s> |
Name the number of overall nt points for 248.9 | CREATE TABLE table_14407512_24 (overall_nt_points VARCHAR, points VARCHAR) | SELECT COUNT(overall_nt_points) FROM table_14407512_24 WHERE points = "248.9" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14407512_24 (overall_nt_points VARCHAR, points VARCHAR) Question: Name the number of overall nt points for 248.9 [/INST] SELECT COUNT(overall_nt_points) FROM table_14407512_24 WHERE points = "248.9" </s> |
How many times has the playoff been 1 in the contest for the afc cup? | CREATE TABLE table_14460937_1 (afc_cup VARCHAR, play_off VARCHAR) | SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE play_off = 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14460937_1 (afc_cup VARCHAR, play_off VARCHAR) Question: How many times has the playoff been 1 in the contest for the afc cup? [/INST] SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE play_off = 1 </s> |
How many times has the points total for the afc cup competion been 289? | CREATE TABLE table_14460937_1 (afc_cup VARCHAR, points__total_500_ VARCHAR) | SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE points__total_500_ = 289 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14460937_1 (afc_cup VARCHAR, points__total_500_ VARCHAR) Question: How many times has the points total for the afc cup competion been 289? [/INST] SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE points__total_500_ = 289 </s> |
When the group stage has been 4 what is the largest playoff? | CREATE TABLE table_14460937_1 (play_off INTEGER, group_stage VARCHAR) | SELECT MAX(play_off) FROM table_14460937_1 WHERE group_stage = 4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14460937_1 (play_off INTEGER, group_stage VARCHAR) Question: When the group stage has been 4 what is the largest playoff? [/INST] SELECT MAX(play_off) FROM table_14460937_1 WHERE group_stage = 4 </s> |
What is the date the successor was seated for the georgia 6th district? | CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR) Question: What is the date the successor was seated for the georgia 6th district? [/INST] SELECT date_successor_seated FROM table_1446600_4 WHERE district = "Georgia 6th" </s> |
How many successors are from the georgia 2nd district? | CREATE TABLE table_1446600_4 (successor VARCHAR, district VARCHAR) | SELECT COUNT(successor) FROM table_1446600_4 WHERE district = "Georgia 2nd" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1446600_4 (successor VARCHAR, district VARCHAR) Question: How many successors are from the georgia 2nd district? [/INST] SELECT COUNT(successor) FROM table_1446600_4 WHERE district = "Georgia 2nd" </s> |
Show all the time(et) where the opponent is the Cincinnati Bengals. | CREATE TABLE table_14477002_1 (time___et__ VARCHAR, opponent VARCHAR) | SELECT time___et__ FROM table_14477002_1 WHERE opponent = "Cincinnati Bengals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14477002_1 (time___et__ VARCHAR, opponent VARCHAR) Question: Show all the time(et) where the opponent is the Cincinnati Bengals. [/INST] SELECT time___et__ FROM table_14477002_1 WHERE opponent = "Cincinnati Bengals" </s> |
List the total number of records from Lambeau Field. | CREATE TABLE table_14477002_1 (record VARCHAR, location VARCHAR) | SELECT COUNT(record) FROM table_14477002_1 WHERE location = "Lambeau Field" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14477002_1 (record VARCHAR, location VARCHAR) Question: List the total number of records from Lambeau Field. [/INST] SELECT COUNT(record) FROM table_14477002_1 WHERE location = "Lambeau Field" </s> |
Who was the opposing team played at Riverfront Stadium? | CREATE TABLE table_14563349_11 (opponent VARCHAR, location VARCHAR) | SELECT opponent FROM table_14563349_11 WHERE location = "Riverfront Stadium" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14563349_11 (opponent VARCHAR, location VARCHAR) Question: Who was the opposing team played at Riverfront Stadium? [/INST] SELECT opponent FROM table_14563349_11 WHERE location = "Riverfront Stadium" </s> |
How many days were the Kansas City Chiefs the opposing team? | CREATE TABLE table_14563349_11 (date VARCHAR, opponent VARCHAR) | SELECT COUNT(date) FROM table_14563349_11 WHERE opponent = "Kansas City Chiefs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14563349_11 (date VARCHAR, opponent VARCHAR) Question: How many days were the Kansas City Chiefs the opposing team? [/INST] SELECT COUNT(date) FROM table_14563349_11 WHERE opponent = "Kansas City Chiefs" </s> |
How many teams named argentina? | CREATE TABLE table_14573770_4 (fourth_place INTEGER, nation VARCHAR) | SELECT MAX(fourth_place) FROM table_14573770_4 WHERE nation = "Argentina" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14573770_4 (fourth_place INTEGER, nation VARCHAR) Question: How many teams named argentina? [/INST] SELECT MAX(fourth_place) FROM table_14573770_4 WHERE nation = "Argentina" </s> |
How many times did argentina win? | CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR) | SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR) Question: How many times did argentina win? [/INST] SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina" </s> |
What is the number of s sikh where 955 is the number of buddhists? | CREATE TABLE table_14598_5 (s_sikh VARCHAR, buddhist VARCHAR) | SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_5 (s_sikh VARCHAR, buddhist VARCHAR) Question: What is the number of s sikh where 955 is the number of buddhists? [/INST] SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955" </s> |
How many buddhists are where s jain have 941? | CREATE TABLE table_14598_5 (buddhist VARCHAR, s_jain VARCHAR) | SELECT buddhist FROM table_14598_5 WHERE s_jain = "941" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_5 (buddhist VARCHAR, s_jain VARCHAR) Question: How many buddhists are where s jain have 941? [/INST] SELECT buddhist FROM table_14598_5 WHERE s_jain = "941" </s> |
What is the christian amount where work participation rate is the composition? | CREATE TABLE table_14598_5 (christians VARCHAR, composition VARCHAR) | SELECT christians FROM table_14598_5 WHERE composition = "Work Participation Rate" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_5 (christians VARCHAR, composition VARCHAR) Question: What is the christian amount where work participation rate is the composition? [/INST] SELECT christians FROM table_14598_5 WHERE composition = "Work Participation Rate" </s> |
How many s hindu are where buddhists are 955? | CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR) | SELECT s_hindu FROM table_14598_5 WHERE buddhist = "955" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR) Question: How many s hindu are where buddhists are 955? [/INST] SELECT s_hindu FROM table_14598_5 WHERE buddhist = "955" </s> |
What is the data point for s hindu where the buddhist data point is 73.0%? | CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR) | SELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = "73.0%" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR) Question: What is the data point for s hindu where the buddhist data point is 73.0%? [/INST] SELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = "73.0%" </s> |
How many data points for chrstians are 39.7? | CREATE TABLE table_14598_5 (composition VARCHAR, christians VARCHAR) | SELECT COUNT(composition) FROM table_14598_5 WHERE christians = "39.7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14598_5 (composition VARCHAR, christians VARCHAR) Question: How many data points for chrstians are 39.7? [/INST] SELECT COUNT(composition) FROM table_14598_5 WHERE christians = "39.7" </s> |
Name the hometown for ventrell jenkins | CREATE TABLE table_14624447_39 (hometown VARCHAR, name VARCHAR) | SELECT hometown FROM table_14624447_39 WHERE name = "Ventrell Jenkins" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14624447_39 (hometown VARCHAR, name VARCHAR) Question: Name the hometown for ventrell jenkins [/INST] SELECT hometown FROM table_14624447_39 WHERE name = "Ventrell Jenkins" </s> |
Name the class when position is rt | CREATE TABLE table_14624447_39 (class VARCHAR, position VARCHAR) | SELECT class FROM table_14624447_39 WHERE position = "RT" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14624447_39 (class VARCHAR, position VARCHAR) Question: Name the class when position is rt [/INST] SELECT class FROM table_14624447_39 WHERE position = "RT" </s> |
Which players college is Tennessee? | CREATE TABLE table_14655757_1 (player VARCHAR, college VARCHAR) | SELECT player FROM table_14655757_1 WHERE college = "Tennessee" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14655757_1 (player VARCHAR, college VARCHAR) Question: Which players college is Tennessee? [/INST] SELECT player FROM table_14655757_1 WHERE college = "Tennessee" </s> |
What college did Byron Williams attend? | CREATE TABLE table_14655757_1 (college VARCHAR, player VARCHAR) | SELECT college FROM table_14655757_1 WHERE player = "Byron Williams" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14655757_1 (college VARCHAR, player VARCHAR) Question: What college did Byron Williams attend? [/INST] SELECT college FROM table_14655757_1 WHERE player = "Byron Williams" </s> |
What is the lowest pick number? | CREATE TABLE table_14655757_1 (pick__number INTEGER) | SELECT MIN(pick__number) FROM table_14655757_1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14655757_1 (pick__number INTEGER) Question: What is the lowest pick number? [/INST] SELECT MIN(pick__number) FROM table_14655757_1 </s> |
What position is Jessie Clark? | CREATE TABLE table_14655757_1 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14655757_1 WHERE player = "Jessie Clark" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14655757_1 (position VARCHAR, player VARCHAR) Question: What position is Jessie Clark? [/INST] SELECT position FROM table_14655757_1 WHERE player = "Jessie Clark" </s> |
What frequency does Chihuahua Sinaloa Durango cover? | CREATE TABLE table_14670060_1 (frequency VARCHAR, coverage VARCHAR) | SELECT frequency FROM table_14670060_1 WHERE coverage = "Chihuahua Sinaloa Durango" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14670060_1 (frequency VARCHAR, coverage VARCHAR) Question: What frequency does Chihuahua Sinaloa Durango cover? [/INST] SELECT frequency FROM table_14670060_1 WHERE coverage = "Chihuahua Sinaloa Durango" </s> |
How many times does the call sign XEZV appear? | CREATE TABLE table_14670060_1 (transmitting_from VARCHAR, call_sign VARCHAR) | SELECT COUNT(transmitting_from) FROM table_14670060_1 WHERE call_sign = "XEZV" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14670060_1 (transmitting_from VARCHAR, call_sign VARCHAR) Question: How many times does the call sign XEZV appear? [/INST] SELECT COUNT(transmitting_from) FROM table_14670060_1 WHERE call_sign = "XEZV" </s> |
What languages are spoken when call sign XEJAM is used? | CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR) | SELECT languages FROM table_14670060_1 WHERE call_sign = "XEJAM" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR) Question: What languages are spoken when call sign XEJAM is used? [/INST] SELECT languages FROM table_14670060_1 WHERE call_sign = "XEJAM" </s> |
Who shot an 80 in round 3 | CREATE TABLE table_14708760_3 (shooter VARCHAR, round_3 VARCHAR) | SELECT shooter FROM table_14708760_3 WHERE round_3 = 80 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14708760_3 (shooter VARCHAR, round_3 VARCHAR) Question: Who shot an 80 in round 3 [/INST] SELECT shooter FROM table_14708760_3 WHERE round_3 = 80 </s> |
What is the highest score of round 1 where they also shot 90 in round 2 | CREATE TABLE table_14708760_3 (round_1 INTEGER, round_2 VARCHAR) | SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14708760_3 (round_1 INTEGER, round_2 VARCHAR) Question: What is the highest score of round 1 where they also shot 90 in round 2 [/INST] SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90 </s> |
What position did Dave Johnson play? | CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR) | SELECT position FROM table_1473672_5 WHERE player = "Dave Johnson" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR) Question: What position did Dave Johnson play? [/INST] SELECT position FROM table_1473672_5 WHERE player = "Dave Johnson" </s> |
What is Bernie Germain's nationality? | CREATE TABLE table_1473672_5 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_1473672_5 WHERE player = "Bernie Germain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_5 (nationality VARCHAR, player VARCHAR) Question: What is Bernie Germain's nationality? [/INST] SELECT nationality FROM table_1473672_5 WHERE player = "Bernie Germain" </s> |
What player was picked by the Minnesota North Stars? | CREATE TABLE table_1473672_5 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_1473672_5 WHERE nhl_team = "Minnesota North Stars" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_5 (player VARCHAR, nhl_team VARCHAR) Question: What player was picked by the Minnesota North Stars? [/INST] SELECT player FROM table_1473672_5 WHERE nhl_team = "Minnesota North Stars" </s> |
What position did Marty Gateman play? | CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR) | SELECT position FROM table_1473672_5 WHERE player = "Marty Gateman" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR) Question: What position did Marty Gateman play? [/INST] SELECT position FROM table_1473672_5 WHERE player = "Marty Gateman" </s> |
What was the position of the player picked by the Montreal Canadiens? | CREATE TABLE table_1473672_5 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_1473672_5 WHERE nhl_team = "Montreal Canadiens" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_5 (position VARCHAR, nhl_team VARCHAR) Question: What was the position of the player picked by the Montreal Canadiens? [/INST] SELECT position FROM table_1473672_5 WHERE nhl_team = "Montreal Canadiens" </s> |
the california golden seals that where drafted by nhl teams played what positions | CREATE TABLE table_1473672_7 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_1473672_7 WHERE nhl_team = "California Golden Seals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_7 (position VARCHAR, nhl_team VARCHAR) Question: the california golden seals that where drafted by nhl teams played what positions [/INST] SELECT position FROM table_1473672_7 WHERE nhl_team = "California Golden Seals" </s> |
what country was the player drafted by the toronto maple leafs | CREATE TABLE table_1473672_7 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_1473672_7 WHERE nhl_team = "Toronto Maple Leafs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_7 (nationality VARCHAR, nhl_team VARCHAR) Question: what country was the player drafted by the toronto maple leafs [/INST] SELECT nationality FROM table_1473672_7 WHERE nhl_team = "Toronto Maple Leafs" </s> |
The los angeles kings drafted what player in the 7th round | CREATE TABLE table_1473672_7 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_1473672_7 WHERE nhl_team = "Los Angeles Kings" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_7 (player VARCHAR, nhl_team VARCHAR) Question: The los angeles kings drafted what player in the 7th round [/INST] SELECT player FROM table_1473672_7 WHERE nhl_team = "Los Angeles Kings" </s> |
How many players had been drafted in front of Yves archambault | CREATE TABLE table_1473672_7 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_1473672_7 WHERE player = "Yves Archambault" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_7 (pick__number VARCHAR, player VARCHAR) Question: How many players had been drafted in front of Yves archambault [/INST] SELECT pick__number FROM table_1473672_7 WHERE player = "Yves Archambault" </s> |
Serge Beaudoin was drafted when in the 1972 NHL draft | CREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_1473672_7 WHERE player = "Serge Beaudoin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_7 (pick__number INTEGER, player VARCHAR) Question: Serge Beaudoin was drafted when in the 1972 NHL draft [/INST] SELECT MIN(pick__number) FROM table_1473672_7 WHERE player = "Serge Beaudoin" </s> |
What NHL team drafted Rob Palmer? | CREATE TABLE table_1473672_6 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_1473672_6 WHERE player = "Rob Palmer" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_6 (nhl_team VARCHAR, player VARCHAR) Question: What NHL team drafted Rob Palmer? [/INST] SELECT nhl_team FROM table_1473672_6 WHERE player = "Rob Palmer" </s> |
What player was drafted by the Chicago Black Hawks? | CREATE TABLE table_1473672_6 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_1473672_6 WHERE nhl_team = "Chicago Black Hawks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_6 (player VARCHAR, nhl_team VARCHAR) Question: What player was drafted by the Chicago Black Hawks? [/INST] SELECT player FROM table_1473672_6 WHERE nhl_team = "Chicago Black Hawks" </s> |
What country did Derek Black come from? | CREATE TABLE table_1473672_6 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_1473672_6 WHERE player = "Derek Black" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_6 (nationality VARCHAR, player VARCHAR) Question: What country did Derek Black come from? [/INST] SELECT nationality FROM table_1473672_6 WHERE player = "Derek Black" </s> |
What team did Derek Black Play for prior to being drafted? | CREATE TABLE table_1473672_6 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1473672_6 WHERE player = "Derek Black" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1473672_6 (college_junior_club_team VARCHAR, player VARCHAR) Question: What team did Derek Black Play for prior to being drafted? [/INST] SELECT college_junior_club_team FROM table_1473672_6 WHERE player = "Derek Black" </s> |
At maximum, what are our goals? | CREATE TABLE table_1474099_6 (goals INTEGER) | SELECT MAX(goals) FROM table_1474099_6 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1474099_6 (goals INTEGER) Question: At maximum, what are our goals? [/INST] SELECT MAX(goals) FROM table_1474099_6 </s> |
When the team scored 17 and Slavija placed second, what year was it? | CREATE TABLE table_1474099_6 (season VARCHAR, goals VARCHAR, runners_up VARCHAR) | SELECT season FROM table_1474099_6 WHERE goals = 17 AND runners_up = "Slavija" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1474099_6 (season VARCHAR, goals VARCHAR, runners_up VARCHAR) Question: When the team scored 17 and Slavija placed second, what year was it? [/INST] SELECT season FROM table_1474099_6 WHERE goals = 17 AND runners_up = "Slavija" </s> |
Name the change 2009 to 2010 where international tourist arrivals is 9.4 million | CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) Question: Name the change 2009 to 2010 where international tourist arrivals is 9.4 million [/INST] SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 million" </s> |
Name the international tourist arrivals for arrivals 2011 for 8.1 million | CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) Question: Name the international tourist arrivals for arrivals 2011 for 8.1 million [/INST] SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million" </s> |
How many tourist arrivals occurred in 2011 in the country of Italy? | CREATE TABLE table_14752049_1 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) | SELECT international_tourist_arrivals__2011_ FROM table_14752049_1 WHERE country = "Italy" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_1 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) Question: How many tourist arrivals occurred in 2011 in the country of Italy? [/INST] SELECT international_tourist_arrivals__2011_ FROM table_14752049_1 WHERE country = "Italy" </s> |
Which country has a rank of 5? | CREATE TABLE table_14752049_1 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_14752049_1 WHERE rank = 5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_1 (country VARCHAR, rank VARCHAR) Question: Which country has a rank of 5? [/INST] SELECT country FROM table_14752049_1 WHERE rank = 5 </s> |
What rank is associated with Germany? | CREATE TABLE table_14752049_1 (rank INTEGER, country VARCHAR) | SELECT MAX(rank) FROM table_14752049_1 WHERE country = "Germany" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_1 (rank INTEGER, country VARCHAR) Question: What rank is associated with Germany? [/INST] SELECT MAX(rank) FROM table_14752049_1 WHERE country = "Germany" </s> |
Name the number of ranks for international tourist arrivals being 6.2 million | CREATE TABLE table_14752049_5 (rank VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | SELECT COUNT(rank) FROM table_14752049_5 WHERE international_tourist_arrivals__2011_ = "6.2 million" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_5 (rank VARCHAR, international_tourist_arrivals__2011_ VARCHAR) Question: Name the number of ranks for international tourist arrivals being 6.2 million [/INST] SELECT COUNT(rank) FROM table_14752049_5 WHERE international_tourist_arrivals__2011_ = "6.2 million" </s> |
Name the number of ranks for south korea | CREATE TABLE table_14752049_5 (rank VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_14752049_5 WHERE country = "South Korea" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14752049_5 (rank VARCHAR, country VARCHAR) Question: Name the number of ranks for south korea [/INST] SELECT COUNT(rank) FROM table_14752049_5 WHERE country = "South Korea" </s> |
What is the minimum stolen ends for the locale Alberta? | CREATE TABLE table_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR) | SELECT MIN(stolen_ends) FROM table_1475840_1 WHERE locale = Alberta | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR) Question: What is the minimum stolen ends for the locale Alberta? [/INST] SELECT MIN(stolen_ends) FROM table_1475840_1 WHERE locale = Alberta </s> |
What was the inroductory phase for the episode with production code 4005? | CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, production_code VARCHAR) | SELECT introductory_phrase FROM table_14835674_1 WHERE production_code = 4005 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, production_code VARCHAR) Question: What was the inroductory phase for the episode with production code 4005? [/INST] SELECT introductory_phrase FROM table_14835674_1 WHERE production_code = 4005 </s> |
What was the inroductory phase for the episode with neil shubin as a guest? | CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR) | SELECT introductory_phrase FROM table_14835674_1 WHERE guest = "Neil Shubin" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR) Question: What was the inroductory phase for the episode with neil shubin as a guest? [/INST] SELECT introductory_phrase FROM table_14835674_1 WHERE guest = "Neil Shubin" </s> |
What was the inroductory phase for the episode that originally aired january 21? | CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, original_airdate VARCHAR) | SELECT introductory_phrase FROM table_14835674_1 WHERE original_airdate = "January 21" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, original_airdate VARCHAR) Question: What was the inroductory phase for the episode that originally aired january 21? [/INST] SELECT introductory_phrase FROM table_14835674_1 WHERE original_airdate = "January 21" </s> |
How many series had 18.77 million viewers? | CREATE TABLE table_14835826_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(series__number) FROM table_14835826_1 WHERE us_viewers__millions_ = "18.77" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14835826_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR) Question: How many series had 18.77 million viewers? [/INST] SELECT COUNT(series__number) FROM table_14835826_1 WHERE us_viewers__millions_ = "18.77" </s> |
How many roles include George Broderick in the casino 1888 theater? | CREATE TABLE table_148386_2 (role VARCHAR, casino_theatre_1888 VARCHAR) | SELECT role FROM table_148386_2 WHERE casino_theatre_1888 = "George Broderick" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_148386_2 (role VARCHAR, casino_theatre_1888 VARCHAR) Question: How many roles include George Broderick in the casino 1888 theater? [/INST] SELECT role FROM table_148386_2 WHERE casino_theatre_1888 = "George Broderick" </s> |
What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888? | CREATE TABLE table_148386_2 (savoy_theatre_1888 VARCHAR, casino_theatre_1888 VARCHAR) | SELECT COUNT(savoy_theatre_1888) FROM table_148386_2 WHERE casino_theatre_1888 = "George Olmi" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_148386_2 (savoy_theatre_1888 VARCHAR, casino_theatre_1888 VARCHAR) Question: What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888? [/INST] SELECT COUNT(savoy_theatre_1888) FROM table_148386_2 WHERE casino_theatre_1888 = "George Olmi" </s> |
Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906? | CREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR) | SELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = "Overton Moyle" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR) Question: Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906? [/INST] SELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = "Overton Moyle" </s> |
Name the losses for general caballero zc | CREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR) | SELECT losses FROM table_14876228_1 WHERE team = "General Caballero ZC" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR) Question: Name the losses for general caballero zc [/INST] SELECT losses FROM table_14876228_1 WHERE team = "General Caballero ZC" </s> |
Name the most draws when wins is 3 | CREATE TABLE table_14876228_1 (draws INTEGER, wins VARCHAR) | SELECT MAX(draws) FROM table_14876228_1 WHERE wins = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14876228_1 (draws INTEGER, wins VARCHAR) Question: Name the most draws when wins is 3 [/INST] SELECT MAX(draws) FROM table_14876228_1 WHERE wins = 3 </s> |
Name the number of played for 16 | CREATE TABLE table_14876228_1 (played VARCHAR, scored VARCHAR) | SELECT COUNT(played) FROM table_14876228_1 WHERE scored = 16 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14876228_1 (played VARCHAR, scored VARCHAR) Question: Name the number of played for 16 [/INST] SELECT COUNT(played) FROM table_14876228_1 WHERE scored = 16 </s> |
Name the population 1891 for area being 175836 | CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR) | SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR) Question: Name the population 1891 for area being 175836 [/INST] SELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836 </s> |
Name the administrative county being area of 422372 | CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) | SELECT administrative_county FROM table_14925084_1 WHERE area_1961__statute_acres_ = 422372 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) Question: Name the administrative county being area of 422372 [/INST] SELECT administrative_county FROM table_14925084_1 WHERE area_1961__statute_acres_ = 422372 </s> |
Name the area for administrative county being flintshire | CREATE TABLE table_14925084_1 (area_1891__statute_acres_ VARCHAR, administrative_county VARCHAR) | SELECT area_1891__statute_acres_ FROM table_14925084_1 WHERE administrative_county = "Flintshire" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14925084_1 (area_1891__statute_acres_ VARCHAR, administrative_county VARCHAR) Question: Name the area for administrative county being flintshire [/INST] SELECT area_1891__statute_acres_ FROM table_14925084_1 WHERE administrative_county = "Flintshire" </s> |
Name the number of administrative county for area 1961 and 176694 | CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) | SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) Question: Name the number of administrative county for area 1961 and 176694 [/INST] SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694 </s> |
How many couples won the Mixed Doubles in 1997? | CREATE TABLE table_14904046_1 (mixed_doubles VARCHAR, year VARCHAR) | SELECT COUNT(mixed_doubles) FROM table_14904046_1 WHERE year = 1997 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14904046_1 (mixed_doubles VARCHAR, year VARCHAR) Question: How many couples won the Mixed Doubles in 1997? [/INST] SELECT COUNT(mixed_doubles) FROM table_14904046_1 WHERE year = 1997 </s> |
Name the number of week for game site being memorial stadium for buffalo bills | CREATE TABLE table_14940519_1 (week VARCHAR, game_site VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_14940519_1 WHERE game_site = "Memorial Stadium" AND opponent = "Buffalo Bills" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14940519_1 (week VARCHAR, game_site VARCHAR, opponent VARCHAR) Question: Name the number of week for game site being memorial stadium for buffalo bills [/INST] SELECT COUNT(week) FROM table_14940519_1 WHERE game_site = "Memorial Stadium" AND opponent = "Buffalo Bills" </s> |
Name the opponent for october 2, 1983 | CREATE TABLE table_14940519_1 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_14940519_1 WHERE date = "October 2, 1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14940519_1 (opponent VARCHAR, date VARCHAR) Question: Name the opponent for october 2, 1983 [/INST] SELECT opponent FROM table_14940519_1 WHERE date = "October 2, 1983" </s> |
Name the least week for september 25, 1983 | CREATE TABLE table_14940519_1 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_14940519_1 WHERE date = "September 25, 1983" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14940519_1 (week INTEGER, date VARCHAR) Question: Name the least week for september 25, 1983 [/INST] SELECT MAX(week) FROM table_14940519_1 WHERE date = "September 25, 1983" </s> |
Name the total number of weeks for at cleveland browns | CREATE TABLE table_14940519_1 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_14940519_1 WHERE opponent = "at Cleveland Browns" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14940519_1 (week VARCHAR, opponent VARCHAR) Question: Name the total number of weeks for at cleveland browns [/INST] SELECT COUNT(week) FROM table_14940519_1 WHERE opponent = "at Cleveland Browns" </s> |
Name the record for result of l 17–50 | CREATE TABLE table_14940519_1 (record VARCHAR, result VARCHAR) | SELECT record FROM table_14940519_1 WHERE result = "L 17–50" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14940519_1 (record VARCHAR, result VARCHAR) Question: Name the record for result of l 17–50 [/INST] SELECT record FROM table_14940519_1 WHERE result = "L 17–50" </s> |
what's the record with result being w 52–19 | CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) | SELECT record FROM table_14951643_1 WHERE result = "W 52–19" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) Question: what's the record with result being w 52–19 [/INST] SELECT record FROM table_14951643_1 WHERE result = "W 52–19" </s> |
how many result with opponent being cleveland browns | CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) | SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = "Cleveland Browns" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) Question: how many result with opponent being cleveland browns [/INST] SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = "Cleveland Browns" </s> |
what's the result with opponent being at new england patriots | CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_14951643_1 WHERE opponent = "at New England Patriots" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) Question: what's the result with opponent being at new england patriots [/INST] SELECT result FROM table_14951643_1 WHERE opponent = "at New England Patriots" </s> |
what's the record with result being w 21–7 | CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) | SELECT record FROM table_14951643_1 WHERE result = "W 21–7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) Question: what's the record with result being w 21–7 [/INST] SELECT record FROM table_14951643_1 WHERE result = "W 21–7" </s> |
what's the date with attendance being 40657 | CREATE TABLE table_14951643_1 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_14951643_1 WHERE attendance = 40657 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14951643_1 (date VARCHAR, attendance VARCHAR) Question: what's the date with attendance being 40657 [/INST] SELECT date FROM table_14951643_1 WHERE attendance = 40657 </s> |
Name the attendance for september 19, 1976 | CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR) Question: Name the attendance for september 19, 1976 [/INST] SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976" </s> |
Name the number of record when attendance is 44023 | CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) | SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) Question: Name the number of record when attendance is 44023 [/INST] SELECT COUNT(record) FROM table_14945881_1 WHERE attendance = 44023 </s> |
Name the least week for september 19, 1976 | CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR) Question: Name the least week for september 19, 1976 [/INST] SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976" </s> |
Name the record when attendance 42827 | CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_14945881_1 WHERE attendance = 42827 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_14945881_1 (record VARCHAR, attendance VARCHAR) Question: Name the record when attendance 42827 [/INST] SELECT record FROM table_14945881_1 WHERE attendance = 42827 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.