question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
What are the names of the directors who made exactly one movie excluding director NULL?
SELECT director FROM Movie WHERE director <> "null" GROUP BY director HAVING COUNT(*) = 1
CREATE TABLE Movie (director VARCHAR)
<s>[INST] What are the names of the directors who made exactly one movie excluding director NULL? context: CREATE TABLE Movie (director VARCHAR) [/INST] SELECT director FROM Movie WHERE director <> "null" GROUP BY director HAVING COUNT(*) = 1 </s>
What kind of party is the district in Alabama 1?
SELECT party FROM table_1342338_3 WHERE district = "Alabama 1"
CREATE TABLE table_1342338_3 (party VARCHAR, district VARCHAR)
<s>[INST] What kind of party is the district in Alabama 1? context: CREATE TABLE table_1342338_3 (party VARCHAR, district VARCHAR) [/INST] SELECT party FROM table_1342338_3 WHERE district = "Alabama 1" </s>
Which Events has Earnings of $113,259, and an Average larger than 229.5?
SELECT MAX(events) FROM table_name_22 WHERE earnings = "$113,259" AND average > 229.5
CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR)
<s>[INST] Which Events has Earnings of $113,259, and an Average larger than 229.5? context: CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR) [/INST] SELECT MAX(events) FROM table_name_22 WHERE earnings = "$113,259" AND average > 229.5 </s>
On May 17, what is the highest Attendance?
SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17"
CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
<s>[INST] On May 17, what is the highest Attendance? context: CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR) [/INST] SELECT MAX(attendance) FROM table_name_33 WHERE date = "may 17" </s>
Which race has a replica of DNF?
SELECT race FROM table_name_16 WHERE replica = "dnf"
CREATE TABLE table_name_16 (race VARCHAR, replica VARCHAR)
<s>[INST] Which race has a replica of DNF? context: CREATE TABLE table_name_16 (race VARCHAR, replica VARCHAR) [/INST] SELECT race FROM table_name_16 WHERE replica = "dnf" </s>
Which channel did Going for Gold air on?
SELECT original_channel FROM table_name_19 WHERE programme = "going for gold"
CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR)
<s>[INST] Which channel did Going for Gold air on? context: CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR) [/INST] SELECT original_channel FROM table_name_19 WHERE programme = "going for gold" </s>
what's the frequency mhz with city of license being chattanooga, tennessee
SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = "Chattanooga, Tennessee"
CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)
<s>[INST] what's the frequency mhz with city of license being chattanooga, tennessee context: CREATE TABLE table_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST] SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = "Chattanooga, Tennessee" </s>
What are the losses where the award is Mike Miller (Smoy)?
SELECT losses FROM table_name_34 WHERE awards = "mike miller (smoy)"
CREATE TABLE table_name_34 (losses VARCHAR, awards VARCHAR)
<s>[INST] What are the losses where the award is Mike Miller (Smoy)? context: CREATE TABLE table_name_34 (losses VARCHAR, awards VARCHAR) [/INST] SELECT losses FROM table_name_34 WHERE awards = "mike miller (smoy)" </s>
What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16
CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR)
<s>[INST] What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16? context: CREATE TABLE table_name_10 (avg_g INTEGER, gp_gs VARCHAR, gain VARCHAR) [/INST] SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs = "12-12" AND gain < 16 </s>
What league had a finish of 2nd and 3 losses?
SELECT league FROM table_name_74 WHERE finish = "2nd" AND losses = 3
CREATE TABLE table_name_74 (league VARCHAR, finish VARCHAR, losses VARCHAR)
<s>[INST] What league had a finish of 2nd and 3 losses? context: CREATE TABLE table_name_74 (league VARCHAR, finish VARCHAR, losses VARCHAR) [/INST] SELECT league FROM table_name_74 WHERE finish = "2nd" AND losses = 3 </s>
What is the average number of conversions for the Cardiff Blues with less than 14 tries?
SELECT AVG(conversions) FROM table_name_91 WHERE team = "cardiff blues" AND tries < 14
CREATE TABLE table_name_91 (conversions INTEGER, team VARCHAR, tries VARCHAR)
<s>[INST] What is the average number of conversions for the Cardiff Blues with less than 14 tries? context: CREATE TABLE table_name_91 (conversions INTEGER, team VARCHAR, tries VARCHAR) [/INST] SELECT AVG(conversions) FROM table_name_91 WHERE team = "cardiff blues" AND tries < 14 </s>
Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?
SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley"
CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR)
<s>[INST] Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley? context: CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR) [/INST] SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley" </s>
What is the total of countys where Obama is popular by 35.44%?
SELECT COUNT(county) FROM table_20688030_1 WHERE obama_percentage = "35.44%"
CREATE TABLE table_20688030_1 (county VARCHAR, obama_percentage VARCHAR)
<s>[INST] What is the total of countys where Obama is popular by 35.44%? context: CREATE TABLE table_20688030_1 (county VARCHAR, obama_percentage VARCHAR) [/INST] SELECT COUNT(county) FROM table_20688030_1 WHERE obama_percentage = "35.44%" </s>
How many silvers for south korea with under 1 gold medal?
SELECT MAX(silver) FROM table_name_15 WHERE nation = "south korea" AND gold < 1
CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR, gold VARCHAR)
<s>[INST] How many silvers for south korea with under 1 gold medal? context: CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR, gold VARCHAR) [/INST] SELECT MAX(silver) FROM table_name_15 WHERE nation = "south korea" AND gold < 1 </s>
Which qual has both 200 total laps and took place in 1957?
SELECT qual FROM table_name_80 WHERE laps = 200 AND year = "1957"
CREATE TABLE table_name_80 (qual VARCHAR, laps VARCHAR, year VARCHAR)
<s>[INST] Which qual has both 200 total laps and took place in 1957? context: CREATE TABLE table_name_80 (qual VARCHAR, laps VARCHAR, year VARCHAR) [/INST] SELECT qual FROM table_name_80 WHERE laps = 200 AND year = "1957" </s>
Bhiwani district have what constituency number?
SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani"
CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR)
<s>[INST] Bhiwani district have what constituency number? context: CREATE TABLE table_name_37 (constituency_number VARCHAR, district VARCHAR) [/INST] SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani" </s>
What Secretary has a Social AO of lieke de boer?
SELECT secretary FROM table_name_12 WHERE social_ao = "lieke de boer"
CREATE TABLE table_name_12 (secretary VARCHAR, social_ao VARCHAR)
<s>[INST] What Secretary has a Social AO of lieke de boer? context: CREATE TABLE table_name_12 (secretary VARCHAR, social_ao VARCHAR) [/INST] SELECT secretary FROM table_name_12 WHERE social_ao = "lieke de boer" </s>
Find the name and age of the person who is a friend of both Dan and Alice.
SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' INTERSECT SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice'
CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
<s>[INST] Find the name and age of the person who is a friend of both Dan and Alice. context: CREATE TABLE Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR) [/INST] SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' INTERSECT SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice' </s>
When fixed route is the type of fare how much is the 31-day pass?
SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route"
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)
<s>[INST] When fixed route is the type of fare how much is the 31-day pass? context: CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) [/INST] SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route" </s>
Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49?
SELECT headphone_model FROM table_1601027_1 WHERE driver_matched_db = "0.1" AND us_msrp = "$49"
CREATE TABLE table_1601027_1 (headphone_model VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR)
<s>[INST] Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49? context: CREATE TABLE table_1601027_1 (headphone_model VARCHAR, driver_matched_db VARCHAR, us_msrp VARCHAR) [/INST] SELECT headphone_model FROM table_1601027_1 WHERE driver_matched_db = "0.1" AND us_msrp = "$49" </s>
Find the major and age of students who do not have a cat pet.
SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')
CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR)
<s>[INST] Find the major and age of students who do not have a cat pet. context: CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR) [/INST] SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat') </s>
What is Points, when Played is "20", and when Club is "Caldicot RFC"?
SELECT points FROM table_name_64 WHERE played = "20" AND club = "caldicot rfc"
CREATE TABLE table_name_64 (points VARCHAR, played VARCHAR, club VARCHAR)
<s>[INST] What is Points, when Played is "20", and when Club is "Caldicot RFC"? context: CREATE TABLE table_name_64 (points VARCHAR, played VARCHAR, club VARCHAR) [/INST] SELECT points FROM table_name_64 WHERE played = "20" AND club = "caldicot rfc" </s>
What were the former schools of the player from East Brunswick, NJ?
SELECT former_school FROM table_25177625_1 WHERE hometown = "East Brunswick, NJ"
CREATE TABLE table_25177625_1 (former_school VARCHAR, hometown VARCHAR)
<s>[INST] What were the former schools of the player from East Brunswick, NJ? context: CREATE TABLE table_25177625_1 (former_school VARCHAR, hometown VARCHAR) [/INST] SELECT former_school FROM table_25177625_1 WHERE hometown = "East Brunswick, NJ" </s>
What is the result F_A on 17 December 2002?
SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002"
CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR)
<s>[INST] What is the result F_A on 17 December 2002? context: CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR) [/INST] SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002" </s>
Name the average 2008 for beijing and 2005 more than 2
SELECT AVG(2008) FROM table_name_21 WHERE year = "beijing" AND 2005 > 2
CREATE TABLE table_name_21 (year VARCHAR)
<s>[INST] Name the average 2008 for beijing and 2005 more than 2 context: CREATE TABLE table_name_21 (year VARCHAR) [/INST] SELECT AVG(2008) FROM table_name_21 WHERE year = "beijing" AND 2005 > 2 </s>
What is the To par when fredrik andersson hed was runner-up?
SELECT to_par FROM table_name_86 WHERE runner_s__up = "fredrik andersson hed"
CREATE TABLE table_name_86 (to_par VARCHAR, runner_s__up VARCHAR)
<s>[INST] What is the To par when fredrik andersson hed was runner-up? context: CREATE TABLE table_name_86 (to_par VARCHAR, runner_s__up VARCHAR) [/INST] SELECT to_par FROM table_name_86 WHERE runner_s__up = "fredrik andersson hed" </s>
What are the average profits of companies?
SELECT AVG(Profits_billion) FROM Companies
CREATE TABLE Companies (Profits_billion INTEGER)
<s>[INST] What are the average profits of companies? context: CREATE TABLE Companies (Profits_billion INTEGER) [/INST] SELECT AVG(Profits_billion) FROM Companies </s>
Which Opponent has a Score of 2–6?
SELECT opponent FROM table_name_64 WHERE score = "2–6"
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
<s>[INST] Which Opponent has a Score of 2–6? context: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) [/INST] SELECT opponent FROM table_name_64 WHERE score = "2–6" </s>
What is the round number for the date 19/06/2009?
SELECT round FROM table_21311525_1 WHERE date = "19/06/2009"
CREATE TABLE table_21311525_1 (round VARCHAR, date VARCHAR)
<s>[INST] What is the round number for the date 19/06/2009? context: CREATE TABLE table_21311525_1 (round VARCHAR, date VARCHAR) [/INST] SELECT round FROM table_21311525_1 WHERE date = "19/06/2009" </s>
What is the Date of the castle with a Historic Scotland Ownership?
SELECT date FROM table_name_38 WHERE ownership = "historic scotland"
CREATE TABLE table_name_38 (date VARCHAR, ownership VARCHAR)
<s>[INST] What is the Date of the castle with a Historic Scotland Ownership? context: CREATE TABLE table_name_38 (date VARCHAR, ownership VARCHAR) [/INST] SELECT date FROM table_name_38 WHERE ownership = "historic scotland" </s>
What is Cabinet, when Year is before 2001, when Lijsttrekker is "No Elections", when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "S. Van Der Loo"?
SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo"
CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR)
<s>[INST] What is Cabinet, when Year is before 2001, when Lijsttrekker is "No Elections", when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "S. Van Der Loo"? context: CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR) [/INST] SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo" </s>
Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%.
SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%"
CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR)
<s>[INST] Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%. context: CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR) [/INST] SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%" </s>
What is the Attendance of the game against Jacksonville Jaguars?
SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars"
CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR)
<s>[INST] What is the Attendance of the game against Jacksonville Jaguars? context: CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) [/INST] SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars" </s>
What is the area of the place that has a population density of 331.4?
SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.4"
CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR)
<s>[INST] What is the area of the place that has a population density of 331.4? context: CREATE TABLE table_1067441_1 (area__km²_ INTEGER, density VARCHAR) [/INST] SELECT MAX(area__km²_) FROM table_1067441_1 WHERE density = "331.4" </s>
Head Coach casemiro mior is at which Club?
SELECT club FROM table_name_36 WHERE head_coach = "casemiro mior"
CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR)
<s>[INST] Head Coach casemiro mior is at which Club? context: CREATE TABLE table_name_36 (club VARCHAR, head_coach VARCHAR) [/INST] SELECT club FROM table_name_36 WHERE head_coach = "casemiro mior" </s>
Name the vote for thiago
SELECT vote FROM table_24233848_2 WHERE eliminated = "Thiago"
CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR)
<s>[INST] Name the vote for thiago context: CREATE TABLE table_24233848_2 (vote VARCHAR, eliminated VARCHAR) [/INST] SELECT vote FROM table_24233848_2 WHERE eliminated = "Thiago" </s>
Which Country has a Winter Olympics of 1948?
SELECT country FROM table_name_28 WHERE winter_olympics = "1948"
CREATE TABLE table_name_28 (country VARCHAR, winter_olympics VARCHAR)
<s>[INST] Which Country has a Winter Olympics of 1948? context: CREATE TABLE table_name_28 (country VARCHAR, winter_olympics VARCHAR) [/INST] SELECT country FROM table_name_28 WHERE winter_olympics = "1948" </s>
What is the average lost of games played of more than 9?
SELECT AVG(lost) FROM table_name_16 WHERE played > 9
CREATE TABLE table_name_16 (lost INTEGER, played INTEGER)
<s>[INST] What is the average lost of games played of more than 9? context: CREATE TABLE table_name_16 (lost INTEGER, played INTEGER) [/INST] SELECT AVG(lost) FROM table_name_16 WHERE played > 9 </s>
What is the height for the Oakville Gymnastics Club?
SELECT height FROM table_name_96 WHERE club = "oakville gymnastics club"
CREATE TABLE table_name_96 (height VARCHAR, club VARCHAR)
<s>[INST] What is the height for the Oakville Gymnastics Club? context: CREATE TABLE table_name_96 (height VARCHAR, club VARCHAR) [/INST] SELECT height FROM table_name_96 WHERE club = "oakville gymnastics club" </s>
How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )?
SELECT COUNT(world_record) FROM table_24062944_2 WHERE kenenisa_bekele___eth__ = "Marílson Gomes dos Santos ( BRA )"
CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR)
<s>[INST] How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )? context: CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR) [/INST] SELECT COUNT(world_record) FROM table_24062944_2 WHERE kenenisa_bekele___eth__ = "Marílson Gomes dos Santos ( BRA )" </s>
Who has 37 grids?
SELECT rider FROM table_name_36 WHERE grid = 37
CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR)
<s>[INST] Who has 37 grids? context: CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR) [/INST] SELECT rider FROM table_name_36 WHERE grid = 37 </s>
What was the date when the record was 1-0?
SELECT date FROM table_20745444_1 WHERE record = "1-0"
CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR)
<s>[INST] What was the date when the record was 1-0? context: CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR) [/INST] SELECT date FROM table_20745444_1 WHERE record = "1-0" </s>
Who replaced when position in table is pre-season?
SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season"
CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)
<s>[INST] Who replaced when position in table is pre-season? context: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR) [/INST] SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season" </s>
what is the attendance when the date is october 22, 2000?
SELECT attendance FROM table_name_12 WHERE date = "october 22, 2000"
CREATE TABLE table_name_12 (attendance VARCHAR, date VARCHAR)
<s>[INST] what is the attendance when the date is october 22, 2000? context: CREATE TABLE table_name_12 (attendance VARCHAR, date VARCHAR) [/INST] SELECT attendance FROM table_name_12 WHERE date = "october 22, 2000" </s>
What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari?
SELECT pole_position FROM table_1140076_2 WHERE fastest_lap = "Nelson Piquet" AND constructor = "Ferrari"
CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)
<s>[INST] What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari? context: CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR) [/INST] SELECT pole_position FROM table_1140076_2 WHERE fastest_lap = "Nelson Piquet" AND constructor = "Ferrari" </s>
Which record has a Date of april 25?
SELECT record FROM table_name_96 WHERE date = "april 25"
CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR)
<s>[INST] Which record has a Date of april 25? context: CREATE TABLE table_name_96 (record VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_96 WHERE date = "april 25" </s>
Paddy Wallace who plays the position of fly-half has how many Caps?
SELECT caps FROM table_name_97 WHERE position = "fly-half" AND player = "paddy wallace"
CREATE TABLE table_name_97 (caps VARCHAR, position VARCHAR, player VARCHAR)
<s>[INST] Paddy Wallace who plays the position of fly-half has how many Caps? context: CREATE TABLE table_name_97 (caps VARCHAR, position VARCHAR, player VARCHAR) [/INST] SELECT caps FROM table_name_97 WHERE position = "fly-half" AND player = "paddy wallace" </s>
What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%?
SELECT MIN(first_elected) FROM table_1341598_44 WHERE candidates = "Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%"
CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR)
<s>[INST] What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%? context: CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR) [/INST] SELECT MIN(first_elected) FROM table_1341598_44 WHERE candidates = "Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%" </s>
What was the date for the game that had a Location/Attendance of the spectrum?
SELECT date FROM table_name_92 WHERE location_attendance = "the spectrum"
CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR)
<s>[INST] What was the date for the game that had a Location/Attendance of the spectrum? context: CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR) [/INST] SELECT date FROM table_name_92 WHERE location_attendance = "the spectrum" </s>
What is the average position for a driver with less than 54 points and husaberg-bsu as equipment?
SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu"
CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR)
<s>[INST] What is the average position for a driver with less than 54 points and husaberg-bsu as equipment? context: CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR) [/INST] SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu" </s>
I want the highest Grid for Toyota and jarno trulli
SELECT MAX(grid) FROM table_name_95 WHERE constructor = "toyota" AND driver = "jarno trulli"
CREATE TABLE table_name_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR)
<s>[INST] I want the highest Grid for Toyota and jarno trulli context: CREATE TABLE table_name_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR) [/INST] SELECT MAX(grid) FROM table_name_95 WHERE constructor = "toyota" AND driver = "jarno trulli" </s>
What is the average cap number in scotland in 1986–1998 leass than 69?
SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998"
CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)
<s>[INST] What is the average cap number in scotland in 1986–1998 leass than 69? context: CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR) [/INST] SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998" </s>
What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
SELECT thurs_3_june FROM table_25220821_4 WHERE wed_2_june = "17' 45.11 127.525mph"
CREATE TABLE table_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR)
<s>[INST] What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph? context: CREATE TABLE table_25220821_4 (thurs_3_june VARCHAR, wed_2_june VARCHAR) [/INST] SELECT thurs_3_june FROM table_25220821_4 WHERE wed_2_june = "17' 45.11 127.525mph" </s>
What sport is the cb estudiantes club in?
SELECT sport FROM table_name_46 WHERE club = "cb estudiantes"
CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR)
<s>[INST] What sport is the cb estudiantes club in? context: CREATE TABLE table_name_46 (sport VARCHAR, club VARCHAR) [/INST] SELECT sport FROM table_name_46 WHERE club = "cb estudiantes" </s>
What title was published on November 2001 and has a 1st Doctor?
SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001"
CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR)
<s>[INST] What title was published on November 2001 and has a 1st Doctor? context: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) [/INST] SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001" </s>
Which district has a retired republican hold and an incumbent of rufus p. spalding?
SELECT district FROM table_name_67 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding"
CREATE TABLE table_name_67 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
<s>[INST] Which district has a retired republican hold and an incumbent of rufus p. spalding? context: CREATE TABLE table_name_67 (district VARCHAR, result VARCHAR, incumbent VARCHAR) [/INST] SELECT district FROM table_name_67 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding" </s>
Name the sum of average for interview more than 9.57 and swimsuit more than 9.65
SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65
CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR)
<s>[INST] Name the sum of average for interview more than 9.57 and swimsuit more than 9.65 context: CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR) [/INST] SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65 </s>
Which Completions has Yards of 10,098?
SELECT completions FROM table_name_36 WHERE yards = "10,098"
CREATE TABLE table_name_36 (completions VARCHAR, yards VARCHAR)
<s>[INST] Which Completions has Yards of 10,098? context: CREATE TABLE table_name_36 (completions VARCHAR, yards VARCHAR) [/INST] SELECT completions FROM table_name_36 WHERE yards = "10,098" </s>
Name the population density people where population % eu for 1.7%
SELECT COUNT(pop_density_people_km_2) FROM table_1606824_1 WHERE population__percentage_of_eu = "1.7%"
CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR)
<s>[INST] Name the population density people where population % eu for 1.7% context: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR) [/INST] SELECT COUNT(pop_density_people_km_2) FROM table_1606824_1 WHERE population__percentage_of_eu = "1.7%" </s>
What Replica has a race of supersport race 1?
SELECT replica FROM table_name_46 WHERE race = "supersport race 1"
CREATE TABLE table_name_46 (replica VARCHAR, race VARCHAR)
<s>[INST] What Replica has a race of supersport race 1? context: CREATE TABLE table_name_46 (replica VARCHAR, race VARCHAR) [/INST] SELECT replica FROM table_name_46 WHERE race = "supersport race 1" </s>
What was the Loss that had a Score of 9-1?
SELECT loss FROM table_name_87 WHERE score = "9-1"
CREATE TABLE table_name_87 (loss VARCHAR, score VARCHAR)
<s>[INST] What was the Loss that had a Score of 9-1? context: CREATE TABLE table_name_87 (loss VARCHAR, score VARCHAR) [/INST] SELECT loss FROM table_name_87 WHERE score = "9-1" </s>
Who was the parent on the order of 6?
SELECT parent FROM table_name_96 WHERE order = 6
CREATE TABLE table_name_96 (parent VARCHAR, order VARCHAR)
<s>[INST] Who was the parent on the order of 6? context: CREATE TABLE table_name_96 (parent VARCHAR, order VARCHAR) [/INST] SELECT parent FROM table_name_96 WHERE order = 6 </s>
What class has less than 12 numbers built operated by southern?
SELECT class FROM table_name_1 WHERE no_built < 12 AND operator = "southern"
CREATE TABLE table_name_1 (class VARCHAR, no_built VARCHAR, operator VARCHAR)
<s>[INST] What class has less than 12 numbers built operated by southern? context: CREATE TABLE table_name_1 (class VARCHAR, no_built VARCHAR, operator VARCHAR) [/INST] SELECT class FROM table_name_1 WHERE no_built < 12 AND operator = "southern" </s>
What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1?
SELECT COUNT(bronze) FROM table_name_86 WHERE rank < 2 AND gold < 1
CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)
<s>[INST] What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1? context: CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR) [/INST] SELECT COUNT(bronze) FROM table_name_86 WHERE rank < 2 AND gold < 1 </s>
What are the players whose rank is 2?
SELECT player FROM table_11303072_9 WHERE rank = 2
CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR)
<s>[INST] What are the players whose rank is 2? context: CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR) [/INST] SELECT player FROM table_11303072_9 WHERE rank = 2 </s>
What was the Winning Score when Betsy Rawls was the Runner(s)-up?
SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls"
CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR)
<s>[INST] What was the Winning Score when Betsy Rawls was the Runner(s)-up? context: CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST] SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls" </s>
What is the team whose driver Jeff Simmons?
SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons"
CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)
<s>[INST] What is the team whose driver Jeff Simmons? context: CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR) [/INST] SELECT team FROM table_17319931_1 WHERE driver = "Jeff Simmons" </s>
What is the rank for the team with a Time of 1:12.40.28?
SELECT SUM(rank) FROM table_name_94 WHERE time = "1:12.40.28"
CREATE TABLE table_name_94 (rank INTEGER, time VARCHAR)
<s>[INST] What is the rank for the team with a Time of 1:12.40.28? context: CREATE TABLE table_name_94 (rank INTEGER, time VARCHAR) [/INST] SELECT SUM(rank) FROM table_name_94 WHERE time = "1:12.40.28" </s>
what is the time/retired when the driver is toulo de graffenried?
SELECT time_retired FROM table_name_81 WHERE driver = "toulo de graffenried"
CREATE TABLE table_name_81 (time_retired VARCHAR, driver VARCHAR)
<s>[INST] what is the time/retired when the driver is toulo de graffenried? context: CREATE TABLE table_name_81 (time_retired VARCHAR, driver VARCHAR) [/INST] SELECT time_retired FROM table_name_81 WHERE driver = "toulo de graffenried" </s>
What composition was founded in 1976?
SELECT composition FROM table_name_37 WHERE founded = 1976
CREATE TABLE table_name_37 (composition VARCHAR, founded VARCHAR)
<s>[INST] What composition was founded in 1976? context: CREATE TABLE table_name_37 (composition VARCHAR, founded VARCHAR) [/INST] SELECT composition FROM table_name_37 WHERE founded = 1976 </s>
What are the notes for Ford when the total is 5?
SELECT notes FROM table_name_23 WHERE builder = "ford" AND total = "5"
CREATE TABLE table_name_23 (notes VARCHAR, builder VARCHAR, total VARCHAR)
<s>[INST] What are the notes for Ford when the total is 5? context: CREATE TABLE table_name_23 (notes VARCHAR, builder VARCHAR, total VARCHAR) [/INST] SELECT notes FROM table_name_23 WHERE builder = "ford" AND total = "5" </s>
What drawn has 416 as the points for and 533 as the points against?
SELECT drawn FROM table_name_49 WHERE points_for = "416" AND points_against = "533"
CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)
<s>[INST] What drawn has 416 as the points for and 533 as the points against? context: CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR) [/INST] SELECT drawn FROM table_name_49 WHERE points_for = "416" AND points_against = "533" </s>
how many townships where pop (2010) and ater is 0.818
SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818"
CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR)
<s>[INST] how many townships where pop (2010) and ater is 0.818 context: CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR) [/INST] SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818" </s>
How many players were from high point, nc?
SELECT COUNT(mlb_draft) FROM table_11677100_15 WHERE hometown = "High Point, NC"
CREATE TABLE table_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR)
<s>[INST] How many players were from high point, nc? context: CREATE TABLE table_11677100_15 (mlb_draft VARCHAR, hometown VARCHAR) [/INST] SELECT COUNT(mlb_draft) FROM table_11677100_15 WHERE hometown = "High Point, NC" </s>
How many Againsts have more than 15 wins?
SELECT COUNT(against) FROM table_name_84 WHERE wins > 15
CREATE TABLE table_name_84 (against VARCHAR, wins INTEGER)
<s>[INST] How many Againsts have more than 15 wins? context: CREATE TABLE table_name_84 (against VARCHAR, wins INTEGER) [/INST] SELECT COUNT(against) FROM table_name_84 WHERE wins > 15 </s>
When did they play the swindon wildcats away?
SELECT date FROM table_name_14 WHERE venue = "away" AND opponent = "swindon wildcats"
CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
<s>[INST] When did they play the swindon wildcats away? context: CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR) [/INST] SELECT date FROM table_name_14 WHERE venue = "away" AND opponent = "swindon wildcats" </s>
Which Finish has a Total of 288?
SELECT finish FROM table_name_12 WHERE total = 288
CREATE TABLE table_name_12 (finish VARCHAR, total VARCHAR)
<s>[INST] Which Finish has a Total of 288? context: CREATE TABLE table_name_12 (finish VARCHAR, total VARCHAR) [/INST] SELECT finish FROM table_name_12 WHERE total = 288 </s>
Who ran in the election where Claude Fuller was the incumbent?
SELECT candidates FROM table_1342338_5 WHERE incumbent = "Claude Fuller"
CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR)
<s>[INST] Who ran in the election where Claude Fuller was the incumbent? context: CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR) [/INST] SELECT candidates FROM table_1342338_5 WHERE incumbent = "Claude Fuller" </s>
What home team had an away team of Aston Villa?
SELECT home_team FROM table_name_33 WHERE away_team = "aston villa"
CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
<s>[INST] What home team had an away team of Aston Villa? context: CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team FROM table_name_33 WHERE away_team = "aston villa" </s>
What is the highest round played by Chris Phillips?
SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips"
CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)
<s>[INST] What is the highest round played by Chris Phillips? context: CREATE TABLE table_name_67 (round INTEGER, player VARCHAR) [/INST] SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips" </s>
What was the attendance at the game that resulted in w 24-20?
SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20"
CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR)
<s>[INST] What was the attendance at the game that resulted in w 24-20? context: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR) [/INST] SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20" </s>
Show the years and the official names of the host cities of competitions.
SELECT T2.Year, T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID
CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR)
<s>[INST] Show the years and the official names of the host cities of competitions. context: CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR) [/INST] SELECT T2.Year, T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID </s>
When Richmond is the Away team, what did they score?
SELECT away_team AS score FROM table_name_2 WHERE away_team = "richmond"
CREATE TABLE table_name_2 (away_team VARCHAR)
<s>[INST] When Richmond is the Away team, what did they score? context: CREATE TABLE table_name_2 (away_team VARCHAR) [/INST] SELECT away_team AS score FROM table_name_2 WHERE away_team = "richmond" </s>
Show the distinct fate of missions that involve ships with nationality "United States"
SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T2.Nationality = "United States"
CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR)
<s>[INST] Show the distinct fate of missions that involve ships with nationality "United States" context: CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR) [/INST] SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T2.Nationality = "United States" </s>
What was the title of the episode with production code 2J5515?
SELECT title FROM table_28582091_2 WHERE production_code = "2J5515"
CREATE TABLE table_28582091_2 (title VARCHAR, production_code VARCHAR)
<s>[INST] What was the title of the episode with production code 2J5515? context: CREATE TABLE table_28582091_2 (title VARCHAR, production_code VARCHAR) [/INST] SELECT title FROM table_28582091_2 WHERE production_code = "2J5515" </s>
state the wins of the team with 2 top 10
SELECT COUNT(wins) FROM table_2012187_1 WHERE top_10 = 2
CREATE TABLE table_2012187_1 (wins VARCHAR, top_10 VARCHAR)
<s>[INST] state the wins of the team with 2 top 10 context: CREATE TABLE table_2012187_1 (wins VARCHAR, top_10 VARCHAR) [/INST] SELECT COUNT(wins) FROM table_2012187_1 WHERE top_10 = 2 </s>
What was the attendance of the game on December 11, 2005?
SELECT attendance FROM table_name_82 WHERE date = "december 11, 2005"
CREATE TABLE table_name_82 (attendance VARCHAR, date VARCHAR)
<s>[INST] What was the attendance of the game on December 11, 2005? context: CREATE TABLE table_name_82 (attendance VARCHAR, date VARCHAR) [/INST] SELECT attendance FROM table_name_82 WHERE date = "december 11, 2005" </s>
What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16?
SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 16
CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR)
<s>[INST] What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16? context: CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR) [/INST] SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 16 </s>
What was the title of the song that peaked the charts at #1 with track 20?
SELECT song_title FROM table_name_78 WHERE chart_peak = "#1" AND track = 20
CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR)
<s>[INST] What was the title of the song that peaked the charts at #1 with track 20? context: CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR) [/INST] SELECT song_title FROM table_name_78 WHERE chart_peak = "#1" AND track = 20 </s>
What was the venue of the 400 M Hurdles for the Olympic Games?
SELECT venue FROM table_name_35 WHERE event = "400 m hurdles" AND tournament = "olympic games"
CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)
<s>[INST] What was the venue of the 400 M Hurdles for the Olympic Games? context: CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR) [/INST] SELECT venue FROM table_name_35 WHERE event = "400 m hurdles" AND tournament = "olympic games" </s>
What is the height in ft and m of the regions bank building?
SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building"
CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR)
<s>[INST] What is the height in ft and m of the regions bank building? context: CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR) [/INST] SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building" </s>
Name the score in the final for january 12, 2013
SELECT score_in_the_final FROM table_name_63 WHERE date = "january 12, 2013"
CREATE TABLE table_name_63 (score_in_the_final VARCHAR, date VARCHAR)
<s>[INST] Name the score in the final for january 12, 2013 context: CREATE TABLE table_name_63 (score_in_the_final VARCHAR, date VARCHAR) [/INST] SELECT score_in_the_final FROM table_name_63 WHERE date = "january 12, 2013" </s>
What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?
SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)"
CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR)
<s>[INST] What's the nationality of the player coming from Edmonton Oil Kings (WCHL)? context: CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR) [/INST] SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)" </s>
I want the result for team of giants
SELECT result FROM table_name_39 WHERE team = "giants"
CREATE TABLE table_name_39 (result VARCHAR, team VARCHAR)
<s>[INST] I want the result for team of giants context: CREATE TABLE table_name_39 (result VARCHAR, team VARCHAR) [/INST] SELECT result FROM table_name_39 WHERE team = "giants" </s>
What was the Result on Week 8?
SELECT result FROM table_name_50 WHERE week = 8
CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
<s>[INST] What was the Result on Week 8? context: CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR) [/INST] SELECT result FROM table_name_50 WHERE week = 8 </s>
What is the chassis more recent than 1967?
SELECT chassis FROM table_name_90 WHERE year > 1967
CREATE TABLE table_name_90 (chassis VARCHAR, year INTEGER)
<s>[INST] What is the chassis more recent than 1967? context: CREATE TABLE table_name_90 (chassis VARCHAR, year INTEGER) [/INST] SELECT chassis FROM table_name_90 WHERE year > 1967 </s>
What song title was written by Kal Mann and Bernie Lowe?
SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe"
CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR)
<s>[INST] What song title was written by Kal Mann and Bernie Lowe? context: CREATE TABLE table_name_14 (song_title VARCHAR, writer_s_ VARCHAR) [/INST] SELECT song_title FROM table_name_14 WHERE writer_s_ = "kal mann and bernie lowe" </s>
Name the number of rank for stone park
SELECT COUNT(rank) FROM table_22916979_5 WHERE densest_incorporated_place = "Stone Park"
CREATE TABLE table_22916979_5 (rank VARCHAR, densest_incorporated_place VARCHAR)
<s>[INST] Name the number of rank for stone park context: CREATE TABLE table_22916979_5 (rank VARCHAR, densest_incorporated_place VARCHAR) [/INST] SELECT COUNT(rank) FROM table_22916979_5 WHERE densest_incorporated_place = "Stone Park" </s>
What is the name of each course and the corresponding number of student enrollment?
SELECT T1.course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)
<s>[INST] What is the name of each course and the corresponding number of student enrollment? context: CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR) [/INST] SELECT T1.course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name </s>
What round did the College of Minnesota pick?
SELECT round FROM table_name_27 WHERE college = "minnesota"
CREATE TABLE table_name_27 (round VARCHAR, college VARCHAR)
<s>[INST] What round did the College of Minnesota pick? context: CREATE TABLE table_name_27 (round VARCHAR, college VARCHAR) [/INST] SELECT round FROM table_name_27 WHERE college = "minnesota" </s>