context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_70 (position INTEGER, name VARCHAR, played VARCHAR)
SELECT MIN(position) FROM table_name_70 WHERE name = "ehc straubing ii" AND played < 10
What was the lowest postion of ehc straubing ii when they played less than 10 games?
<s>[INST]What was the lowest postion of ehc straubing ii when they played less than 10 games? Context: CREATE TABLE table_name_70 (position INTEGER, name VARCHAR, played VARCHAR)[/INST]SELECT MIN(position) FROM table_name_70 WHERE name = "ehc straubing ii" AND played < 10</s>
CREATE TABLE table_name_3 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_3 WHERE rank = "3" AND silver < 2
what is the least bronze when the rank is 3 and silver is less than 2?
<s>[INST]what is the least bronze when the rank is 3 and silver is less than 2? Context: CREATE TABLE table_name_3 (bronze INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_3 WHERE rank = "3" AND silver < 2</s>
CREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR)
SELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = "sacked"
I want the date of appointment for manner of departure being sacked
<s>[INST]I want the date of appointment for manner of departure being sacked Context: CREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = "sacked"</s>
CREATE TABLE table_name_18 (affiliation VARCHAR, district VARCHAR)
SELECT affiliation FROM table_name_18 WHERE district = "cuddalore district"
What is the affiliation for the Cuddalore District?
<s>[INST]What is the affiliation for the Cuddalore District? Context: CREATE TABLE table_name_18 (affiliation VARCHAR, district VARCHAR)[/INST]SELECT affiliation FROM table_name_18 WHERE district = "cuddalore district"</s>
CREATE TABLE table_16010376_1 (bullet_weight VARCHAR, source VARCHAR)
SELECT bullet_weight FROM table_16010376_1 WHERE source = "Remington"
What is the weight of the bullet used in a Remington?
<s>[INST]What is the weight of the bullet used in a Remington? Context: CREATE TABLE table_16010376_1 (bullet_weight VARCHAR, source VARCHAR)[/INST]SELECT bullet_weight FROM table_16010376_1 WHERE source = "Remington"</s>
CREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_87 WHERE opponent = "cronulla sharks"
What is the venue of the match with cronulla sharks as the opponent?
<s>[INST]What is the venue of the match with cronulla sharks as the opponent? Context: CREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR)[/INST]SELECT venue FROM table_name_87 WHERE opponent = "cronulla sharks"</s>
CREATE TABLE table_name_19 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR)
SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"
How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?
<s>[INST]How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16? Context: CREATE TABLE table_name_19 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR)[/INST]SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"</s>
CREATE TABLE table_21481509_4 (r1b1a2__r_m269_ VARCHAR, r1b1c__r_v88_ VARCHAR)
SELECT r1b1a2__r_m269_ FROM table_21481509_4 WHERE r1b1c__r_v88_ = "77.8%"
What percentage is listed in column r1b1a2 (r-m269) for the 77.8% r1b1c (r-v88)?
<s>[INST]What percentage is listed in column r1b1a2 (r-m269) for the 77.8% r1b1c (r-v88)? Context: CREATE TABLE table_21481509_4 (r1b1a2__r_m269_ VARCHAR, r1b1c__r_v88_ VARCHAR)[/INST]SELECT r1b1a2__r_m269_ FROM table_21481509_4 WHERE r1b1c__r_v88_ = "77.8%"</s>
CREATE TABLE table_27862483_3 (overall_record VARCHAR, loss VARCHAR)
SELECT overall_record FROM table_27862483_3 WHERE loss = "A. Pracher (4-1)"
What was the overall record of the game lost by A. Pracher (4-1)?
<s>[INST]What was the overall record of the game lost by A. Pracher (4-1)? Context: CREATE TABLE table_27862483_3 (overall_record VARCHAR, loss VARCHAR)[/INST]SELECT overall_record FROM table_27862483_3 WHERE loss = "A. Pracher (4-1)"</s>
CREATE TABLE table_25341765_1 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_25341765_1 WHERE written_by = "Alan Yang"
What was the name of the episode Alan Yang wrote?
<s>[INST]What was the name of the episode Alan Yang wrote? Context: CREATE TABLE table_25341765_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_25341765_1 WHERE written_by = "Alan Yang"</s>
CREATE TABLE table_2511876_1 (year VARCHAR, league VARCHAR)
SELECT COUNT(year) FROM table_2511876_1 WHERE league = "USISL Pro league"
Name the total number of years for usisl pro league
<s>[INST]Name the total number of years for usisl pro league Context: CREATE TABLE table_2511876_1 (year VARCHAR, league VARCHAR)[/INST]SELECT COUNT(year) FROM table_2511876_1 WHERE league = "USISL Pro league"</s>
CREATE TABLE table_name_32 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR)
SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city_population__2009_ > 134 OFFSET 936
What is the sum of the area for the bahawalnagar district with a population more than 134,936?
<s>[INST]What is the sum of the area for the bahawalnagar district with a population more than 134,936? Context: CREATE TABLE table_name_32 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR)[/INST]SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city...
CREATE TABLE table_name_72 (representative VARCHAR, begin_date VARCHAR)
SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997"
Which member of the United States House of Representatives began their term on January 4, 1997?
<s>[INST]Which member of the United States House of Representatives began their term on January 4, 1997? Context: CREATE TABLE table_name_72 (representative VARCHAR, begin_date VARCHAR)[/INST]SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997"</s>
CREATE TABLE table_name_83 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_name_83 WHERE high_assists = "nelson (5)"
Name the team with high assists of nelson (5)
<s>[INST]Name the team with high assists of nelson (5) Context: CREATE TABLE table_name_83 (team VARCHAR, high_assists VARCHAR)[/INST]SELECT team FROM table_name_83 WHERE high_assists = "nelson (5)"</s>
CREATE TABLE Owners (owner_id VARCHAR, last_name VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR)
SELECT T1.owner_id, T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id JOIN Treatments AS T3 ON T2.dog_id = T3.dog_id GROUP BY T1.owner_id ORDER BY COUNT(*) DESC LIMIT 1
Which owner has paid for the most treatments on his or her dogs? List the owner id and last name.
<s>[INST]Which owner has paid for the most treatments on his or her dogs? List the owner id and last name. Context: CREATE TABLE Owners (owner_id VARCHAR, last_name VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR)[/INST]SELECT T1.owner_id, T1.last_name FROM Owners...
CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)
SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = "FW"
Name the least fa cup goals with fa cup apps being 2 and fw
<s>[INST]Name the least fa cup goals with fa cup apps being 2 and fw Context: CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)[/INST]SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = "FW"</s>
CREATE TABLE table_name_59 (position VARCHAR, throws VARCHAR, dob VARCHAR)
SELECT position FROM table_name_59 WHERE throws = "r" AND dob = "12 february 1983"
Which Position has Throws of r, and a DOB of 12 february 1983?
<s>[INST]Which Position has Throws of r, and a DOB of 12 february 1983? Context: CREATE TABLE table_name_59 (position VARCHAR, throws VARCHAR, dob VARCHAR)[/INST]SELECT position FROM table_name_59 WHERE throws = "r" AND dob = "12 february 1983"</s>
CREATE TABLE table_name_5 (ground VARCHAR, away VARCHAR)
SELECT ground FROM table_name_5 WHERE away = "toronto rebels"
On what grounds did the away team of the Toronto Rebels play?
<s>[INST]On what grounds did the away team of the Toronto Rebels play? Context: CREATE TABLE table_name_5 (ground VARCHAR, away VARCHAR)[/INST]SELECT ground FROM table_name_5 WHERE away = "toronto rebels"</s>
CREATE TABLE table_name_19 (comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR)
SELECT MAX(comp) FROM table_name_19 WHERE yds_game > 0 AND name = "bostick" AND rating < 91.77
Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77?
<s>[INST]Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77? Context: CREATE TABLE table_name_19 (comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR)[/INST]SELECT MAX(comp) FROM table_name_19 WHERE yds_game > 0 AND name = "bostick" AND rating < 91.77</s>
CREATE TABLE table_name_36 (height VARCHAR, players VARCHAR)
SELECT height FROM table_name_36 WHERE players = "ye fei"
How tall is Ye Fei?
<s>[INST]How tall is Ye Fei? Context: CREATE TABLE table_name_36 (height VARCHAR, players VARCHAR)[/INST]SELECT height FROM table_name_36 WHERE players = "ye fei"</s>
CREATE TABLE table_name_39 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR)
SELECT MAX(conceded) FROM table_name_39 WHERE points > 17 AND team = "guaraní" AND losses < 6
Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6?
<s>[INST]Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6? Context: CREATE TABLE table_name_39 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT MAX(conceded) FROM table_name_39 WHERE points > 17 AND team = "guaraní" AND losse...
CREATE TABLE museum (num_of_staff INTEGER, open_year INTEGER)
SELECT AVG(num_of_staff) FROM museum WHERE open_year < 2009
Find the average number of staff working for the museums that were open before 2009.
<s>[INST]Find the average number of staff working for the museums that were open before 2009. Context: CREATE TABLE museum (num_of_staff INTEGER, open_year INTEGER)[/INST]SELECT AVG(num_of_staff) FROM museum WHERE open_year < 2009</s>
CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR)
SELECT frequency FROM table_name_70 WHERE state = "indiana" AND call_sign = "wgnr"
What is the frequency of the radio station in Indiana that has a call sign of WGNR?
<s>[INST]What is the frequency of the radio station in Indiana that has a call sign of WGNR? Context: CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR)[/INST]SELECT frequency FROM table_name_70 WHERE state = "indiana" AND call_sign = "wgnr"</s>
CREATE TABLE faculty (campus VARCHAR, year VARCHAR, faculty VARCHAR); CREATE TABLE campuses (campus VARCHAR, id VARCHAR)
SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1
Which campus has the most faculties in year 2003?
<s>[INST]Which campus has the most faculties in year 2003? Context: CREATE TABLE faculty (campus VARCHAR, year VARCHAR, faculty VARCHAR); CREATE TABLE campuses (campus VARCHAR, id VARCHAR)[/INST]SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LI...
CREATE TABLE table_22903773_2 (date VARCHAR, record VARCHAR)
SELECT date FROM table_22903773_2 WHERE record = "17-7"
What game date had a record of 17-7?
<s>[INST]What game date had a record of 17-7? Context: CREATE TABLE table_22903773_2 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_22903773_2 WHERE record = "17-7"</s>
CREATE TABLE table_name_35 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_35 WHERE tournament = "alfred dunhill links championship"
What was the winning score in the Alfred Dunhill links championship?
<s>[INST]What was the winning score in the Alfred Dunhill links championship? Context: CREATE TABLE table_name_35 (winning_score VARCHAR, tournament VARCHAR)[/INST]SELECT winning_score FROM table_name_35 WHERE tournament = "alfred dunhill links championship"</s>
CREATE TABLE table_name_12 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT winning_driver FROM table_name_12 WHERE pole_position = "jackie stewart" AND fastest_lap = "carlos pace"
When the fastest lap was carlos pace and jackie stewart was the pole position, who was the winning driver?
<s>[INST]When the fastest lap was carlos pace and jackie stewart was the pole position, who was the winning driver? Context: CREATE TABLE table_name_12 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)[/INST]SELECT winning_driver FROM table_name_12 WHERE pole_position = "jackie stewart" AND fastest_l...
CREATE TABLE Accounts (statement_id VARCHAR, account_details VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR)
SELECT T1.statement_id, T2.statement_details, T1.account_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id = T2.statement_id
Show statement id, statement detail, account detail for accounts.
<s>[INST]Show statement id, statement detail, account detail for accounts. Context: CREATE TABLE Accounts (statement_id VARCHAR, account_details VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR)[/INST]SELECT T1.statement_id, T2.statement_details, T1.account_details FROM Accounts AS T1 ...
CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot"
What is the total number of heat for Chinyere Pigot?
<s>[INST]What is the total number of heat for Chinyere Pigot? Context: CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR)[/INST]SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot"</s>
CREATE TABLE musical (Nominee VARCHAR)
SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee
Show different nominees and the number of musicals they have been nominated.
<s>[INST]Show different nominees and the number of musicals they have been nominated. Context: CREATE TABLE musical (Nominee VARCHAR)[/INST]SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee</s>
CREATE TABLE table_name_13 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_13 WHERE gold < 2 AND bronze = 1 AND total > 2
What is the total number of silver medals of the team with less than 2 gold, 1 bronze, and more than 2 total medals?
<s>[INST]What is the total number of silver medals of the team with less than 2 gold, 1 bronze, and more than 2 total medals? Context: CREATE TABLE table_name_13 (silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_13 WHERE gold < 2 AND bronze = 1 AND total > 2</s>
CREATE TABLE table_name_88 (finals_qualification VARCHAR, season VARCHAR)
SELECT finals_qualification FROM table_name_88 WHERE season = "2009-10"
What's the finals qualification during the 2009-10 season?
<s>[INST]What's the finals qualification during the 2009-10 season? Context: CREATE TABLE table_name_88 (finals_qualification VARCHAR, season VARCHAR)[/INST]SELECT finals_qualification FROM table_name_88 WHERE season = "2009-10"</s>
CREATE TABLE table_name_54 (color VARCHAR, scientific_name VARCHAR)
SELECT color FROM table_name_54 WHERE scientific_name = "chamaeleo calyptratus"
What is the color of the Chamaeleo Calyptratus?
<s>[INST]What is the color of the Chamaeleo Calyptratus? Context: CREATE TABLE table_name_54 (color VARCHAR, scientific_name VARCHAR)[/INST]SELECT color FROM table_name_54 WHERE scientific_name = "chamaeleo calyptratus"</s>
CREATE TABLE table_name_82 (kickoff_time VARCHAR, date VARCHAR)
SELECT kickoff_time FROM table_name_82 WHERE date = "december 14, 2003"
What was the kickoff time for the December 14, 2003 game?
<s>[INST]What was the kickoff time for the December 14, 2003 game? Context: CREATE TABLE table_name_82 (kickoff_time VARCHAR, date VARCHAR)[/INST]SELECT kickoff_time FROM table_name_82 WHERE date = "december 14, 2003"</s>
CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_67 WHERE tie_no = "109"
What is Score, when Tie No is "109"?
<s>[INST]What is Score, when Tie No is "109"? Context: CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE tie_no = "109"</s>
CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_47 WHERE nation = "malaysia" AND silver < 0
Which Gold has a Nation of malaysia, and a Silver smaller than 0?
<s>[INST]Which Gold has a Nation of malaysia, and a Silver smaller than 0? Context: CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_47 WHERE nation = "malaysia" AND silver < 0</s>
CREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR)
SELECT matches FROM table_name_72 WHERE year = "2003"
What is Matches, when Year is "2003"?
<s>[INST]What is Matches, when Year is "2003"? Context: CREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR)[/INST]SELECT matches FROM table_name_72 WHERE year = "2003"</s>
CREATE TABLE advisor (s_id VARCHAR)
SELECT COUNT(DISTINCT s_id) FROM advisor
How many students have advisors?
<s>[INST]How many students have advisors? Context: CREATE TABLE advisor (s_id VARCHAR)[/INST]SELECT COUNT(DISTINCT s_id) FROM advisor</s>
CREATE TABLE table_15873547_1 (rector VARCHAR, mascot VARCHAR)
SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes"
Who is the rector of the residence hall who's mascot is the phoxes?
<s>[INST]Who is the rector of the residence hall who's mascot is the phoxes? Context: CREATE TABLE table_15873547_1 (rector VARCHAR, mascot VARCHAR)[/INST]SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes"</s>
CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)
SELECT alternate FROM table_name_60 WHERE third = "monika wagner"
Who is the alternate for the team for which Monika Wagner is the third?
<s>[INST]Who is the alternate for the team for which Monika Wagner is the third? Context: CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)[/INST]SELECT alternate FROM table_name_60 WHERE third = "monika wagner"</s>
CREATE TABLE table_name_15 (first_year INTEGER, model VARCHAR)
SELECT MIN(first_year) FROM table_name_15 WHERE model = "quattroporte (2.8)"
What is the lowest First Year, when Model is "Quattroporte (2.8)"?
<s>[INST]What is the lowest First Year, when Model is "Quattroporte (2.8)"? Context: CREATE TABLE table_name_15 (first_year INTEGER, model VARCHAR)[/INST]SELECT MIN(first_year) FROM table_name_15 WHERE model = "quattroporte (2.8)"</s>
CREATE TABLE table_name_71 (viewers INTEGER, rank INTEGER)
SELECT SUM(viewers) FROM table_name_71 WHERE rank < 2
How many Viewers have a Rank smaller than 2?
<s>[INST]How many Viewers have a Rank smaller than 2? Context: CREATE TABLE table_name_71 (viewers INTEGER, rank INTEGER)[/INST]SELECT SUM(viewers) FROM table_name_71 WHERE rank < 2</s>
CREATE TABLE table_name_21 (team VARCHAR, draws VARCHAR)
SELECT team FROM table_name_21 WHERE draws = "15"
Which team had 15 draws?
<s>[INST]Which team had 15 draws? Context: CREATE TABLE table_name_21 (team VARCHAR, draws VARCHAR)[/INST]SELECT team FROM table_name_21 WHERE draws = "15"</s>
CREATE TABLE table_name_47 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT record FROM table_name_47 WHERE home = "philadelphia" AND date = "october 13"
What is the record on October 13, when philadelphia was the home team?
<s>[INST]What is the record on October 13, when philadelphia was the home team? Context: CREATE TABLE table_name_47 (record VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_47 WHERE home = "philadelphia" AND date = "october 13"</s>
CREATE TABLE COURSE (CName VARCHAR, Credits VARCHAR)
SELECT CName FROM COURSE WHERE Credits = 1
List all names of courses with 1 credit?
<s>[INST]List all names of courses with 1 credit? Context: CREATE TABLE COURSE (CName VARCHAR, Credits VARCHAR)[/INST]SELECT CName FROM COURSE WHERE Credits = 1</s>
CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_30 WHERE nationality = "australia"
What is the average lane for Australia?
<s>[INST]What is the average lane for Australia? Context: CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_30 WHERE nationality = "australia"</s>
CREATE TABLE table_name_50 (lost VARCHAR, points INTEGER)
SELECT COUNT(lost) FROM table_name_50 WHERE points > 14
Hoe many of lost have points greater than 14?
<s>[INST]Hoe many of lost have points greater than 14? Context: CREATE TABLE table_name_50 (lost VARCHAR, points INTEGER)[/INST]SELECT COUNT(lost) FROM table_name_50 WHERE points > 14</s>
CREATE TABLE Customers_cards (date_valid_from VARCHAR, date_valid_to VARCHAR, card_number VARCHAR)
SELECT date_valid_from, date_valid_to FROM Customers_cards WHERE card_number = "4560596484842"
Show the date valid from and the date valid to for the card with card number '4560596484842'.
<s>[INST]Show the date valid from and the date valid to for the card with card number '4560596484842'. Context: CREATE TABLE Customers_cards (date_valid_from VARCHAR, date_valid_to VARCHAR, card_number VARCHAR)[/INST]SELECT date_valid_from, date_valid_to FROM Customers_cards WHERE card_number = "4560596484842"</s>
CREATE TABLE program (Id VARCHAR)
SELECT COUNT(*) FROM program
how many programs are there?
<s>[INST]how many programs are there? Context: CREATE TABLE program (Id VARCHAR)[/INST]SELECT COUNT(*) FROM program</s>
CREATE TABLE View_Unit_Status (apt_id VARCHAR, available_yn VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR)
SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id = T2.apt_id WHERE T2.available_yn = 0 INTERSECT SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1.apt_id = T2.apt_id WHERE T2.available_yn = 1
Show the apartment numbers of apartments with unit status availability of both 0 and 1.
<s>[INST]Show the apartment numbers of apartments with unit status availability of both 0 and 1. Context: CREATE TABLE View_Unit_Status (apt_id VARCHAR, available_yn VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR)[/INST]SELECT T1.apt_number FROM Apartments AS T1 JOIN View_Unit_Status AS T2 ON T1....
CREATE TABLE table_1939405_2 (latin_americans_2001 VARCHAR, province VARCHAR)
SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon"
How many results of the count of Latin Americans in Yukon in 2001 are there?
<s>[INST]How many results of the count of Latin Americans in Yukon in 2001 are there? Context: CREATE TABLE table_1939405_2 (latin_americans_2001 VARCHAR, province VARCHAR)[/INST]SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon"</s>
CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR)
SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa"
What is the lowest rank that has university park, pa as the location?
<s>[INST]What is the lowest rank that has university park, pa as the location? Context: CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa"</s>
CREATE TABLE table_17015_2 (tongyong VARCHAR, hanyu VARCHAR)
SELECT COUNT(tongyong) FROM table_17015_2 WHERE hanyu = "Qiaotou"
Name the tongyong for qiaotou
<s>[INST]Name the tongyong for qiaotou Context: CREATE TABLE table_17015_2 (tongyong VARCHAR, hanyu VARCHAR)[/INST]SELECT COUNT(tongyong) FROM table_17015_2 WHERE hanyu = "Qiaotou"</s>
CREATE TABLE table_20453681_1 (mccain_number INTEGER, obama_percentage VARCHAR, others_percentage VARCHAR)
SELECT MIN(mccain_number) FROM table_20453681_1 WHERE obama_percentage = "35.7%" AND others_percentage = "1.9%"
What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes?
<s>[INST]What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes? Context: CREATE TABLE table_20453681_1 (mccain_number INTEGER, obama_percentage VARCHAR, others_percentage VARCHAR)[/INST]SELECT MIN(mccain_number) FROM table_20453681_1 WHERE obama_percentage = "35.7%" AND ...
CREATE TABLE table_10647401_1 (week INTEGER, stadium VARCHAR)
SELECT MAX(week) FROM table_10647401_1 WHERE stadium = "Memorial stadium"
What week corresponds to the last one to be played at the memorial stadium?
<s>[INST]What week corresponds to the last one to be played at the memorial stadium? Context: CREATE TABLE table_10647401_1 (week INTEGER, stadium VARCHAR)[/INST]SELECT MAX(week) FROM table_10647401_1 WHERE stadium = "Memorial stadium"</s>
CREATE TABLE table_name_5 (tournament VARCHAR)
SELECT 2008 FROM table_name_5 WHERE 2007 = "a" AND 2011 = "a" AND tournament = "san jose"
what is the 2008 when 2007 is A, 2011 is A and tournament is san jose?
<s>[INST]what is the 2008 when 2007 is A, 2011 is A and tournament is san jose? Context: CREATE TABLE table_name_5 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_5 WHERE 2007 = "a" AND 2011 = "a" AND tournament = "san jose"</s>
CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR)
SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58
Which Draws have a Position of 16, and less than 58 Goals against?
<s>[INST]Which Draws have a Position of 16, and less than 58 Goals against? Context: CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58</s>
CREATE TABLE table_name_1 (years_active VARCHAR, caps VARCHAR, country VARCHAR)
SELECT years_active FROM table_name_1 WHERE caps > 11 AND country = "new zealand"
What were the years active of the player from New Zealand with more than 11 caps?
<s>[INST]What were the years active of the player from New Zealand with more than 11 caps? Context: CREATE TABLE table_name_1 (years_active VARCHAR, caps VARCHAR, country VARCHAR)[/INST]SELECT years_active FROM table_name_1 WHERE caps > 11 AND country = "new zealand"</s>
CREATE TABLE table_name_33 (best VARCHAR, team VARCHAR, name VARCHAR)
SELECT best FROM table_name_33 WHERE team = "forsythe racing" AND name = "patrick carpentier"
What is the best time from patrick carpentier from the forsythe racing team?
<s>[INST]What is the best time from patrick carpentier from the forsythe racing team? Context: CREATE TABLE table_name_33 (best VARCHAR, team VARCHAR, name VARCHAR)[/INST]SELECT best FROM table_name_33 WHERE team = "forsythe racing" AND name = "patrick carpentier"</s>
CREATE TABLE table_name_39 (visitor VARCHAR, home VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_39 WHERE home = "lakers" AND score = "85–106"
Who was the visitor when the lakers were at home with a Score of 85–106?
<s>[INST]Who was the visitor when the lakers were at home with a Score of 85–106? Context: CREATE TABLE table_name_39 (visitor VARCHAR, home VARCHAR, score VARCHAR)[/INST]SELECT visitor FROM table_name_39 WHERE home = "lakers" AND score = "85–106"</s>
CREATE TABLE table_name_69 (country VARCHAR, winner_and_nominees VARCHAR)
SELECT country FROM table_name_69 WHERE winner_and_nominees = "hidden agenda"
The winner and nominee 'Hidden Agenda' is from which country?
<s>[INST]The winner and nominee 'Hidden Agenda' is from which country? Context: CREATE TABLE table_name_69 (country VARCHAR, winner_and_nominees VARCHAR)[/INST]SELECT country FROM table_name_69 WHERE winner_and_nominees = "hidden agenda"</s>
CREATE TABLE table_name_24 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_24 WHERE date = "october 5, 1975"
What week of the season had a date of october 5, 1975?
<s>[INST]What week of the season had a date of october 5, 1975? Context: CREATE TABLE table_name_24 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_24 WHERE date = "october 5, 1975"</s>
CREATE TABLE table_name_19 (school_year VARCHAR, cross_country VARCHAR)
SELECT school_year FROM table_name_19 WHERE cross_country = "wooster"
What is School Year, when Cross Country is Wooster?
<s>[INST]What is School Year, when Cross Country is Wooster? Context: CREATE TABLE table_name_19 (school_year VARCHAR, cross_country VARCHAR)[/INST]SELECT school_year FROM table_name_19 WHERE cross_country = "wooster"</s>
CREATE TABLE table_24850630_3 (venue VARCHAR, race VARCHAR)
SELECT COUNT(venue) FROM table_24850630_3 WHERE race = "Mackinnon Stakes"
The MacKinnon Stakes races took place on how many venues?
<s>[INST]The MacKinnon Stakes races took place on how many venues? Context: CREATE TABLE table_24850630_3 (venue VARCHAR, race VARCHAR)[/INST]SELECT COUNT(venue) FROM table_24850630_3 WHERE race = "Mackinnon Stakes"</s>
CREATE TABLE table_name_69 (chroma_format VARCHAR, picture_coding_types VARCHAR, name VARCHAR)
SELECT chroma_format FROM table_name_69 WHERE picture_coding_types = "i, p, b" AND name = "main profile"
What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile?
<s>[INST]What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile? Context: CREATE TABLE table_name_69 (chroma_format VARCHAR, picture_coding_types VARCHAR, name VARCHAR)[/INST]SELECT chroma_format FROM table_name_69 WHERE picture_coding_types = "i, p, b" AND name = "main profile"<...
CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT time FROM table_name_88 WHERE heat < 5 AND lane = 5 AND nationality = "vietnam"
What is the time in a heat smaller than 5, in Lane 5, for Vietnam?
<s>[INST]What is the time in a heat smaller than 5, in Lane 5, for Vietnam? Context: CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)[/INST]SELECT time FROM table_name_88 WHERE heat < 5 AND lane = 5 AND nationality = "vietnam"</s>
CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR)
SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian"
how many bosnian in cook islands is macedonian
<s>[INST]how many bosnian in cook islands is macedonian Context: CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR)[/INST]SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian"</s>
CREATE TABLE table_name_44 (height_ft__m_ VARCHAR, floors VARCHAR, year VARCHAR)
SELECT height_ft__m_ FROM table_name_44 WHERE floors = 22 AND year = 1985
How tall is the building built in 1985 with 22 floors?
<s>[INST]How tall is the building built in 1985 with 22 floors? Context: CREATE TABLE table_name_44 (height_ft__m_ VARCHAR, floors VARCHAR, year VARCHAR)[/INST]SELECT height_ft__m_ FROM table_name_44 WHERE floors = 22 AND year = 1985</s>
CREATE TABLE table_name_69 (record VARCHAR, game VARCHAR, score VARCHAR)
SELECT record FROM table_name_69 WHERE game < 78 AND score = "114–109 (ot)"
What was the record for less than 78 games and a score of 114–109 (ot)?
<s>[INST]What was the record for less than 78 games and a score of 114–109 (ot)? Context: CREATE TABLE table_name_69 (record VARCHAR, game VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_69 WHERE game < 78 AND score = "114–109 (ot)"</s>
CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR)
SELECT displacement FROM table_name_64 WHERE model = "petrol engines"
What is the displacement for the petrol engines model?
<s>[INST]What is the displacement for the petrol engines model? Context: CREATE TABLE table_name_64 (displacement VARCHAR, model VARCHAR)[/INST]SELECT displacement FROM table_name_64 WHERE model = "petrol engines"</s>
CREATE TABLE table_name_9 (tournament VARCHAR, partner VARCHAR)
SELECT tournament FROM table_name_9 WHERE partner = "erika sema"
Which tournament had a partner of Erika Sema?
<s>[INST]Which tournament had a partner of Erika Sema? Context: CREATE TABLE table_name_9 (tournament VARCHAR, partner VARCHAR)[/INST]SELECT tournament FROM table_name_9 WHERE partner = "erika sema"</s>
CREATE TABLE table_24912693_4 (steals INTEGER, player VARCHAR)
SELECT MAX(steals) FROM table_24912693_4 WHERE player = "Tiffani Johnson"
What is Tiffani Johnson's maximum steals?
<s>[INST]What is Tiffani Johnson's maximum steals? Context: CREATE TABLE table_24912693_4 (steals INTEGER, player VARCHAR)[/INST]SELECT MAX(steals) FROM table_24912693_4 WHERE player = "Tiffani Johnson"</s>
CREATE TABLE table_2501754_3 (prod_code VARCHAR, viewing_figures_millions VARCHAR)
SELECT prod_code FROM table_2501754_3 WHERE viewing_figures_millions = "5.55"
List the production code for the episode had 5.55 million viewers?
<s>[INST]List the production code for the episode had 5.55 million viewers? Context: CREATE TABLE table_2501754_3 (prod_code VARCHAR, viewing_figures_millions VARCHAR)[/INST]SELECT prod_code FROM table_2501754_3 WHERE viewing_figures_millions = "5.55"</s>
CREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)
SELECT vacator FROM table_1134091_4 WHERE date_successor_seated = "August 21, 1973"
Who was the vacator when the date successor seated was august 21, 1973?
<s>[INST]Who was the vacator when the date successor seated was august 21, 1973? Context: CREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)[/INST]SELECT vacator FROM table_1134091_4 WHERE date_successor_seated = "August 21, 1973"</s>
CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR)
SELECT MIN(pick) FROM table_name_51 WHERE position = "ss, p" AND team = "minnesota twins"
What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?
<s>[INST]What is the lowest pick of a player for the SS, P Position for the Minnesota Twins? Context: CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_51 WHERE position = "ss, p" AND team = "minnesota twins"</s>
CREATE TABLE table_name_67 (record VARCHAR, game VARCHAR, location VARCHAR)
SELECT record FROM table_name_67 WHERE game < 24 AND location = "miami arena"
What was the record when they played in the Miami Arena, before game 24?
<s>[INST]What was the record when they played in the Miami Arena, before game 24? Context: CREATE TABLE table_name_67 (record VARCHAR, game VARCHAR, location VARCHAR)[/INST]SELECT record FROM table_name_67 WHERE game < 24 AND location = "miami arena"</s>
CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_80 WHERE away_team = "geelong"
Who is the home side when geelong is the away side?
<s>[INST]Who is the home side when geelong is the away side? Context: CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_80 WHERE away_team = "geelong"</s>
CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)
SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.8 Duratec HE"
For the model/engine of 1.8 Duratec HE, what is the torque?
<s>[INST]For the model/engine of 1.8 Duratec HE, what is the torque? Context: CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)[/INST]SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.8 Duratec HE"</s>
CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_7 WHERE result = "5-1"
Where was the competition that took place that had a 5-1 result?
<s>[INST]Where was the competition that took place that had a 5-1 result? Context: CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_7 WHERE result = "5-1"</s>
CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_50 WHERE date = "december 20, 1970"
What was the result for the game played on December 20, 1970?
<s>[INST]What was the result for the game played on December 20, 1970? Context: CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_50 WHERE date = "december 20, 1970"</s>
CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567
What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?
<s>[INST]What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points? Context: CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567</s>
CREATE TABLE table_27700375_8 (record VARCHAR, high_assists VARCHAR)
SELECT COUNT(record) FROM table_27700375_8 WHERE high_assists = "Devin Harris (6)"
How many record data were written when Devin Harris (6) was High Assists?
<s>[INST]How many record data were written when Devin Harris (6) was High Assists? Context: CREATE TABLE table_27700375_8 (record VARCHAR, high_assists VARCHAR)[/INST]SELECT COUNT(record) FROM table_27700375_8 WHERE high_assists = "Devin Harris (6)"</s>
CREATE TABLE table_name_94 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)
SELECT MAX(goals_against) FROM table_name_94 WHERE goals_for > 55 AND goal_difference = "+24"
What is the highest number of goals against when the number of goals were 55 and the difference was +24?
<s>[INST]What is the highest number of goals against when the number of goals were 55 and the difference was +24? Context: CREATE TABLE table_name_94 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)[/INST]SELECT MAX(goals_against) FROM table_name_94 WHERE goals_for > 55 AND goal_difference = "+24"</s...
CREATE TABLE Movie (YEAR INTEGER)
SELECT COUNT(*) FROM Movie WHERE YEAR < 2000
How many movies were made before 2000?
<s>[INST]How many movies were made before 2000? Context: CREATE TABLE Movie (YEAR INTEGER)[/INST]SELECT COUNT(*) FROM Movie WHERE YEAR < 2000</s>
CREATE TABLE table_28561455_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_28561455_1 WHERE directed_by = "Peter O'Fallon"
Who wrote the episodes that were directed by Peter O'Fallon?
<s>[INST]Who wrote the episodes that were directed by Peter O'Fallon? Context: CREATE TABLE table_28561455_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_28561455_1 WHERE directed_by = "Peter O'Fallon"</s>
CREATE TABLE phone (chip_model VARCHAR, Company_name VARCHAR); CREATE TABLE chip_model (RAM_MiB INTEGER, Model_name VARCHAR)
SELECT MAX(T1.RAM_MiB), MIN(T1.RAM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T2.Company_name = "Nokia Corporation"
What is maximum and minimum RAM size of phone produced by company named "Nokia Corporation"?
<s>[INST]What is maximum and minimum RAM size of phone produced by company named "Nokia Corporation"? Context: CREATE TABLE phone (chip_model VARCHAR, Company_name VARCHAR); CREATE TABLE chip_model (RAM_MiB INTEGER, Model_name VARCHAR)[/INST]SELECT MAX(T1.RAM_MiB), MIN(T1.RAM_MiB) FROM chip_model AS T1 JOIN phone AS T2...
CREATE TABLE table_name_47 (location VARCHAR, length___m__ VARCHAR)
SELECT location FROM table_name_47 WHERE length___m__ = "63"
Where is the longest arch with a length in meters of 63?
<s>[INST]Where is the longest arch with a length in meters of 63? Context: CREATE TABLE table_name_47 (location VARCHAR, length___m__ VARCHAR)[/INST]SELECT location FROM table_name_47 WHERE length___m__ = "63"</s>
CREATE TABLE table_name_31 (polyunsaturated_fat VARCHAR, saturated_fat VARCHAR)
SELECT polyunsaturated_fat FROM table_name_31 WHERE saturated_fat = "25g"
Name the polyunsaturated fat with a saturated fat of 25g
<s>[INST]Name the polyunsaturated fat with a saturated fat of 25g Context: CREATE TABLE table_name_31 (polyunsaturated_fat VARCHAR, saturated_fat VARCHAR)[/INST]SELECT polyunsaturated_fat FROM table_name_31 WHERE saturated_fat = "25g"</s>
CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR)
SELECT COUNT(score) FROM table_name_87 WHERE player = "paul casey"
How many scores have paul casey as a player?
<s>[INST]How many scores have paul casey as a player? Context: CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR)[/INST]SELECT COUNT(score) FROM table_name_87 WHERE player = "paul casey"</s>
CREATE TABLE table_name_30 (winner VARCHAR, surface VARCHAR, week VARCHAR)
SELECT winner FROM table_name_30 WHERE surface = "hard" AND week = "november 13"
Who was the winner on a hard surface on the week of November 13?
<s>[INST]Who was the winner on a hard surface on the week of November 13? Context: CREATE TABLE table_name_30 (winner VARCHAR, surface VARCHAR, week VARCHAR)[/INST]SELECT winner FROM table_name_30 WHERE surface = "hard" AND week = "november 13"</s>
CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
Who is every high points for the Pistons team?
<s>[INST]Who is every high points for the Pistons team? Context: CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"</s>
CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)
SELECT venue FROM table_29033869_3 WHERE opponent = "Essendon" AND position_on_ladder = "3rd"
Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?
<s>[INST]Which venue did collingsworth play essendon in when they had the 3rd position on the ladder? Context: CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)[/INST]SELECT venue FROM table_29033869_3 WHERE opponent = "Essendon" AND position_on_ladder = "3rd"</s>
CREATE TABLE table_name_51 (silver VARCHAR, nation VARCHAR)
SELECT COUNT(silver) FROM table_name_51 WHERE nation = "russia"
How many total silvers does Russia have?
<s>[INST]How many total silvers does Russia have? Context: CREATE TABLE table_name_51 (silver VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_51 WHERE nation = "russia"</s>
CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_13 WHERE date = "december 31"
What is the score on December 31?
<s>[INST]What is the score on December 31? Context: CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_13 WHERE date = "december 31"</s>
CREATE TABLE table_1245350_1 (power VARCHAR, quattroporte_iv VARCHAR)
SELECT power FROM table_1245350_1 WHERE quattroporte_iv = "3.2i V8 32v"
What is the power of the 3.2i v8 32v?
<s>[INST]What is the power of the 3.2i v8 32v? Context: CREATE TABLE table_1245350_1 (power VARCHAR, quattroporte_iv VARCHAR)[/INST]SELECT power FROM table_1245350_1 WHERE quattroporte_iv = "3.2i V8 32v"</s>
CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross"
What is the name of the episode written by alison cross?
<s>[INST]What is the name of the episode written by alison cross? Context: CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross"</s>
CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, hypotenuse_0_c VARCHAR)
SELECT horizontal_0_a FROM table_25519358_1 WHERE hypotenuse_0_c = "明弦(RY日月)"
Name the horizontal 0 for 明弦(ry日月)
<s>[INST]Name the horizontal 0 for 明弦(ry日月) Context: CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, hypotenuse_0_c VARCHAR)[/INST]SELECT horizontal_0_a FROM table_25519358_1 WHERE hypotenuse_0_c = "明弦(RY日月)"</s>
CREATE TABLE table_name_31 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_31 WHERE home_team = "dartford"
What is the Tie number for the match where Dartford was the hone team?
<s>[INST]What is the Tie number for the match where Dartford was the hone team? Context: CREATE TABLE table_name_31 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_31 WHERE home_team = "dartford"</s>
CREATE TABLE table_21313327_1 (no_in_series INTEGER, written_by VARCHAR)
SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = "Rob Wright & Debra J. Fisher & Erica Messer"
what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers?
<s>[INST]what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers? Context: CREATE TABLE table_21313327_1 (no_in_series INTEGER, written_by VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = "Rob Wright & Debra J. Fisher & Erica Messer"</s>
CREATE TABLE table_name_84 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_name_84 WHERE player = "ryan strong"
What is the Pick # for Ryan Strong?
<s>[INST]What is the Pick # for Ryan Strong? Context: CREATE TABLE table_name_84 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_84 WHERE player = "ryan strong"</s>