context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_15 (player VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT player FROM table_name_15 WHERE draft = 1971 AND pick > 7
Who is the player from the 1971 draft with a pick greater than 7?
<s>[INST]Who is the player from the 1971 draft with a pick greater than 7? Context: CREATE TABLE table_name_15 (player VARCHAR, draft VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_15 WHERE draft = 1971 AND pick > 7</s>
CREATE TABLE table_name_55 (rank INTEGER, current_seating_capacity VARCHAR)
SELECT MIN(rank) FROM table_name_55 WHERE current_seating_capacity = 137 OFFSET 000
What is the lowest Rank, when the Current Seating Capacity is 137,000?
<s>[INST]What is the lowest Rank, when the Current Seating Capacity is 137,000? Context: CREATE TABLE table_name_55 (rank INTEGER, current_seating_capacity VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_55 WHERE current_seating_capacity = 137 OFFSET 000</s>
CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR)
SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = "5.7"
How many timeslots received a rating of 5.7?
<s>[INST]How many timeslots received a rating of 5.7? Context: CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR)[/INST]SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = "5.7"</s>
CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_23211041_10 WHERE team = "Utah"
Name the location attendance for utah
<s>[INST]Name the location attendance for utah Context: CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_23211041_10 WHERE team = "Utah"</s>
CREATE TABLE table_1354805_6 (average VARCHAR, number_of_dances VARCHAR)
SELECT average FROM table_1354805_6 WHERE number_of_dances = 1
tell the competitions where the mean is 1
<s>[INST]tell the competitions where the mean is 1 Context: CREATE TABLE table_1354805_6 (average VARCHAR, number_of_dances VARCHAR)[/INST]SELECT average FROM table_1354805_6 WHERE number_of_dances = 1</s>
CREATE TABLE people (sex VARCHAR, weight INTEGER)
SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex
Find the average and minimum weight for each gender.
<s>[INST]Find the average and minimum weight for each gender. Context: CREATE TABLE people (sex VARCHAR, weight INTEGER)[/INST]SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex</s>
CREATE TABLE table_name_53 (run_4 VARCHAR, run_3 VARCHAR)
SELECT run_4 FROM table_name_53 WHERE run_3 = "1:26.63"
Which Run 4 has a Run 3 of 1:26.63?
<s>[INST]Which Run 4 has a Run 3 of 1:26.63? Context: CREATE TABLE table_name_53 (run_4 VARCHAR, run_3 VARCHAR)[/INST]SELECT run_4 FROM table_name_53 WHERE run_3 = "1:26.63"</s>
CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_16 WHERE home_team = "hawthorn"
What venue is Hawthorn the home team at?
<s>[INST]What venue is Hawthorn the home team at? Context: CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_16 WHERE home_team = "hawthorn"</s>
CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38
what is the least draws when the position is lower than 5, the points is 62 and played is more than 38?
<s>[INST]what is the least draws when the position is lower than 5, the points is 62 and played is more than 38? Context: CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38</s>
CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_30 WHERE result = "w 23-7"
What was the Opponent in the game with a Result of W 23-7?
<s>[INST]What was the Opponent in the game with a Result of W 23-7? Context: CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_30 WHERE result = "w 23-7"</s>
CREATE TABLE table_name_10 (title VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT title FROM table_name_10 WHERE director = "friz freleng" AND production_number = 1553
What is the title of the film with production number 1553, directed by Friz Freleng?
<s>[INST]What is the title of the film with production number 1553, directed by Friz Freleng? Context: CREATE TABLE table_name_10 (title VARCHAR, director VARCHAR, production_number VARCHAR)[/INST]SELECT title FROM table_name_10 WHERE director = "friz freleng" AND production_number = 1553</s>
CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR)
SELECT rd FROM table_1132568_3 WHERE grand_prix = "Canadian grand_prix"
What number is the Canadian Grand Prix on the list?
<s>[INST]What number is the Canadian Grand Prix on the list? Context: CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR)[/INST]SELECT rd FROM table_1132568_3 WHERE grand_prix = "Canadian grand_prix"</s>
CREATE TABLE table_name_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR)
SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 0
What is the high loss total for players with zero wins and a win % greater than 0?
<s>[INST]What is the high loss total for players with zero wins and a win % greater than 0? Context: CREATE TABLE table_name_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 0</s>
CREATE TABLE table_name_17 (opponent VARCHAR, site VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_17 WHERE site = "homewood field" AND score = "5-8"
Who was the Opponent at Homewood Field with a Score of 5-8?
<s>[INST]Who was the Opponent at Homewood Field with a Score of 5-8? Context: CREATE TABLE table_name_17 (opponent VARCHAR, site VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_17 WHERE site = "homewood field" AND score = "5-8"</s>
CREATE TABLE table_name_71 (year VARCHAR, wins VARCHAR)
SELECT year FROM table_name_71 WHERE wins = "0"
What is Year, when Wins is "0"?
<s>[INST]What is Year, when Wins is "0"? Context: CREATE TABLE table_name_71 (year VARCHAR, wins VARCHAR)[/INST]SELECT year FROM table_name_71 WHERE wins = "0"</s>
CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR)
SELECT croatian FROM table_25008327_8 WHERE english = "dog"
What is every value for Croatian when value for English is dog?
<s>[INST]What is every value for Croatian when value for English is dog? Context: CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR)[/INST]SELECT croatian FROM table_25008327_8 WHERE english = "dog"</s>
CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR)
SELECT competition FROM table_name_17 WHERE lost = "1" AND drew = "3" AND played = "9"
What competition did they have 1 lost, 3 draws, and played 9 games?
<s>[INST]What competition did they have 1 lost, 3 draws, and played 9 games? Context: CREATE TABLE table_name_17 (competition VARCHAR, played VARCHAR, lost VARCHAR, drew VARCHAR)[/INST]SELECT competition FROM table_name_17 WHERE lost = "1" AND drew = "3" AND played = "9"</s>
CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR)
SELECT visitor FROM table_name_23 WHERE home = "minnesota"
Which visitor lives in Minnesota?
<s>[INST]Which visitor lives in Minnesota? Context: CREATE TABLE table_name_23 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_23 WHERE home = "minnesota"</s>
CREATE TABLE table_1342256_11 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1342256_11 WHERE incumbent = "Stephen Pace"
What year was Stephen Pace elected?
<s>[INST]What year was Stephen Pace elected? Context: CREATE TABLE table_1342256_11 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1342256_11 WHERE incumbent = "Stephen Pace"</s>
CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, last_name VARCHAR)
SELECT T1.date_incident_start, date_incident_end FROM Behavior_Incident AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.last_name = "Fahey"
Find the start and end dates of behavior incidents of students with last name "Fahey".
<s>[INST]Find the start and end dates of behavior incidents of students with last name "Fahey". Context: CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, last_name VARCHAR)[/INST]SELECT T1.date_incident_start, date_incident_end FROM Behavior_In...
CREATE TABLE table_14752049_1 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR)
SELECT international_tourist_arrivals__2011_ FROM table_14752049_1 WHERE country = "Italy"
How many tourist arrivals occurred in 2011 in the country of Italy?
<s>[INST]How many tourist arrivals occurred in 2011 in the country of Italy? Context: CREATE TABLE table_14752049_1 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR)[/INST]SELECT international_tourist_arrivals__2011_ FROM table_14752049_1 WHERE country = "Italy"</s>
CREATE TABLE table_name_9 (opponent VARCHAR, home_away VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_9 WHERE home_away = "home" AND date = "july 27"
Name the opponent which has a home/away of home and date of july 27
<s>[INST]Name the opponent which has a home/away of home and date of july 27 Context: CREATE TABLE table_name_9 (opponent VARCHAR, home_away VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_9 WHERE home_away = "home" AND date = "july 27"</s>
CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_name_35 WHERE tries_against = "38"
Name the tries with tries against of 38
<s>[INST]Name the tries with tries against of 38 Context: CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR)[/INST]SELECT tries_for FROM table_name_35 WHERE tries_against = "38"</s>
CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (staff_id VARCHAR, date_assigned_from VARCHAR)
SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.date_assigned_from LIKE "2016%"
Return the name and gender of the staff who was assigned in 2016.
<s>[INST]Return the name and gender of the staff who was assigned in 2016. Context: CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (staff_id VARCHAR, date_assigned_from VARCHAR)[/INST]SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN ...
CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_84 WHERE driver = "alex yoong"
Who built Alex Yoong's car?
<s>[INST]Who built Alex Yoong's car? Context: CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_84 WHERE driver = "alex yoong"</s>
CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR)
SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772
What is the total number of Losses, when Wins is "16", and when Against is less than 772?
<s>[INST]What is the total number of Losses, when Wins is "16", and when Against is less than 772? Context: CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772</s>
CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_63 WHERE competition = "continental qualifier" AND date = "february 23, 2003"
What was the score in the Continental Qualifier on February 23, 2003?
<s>[INST]What was the score in the Continental Qualifier on February 23, 2003? Context: CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_63 WHERE competition = "continental qualifier" AND date = "february 23, 2003"</s>
CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic"
What's Round has a Surface of hard and Opponent of Jelena Simic?
<s>[INST]What's Round has a Surface of hard and Opponent of Jelena Simic? Context: CREATE TABLE table_name_51 (round VARCHAR, surface VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic"</s>
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT 2011 FROM table_name_10 WHERE 2012 = "grand slam tournaments"
What is the 2011 value of the 2012 grand slam tournaments?
<s>[INST]What is the 2011 value of the 2012 grand slam tournaments? Context: CREATE TABLE table_name_10 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_10 WHERE 2012 = "grand slam tournaments"</s>
CREATE TABLE table_25668203_2 (location VARCHAR, most_laps_led VARCHAR)
SELECT location FROM table_25668203_2 WHERE most_laps_led = "Patrick McKenna"
What location(s) did patrick mckenna lead the most laps?
<s>[INST]What location(s) did patrick mckenna lead the most laps? Context: CREATE TABLE table_25668203_2 (location VARCHAR, most_laps_led VARCHAR)[/INST]SELECT location FROM table_25668203_2 WHERE most_laps_led = "Patrick McKenna"</s>
CREATE TABLE table_name_97 (interview_subject VARCHAR)
SELECT 20 AS _questions FROM table_name_97 WHERE interview_subject = "camille paglia"
Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?
<s>[INST]Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia? Context: CREATE TABLE table_name_97 (interview_subject VARCHAR)[/INST]SELECT 20 AS _questions FROM table_name_97 WHERE interview_subject = "camille paglia"</s>
CREATE TABLE table_name_66 (total VARCHAR, year_s__won VARCHAR)
SELECT COUNT(total) FROM table_name_66 WHERE year_s__won = "1936"
What is the Total for the Player who won in 1936?
<s>[INST]What is the Total for the Player who won in 1936? Context: CREATE TABLE table_name_66 (total VARCHAR, year_s__won VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_66 WHERE year_s__won = "1936"</s>
CREATE TABLE table_name_98 (rank INTEGER, third VARCHAR, winners VARCHAR)
SELECT AVG(rank) FROM table_name_98 WHERE third = 2 AND winners < 2
Which Rank has a Third of 2, and Winners smaller than 2?
<s>[INST]Which Rank has a Third of 2, and Winners smaller than 2? Context: CREATE TABLE table_name_98 (rank INTEGER, third VARCHAR, winners VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_98 WHERE third = 2 AND winners < 2</s>
CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_70 WHERE record = "36-39"
On which day was there a record of 36-39?
<s>[INST]On which day was there a record of 36-39? Context: CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE record = "36-39"</s>
CREATE TABLE table_27927185_1 (episode__number INTEGER, viewers__millions_ VARCHAR)
SELECT MIN(episode__number) FROM table_27927185_1 WHERE viewers__millions_ = "4.03"
What is the lowest episode number that had 4.03 million viewers?
<s>[INST]What is the lowest episode number that had 4.03 million viewers? Context: CREATE TABLE table_27927185_1 (episode__number INTEGER, viewers__millions_ VARCHAR)[/INST]SELECT MIN(episode__number) FROM table_27927185_1 WHERE viewers__millions_ = "4.03"</s>
CREATE TABLE table_26375386_22 (rank VARCHAR, couple VARCHAR)
SELECT rank FROM table_26375386_22 WHERE couple = "Mikey and Melanie"
Name the rank for mikey and melanie
<s>[INST]Name the rank for mikey and melanie Context: CREATE TABLE table_26375386_22 (rank VARCHAR, couple VARCHAR)[/INST]SELECT rank FROM table_26375386_22 WHERE couple = "Mikey and Melanie"</s>
CREATE TABLE table_21795986_1 (original_number VARCHAR, withdrawn VARCHAR)
SELECT original_number FROM table_21795986_1 WHERE withdrawn = "9/07/1999"
When 9/07/1999 is the date of withdrawn what is the original number?
<s>[INST]When 9/07/1999 is the date of withdrawn what is the original number? Context: CREATE TABLE table_21795986_1 (original_number VARCHAR, withdrawn VARCHAR)[/INST]SELECT original_number FROM table_21795986_1 WHERE withdrawn = "9/07/1999"</s>
CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR)
SELECT AVG(position) FROM table_name_53 WHERE points < 34 AND draws = 7 AND club = "sd eibar"
What is the position when the points were less than 34, draws of 7, and a Club of sd eibar?
<s>[INST]What is the position when the points were less than 34, draws of 7, and a Club of sd eibar? Context: CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR)[/INST]SELECT AVG(position) FROM table_name_53 WHERE points < 34 AND draws = 7 AND club = "sd eibar"</s>
CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)
SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2"
How many drivers on the williams team had a margin of defeat of 2?
<s>[INST]How many drivers on the williams team had a margin of defeat of 2? Context: CREATE TABLE table_10753917_1 (driver VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)[/INST]SELECT COUNT(driver) FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2"</s>
CREATE TABLE table_23285805_4 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_23285805_4 WHERE record = "5-5"
If the record is 5-5, what is the game maximum?
<s>[INST]If the record is 5-5, what is the game maximum? Context: CREATE TABLE table_23285805_4 (game INTEGER, record VARCHAR)[/INST]SELECT MAX(game) FROM table_23285805_4 WHERE record = "5-5"</s>
CREATE TABLE table_name_44 (reg_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND pick__number > 223
What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger than 223?
<s>[INST]What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger than 223? Context: CREATE TABLE table_name_44 (reg_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR, player VARCHAR)[/INST]SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND p...
CREATE TABLE table_28697228_4 (total_offense INTEGER, opponent VARCHAR)
SELECT MAX(total_offense) FROM table_28697228_4 WHERE opponent = "Penn State"
What is the number of total offense when the opponentis Penn State?
<s>[INST]What is the number of total offense when the opponentis Penn State? Context: CREATE TABLE table_28697228_4 (total_offense INTEGER, opponent VARCHAR)[/INST]SELECT MAX(total_offense) FROM table_28697228_4 WHERE opponent = "Penn State"</s>
CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain"
which Player has a To par of –7, and a Country of spain?
<s>[INST]which Player has a To par of –7, and a Country of spain? Context: CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain"</s>
CREATE TABLE table_name_83 (playoffs VARCHAR, year VARCHAR, open_cup VARCHAR)
SELECT playoffs FROM table_name_83 WHERE year < 2012 AND open_cup = "did not enter"
Which Playoffs have a Year smaller than 2012, and an Open Cup of did not enter?
<s>[INST]Which Playoffs have a Year smaller than 2012, and an Open Cup of did not enter? Context: CREATE TABLE table_name_83 (playoffs VARCHAR, year VARCHAR, open_cup VARCHAR)[/INST]SELECT playoffs FROM table_name_83 WHERE year < 2012 AND open_cup = "did not enter"</s>
CREATE TABLE table_name_96 (silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_96 WHERE gold > 0 AND bronze < 23 AND total > 22 AND nation = "saint kitts and nevis"
What's the total number of Silver that has Gold that's larger than 0, Bronze that's smaller than 23, a Total that's larger than 22, and has the Nation of Saint Kitts and Nevis?
<s>[INST]What's the total number of Silver that has Gold that's larger than 0, Bronze that's smaller than 23, a Total that's larger than 22, and has the Nation of Saint Kitts and Nevis? Context: CREATE TABLE table_name_96 (silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(s...
CREATE TABLE Employee (salary INTEGER)
SELECT COUNT(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000
How many employees have salary between 100000 and 200000?
<s>[INST]How many employees have salary between 100000 and 200000? Context: CREATE TABLE Employee (salary INTEGER)[/INST]SELECT COUNT(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000</s>
CREATE TABLE table_18536769_1 (frequency VARCHAR, owner VARCHAR)
SELECT frequency FROM table_18536769_1 WHERE owner = "Vista Radio"
When vista radio is the owner what is the frequency?
<s>[INST]When vista radio is the owner what is the frequency? Context: CREATE TABLE table_18536769_1 (frequency VARCHAR, owner VARCHAR)[/INST]SELECT frequency FROM table_18536769_1 WHERE owner = "Vista Radio"</s>
CREATE TABLE table_name_96 (nationality VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_96 WHERE time = "1:55.35"
What nationality has 1:55.35 as the time?
<s>[INST]What nationality has 1:55.35 as the time? Context: CREATE TABLE table_name_96 (nationality VARCHAR, time VARCHAR)[/INST]SELECT nationality FROM table_name_96 WHERE time = "1:55.35"</s>
CREATE TABLE table_name_62 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_62 WHERE result = "bye"
When was the Bye week?
<s>[INST]When was the Bye week? Context: CREATE TABLE table_name_62 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE result = "bye"</s>
CREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR)
SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-4"
Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4?
<s>[INST]Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4? Context: CREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR)[/INST]SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-4"</s>
CREATE TABLE table_name_9 (tournament VARCHAR, opponent_in_final VARCHAR)
SELECT tournament FROM table_name_9 WHERE opponent_in_final = "mansour bahrami eric winogradsky"
In which Tournament was Mansour Bahrami Eric Winogradsky
<s>[INST]In which Tournament was Mansour Bahrami Eric Winogradsky Context: CREATE TABLE table_name_9 (tournament VARCHAR, opponent_in_final VARCHAR)[/INST]SELECT tournament FROM table_name_9 WHERE opponent_in_final = "mansour bahrami eric winogradsky"</s>
CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)
SELECT category FROM table_name_25 WHERE year < 2006 AND result = "nominated" AND title = "cold feet"
What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet?
<s>[INST]What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? Context: CREATE TABLE table_name_25 (category VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT category FROM table_name_25 WHERE year < 2006 AND result = "nominated" AND title = "cold feet"</...
CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR)
SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50:1"
Tell me the VIN code for compression ratio of 10.50:1
<s>[INST]Tell me the VIN code for compression ratio of 10.50:1 Context: CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR)[/INST]SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50:1"</s>
CREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR)
SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = "David Baddiel and Maureen Lipman"
Name the scores for david baddiel and maureen lipman
<s>[INST]Name the scores for david baddiel and maureen lipman Context: CREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR)[/INST]SELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = "David Baddiel and Maureen Lipman"</s>
CREATE TABLE table_24496403_1 (completed VARCHAR, ship VARCHAR)
SELECT COUNT(completed) FROM table_24496403_1 WHERE ship = "Carysfort"
How many ships were named Carysfort?
<s>[INST]How many ships were named Carysfort? Context: CREATE TABLE table_24496403_1 (completed VARCHAR, ship VARCHAR)[/INST]SELECT COUNT(completed) FROM table_24496403_1 WHERE ship = "Carysfort"</s>
CREATE TABLE table_2618113_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_2618113_1 WHERE production_code = "K0120"
What was the airdate of k0120?
<s>[INST]What was the airdate of k0120? Context: CREATE TABLE table_2618113_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_2618113_1 WHERE production_code = "K0120"</s>
CREATE TABLE table_name_18 (finish VARCHAR, to_par VARCHAR)
SELECT finish FROM table_name_18 WHERE to_par = "+18"
What is the finish when the to par is +18?
<s>[INST]What is the finish when the to par is +18? Context: CREATE TABLE table_name_18 (finish VARCHAR, to_par VARCHAR)[/INST]SELECT finish FROM table_name_18 WHERE to_par = "+18"</s>
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue"
Who came in 3rd at Venue?
<s>[INST]Who came in 3rd at Venue? Context: CREATE TABLE table_name_99 (Id VARCHAR)[/INST]SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue"</s>
CREATE TABLE table_1012730_1 (wins INTEGER, year VARCHAR)
SELECT MIN(wins) FROM table_1012730_1 WHERE year = 1983
How many wins happened in 1983?
<s>[INST]How many wins happened in 1983? Context: CREATE TABLE table_1012730_1 (wins INTEGER, year VARCHAR)[/INST]SELECT MIN(wins) FROM table_1012730_1 WHERE year = 1983</s>
CREATE TABLE Student (LName VARCHAR, age INTEGER)
SELECT LName FROM Student WHERE age = (SELECT MIN(age) FROM Student)
What is the last name of the youngest student?
<s>[INST]What is the last name of the youngest student? Context: CREATE TABLE Student (LName VARCHAR, age INTEGER)[/INST]SELECT LName FROM Student WHERE age = (SELECT MIN(age) FROM Student)</s>
CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods"
What is the To par and holds the t8 place of the United States player Tiger Woods?
<s>[INST]What is the To par and holds the t8 place of the United States player Tiger Woods? Context: CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods"</s>
CREATE TABLE table_name_88 (round INTEGER, res VARCHAR, opponent VARCHAR)
SELECT MIN(round) FROM table_name_88 WHERE res = "draw" AND opponent = "mari kaneko"
What is the smallest round resulting in a draw with an Opponent of mari kaneko?
<s>[INST]What is the smallest round resulting in a draw with an Opponent of mari kaneko? Context: CREATE TABLE table_name_88 (round INTEGER, res VARCHAR, opponent VARCHAR)[/INST]SELECT MIN(round) FROM table_name_88 WHERE res = "draw" AND opponent = "mari kaneko"</s>
CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR)
SELECT couple FROM table_23662272_4 WHERE number_of_dances = 6
What was the name of the couple if the number of dances is 6?
<s>[INST]What was the name of the couple if the number of dances is 6? Context: CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR)[/INST]SELECT couple FROM table_23662272_4 WHERE number_of_dances = 6</s>
CREATE TABLE table_name_93 (date VARCHAR, type VARCHAR, works_number VARCHAR)
SELECT date FROM table_name_93 WHERE type = "ds4-4-750" AND works_number = "74409"
What is Date, when Type is DS4-4-750, and when Works Number is 74409?
<s>[INST]What is Date, when Type is DS4-4-750, and when Works Number is 74409? Context: CREATE TABLE table_name_93 (date VARCHAR, type VARCHAR, works_number VARCHAR)[/INST]SELECT date FROM table_name_93 WHERE type = "ds4-4-750" AND works_number = "74409"</s>
CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)
SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics"
Which Series has a Site of ames and a Sport of w gymnastics?
<s>[INST]Which Series has a Site of ames and a Sport of w gymnastics? Context: CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)[/INST]SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics"</s>
CREATE TABLE table_name_55 (set_5 VARCHAR, set_3 VARCHAR)
SELECT set_5 FROM table_name_55 WHERE set_3 = "25-23"
What is the set 5 with a 25-23 set 3?
<s>[INST]What is the set 5 with a 25-23 set 3? Context: CREATE TABLE table_name_55 (set_5 VARCHAR, set_3 VARCHAR)[/INST]SELECT set_5 FROM table_name_55 WHERE set_3 = "25-23"</s>
CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)
SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クロサギ"
What is the total number of episodes for クロサギ?
<s>[INST]What is the total number of episodes for クロサギ? Context: CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)[/INST]SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クロサギ"</s>
CREATE TABLE table_1104312_5 (area_in_km² VARCHAR, original_name VARCHAR)
SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur"
What is the area in km2 for the district whose original name was Kecamatan Bogor Timur?
<s>[INST]What is the area in km2 for the district whose original name was Kecamatan Bogor Timur? Context: CREATE TABLE table_1104312_5 (area_in_km² VARCHAR, original_name VARCHAR)[/INST]SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur"</s>
CREATE TABLE table_name_38 (date_s__administered VARCHAR, meg_whitman VARCHAR)
SELECT date_s__administered FROM table_name_38 WHERE meg_whitman = "60%"
When did Meg Whitman get 60%?
<s>[INST]When did Meg Whitman get 60%? Context: CREATE TABLE table_name_38 (date_s__administered VARCHAR, meg_whitman VARCHAR)[/INST]SELECT date_s__administered FROM table_name_38 WHERE meg_whitman = "60%"</s>
CREATE TABLE table_name_70 (silver INTEGER, gold INTEGER)
SELECT MIN(silver) FROM table_name_70 WHERE gold < 0
what is the lowest amount of silver when the gold is less than 0?
<s>[INST]what is the lowest amount of silver when the gold is less than 0? Context: CREATE TABLE table_name_70 (silver INTEGER, gold INTEGER)[/INST]SELECT MIN(silver) FROM table_name_70 WHERE gold < 0</s>
CREATE TABLE table_name_19 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_name_19 WHERE team = "alex morales motorsports"
What is the engine for the team of Alex Morales Motorsports?
<s>[INST]What is the engine for the team of Alex Morales Motorsports? Context: CREATE TABLE table_name_19 (engine VARCHAR, team VARCHAR)[/INST]SELECT engine FROM table_name_19 WHERE team = "alex morales motorsports"</s>
CREATE TABLE table_name_99 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_99 WHERE venue = "ullevaal"
What Round is in Ullevaal?
<s>[INST]What Round is in Ullevaal? Context: CREATE TABLE table_name_99 (round VARCHAR, venue VARCHAR)[/INST]SELECT round FROM table_name_99 WHERE venue = "ullevaal"</s>
CREATE TABLE table_2701625_1 (male_life_expectancy INTEGER, country VARCHAR)
SELECT MAX(male_life_expectancy) FROM table_2701625_1 WHERE country = "Pakistan"
Name the most male life expectancy for pakistan
<s>[INST]Name the most male life expectancy for pakistan Context: CREATE TABLE table_2701625_1 (male_life_expectancy INTEGER, country VARCHAR)[/INST]SELECT MAX(male_life_expectancy) FROM table_2701625_1 WHERE country = "Pakistan"</s>
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_29 WHERE to_par = "+1" AND country = "scotland"
WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND?
<s>[INST]WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND? Context: CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_29 WHERE to_par = "+1" AND country = "scotland"</s>
CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_86 WHERE gold > 2 AND total < 14 AND silver = 4
What is the bronze with more than 2 gold and less than 14 total and 4 silver?
<s>[INST]What is the bronze with more than 2 gold and less than 14 total and 4 silver? Context: CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_86 WHERE gold > 2 AND total < 14 AND silver = 4</s>
CREATE TABLE table_name_19 (ground VARCHAR, away_team VARCHAR)
SELECT ground FROM table_name_19 WHERE away_team = "essendon"
What was the ground for away team essendon?
<s>[INST]What was the ground for away team essendon? Context: CREATE TABLE table_name_19 (ground VARCHAR, away_team VARCHAR)[/INST]SELECT ground FROM table_name_19 WHERE away_team = "essendon"</s>
CREATE TABLE table_name_69 (tie_no VARCHAR, date VARCHAR)
SELECT tie_no FROM table_name_69 WHERE date = "9 january 1956"
Which Tie number was played on 9 January 1956?
<s>[INST]Which Tie number was played on 9 January 1956? Context: CREATE TABLE table_name_69 (tie_no VARCHAR, date VARCHAR)[/INST]SELECT tie_no FROM table_name_69 WHERE date = "9 january 1956"</s>
CREATE TABLE table_name_28 (money_raised VARCHAR, _2q VARCHAR, total_receipts VARCHAR)
SELECT money_raised, _2q FROM table_name_28 WHERE total_receipts = "$63,075,927"
How much money was raised in the 2Q when the total receipts were $63,075,927?
<s>[INST]How much money was raised in the 2Q when the total receipts were $63,075,927? Context: CREATE TABLE table_name_28 (money_raised VARCHAR, _2q VARCHAR, total_receipts VARCHAR)[/INST]SELECT money_raised, _2q FROM table_name_28 WHERE total_receipts = "$63,075,927"</s>
CREATE TABLE table_25926120_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)
SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best Actress"
Who won best actress?
<s>[INST]Who won best actress? Context: CREATE TABLE table_25926120_3 (awardee_s_ VARCHAR, name_of_award VARCHAR)[/INST]SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best Actress"</s>
CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR)
SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = "stock car" AND year = 1999
What Nation of citizenship has a stock car vehicle with a year of 1999?
<s>[INST]What Nation of citizenship has a stock car vehicle with a year of 1999? Context: CREATE TABLE table_name_78 (nation_of_citizenship VARCHAR, type_of_vehicle VARCHAR, year VARCHAR)[/INST]SELECT nation_of_citizenship FROM table_name_78 WHERE type_of_vehicle = "stock car" AND year = 1999</s>
CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR)
SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"
What's the total number of moves with a result of ½–½ and a black of Anand before 1999?
<s>[INST]What's the total number of moves with a result of ½–½ and a black of Anand before 1999? Context: CREATE TABLE table_name_52 (moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"</s>
CREATE TABLE table_1342270_17 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342270_17 WHERE incumbent = "Noble Jones Gregory"
Who were the candidates when Noble Jones Gregory was incumbent?
<s>[INST]Who were the candidates when Noble Jones Gregory was incumbent? Context: CREATE TABLE table_1342270_17 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342270_17 WHERE incumbent = "Noble Jones Gregory"</s>
CREATE TABLE table_name_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)
SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "may 11" AND set_1 = "25-20"
What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20?
<s>[INST]What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20? Context: CREATE TABLE table_name_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "may 11" AND set_1 = "25-20"</s>
CREATE TABLE table_name_42 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_42 WHERE team_2 = "mukungwa"
What is Agg., when Team 2 is Mukungwa?
<s>[INST]What is Agg., when Team 2 is Mukungwa? Context: CREATE TABLE table_name_42 (agg VARCHAR, team_2 VARCHAR)[/INST]SELECT agg FROM table_name_42 WHERE team_2 = "mukungwa"</s>
CREATE TABLE table_15887683_6 (hdtv VARCHAR, n° VARCHAR)
SELECT hdtv FROM table_15887683_6 WHERE n° = 378
Name the hdtv when number is 378
<s>[INST]Name the hdtv when number is 378 Context: CREATE TABLE table_15887683_6 (hdtv VARCHAR, n° VARCHAR)[/INST]SELECT hdtv FROM table_15887683_6 WHERE n° = 378</s>
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004"
What is the Attendance of the game on December 12, 2004?
<s>[INST]What is the Attendance of the game on December 12, 2004? Context: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004"</s>
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "august 30"
Who was the opponent on August 30?
<s>[INST]Who was the opponent on August 30? Context: CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_16 WHERE date = "august 30"</s>
CREATE TABLE table_15592941_1 (position VARCHAR, college VARCHAR)
SELECT position FROM table_15592941_1 WHERE college = "Florida State"
What position(s) do players from florida state play?
<s>[INST]What position(s) do players from florida state play? Context: CREATE TABLE table_15592941_1 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_15592941_1 WHERE college = "Florida State"</s>
CREATE TABLE table_name_82 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961"
What is the low week from october 15, 1961?
<s>[INST]What is the low week from october 15, 1961? Context: CREATE TABLE table_name_82 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961"</s>
CREATE TABLE table_name_16 (population__2010_census_ INTEGER, administrative_division VARCHAR, area__km²_ VARCHAR)
SELECT SUM(population__2010_census_) FROM table_name_16 WHERE administrative_division = "japeri" AND area__km²_ < 82.9
What was the sum of the population in 2010 for the division of japeri with an area of 82.9 squared km?
<s>[INST]What was the sum of the population in 2010 for the division of japeri with an area of 82.9 squared km? Context: CREATE TABLE table_name_16 (population__2010_census_ INTEGER, administrative_division VARCHAR, area__km²_ VARCHAR)[/INST]SELECT SUM(population__2010_census_) FROM table_name_16 WHERE administrative_d...
CREATE TABLE table_name_47 (poles VARCHAR, position VARCHAR)
SELECT poles FROM table_name_47 WHERE position = "8th"
Which poles were there for the 8th position?
<s>[INST]Which poles were there for the 8th position? Context: CREATE TABLE table_name_47 (poles VARCHAR, position VARCHAR)[/INST]SELECT poles FROM table_name_47 WHERE position = "8th"</s>
CREATE TABLE table_name_69 (champion VARCHAR, score VARCHAR, location VARCHAR, year VARCHAR)
SELECT champion FROM table_name_69 WHERE location = "sopot" AND year < 2006 AND score = "6–4, 6–7(7), 6–3"
What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?
<s>[INST]What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3? Context: CREATE TABLE table_name_69 (champion VARCHAR, score VARCHAR, location VARCHAR, year VARCHAR)[/INST]SELECT champion FROM table_name_69 WHERE location = "sopot" AND year < 2006 AND score = "6–4, 6–7(7), 6–3"</s>
CREATE TABLE table_name_66 (album VARCHAR, number VARCHAR)
SELECT album FROM table_name_66 WHERE number = 10
Which album is #10?
<s>[INST]Which album is #10? Context: CREATE TABLE table_name_66 (album VARCHAR, number VARCHAR)[/INST]SELECT album FROM table_name_66 WHERE number = 10</s>
CREATE TABLE table_name_49 (points INTEGER, place VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_49 WHERE place > 7 AND draw = 4
What is the average number of points for places over 7 and having a draw order of 4?
<s>[INST]What is the average number of points for places over 7 and having a draw order of 4? Context: CREATE TABLE table_name_49 (points INTEGER, place VARCHAR, draw VARCHAR)[/INST]SELECT AVG(points) FROM table_name_49 WHERE place > 7 AND draw = 4</s>
CREATE TABLE table_name_96 (class VARCHAR, quantity VARCHAR)
SELECT class FROM table_name_96 WHERE quantity = 4
what is the class when the quantity is 4?
<s>[INST]what is the class when the quantity is 4? Context: CREATE TABLE table_name_96 (class VARCHAR, quantity VARCHAR)[/INST]SELECT class FROM table_name_96 WHERE quantity = 4</s>
CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_15 WHERE away_team = "north melbourne"
What was the home teams score when North Melbourne played as the away team?
<s>[INST]What was the home teams score when North Melbourne played as the away team? Context: CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_15 WHERE away_team = "north melbourne"</s>
CREATE TABLE table_name_38 (nominee VARCHAR, category VARCHAR)
SELECT nominee FROM table_name_38 WHERE category = "best female performer"
Who was nominated for best female performer?
<s>[INST]Who was nominated for best female performer? Context: CREATE TABLE table_name_38 (nominee VARCHAR, category VARCHAR)[/INST]SELECT nominee FROM table_name_38 WHERE category = "best female performer"</s>
CREATE TABLE table_name_8 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT MAX(goals_for) FROM table_name_8 WHERE losses < 16 AND wins < 11 AND goal_difference > -9
What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9?
<s>[INST]What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9? Context: CREATE TABLE table_name_8 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT MAX(goals_for) FROM table_name_8 WHERE losses < 16 AND wins < 11 AND goal_d...
CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)
SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july"
What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July?
<s>[INST]What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July? Context: CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)[/INST]SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july"...
CREATE TABLE table_2668243_17 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_2668243_17 WHERE candidates = "Robert Monell (J) 63.6% Tilly Lynde 36.4%"
Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4%
<s>[INST]Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4% Context: CREATE TABLE table_2668243_17 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_2668243_17 WHERE candidates = "Robert Monell (J) 63.6% Tilly Lynde 36.4%"</s>