context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT socialist_ticket FROM table_name_92 WHERE democratic_ticket = "thomas j. kreuzer"
What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?
<s>[INST]What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket? Context: CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)[/INST]SELECT socialist_ticket FROM table_name_92 WHERE democratic_ticket = "thomas j. kreuzer"</s>
CREATE TABLE table_14330096_3 (title VARCHAR, writer VARCHAR)
SELECT title FROM table_14330096_3 WHERE writer = "Rob Heyland"
What's the title of the episode that Rob Heyland wrote?
<s>[INST]What's the title of the episode that Rob Heyland wrote? Context: CREATE TABLE table_14330096_3 (title VARCHAR, writer VARCHAR)[/INST]SELECT title FROM table_14330096_3 WHERE writer = "Rob Heyland"</s>
CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR)
SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AND result = "66.452"
What event did Sjerstin Vermeulen receive a 66.452 result?
<s>[INST]What event did Sjerstin Vermeulen receive a 66.452 result? Context: CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR)[/INST]SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AND result = "66.452"</s>
CREATE TABLE table_name_33 (city VARCHAR, floors INTEGER)
SELECT city FROM table_name_33 WHERE floors > 57
What city has a building with over 57 floors?
<s>[INST]What city has a building with over 57 floors? Context: CREATE TABLE table_name_33 (city VARCHAR, floors INTEGER)[/INST]SELECT city FROM table_name_33 WHERE floors > 57</s>
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR)
SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%'
display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M.
<s>[INST]display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR)[/INST]SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%'</s>
CREATE TABLE table_name_17 (years_for_jazz VARCHAR, school_club_team VARCHAR)
SELECT years_for_jazz FROM table_name_17 WHERE school_club_team = "colorado state"
Which years have a School/Club Team of colorado state?
<s>[INST]Which years have a School/Club Team of colorado state? Context: CREATE TABLE table_name_17 (years_for_jazz VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_jazz FROM table_name_17 WHERE school_club_team = "colorado state"</s>
CREATE TABLE table_name_49 (tries_for VARCHAR, try_bonus VARCHAR)
SELECT tries_for FROM table_name_49 WHERE try_bonus = "5"
How many tries for did the team with a try bonus of 5 score?
<s>[INST]How many tries for did the team with a try bonus of 5 score? Context: CREATE TABLE table_name_49 (tries_for VARCHAR, try_bonus VARCHAR)[/INST]SELECT tries_for FROM table_name_49 WHERE try_bonus = "5"</s>
CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_39 WHERE date = "november 24, 1996"
Tell me the opponent for november 24, 1996
<s>[INST]Tell me the opponent for november 24, 1996 Context: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_39 WHERE date = "november 24, 1996"</s>
CREATE TABLE Faculty (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Student (FacID VARCHAR, advisor VARCHAR)
SELECT FacID FROM Faculty EXCEPT SELECT advisor FROM Student
Show ids for the faculty members who don't advise any student.
<s>[INST]Show ids for the faculty members who don't advise any student. Context: CREATE TABLE Faculty (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Student (FacID VARCHAR, advisor VARCHAR)[/INST]SELECT FacID FROM Faculty EXCEPT SELECT advisor FROM Student</s>
CREATE TABLE table_name_96 (name VARCHAR, decile VARCHAR, area VARCHAR)
SELECT name FROM table_name_96 WHERE decile = 5 AND area = "tauranga"
Which name has a Decile of 5, and an Area of tauranga?
<s>[INST]Which name has a Decile of 5, and an Area of tauranga? Context: CREATE TABLE table_name_96 (name VARCHAR, decile VARCHAR, area VARCHAR)[/INST]SELECT name FROM table_name_96 WHERE decile = 5 AND area = "tauranga"</s>
CREATE TABLE table_21501518_1 (order__number VARCHAR, result VARCHAR)
SELECT order__number FROM table_21501518_1 WHERE result = "Bottom 2"
Which order #1 has a result of bottom 2
<s>[INST]Which order #1 has a result of bottom 2 Context: CREATE TABLE table_21501518_1 (order__number VARCHAR, result VARCHAR)[/INST]SELECT order__number FROM table_21501518_1 WHERE result = "Bottom 2"</s>
CREATE TABLE table_name_92 (south VARCHAR, season VARCHAR)
SELECT south FROM table_name_92 WHERE season = "2004-05"
Who was in the South in the 2004-05 season?
<s>[INST]Who was in the South in the 2004-05 season? Context: CREATE TABLE table_name_92 (south VARCHAR, season VARCHAR)[/INST]SELECT south FROM table_name_92 WHERE season = "2004-05"</s>
CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)
SELECT fielding_team FROM table_1670921_1 WHERE wicket = "9th"
Which team is 9th in wickets?
<s>[INST]Which team is 9th in wickets? Context: CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)[/INST]SELECT fielding_team FROM table_1670921_1 WHERE wicket = "9th"</s>
CREATE TABLE table_name_33 (year INTEGER, movie VARCHAR)
SELECT AVG(year) FROM table_name_33 WHERE movie = "rangam"
What's the average year a Rangam movie came out?
<s>[INST]What's the average year a Rangam movie came out? Context: CREATE TABLE table_name_33 (year INTEGER, movie VARCHAR)[/INST]SELECT AVG(year) FROM table_name_33 WHERE movie = "rangam"</s>
CREATE TABLE table_29418619_1 (hometown VARCHAR, name VARCHAR)
SELECT hometown FROM table_29418619_1 WHERE name = "Jarrid Famous"
What is the hometown of Jarrid Famous?
<s>[INST]What is the hometown of Jarrid Famous? Context: CREATE TABLE table_29418619_1 (hometown VARCHAR, name VARCHAR)[/INST]SELECT hometown FROM table_29418619_1 WHERE name = "Jarrid Famous"</s>
CREATE TABLE table_name_96 (points VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT COUNT(points) FROM table_name_96 WHERE losses < 5 AND draws = 0
How many points have a loss less than 5, and 0 for draws?
<s>[INST]How many points have a loss less than 5, and 0 for draws? Context: CREATE TABLE table_name_96 (points VARCHAR, losses VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_96 WHERE losses < 5 AND draws = 0</s>
CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0
What is the bronze number for the nation with less than 0 gold?
<s>[INST]What is the bronze number for the nation with less than 0 gold? Context: CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)[/INST]SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0</s>
CREATE TABLE table_name_63 (general_classification VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_name_63 WHERE stage = "13"
What is the general classification with a 13 stage?
<s>[INST]What is the general classification with a 13 stage? Context: CREATE TABLE table_name_63 (general_classification VARCHAR, stage VARCHAR)[/INST]SELECT general_classification FROM table_name_63 WHERE stage = "13"</s>
CREATE TABLE table_name_80 (team VARCHAR, losses VARCHAR, goals_for VARCHAR)
SELECT team FROM table_name_80 WHERE losses = "7" AND goals_for = 55
Which team had 7 losses and 55 goals?
<s>[INST]Which team had 7 losses and 55 goals? Context: CREATE TABLE table_name_80 (team VARCHAR, losses VARCHAR, goals_for VARCHAR)[/INST]SELECT team FROM table_name_80 WHERE losses = "7" AND goals_for = 55</s>
CREATE TABLE table_name_18 (finish VARCHAR, player VARCHAR)
SELECT finish FROM table_name_18 WHERE player = "jack nicklaus"
Jack Nicklaus finished in what place?
<s>[INST]Jack Nicklaus finished in what place? Context: CREATE TABLE table_name_18 (finish VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_18 WHERE player = "jack nicklaus"</s>
CREATE TABLE table_name_87 (total INTEGER, nation VARCHAR)
SELECT MIN(total) FROM table_name_87 WHERE nation = "china"
How many medals did China receive?
<s>[INST]How many medals did China receive? Context: CREATE TABLE table_name_87 (total INTEGER, nation VARCHAR)[/INST]SELECT MIN(total) FROM table_name_87 WHERE nation = "china"</s>
CREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR)
SELECT founded FROM table_1974545_2 WHERE location = "Salem, Massachusetts"
When was the school in Salem, Massachusetts located?
<s>[INST]When was the school in Salem, Massachusetts located? Context: CREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR)[/INST]SELECT founded FROM table_1974545_2 WHERE location = "Salem, Massachusetts"</s>
CREATE TABLE ALBUM (ArtistId VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR)
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1
Which artist has the most albums?
<s>[INST]Which artist has the most albums? Context: CREATE TABLE ALBUM (ArtistId VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR)[/INST]SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_76 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_76 WHERE grid = "18"
What was the retired time for someone who was on grid 18?
<s>[INST]What was the retired time for someone who was on grid 18? Context: CREATE TABLE table_name_76 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_76 WHERE grid = "18"</s>
CREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland"
Name the party with edward boland
<s>[INST]Name the party with edward boland Context: CREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland"</s>
CREATE TABLE table_15187735_5 (netflix VARCHAR, segment_b VARCHAR)
SELECT netflix FROM table_15187735_5 WHERE segment_b = "Marshmallow Cookies"
When marshmallow cookies is segment b what episode is it on netflix?
<s>[INST]When marshmallow cookies is segment b what episode is it on netflix? Context: CREATE TABLE table_15187735_5 (netflix VARCHAR, segment_b VARCHAR)[/INST]SELECT netflix FROM table_15187735_5 WHERE segment_b = "Marshmallow Cookies"</s>
CREATE TABLE table_17675675_2 (points VARCHAR, won VARCHAR)
SELECT points FROM table_17675675_2 WHERE won = "9"
What is the total amount of points when the given won is 9?
<s>[INST]What is the total amount of points when the given won is 9? Context: CREATE TABLE table_17675675_2 (points VARCHAR, won VARCHAR)[/INST]SELECT points FROM table_17675675_2 WHERE won = "9"</s>
CREATE TABLE Accounts (customer_id VARCHAR)
SELECT customer_id, COUNT(*) FROM Accounts GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1
Show the customer id and number of accounts with most accounts.
<s>[INST]Show the customer id and number of accounts with most accounts. Context: CREATE TABLE Accounts (customer_id VARCHAR)[/INST]SELECT customer_id, COUNT(*) FROM Accounts GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_92 (successes VARCHAR, rocket VARCHAR, type VARCHAR, launches VARCHAR, country VARCHAR)
SELECT COUNT(successes) FROM table_name_92 WHERE launches > 3 AND country = "russia" AND type = "soyuz" AND rocket = "soyuz-u"
What is the number of successes for rockets that have more than 3 launches, were based in Russia, are type soyuz and a rocket type of soyuz-u?
<s>[INST]What is the number of successes for rockets that have more than 3 launches, were based in Russia, are type soyuz and a rocket type of soyuz-u? Context: CREATE TABLE table_name_92 (successes VARCHAR, rocket VARCHAR, type VARCHAR, launches VARCHAR, country VARCHAR)[/INST]SELECT COUNT(successes) FROM table_name_92 WHERE launches > 3 AND country = "russia" AND type = "soyuz" AND rocket = "soyuz-u"</s>
CREATE TABLE table_name_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = "heinz-harald frentzen"
When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid?
<s>[INST]When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid? Context: CREATE TABLE table_name_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = "heinz-harald frentzen"</s>
CREATE TABLE table_name_8 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_8 WHERE home = "vancouver"
What is the team's record when vancouver was at home?
<s>[INST]What is the team's record when vancouver was at home? Context: CREATE TABLE table_name_8 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_8 WHERE home = "vancouver"</s>
CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4"
Name the total number of result for mississippi 4?
<s>[INST]Name the total number of result for mississippi 4? Context: CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR)[/INST]SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4"</s>
CREATE TABLE table_15187794_1 (race_winner VARCHAR, no VARCHAR)
SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 12
How many people won in No. 12
<s>[INST]How many people won in No. 12 Context: CREATE TABLE table_15187794_1 (race_winner VARCHAR, no VARCHAR)[/INST]SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 12</s>
CREATE TABLE table_27383390_2 (shirt_sponsor VARCHAR, head_coach VARCHAR)
SELECT shirt_sponsor FROM table_27383390_2 WHERE head_coach = "Samad Marfavi"
What sponsor has the head coach Samad Marfavi?
<s>[INST]What sponsor has the head coach Samad Marfavi? Context: CREATE TABLE table_27383390_2 (shirt_sponsor VARCHAR, head_coach VARCHAR)[/INST]SELECT shirt_sponsor FROM table_27383390_2 WHERE head_coach = "Samad Marfavi"</s>
CREATE TABLE table_name_11 (round VARCHAR, pick VARCHAR)
SELECT COUNT(round) FROM table_name_11 WHERE pick = "7"
HOW MANY ROUNDS HAD A PICK OF 7?
<s>[INST]HOW MANY ROUNDS HAD A PICK OF 7? Context: CREATE TABLE table_name_11 (round VARCHAR, pick VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_11 WHERE pick = "7"</s>
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_5 WHERE date = "2 july 2012"
What was the score for the final played on 2 July 2012?
<s>[INST]What was the score for the final played on 2 July 2012? Context: CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE date = "2 july 2012"</s>
CREATE TABLE table_name_94 (status VARCHAR, score VARCHAR)
SELECT status FROM table_name_94 WHERE score = 21.5
Which status accompanies the score 21.5?
<s>[INST]Which status accompanies the score 21.5? Context: CREATE TABLE table_name_94 (status VARCHAR, score VARCHAR)[/INST]SELECT status FROM table_name_94 WHERE score = 21.5</s>
CREATE TABLE table_name_71 (position VARCHAR, year VARCHAR, notes VARCHAR)
SELECT position FROM table_name_71 WHERE year > 1998 AND notes = "2:31:40"
What position did he finish after 1998 and a note time of 2:31:40?
<s>[INST]What position did he finish after 1998 and a note time of 2:31:40? Context: CREATE TABLE table_name_71 (position VARCHAR, year VARCHAR, notes VARCHAR)[/INST]SELECT position FROM table_name_71 WHERE year > 1998 AND notes = "2:31:40"</s>
CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan"
Which Year has a Finish of 22, and a Team of swan?
<s>[INST]Which Year has a Finish of 22, and a Team of swan? Context: CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR)[/INST]SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan"</s>
CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, sprint_classification VARCHAR, mountains_classification VARCHAR)
SELECT aggressive_rider FROM table_25580292_13 WHERE sprint_classification = "André Greipel" AND mountains_classification = "Timothy Roe"
Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe?
<s>[INST]Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe? Context: CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, sprint_classification VARCHAR, mountains_classification VARCHAR)[/INST]SELECT aggressive_rider FROM table_25580292_13 WHERE sprint_classification = "André Greipel" AND mountains_classification = "Timothy Roe"</s>
CREATE TABLE table_name_56 (rank VARCHAR, revenue_in_usd VARCHAR)
SELECT COUNT(rank) FROM table_name_56 WHERE revenue_in_usd = "$428.2 billion"
What is the rank of the company who has a revenue of $428.2 billion?
<s>[INST]What is the rank of the company who has a revenue of $428.2 billion? Context: CREATE TABLE table_name_56 (rank VARCHAR, revenue_in_usd VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_56 WHERE revenue_in_usd = "$428.2 billion"</s>
CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT 2008 FROM table_name_31 WHERE tournament = "us open"
What is the value in 2008 for the US Open?
<s>[INST]What is the value in 2008 for the US Open? Context: CREATE TABLE table_name_31 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_31 WHERE tournament = "us open"</s>
CREATE TABLE employees (department_id VARCHAR, salary INTEGER)
SELECT department_id, SUM(salary) FROM employees GROUP BY department_id HAVING COUNT(*) >= 2
display the department id and the total salary for those departments which contains at least two employees.
<s>[INST]display the department id and the total salary for those departments which contains at least two employees. Context: CREATE TABLE employees (department_id VARCHAR, salary INTEGER)[/INST]SELECT department_id, SUM(salary) FROM employees GROUP BY department_id HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_20 (games VARCHAR, goals VARCHAR, assists VARCHAR)
SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 8
How many games have 5 goals and less than 8 assists?
<s>[INST]How many games have 5 goals and less than 8 assists? Context: CREATE TABLE table_name_20 (games VARCHAR, goals VARCHAR, assists VARCHAR)[/INST]SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 8</s>
CREATE TABLE table_name_65 (service VARCHAR, age_at_first_step VARCHAR)
SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d"
The astronaut who was 37y 8m 4d when making a first step on the moon was in which service?
<s>[INST]The astronaut who was 37y 8m 4d when making a first step on the moon was in which service? Context: CREATE TABLE table_name_65 (service VARCHAR, age_at_first_step VARCHAR)[/INST]SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d"</s>
CREATE TABLE table_name_77 (phoenician VARCHAR, hangul VARCHAR)
SELECT phoenician FROM table_name_77 WHERE hangul = "ㄹ"
What is the Phoenician letter for the Hangul of ㄹ?
<s>[INST]What is the Phoenician letter for the Hangul of ㄹ? Context: CREATE TABLE table_name_77 (phoenician VARCHAR, hangul VARCHAR)[/INST]SELECT phoenician FROM table_name_77 WHERE hangul = "ㄹ"</s>
CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_85 WHERE opponent = "dunfermline athletic"
Can you tell me the average Attendance rhat has the Opponent of dunfermline athletic?
<s>[INST]Can you tell me the average Attendance rhat has the Opponent of dunfermline athletic? Context: CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_85 WHERE opponent = "dunfermline athletic"</s>
CREATE TABLE table_198175_2 (residence_city VARCHAR, english_name VARCHAR)
SELECT COUNT(residence_city) FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott"
How many residence cities have an English name of Province of Viborg and Nyslott?
<s>[INST]How many residence cities have an English name of Province of Viborg and Nyslott? Context: CREATE TABLE table_198175_2 (residence_city VARCHAR, english_name VARCHAR)[/INST]SELECT COUNT(residence_city) FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott"</s>
CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina"
What Player is from Argentina and whose position is a guard-forward?
<s>[INST]What Player is from Argentina and whose position is a guard-forward? Context: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR)[/INST]SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina"</s>
CREATE TABLE table_2249029_1 (gdp_per_capita VARCHAR, gdp_world_rank VARCHAR)
SELECT gdp_per_capita FROM table_2249029_1 WHERE gdp_world_rank = "131"
Name the gdp per capita for world rank being 131
<s>[INST]Name the gdp per capita for world rank being 131 Context: CREATE TABLE table_2249029_1 (gdp_per_capita VARCHAR, gdp_world_rank VARCHAR)[/INST]SELECT gdp_per_capita FROM table_2249029_1 WHERE gdp_world_rank = "131"</s>
CREATE TABLE table_name_49 (score VARCHAR, location_attendance VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE location_attendance = "montreal forum" AND date = "may 10"
what score has a location and attendance of montreal forum and the date of may 10?
<s>[INST]what score has a location and attendance of montreal forum and the date of may 10? Context: CREATE TABLE table_name_49 (score VARCHAR, location_attendance VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE location_attendance = "montreal forum" AND date = "may 10"</s>
CREATE TABLE table_15796100_1 (theme VARCHAR, original_artist VARCHAR)
SELECT theme FROM table_15796100_1 WHERE original_artist = "Dolly Parton"
What theme name has the original artist of Dolly Parton?
<s>[INST]What theme name has the original artist of Dolly Parton? Context: CREATE TABLE table_15796100_1 (theme VARCHAR, original_artist VARCHAR)[/INST]SELECT theme FROM table_15796100_1 WHERE original_artist = "Dolly Parton"</s>
CREATE TABLE table_name_61 (high_assists VARCHAR, game INTEGER)
SELECT high_assists FROM table_name_61 WHERE game > 46
What high assists have a game greater than 46?
<s>[INST]What high assists have a game greater than 46? Context: CREATE TABLE table_name_61 (high_assists VARCHAR, game INTEGER)[/INST]SELECT high_assists FROM table_name_61 WHERE game > 46</s>
CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)
SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2
Show names of teachers that teach at least two courses.
<s>[INST]Show names of teachers that teach at least two courses. Context: CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)[/INST]SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR)
SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states"
What kind of edition was released September 23, 2008 from the United States?
<s>[INST]What kind of edition was released September 23, 2008 from the United States? Context: CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR)[/INST]SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states"</s>
CREATE TABLE table_name_33 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_33 WHERE date = "september 25, 1994"
On September 25, 1994 what was the final score?
<s>[INST]On September 25, 1994 what was the final score? Context: CREATE TABLE table_name_33 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_33 WHERE date = "september 25, 1994"</s>
CREATE TABLE table_28768469_2 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_28768469_2 WHERE date = "October 20"
What is the location for the game on October 20 with it's corresponding attendance?
<s>[INST]What is the location for the game on October 20 with it's corresponding attendance? Context: CREATE TABLE table_28768469_2 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_28768469_2 WHERE date = "October 20"</s>
CREATE TABLE table_name_56 (opponent VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_56 WHERE event = "jungle fight 6"
Which opponent has the event Jungle Fight 6?
<s>[INST]Which opponent has the event Jungle Fight 6? Context: CREATE TABLE table_name_56 (opponent VARCHAR, event VARCHAR)[/INST]SELECT opponent FROM table_name_56 WHERE event = "jungle fight 6"</s>
CREATE TABLE table_name_71 (gold VARCHAR, bronze VARCHAR)
SELECT gold FROM table_name_71 WHERE bronze = "11"
What is Gold, when Bronze is 11?
<s>[INST]What is Gold, when Bronze is 11? Context: CREATE TABLE table_name_71 (gold VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_71 WHERE bronze = "11"</s>
CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR)
SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay"
How many events did clay win?
<s>[INST]How many events did clay win? Context: CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR)[/INST]SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay"</s>
CREATE TABLE table_name_45 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_45 WHERE date = "april 28"
Who has the highest assists on april 28?
<s>[INST]Who has the highest assists on april 28? Context: CREATE TABLE table_name_45 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_45 WHERE date = "april 28"</s>
CREATE TABLE table_name_79 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_79 WHERE opponent = "yvonne vermaak"
What outcome has yvonne vermaak as the opponent?
<s>[INST]What outcome has yvonne vermaak as the opponent? Context: CREATE TABLE table_name_79 (outcome VARCHAR, opponent VARCHAR)[/INST]SELECT outcome FROM table_name_79 WHERE opponent = "yvonne vermaak"</s>
CREATE TABLE table_name_16 (club VARCHAR, try_bonus VARCHAR)
SELECT club FROM table_name_16 WHERE try_bonus = "8"
What club has a Try Bonus of 8?
<s>[INST]What club has a Try Bonus of 8? Context: CREATE TABLE table_name_16 (club VARCHAR, try_bonus VARCHAR)[/INST]SELECT club FROM table_name_16 WHERE try_bonus = "8"</s>
CREATE TABLE weekly_weather (station_id VARCHAR); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)
SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1
Find the id and local authority of the station with has the highest average high temperature.
<s>[INST]Find the id and local authority of the station with has the highest average high temperature. Context: CREATE TABLE weekly_weather (station_id VARCHAR); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)[/INST]SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1</s>
CREATE TABLE table_name_77 (entrant VARCHAR, year VARCHAR, engine VARCHAR)
SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = "veritas straight-6"
What entrant has a year earlier than 1960 and a veritas straight-6 engine?
<s>[INST]What entrant has a year earlier than 1960 and a veritas straight-6 engine? Context: CREATE TABLE table_name_77 (entrant VARCHAR, year VARCHAR, engine VARCHAR)[/INST]SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = "veritas straight-6"</s>
CREATE TABLE table_168482_1 (place VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT place FROM table_168482_1 WHERE _percentage_of_popular_vote = "0.86%"
What place did the party finish in the year when they earned 0.86% of the vote?
<s>[INST]What place did the party finish in the year when they earned 0.86% of the vote? Context: CREATE TABLE table_168482_1 (place VARCHAR, _percentage_of_popular_vote VARCHAR)[/INST]SELECT place FROM table_168482_1 WHERE _percentage_of_popular_vote = "0.86%"</s>
CREATE TABLE table_name_20 (date VARCHAR, year VARCHAR)
SELECT date FROM table_name_20 WHERE year = "2008"
What was the date of the Cross Code debut that had an Int'l Debut in the year 2008?
<s>[INST]What was the date of the Cross Code debut that had an Int'l Debut in the year 2008? Context: CREATE TABLE table_name_20 (date VARCHAR, year VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE year = "2008"</s>
CREATE TABLE table_name_61 (train_name VARCHAR, frequency__inbound_outbound_ VARCHAR, destination VARCHAR)
SELECT train_name FROM table_name_61 WHERE frequency__inbound_outbound_ = "daily" AND destination = "jammutawi"
What is the train name of the rail with a daily frequency and Jammutawi as the destination?
<s>[INST]What is the train name of the rail with a daily frequency and Jammutawi as the destination? Context: CREATE TABLE table_name_61 (train_name VARCHAR, frequency__inbound_outbound_ VARCHAR, destination VARCHAR)[/INST]SELECT train_name FROM table_name_61 WHERE frequency__inbound_outbound_ = "daily" AND destination = "jammutawi"</s>
CREATE TABLE table_name_28 (seats INTEGER, _percentage_change VARCHAR, _percentage_votes VARCHAR)
SELECT MIN(seats) FROM table_name_28 WHERE _percentage_change = -3.7 AND _percentage_votes > 4.7
What are the fewest seats with a -3.7% change and more than 4.7% votes?
<s>[INST]What are the fewest seats with a -3.7% change and more than 4.7% votes? Context: CREATE TABLE table_name_28 (seats INTEGER, _percentage_change VARCHAR, _percentage_votes VARCHAR)[/INST]SELECT MIN(seats) FROM table_name_28 WHERE _percentage_change = -3.7 AND _percentage_votes > 4.7</s>
CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE venue = "arden street oval"
In the game held at Arden Street Oval, what was the score of the home team?
<s>[INST]In the game held at Arden Street Oval, what was the score of the home team? Context: CREATE TABLE table_name_23 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_23 WHERE venue = "arden street oval"</s>
CREATE TABLE table_name_74 (round INTEGER, grand_prix VARCHAR)
SELECT MIN(round) FROM table_name_74 WHERE grand_prix = "indian gp"
What is the smallest round with a Grand Prix of indian gp?
<s>[INST]What is the smallest round with a Grand Prix of indian gp? Context: CREATE TABLE table_name_74 (round INTEGER, grand_prix VARCHAR)[/INST]SELECT MIN(round) FROM table_name_74 WHERE grand_prix = "indian gp"</s>
CREATE TABLE table_name_8 (event VARCHAR, time VARCHAR)
SELECT event FROM table_name_8 WHERE time = "2:19"
What was the name of the Event with a time of 2:19?
<s>[INST]What was the name of the Event with a time of 2:19? Context: CREATE TABLE table_name_8 (event VARCHAR, time VARCHAR)[/INST]SELECT event FROM table_name_8 WHERE time = "2:19"</s>
CREATE TABLE table_1974545_1 (nickname VARCHAR, enrollment VARCHAR)
SELECT nickname FROM table_1974545_1 WHERE enrollment = 9000
Name the nickname for enrollment being 9000
<s>[INST]Name the nickname for enrollment being 9000 Context: CREATE TABLE table_1974545_1 (nickname VARCHAR, enrollment VARCHAR)[/INST]SELECT nickname FROM table_1974545_1 WHERE enrollment = 9000</s>
CREATE TABLE table_name_50 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_50 WHERE week = 2
What is the Record in Week 2?
<s>[INST]What is the Record in Week 2? Context: CREATE TABLE table_name_50 (record VARCHAR, week VARCHAR)[/INST]SELECT record FROM table_name_50 WHERE week = 2</s>
CREATE TABLE table_20140132_1 (head_coach VARCHAR, venue VARCHAR)
SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv"
Who is the head coach of the team who's venue is Lokomotiv?
<s>[INST]Who is the head coach of the team who's venue is Lokomotiv? Context: CREATE TABLE table_20140132_1 (head_coach VARCHAR, venue VARCHAR)[/INST]SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv"</s>
CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, games VARCHAR)
SELECT MIN(year) FROM table_name_97 WHERE team = "baltimore ravens" AND games < 15
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens?
<s>[INST]What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens? Context: CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, games VARCHAR)[/INST]SELECT MIN(year) FROM table_name_97 WHERE team = "baltimore ravens" AND games < 15</s>
CREATE TABLE table_12113888_1 (built VARCHAR, number VARCHAR)
SELECT built FROM table_12113888_1 WHERE number = 34
What is the built data for number 34?
<s>[INST]What is the built data for number 34? Context: CREATE TABLE table_12113888_1 (built VARCHAR, number VARCHAR)[/INST]SELECT built FROM table_12113888_1 WHERE number = 34</s>
CREATE TABLE table_name_51 (built VARCHAR, period VARCHAR)
SELECT built FROM table_name_51 WHERE period = "1967-1987"
How many cabins were built in the time between 1967-1987?
<s>[INST]How many cabins were built in the time between 1967-1987? Context: CREATE TABLE table_name_51 (built VARCHAR, period VARCHAR)[/INST]SELECT built FROM table_name_51 WHERE period = "1967-1987"</s>
CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings"
List the results for all games which involved the detroit red wings.
<s>[INST]List the results for all games which involved the detroit red wings. Context: CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings"</s>
CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_41 WHERE opponent = "wales"
When did they play against Wales?
<s>[INST]When did they play against Wales? Context: CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_41 WHERE opponent = "wales"</s>
CREATE TABLE table_20986710_1 (score_in_final VARCHAR, runner_up VARCHAR)
SELECT score_in_final FROM table_20986710_1 WHERE runner_up = "Tracy Austin"
What was the final score when tracy austin was runner up?
<s>[INST]What was the final score when tracy austin was runner up? Context: CREATE TABLE table_20986710_1 (score_in_final VARCHAR, runner_up VARCHAR)[/INST]SELECT score_in_final FROM table_20986710_1 WHERE runner_up = "Tracy Austin"</s>
CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_name_49 WHERE team = "arciero racing"
What is the engine for the Arciero Racing team?
<s>[INST]What is the engine for the Arciero Racing team? Context: CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR)[/INST]SELECT engine FROM table_name_49 WHERE team = "arciero racing"</s>
CREATE TABLE table_name_18 (ifop_5_11_09 VARCHAR, ifop_1_9_09 VARCHAR)
SELECT ifop_5_11_09 FROM table_name_18 WHERE ifop_1_9_09 = "5%"
Name the lfop for 5/11/09 with lfop 1/9/09 of 5%
<s>[INST]Name the lfop for 5/11/09 with lfop 1/9/09 of 5% Context: CREATE TABLE table_name_18 (ifop_5_11_09 VARCHAR, ifop_1_9_09 VARCHAR)[/INST]SELECT ifop_5_11_09 FROM table_name_18 WHERE ifop_1_9_09 = "5%"</s>
CREATE TABLE table_name_69 (position VARCHAR, team_from VARCHAR)
SELECT position FROM table_name_69 WHERE team_from = "aik"
What is the position of the team player from Aik?
<s>[INST]What is the position of the team player from Aik? Context: CREATE TABLE table_name_69 (position VARCHAR, team_from VARCHAR)[/INST]SELECT position FROM table_name_69 WHERE team_from = "aik"</s>
CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR)
SELECT MIN(win__percentage) FROM table_name_39 WHERE record = "0-2" AND apps > 2
What is the lowest win % with a 0-2 record and more than 2 apps?
<s>[INST]What is the lowest win % with a 0-2 record and more than 2 apps? Context: CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR)[/INST]SELECT MIN(win__percentage) FROM table_name_39 WHERE record = "0-2" AND apps > 2</s>
CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR)
SELECT COUNT(1 AS st_leg) FROM table_14219514_2 WHERE home__1st_leg_ = "Altos Hornos Zapla"
When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg?
<s>[INST]When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg? Context: CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR)[/INST]SELECT COUNT(1 AS st_leg) FROM table_14219514_2 WHERE home__1st_leg_ = "Altos Hornos Zapla"</s>
CREATE TABLE table_name_64 (deaths VARCHAR, storm_name VARCHAR)
SELECT deaths FROM table_name_64 WHERE storm_name = "darby"
How many deaths occurred during Darby?
<s>[INST]How many deaths occurred during Darby? Context: CREATE TABLE table_name_64 (deaths VARCHAR, storm_name VARCHAR)[/INST]SELECT deaths FROM table_name_64 WHERE storm_name = "darby"</s>
CREATE TABLE table_name_7 (freq_currently VARCHAR, frequency VARCHAR)
SELECT freq_currently FROM table_name_7 WHERE frequency = "0 684"
Which freq currently has 0 684?
<s>[INST]Which freq currently has 0 684? Context: CREATE TABLE table_name_7 (freq_currently VARCHAR, frequency VARCHAR)[/INST]SELECT freq_currently FROM table_name_7 WHERE frequency = "0 684"</s>
CREATE TABLE table_name_48 (average INTEGER, evening_gown VARCHAR)
SELECT MIN(average) FROM table_name_48 WHERE evening_gown = 8.811
What is the lowest average score where the evening gown score was 8.811?
<s>[INST]What is the lowest average score where the evening gown score was 8.811? Context: CREATE TABLE table_name_48 (average INTEGER, evening_gown VARCHAR)[/INST]SELECT MIN(average) FROM table_name_48 WHERE evening_gown = 8.811</s>
CREATE TABLE table_12715053_1 (molecular_target VARCHAR, trademark VARCHAR)
SELECT molecular_target FROM table_12715053_1 WHERE trademark = "Irvalec ®"
What is the molecular target listed under the trademark of irvalec ®
<s>[INST]What is the molecular target listed under the trademark of irvalec ® Context: CREATE TABLE table_12715053_1 (molecular_target VARCHAR, trademark VARCHAR)[/INST]SELECT molecular_target FROM table_12715053_1 WHERE trademark = "Irvalec ®"</s>
CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_31 WHERE week = "1" AND opponent = "bye"
What was the result of week 1 and the opponent was bye?
<s>[INST]What was the result of week 1 and the opponent was bye? Context: CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_31 WHERE week = "1" AND opponent = "bye"</s>
CREATE TABLE table_name_85 (district VARCHAR, name VARCHAR)
SELECT district FROM table_name_85 WHERE name = "milburn"
What district is the parish Milburn in?
<s>[INST]What district is the parish Milburn in? Context: CREATE TABLE table_name_85 (district VARCHAR, name VARCHAR)[/INST]SELECT district FROM table_name_85 WHERE name = "milburn"</s>
CREATE TABLE treatments (dog_id VARCHAR); CREATE TABLE dogs (dog_id VARCHAR)
SELECT COUNT(*) FROM dogs WHERE NOT dog_id IN (SELECT dog_id FROM treatments)
Tell me the number of dogs that have not received any treatment .
<s>[INST]Tell me the number of dogs that have not received any treatment . Context: CREATE TABLE treatments (dog_id VARCHAR); CREATE TABLE dogs (dog_id VARCHAR)[/INST]SELECT COUNT(*) FROM dogs WHERE NOT dog_id IN (SELECT dog_id FROM treatments)</s>
CREATE TABLE table_2110959_1 (season VARCHAR, pct__percentage VARCHAR)
SELECT season FROM table_2110959_1 WHERE pct__percentage = "0.552"
In what season was the pct % 0.552?
<s>[INST]In what season was the pct % 0.552? Context: CREATE TABLE table_2110959_1 (season VARCHAR, pct__percentage VARCHAR)[/INST]SELECT season FROM table_2110959_1 WHERE pct__percentage = "0.552"</s>
CREATE TABLE table_name_96 (champion VARCHAR, purse VARCHAR)
SELECT champion FROM table_name_96 WHERE purse = "¥200,000,000"
Who is the champion with a ¥200,000,000 purse?
<s>[INST]Who is the champion with a ¥200,000,000 purse? Context: CREATE TABLE table_name_96 (champion VARCHAR, purse VARCHAR)[/INST]SELECT champion FROM table_name_96 WHERE purse = "¥200,000,000"</s>
CREATE TABLE table_name_11 (against INTEGER, opposing_teams VARCHAR, status VARCHAR)
SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test"
What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"?
<s>[INST]What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"? Context: CREATE TABLE table_name_11 (against INTEGER, opposing_teams VARCHAR, status VARCHAR)[/INST]SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test"</s>
CREATE TABLE table_name_76 (bronze VARCHAR, rank VARCHAR)
SELECT COUNT(bronze) FROM table_name_76 WHERE rank = "9"
Which Bronze has a Rank of 9?
<s>[INST]Which Bronze has a Rank of 9? Context: CREATE TABLE table_name_76 (bronze VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_76 WHERE rank = "9"</s>
CREATE TABLE table_name_36 (points VARCHAR, drawn INTEGER)
SELECT COUNT(points) FROM table_name_36 WHERE drawn < 0
How many Points have a Drawn smaller than 0?
<s>[INST]How many Points have a Drawn smaller than 0? Context: CREATE TABLE table_name_36 (points VARCHAR, drawn INTEGER)[/INST]SELECT COUNT(points) FROM table_name_36 WHERE drawn < 0</s>
CREATE TABLE table_name_47 (result VARCHAR, goals VARCHAR)
SELECT result FROM table_name_47 WHERE goals = "deacon 2/5"
Which result has a Goal of deacon 2/5?
<s>[INST]Which result has a Goal of deacon 2/5? Context: CREATE TABLE table_name_47 (result VARCHAR, goals VARCHAR)[/INST]SELECT result FROM table_name_47 WHERE goals = "deacon 2/5"</s>
CREATE TABLE table_23028629_2 (frequency VARCHAR, model_number VARCHAR)
SELECT COUNT(frequency) FROM table_23028629_2 WHERE model_number = "Core i5-655K"
How many frequencies have a model number of core i5-655k?
<s>[INST]How many frequencies have a model number of core i5-655k? Context: CREATE TABLE table_23028629_2 (frequency VARCHAR, model_number VARCHAR)[/INST]SELECT COUNT(frequency) FROM table_23028629_2 WHERE model_number = "Core i5-655K"</s>