context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_61 (time VARCHAR, team VARCHAR)
SELECT time FROM table_name_61 WHERE team = "kawasaki zx10 1000cc"
What time did team kawasaki zx10 1000cc have?
<s>[INST]What time did team kawasaki zx10 1000cc have? Context: CREATE TABLE table_name_61 (time VARCHAR, team VARCHAR)[/INST]SELECT time FROM table_name_61 WHERE team = "kawasaki zx10 1000cc"</s>
CREATE TABLE table_name_16 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_16 WHERE name = "ronjay buenafe"
What position has ronjay buenafe as the name?
<s>[INST]What position has ronjay buenafe as the name? Context: CREATE TABLE table_name_16 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_16 WHERE name = "ronjay buenafe"</s>
CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE nationality = "canada" AND player = "jeff brown"
Which College/Junior/Club Team has a Nationality of Canada and Jeff brown?
<s>[INST]Which College/Junior/Club Team has a Nationality of Canada and Jeff brown? Context: CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_84 WHERE nationality = "canada" AND player = "jeff brow...
CREATE TABLE table_name_92 (goals VARCHAR, assists VARCHAR)
SELECT goals FROM table_name_92 WHERE assists = "5"
What are the goals of the assists of 5?
<s>[INST]What are the goals of the assists of 5? Context: CREATE TABLE table_name_92 (goals VARCHAR, assists VARCHAR)[/INST]SELECT goals FROM table_name_92 WHERE assists = "5"</s>
CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR)
SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2
What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2?
<s>[INST]What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2? Context: CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR)[/INST]SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2</s>
CREATE TABLE table_name_21 (location VARCHAR, year VARCHAR, international_captain VARCHAR)
SELECT location FROM table_name_21 WHERE year < 1998 AND international_captain = "david graham"
what is the location when the year is less than 1998 and the international captain is david graham?
<s>[INST]what is the location when the year is less than 1998 and the international captain is david graham? Context: CREATE TABLE table_name_21 (location VARCHAR, year VARCHAR, international_captain VARCHAR)[/INST]SELECT location FROM table_name_21 WHERE year < 1998 AND international_captain = "david graham"</s>
CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT tournament FROM table_name_77 WHERE 2009 = "1r"
Which tournament had a 2009 result of 1R?
<s>[INST]Which tournament had a 2009 result of 1R? Context: CREATE TABLE table_name_77 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_77 WHERE 2009 = "1r"</s>
CREATE TABLE table_name_59 (year_s_ VARCHAR, city VARCHAR)
SELECT year_s_ FROM table_name_59 WHERE city = "kunming"
what is the year(s) when the city is kunming?
<s>[INST]what is the year(s) when the city is kunming? Context: CREATE TABLE table_name_59 (year_s_ VARCHAR, city VARCHAR)[/INST]SELECT year_s_ FROM table_name_59 WHERE city = "kunming"</s>
CREATE TABLE table_name_88 (year VARCHAR, result VARCHAR, category VARCHAR)
SELECT year FROM table_name_88 WHERE result = "nominated" AND category = "outstanding actor in a musical"
Which Year has a nominated outstanding actor in a musical?
<s>[INST]Which Year has a nominated outstanding actor in a musical? Context: CREATE TABLE table_name_88 (year VARCHAR, result VARCHAR, category VARCHAR)[/INST]SELECT year FROM table_name_88 WHERE result = "nominated" AND category = "outstanding actor in a musical"</s>
CREATE TABLE table_name_18 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_18 WHERE loss = "bush (1–5)"
What was the date of the game with a loss of Bush (1–5)?
<s>[INST]What was the date of the game with a loss of Bush (1–5)? Context: CREATE TABLE table_name_18 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_18 WHERE loss = "bush (1–5)"</s>
CREATE TABLE table_name_2 (first_exercise INTEGER, second_exercise VARCHAR)
SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 18
What is the total for the first exercise and has 18 as the second exercise?
<s>[INST]What is the total for the first exercise and has 18 as the second exercise? Context: CREATE TABLE table_name_2 (first_exercise INTEGER, second_exercise VARCHAR)[/INST]SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 18</s>
CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR)
SELECT time FROM table_name_38 WHERE score = "80-34"
What is the Time with a Score that is 80-34?
<s>[INST]What is the Time with a Score that is 80-34? Context: CREATE TABLE table_name_38 (time VARCHAR, score VARCHAR)[/INST]SELECT time FROM table_name_38 WHERE score = "80-34"</s>
CREATE TABLE table_25647137_2 (points VARCHAR, player VARCHAR)
SELECT COUNT(points) FROM table_25647137_2 WHERE player = "Art Renner"
How many points did art renner have?
<s>[INST]How many points did art renner have? Context: CREATE TABLE table_25647137_2 (points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(points) FROM table_25647137_2 WHERE player = "Art Renner"</s>
CREATE TABLE Assessment_Notes (text_of_notes VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR)
SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = "Schuster"
Find the texts of assessment notes for teachers with last name "Schuster".
<s>[INST]Find the texts of assessment notes for teachers with last name "Schuster". Context: CREATE TABLE Assessment_Notes (text_of_notes VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR)[/INST]SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teache...
CREATE TABLE table_name_86 (goals_against INTEGER, lost VARCHAR, goals_for VARCHAR)
SELECT MIN(goals_against) FROM table_name_86 WHERE lost = 8 AND goals_for = 60
What is the smallest number of goals against when 8 games were lost, and the goals for are 60?
<s>[INST]What is the smallest number of goals against when 8 games were lost, and the goals for are 60? Context: CREATE TABLE table_name_86 (goals_against INTEGER, lost VARCHAR, goals_for VARCHAR)[/INST]SELECT MIN(goals_against) FROM table_name_86 WHERE lost = 8 AND goals_for = 60</s>
CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)
SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16"
What points have 1 for drawn, and 16 as a try bonus?
<s>[INST]What points have 1 for drawn, and 16 as a try bonus? Context: CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)[/INST]SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16"</s>
CREATE TABLE table_1342370_39 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342370_39 WHERE district = "South Carolina 2"
who is the candidate in district south carolina 2?
<s>[INST]who is the candidate in district south carolina 2? Context: CREATE TABLE table_1342370_39 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342370_39 WHERE district = "South Carolina 2"</s>
CREATE TABLE table_name_49 (scored INTEGER, result VARCHAR)
SELECT MIN(scored) FROM table_name_49 WHERE result = "46-18"
What is the smallest scored with a result of 46-18?
<s>[INST]What is the smallest scored with a result of 46-18? Context: CREATE TABLE table_name_49 (scored INTEGER, result VARCHAR)[/INST]SELECT MIN(scored) FROM table_name_49 WHERE result = "46-18"</s>
CREATE TABLE appointment (Physician VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID
List the name of physicians who took some appointment.
<s>[INST]List the name of physicians who took some appointment. Context: CREATE TABLE appointment (Physician VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)[/INST]SELECT T2.name FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID</s>
CREATE TABLE table_name_97 (qual VARCHAR, year VARCHAR)
SELECT qual FROM table_name_97 WHERE year = "1959"
What was the qualifying time of Jim Rathmann in 1959?
<s>[INST]What was the qualifying time of Jim Rathmann in 1959? Context: CREATE TABLE table_name_97 (qual VARCHAR, year VARCHAR)[/INST]SELECT qual FROM table_name_97 WHERE year = "1959"</s>
CREATE TABLE table_name_42 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_42 WHERE tournament = "atlantic city classic"
Who is the runner-up of Atlantic city classic?
<s>[INST]Who is the runner-up of Atlantic city classic? Context: CREATE TABLE table_name_42 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_42 WHERE tournament = "atlantic city classic"</s>
CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_42 WHERE catalog = "uici-1069"
What is the Label of the UICI-1069 Catalog?
<s>[INST]What is the Label of the UICI-1069 Catalog? Context: CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_42 WHERE catalog = "uici-1069"</s>
CREATE TABLE table_name_61 (points INTEGER, pct__percentage INTEGER)
SELECT AVG(points) FROM table_name_61 WHERE pct__percentage > 0.685
When the percent is larger than 0.685, what is the average number of points scored?
<s>[INST]When the percent is larger than 0.685, what is the average number of points scored? Context: CREATE TABLE table_name_61 (points INTEGER, pct__percentage INTEGER)[/INST]SELECT AVG(points) FROM table_name_61 WHERE pct__percentage > 0.685</s>
CREATE TABLE table_name_27 (date VARCHAR, winning_driver VARCHAR)
SELECT date FROM table_name_27 WHERE winning_driver = "antonio ascari"
What date was the winning driver Antonio Ascari?
<s>[INST]What date was the winning driver Antonio Ascari? Context: CREATE TABLE table_name_27 (date VARCHAR, winning_driver VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE winning_driver = "antonio ascari"</s>
CREATE TABLE table_name_24 (attendance VARCHAR, home VARCHAR)
SELECT COUNT(attendance) FROM table_name_24 WHERE home = "hawks"
What was the attendance when the Hawks played?
<s>[INST]What was the attendance when the Hawks played? Context: CREATE TABLE table_name_24 (attendance VARCHAR, home VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_24 WHERE home = "hawks"</s>
CREATE TABLE Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR)
SELECT T1.Participant_ID, T1.Participant_Type_Code, COUNT(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_ID
How many events have each participants attended? List the participant id, type and the number.
<s>[INST]How many events have each participants attended? List the participant id, type and the number. Context: CREATE TABLE Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR)[/INST]SELECT T1.Participant_ID, T1.Participant_Type_Code, COUNT...
CREATE TABLE table_name_51 (score INTEGER, place VARCHAR, player VARCHAR)
SELECT MAX(score) FROM table_name_51 WHERE place = "t5" AND player = "brandt jobe"
What was the highest score of t5 place finisher brandt jobe?
<s>[INST]What was the highest score of t5 place finisher brandt jobe? Context: CREATE TABLE table_name_51 (score INTEGER, place VARCHAR, player VARCHAR)[/INST]SELECT MAX(score) FROM table_name_51 WHERE place = "t5" AND player = "brandt jobe"</s>
CREATE TABLE table_name_40 (year VARCHAR, distance VARCHAR, jockey VARCHAR)
SELECT year FROM table_name_40 WHERE distance = "1-1/16" AND jockey = "ramon dominguez"
What year did jockey Ramon Dominguez have a distance of 1-1/16?
<s>[INST]What year did jockey Ramon Dominguez have a distance of 1-1/16? Context: CREATE TABLE table_name_40 (year VARCHAR, distance VARCHAR, jockey VARCHAR)[/INST]SELECT year FROM table_name_40 WHERE distance = "1-1/16" AND jockey = "ramon dominguez"</s>
CREATE TABLE table_24910733_2 (share VARCHAR, air_date VARCHAR)
SELECT COUNT(share) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
How many share figures are there for the episode that aired on October 17, 2007?
<s>[INST]How many share figures are there for the episode that aired on October 17, 2007? Context: CREATE TABLE table_24910733_2 (share VARCHAR, air_date VARCHAR)[/INST]SELECT COUNT(share) FROM table_24910733_2 WHERE air_date = "October 17, 2007"</s>
CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR)
SELECT bbc_two_total_viewing FROM table_name_57 WHERE year = "1999"
How much is the total BBC 2 viewing in 1999?
<s>[INST]How much is the total BBC 2 viewing in 1999? Context: CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR)[/INST]SELECT bbc_two_total_viewing FROM table_name_57 WHERE year = "1999"</s>
CREATE TABLE table_26757_4 (slovene VARCHAR, belarusian VARCHAR)
SELECT COUNT(slovene) FROM table_26757_4 WHERE belarusian = "рыба (rýba)"
When рыба (rýba) is the belarusian how many slovenes are there?
<s>[INST]When рыба (rýba) is the belarusian how many slovenes are there? Context: CREATE TABLE table_26757_4 (slovene VARCHAR, belarusian VARCHAR)[/INST]SELECT COUNT(slovene) FROM table_26757_4 WHERE belarusian = "рыба (rýba)"</s>
CREATE TABLE table_name_87 (driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR)
SELECT driving_force_ex FROM table_name_87 WHERE gt_force = "yes" AND g27_racing_wheel = "16"
GT Force of yes, and a G27 Racing Wheel of 16 involves which driving force ex?
<s>[INST]GT Force of yes, and a G27 Racing Wheel of 16 involves which driving force ex? Context: CREATE TABLE table_name_87 (driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR)[/INST]SELECT driving_force_ex FROM table_name_87 WHERE gt_force = "yes" AND g27_racing_wheel = "16"</s>
CREATE TABLE table_name_92 (Id VARCHAR)
SELECT 2007 FROM table_name_92 WHERE 2010 = "a"
Which 2007 has a 2010 of A?
<s>[INST]Which 2007 has a 2010 of A? Context: CREATE TABLE table_name_92 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_92 WHERE 2010 = "a"</s>
CREATE TABLE table_27704187_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_27704187_7 WHERE team = "Boston"
Who did the high rebounds in the game against Boston?
<s>[INST]Who did the high rebounds in the game against Boston? Context: CREATE TABLE table_27704187_7 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_27704187_7 WHERE team = "Boston"</s>
CREATE TABLE table_name_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland"
Which College/junior/club team (league) was the player from Switzerland from?
<s>[INST]Which College/junior/club team (league) was the player from Switzerland from? Context: CREATE TABLE table_name_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland"</s>
CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"
Name the total number of total with finish of t45
<s>[INST]Name the total number of total with finish of t45 Context: CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"</s>
CREATE TABLE table_name_86 (stations INTEGER, line VARCHAR)
SELECT SUM(stations) FROM table_name_86 WHERE line = "u 6"
What is the total number of stations with a line that is u 6?
<s>[INST]What is the total number of stations with a line that is u 6? Context: CREATE TABLE table_name_86 (stations INTEGER, line VARCHAR)[/INST]SELECT SUM(stations) FROM table_name_86 WHERE line = "u 6"</s>
CREATE TABLE table_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR)
SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800"
What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:?
<s>[INST]What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:? Context: CREATE TABLE table_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR)[/INST]SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800"</s>
CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_7 WHERE driver = "pedro diniz"
What is the Time/Retired value of driver Pedro Diniz?
<s>[INST]What is the Time/Retired value of driver Pedro Diniz? Context: CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_7 WHERE driver = "pedro diniz"</s>
CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR)
SELECT water FROM table_name_50 WHERE wood = "green"
Which water has green wood?
<s>[INST]Which water has green wood? Context: CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR)[/INST]SELECT water FROM table_name_50 WHERE wood = "green"</s>
CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_46 WHERE player = "chris riley"
What is Chris Riley's Money?
<s>[INST]What is Chris Riley's Money? Context: CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR)[/INST]SELECT money___$__ FROM table_name_46 WHERE player = "chris riley"</s>
CREATE TABLE table_20032301_3 (tom_emmer__r_ VARCHAR, matt_entenza__dfl_ VARCHAR)
SELECT COUNT(tom_emmer__r_) FROM table_20032301_3 WHERE matt_entenza__dfl_ = "38%"
How many polls show different percentages for Tom Emmer and 38% for Matt Entenza?
<s>[INST]How many polls show different percentages for Tom Emmer and 38% for Matt Entenza? Context: CREATE TABLE table_20032301_3 (tom_emmer__r_ VARCHAR, matt_entenza__dfl_ VARCHAR)[/INST]SELECT COUNT(tom_emmer__r_) FROM table_20032301_3 WHERE matt_entenza__dfl_ = "38%"</s>
CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER)
SELECT AVG(singapore) FROM table_name_80 WHERE london < 0
What is the average Singapore value with a London value less than 0?
<s>[INST]What is the average Singapore value with a London value less than 0? Context: CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER)[/INST]SELECT AVG(singapore) FROM table_name_80 WHERE london < 0</s>
CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR)
SELECT population FROM table_name_15 WHERE area = "11"
What is the population of area of 11?
<s>[INST]What is the population of area of 11? Context: CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR)[/INST]SELECT population FROM table_name_15 WHERE area = "11"</s>
CREATE TABLE table_name_27 (source VARCHAR, date VARCHAR)
SELECT source FROM table_name_27 WHERE date = "6 september"
What is the source on 6 September?
<s>[INST]What is the source on 6 September? Context: CREATE TABLE table_name_27 (source VARCHAR, date VARCHAR)[/INST]SELECT source FROM table_name_27 WHERE date = "6 september"</s>
CREATE TABLE table_20848569_9 (no INTEGER, total_goals VARCHAR, total_apps VARCHAR)
SELECT MIN(no) FROM table_20848569_9 WHERE total_goals = 1 AND total_apps = 33
Where total goals is 1 and total apps is 33, what is the smallest no.?
<s>[INST]Where total goals is 1 and total apps is 33, what is the smallest no.? Context: CREATE TABLE table_20848569_9 (no INTEGER, total_goals VARCHAR, total_apps VARCHAR)[/INST]SELECT MIN(no) FROM table_20848569_9 WHERE total_goals = 1 AND total_apps = 33</s>
CREATE TABLE table_name_51 (ihsaa_class VARCHAR, size VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_51 WHERE size < 400 AND mascot = "tigers"
What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?
<s>[INST]What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers? Context: CREATE TABLE table_name_51 (ihsaa_class VARCHAR, size VARCHAR, mascot VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_51 WHERE size < 400 AND mascot = "tigers"</s>
CREATE TABLE table_name_34 (scorers VARCHAR, ground VARCHAR, date VARCHAR)
SELECT scorers FROM table_name_34 WHERE ground = "a" AND date = "1 august 2008"
Who are the scorers on 1 August 2008, where the ground was A?
<s>[INST]Who are the scorers on 1 August 2008, where the ground was A? Context: CREATE TABLE table_name_34 (scorers VARCHAR, ground VARCHAR, date VARCHAR)[/INST]SELECT scorers FROM table_name_34 WHERE ground = "a" AND date = "1 august 2008"</s>
CREATE TABLE table_name_80 (team VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT team FROM table_name_80 WHERE laps = 65 AND grid < 20 AND driver = "scott pruett"
Which team did Scott Pruett drive for when the grid was smaller than 20 and there were 65 laps?
<s>[INST]Which team did Scott Pruett drive for when the grid was smaller than 20 and there were 65 laps? Context: CREATE TABLE table_name_80 (team VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT team FROM table_name_80 WHERE laps = 65 AND grid < 20 AND driver = "scott pruett"</s>
CREATE TABLE table_name_15 (Id VARCHAR)
SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill"
Who attended the school in 2008, that Deandria Hill attended in 2005?
<s>[INST]Who attended the school in 2008, that Deandria Hill attended in 2005? Context: CREATE TABLE table_name_15 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill"</s>
CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_68 WHERE date = "march 11"
Where did the game on March 11 take place and how many people attended?
<s>[INST]Where did the game on March 11 take place and how many people attended? Context: CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_68 WHERE date = "march 11"</s>
CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_94 WHERE college = "georgia tech"
What's the pick for Georgia tech?
<s>[INST]What's the pick for Georgia tech? Context: CREATE TABLE table_name_94 (pick VARCHAR, college VARCHAR)[/INST]SELECT pick FROM table_name_94 WHERE college = "georgia tech"</s>
CREATE TABLE table_name_5 (tries INTEGER, goals INTEGER)
SELECT MIN(tries) FROM table_name_5 WHERE goals < 0
Which Tries has a Goal smaller than 0?
<s>[INST]Which Tries has a Goal smaller than 0? Context: CREATE TABLE table_name_5 (tries INTEGER, goals INTEGER)[/INST]SELECT MIN(tries) FROM table_name_5 WHERE goals < 0</s>
CREATE TABLE table_22410316_17 (team_classification VARCHAR, combativity_prize VARCHAR)
SELECT team_classification FROM table_22410316_17 WHERE combativity_prize = "Ricardo Serrano"
what team had ricardo serrano for combativity prize?
<s>[INST]what team had ricardo serrano for combativity prize? Context: CREATE TABLE table_22410316_17 (team_classification VARCHAR, combativity_prize VARCHAR)[/INST]SELECT team_classification FROM table_22410316_17 WHERE combativity_prize = "Ricardo Serrano"</s>
CREATE TABLE table_name_98 (state_s__on_the_ballot VARCHAR, candidate VARCHAR)
SELECT state_s__on_the_ballot FROM table_name_98 WHERE candidate = "jack herer"
Name the staes on the ballot for jack herer
<s>[INST]Name the staes on the ballot for jack herer Context: CREATE TABLE table_name_98 (state_s__on_the_ballot VARCHAR, candidate VARCHAR)[/INST]SELECT state_s__on_the_ballot FROM table_name_98 WHERE candidate = "jack herer"</s>
CREATE TABLE table_name_64 (grid INTEGER, rider VARCHAR)
SELECT MAX(grid) FROM table_name_64 WHERE rider = "mika kallio"
what is the grid when the rider is mika kallio?
<s>[INST]what is the grid when the rider is mika kallio? Context: CREATE TABLE table_name_64 (grid INTEGER, rider VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_64 WHERE rider = "mika kallio"</s>
CREATE TABLE table_28939145_2 (Literate INTEGER, taluka_name VARCHAR)
SELECT MAX(Literate) AS male FROM table_28939145_2 WHERE taluka_name = "Nevasa"
How many literate males are there in the taluka name nevasa?
<s>[INST]How many literate males are there in the taluka name nevasa? Context: CREATE TABLE table_28939145_2 (Literate INTEGER, taluka_name VARCHAR)[/INST]SELECT MAX(Literate) AS male FROM table_28939145_2 WHERE taluka_name = "Nevasa"</s>
CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5
What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?
<s>[INST]What is the lowest number of dances with a less than 2 place and an average smaller than 27.5? Context: CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)[/INST]SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5</s>
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT 2009 FROM table_name_60 WHERE 2011 = "4r" AND 2008 = "2r"
How many sets were played in the tournament that had 4R in 2011 and 2R in 2008?
<s>[INST]How many sets were played in the tournament that had 4R in 2011 and 2R in 2008? Context: CREATE TABLE table_name_60 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_60 WHERE 2011 = "4r" AND 2008 = "2r"</s>
CREATE TABLE table_name_74 (chapter VARCHAR, chinese VARCHAR)
SELECT COUNT(chapter) FROM table_name_74 WHERE chinese = "釋宮"
Name the total number of chapter for chinese of 釋宮
<s>[INST]Name the total number of chapter for chinese of 釋宮 Context: CREATE TABLE table_name_74 (chapter VARCHAR, chinese VARCHAR)[/INST]SELECT COUNT(chapter) FROM table_name_74 WHERE chinese = "釋宮"</s>
CREATE TABLE table_name_55 (rank VARCHAR, time VARCHAR, lane VARCHAR)
SELECT COUNT(rank) FROM table_name_55 WHERE time = "2:15.98" AND lane > 7
What is the number of the rank when the time is 2:15.98, in a lane larger than 7?
<s>[INST]What is the number of the rank when the time is 2:15.98, in a lane larger than 7? Context: CREATE TABLE table_name_55 (rank VARCHAR, time VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_55 WHERE time = "2:15.98" AND lane > 7</s>
CREATE TABLE table_name_13 (launched VARCHAR, completed VARCHAR)
SELECT launched FROM table_name_13 WHERE completed = "25 february 1936"
What is the launched date of the destroyer completed 25 February 1936?
<s>[INST]What is the launched date of the destroyer completed 25 February 1936? Context: CREATE TABLE table_name_13 (launched VARCHAR, completed VARCHAR)[/INST]SELECT launched FROM table_name_13 WHERE completed = "25 february 1936"</s>
CREATE TABLE table_name_76 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_76 WHERE result = "draw"
When did the draw happen?
<s>[INST]When did the draw happen? Context: CREATE TABLE table_name_76 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE result = "draw"</s>
CREATE TABLE table_21109892_1 (value__int_ INTEGER, value_world_rank VARCHAR)
SELECT MIN(value__int_) AS $1000_ FROM table_21109892_1 WHERE value_world_rank = "23"
When the value rank is 23, what is the value?
<s>[INST]When the value rank is 23, what is the value? Context: CREATE TABLE table_21109892_1 (value__int_ INTEGER, value_world_rank VARCHAR)[/INST]SELECT MIN(value__int_) AS $1000_ FROM table_21109892_1 WHERE value_world_rank = "23"</s>
CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR)
SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford"
What kind of Week 2 that has a Week 1 of mandy ashford?
<s>[INST]What kind of Week 2 that has a Week 1 of mandy ashford? Context: CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR)[/INST]SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford"</s>
CREATE TABLE table_name_3 (team_2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora"
What was the 1st leg when Team 2 was Aurora?
<s>[INST]What was the 1st leg when Team 2 was Aurora? Context: CREATE TABLE table_name_3 (team_2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_3 WHERE team_2 = "aurora"</s>
CREATE TABLE table_name_31 (LNER VARCHAR, class VARCHAR)
SELECT LNER AS class FROM table_name_31 WHERE class = "6db"
What LNER Class has a Class of 6db?
<s>[INST]What LNER Class has a Class of 6db? Context: CREATE TABLE table_name_31 (LNER VARCHAR, class VARCHAR)[/INST]SELECT LNER AS class FROM table_name_31 WHERE class = "6db"</s>
CREATE TABLE table_name_75 (position VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_name_75 WHERE years_for_rockets = "2004-05"
What is the position for the Rockets years of 2004-05?
<s>[INST]What is the position for the Rockets years of 2004-05? Context: CREATE TABLE table_name_75 (position VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT position FROM table_name_75 WHERE years_for_rockets = "2004-05"</s>
CREATE TABLE table_name_99 (race VARCHAR, location VARCHAR)
SELECT race AS Winner FROM table_name_99 WHERE location = "spa-francorchamps"
Who was the winner at spa-francorchamps?
<s>[INST]Who was the winner at spa-francorchamps? Context: CREATE TABLE table_name_99 (race VARCHAR, location VARCHAR)[/INST]SELECT race AS Winner FROM table_name_99 WHERE location = "spa-francorchamps"</s>
CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR)
SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying"
What is the main date when the round is third round qualifying?
<s>[INST]What is the main date when the round is third round qualifying? Context: CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR)[/INST]SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying"</s>
CREATE TABLE table_24856090_1 (premiere INTEGER, english_title VARCHAR)
SELECT MAX(premiere) FROM table_24856090_1 WHERE english_title = "The Mysteries of Love"
What is the premiere number for the episode titled "The Mysteries of Love" in English?
<s>[INST]What is the premiere number for the episode titled "The Mysteries of Love" in English? Context: CREATE TABLE table_24856090_1 (premiere INTEGER, english_title VARCHAR)[/INST]SELECT MAX(premiere) FROM table_24856090_1 WHERE english_title = "The Mysteries of Love"</s>
CREATE TABLE table_name_45 (name VARCHAR, format VARCHAR, frequency VARCHAR)
SELECT name FROM table_name_45 WHERE format = "contemporary christian music" AND frequency = "97.9 fm"
Which owner has a Contemporary Christian music station on 97.9 FM?
<s>[INST]Which owner has a Contemporary Christian music station on 97.9 FM? Context: CREATE TABLE table_name_45 (name VARCHAR, format VARCHAR, frequency VARCHAR)[/INST]SELECT name FROM table_name_45 WHERE format = "contemporary christian music" AND frequency = "97.9 fm"</s>
CREATE TABLE table_13336122_3 (no_in_season INTEGER, no_in_series VARCHAR)
SELECT MIN(no_in_season) FROM table_13336122_3 WHERE no_in_series = 22
What's the smallest episode number of an episode whose number in the series is 22?
<s>[INST]What's the smallest episode number of an episode whose number in the series is 22? Context: CREATE TABLE table_13336122_3 (no_in_season INTEGER, no_in_series VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_13336122_3 WHERE no_in_series = 22</s>
CREATE TABLE table_25016824_2 (eliminated VARCHAR, vote VARCHAR)
SELECT eliminated FROM table_25016824_2 WHERE vote = "8-1"
Who was eliminated when the vote was 8-1?
<s>[INST]Who was eliminated when the vote was 8-1? Context: CREATE TABLE table_25016824_2 (eliminated VARCHAR, vote VARCHAR)[/INST]SELECT eliminated FROM table_25016824_2 WHERE vote = "8-1"</s>
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)
SELECT COUNT(comment) FROM table_17978052_2 WHERE borough_or_census_area = "Bethel (CA)"
How many comments are there in the Bethel (CA) Borough area?
<s>[INST]How many comments are there in the Bethel (CA) Borough area? Context: CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)[/INST]SELECT COUNT(comment) FROM table_17978052_2 WHERE borough_or_census_area = "Bethel (CA)"</s>
CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT manager FROM table_name_96 WHERE losses < 287 AND wins < 80 AND years = "1904" AND wpct = 0.296
Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?
<s>[INST]Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904? Context: CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT manager FROM table_name_96 WHERE losses < 287 AND wins < 80 AND years = "...
CREATE TABLE table_1888157_1 (SOl INTEGER)
SELECT MIN(SOl) FROM table_1888157_1
What is the lowest SOL?
<s>[INST]What is the lowest SOL? Context: CREATE TABLE table_1888157_1 (SOl INTEGER)[/INST]SELECT MIN(SOl) FROM table_1888157_1</s>
CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_75 WHERE score = "111-89"
What record has the score 111-89?
<s>[INST]What record has the score 111-89? Context: CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_75 WHERE score = "111-89"</s>
CREATE TABLE song (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR)
SELECT Name FROM singer WHERE NOT Singer_ID IN (SELECT Singer_ID FROM song)
List the name of singers that do not have any song.
<s>[INST]List the name of singers that do not have any song. Context: CREATE TABLE song (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR)[/INST]SELECT Name FROM singer WHERE NOT Singer_ID IN (SELECT Singer_ID FROM song)</s>
CREATE TABLE table_27733258_6 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_27733258_6 WHERE score = "L 105–123 (OT)"
Name the location attendance for l 105–123 (ot)
<s>[INST]Name the location attendance for l 105–123 (ot) Context: CREATE TABLE table_27733258_6 (location_attendance VARCHAR, score VARCHAR)[/INST]SELECT location_attendance FROM table_27733258_6 WHERE score = "L 105–123 (OT)"</s>
CREATE TABLE table_name_13 (displacement_cc VARCHAR, engine VARCHAR, year VARCHAR)
SELECT displacement_cc FROM table_name_13 WHERE engine = "i6" AND year = "1936"
What cc displacement has an i6 engine in 1936?
<s>[INST]What cc displacement has an i6 engine in 1936? Context: CREATE TABLE table_name_13 (displacement_cc VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT displacement_cc FROM table_name_13 WHERE engine = "i6" AND year = "1936"</s>
CREATE TABLE table_22011138_7 (pos VARCHAR)
SELECT 08 AS _pts FROM table_22011138_7 WHERE pos = 3
If the POS is 3, what is the 08 points?
<s>[INST]If the POS is 3, what is the 08 points? Context: CREATE TABLE table_22011138_7 (pos VARCHAR)[/INST]SELECT 08 AS _pts FROM table_22011138_7 WHERE pos = 3</s>
CREATE TABLE table_name_6 (athlete VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT athlete FROM table_name_6 WHERE notes = "fb" AND rank < 5
Who has less than 5 rank and notes of fb?
<s>[INST]Who has less than 5 rank and notes of fb? Context: CREATE TABLE table_name_6 (athlete VARCHAR, notes VARCHAR, rank VARCHAR)[/INST]SELECT athlete FROM table_name_6 WHERE notes = "fb" AND rank < 5</s>
CREATE TABLE table_15887683_16 (country VARCHAR, content VARCHAR)
SELECT COUNT(country) FROM table_15887683_16 WHERE content = "arte"
How many countries have content of arte?
<s>[INST]How many countries have content of arte? Context: CREATE TABLE table_15887683_16 (country VARCHAR, content VARCHAR)[/INST]SELECT COUNT(country) FROM table_15887683_16 WHERE content = "arte"</s>
CREATE TABLE table_23284271_9 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_23284271_9 WHERE record = "46-22"
How many games had been played when the Mavericks had a 46-22 record?
<s>[INST]How many games had been played when the Mavericks had a 46-22 record? Context: CREATE TABLE table_23284271_9 (game INTEGER, record VARCHAR)[/INST]SELECT MAX(game) FROM table_23284271_9 WHERE record = "46-22"</s>
CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER)
SELECT MAX(attendance) FROM table_name_15 WHERE game < 1
Tell me the most attendance for game less than 1
<s>[INST]Tell me the most attendance for game less than 1 Context: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER)[/INST]SELECT MAX(attendance) FROM table_name_15 WHERE game < 1</s>
CREATE TABLE table_name_70 (total VARCHAR, finish VARCHAR)
SELECT total FROM table_name_70 WHERE finish = "t66"
What is the total for the player whose finish was t66?
<s>[INST]What is the total for the player whose finish was t66? Context: CREATE TABLE table_name_70 (total VARCHAR, finish VARCHAR)[/INST]SELECT total FROM table_name_70 WHERE finish = "t66"</s>
CREATE TABLE table_name_52 (Id VARCHAR)
SELECT 2005 FROM table_name_52 WHERE 2007 = "grand slam tournaments"
What is the 2005 that has a grand slam tournaments in 2007?
<s>[INST]What is the 2005 that has a grand slam tournaments in 2007? Context: CREATE TABLE table_name_52 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_52 WHERE 2007 = "grand slam tournaments"</s>
CREATE TABLE table_17848578_1 (result VARCHAR, game_site VARCHAR)
SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County Stadium"
How many results are there when the game was at the Atlanta-Fulton county stadium?
<s>[INST]How many results are there when the game was at the Atlanta-Fulton county stadium? Context: CREATE TABLE table_17848578_1 (result VARCHAR, game_site VARCHAR)[/INST]SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County Stadium"</s>
CREATE TABLE table_10236830_6 (film_name VARCHAR, actors_name VARCHAR)
SELECT film_name FROM table_10236830_6 WHERE actors_name = "Alla Sergiyko"
Which films does the actor Alla Sergiyko star in?
<s>[INST]Which films does the actor Alla Sergiyko star in? Context: CREATE TABLE table_10236830_6 (film_name VARCHAR, actors_name VARCHAR)[/INST]SELECT film_name FROM table_10236830_6 WHERE actors_name = "Alla Sergiyko"</s>
CREATE TABLE table_name_7 (home_town VARCHAR, player VARCHAR)
SELECT home_town FROM table_name_7 WHERE player = "steve zakuani"
From what town was Steve Zakuani?
<s>[INST]From what town was Steve Zakuani? Context: CREATE TABLE table_name_7 (home_town VARCHAR, player VARCHAR)[/INST]SELECT home_town FROM table_name_7 WHERE player = "steve zakuani"</s>
CREATE TABLE table_1590967_6 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)
SELECT musical_guest__song_performed_ FROM table_1590967_6 WHERE guest_host = "Elle Macpherson"
Name the musical guest where guest host is elle macpherson
<s>[INST]Name the musical guest where guest host is elle macpherson Context: CREATE TABLE table_1590967_6 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)[/INST]SELECT musical_guest__song_performed_ FROM table_1590967_6 WHERE guest_host = "Elle Macpherson"</s>
CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_26429771_1 WHERE no_in_season = 8
What is the name of chapter 8 of season 4?
<s>[INST]What is the name of chapter 8 of season 4? Context: CREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR)[/INST]SELECT title FROM table_26429771_1 WHERE no_in_season = 8</s>
CREATE TABLE table_26736040_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_26736040_1 WHERE us_viewers__millions_ = "1.04"
What is every title when U.S. viewers is 1.04 million.
<s>[INST]What is every title when U.S. viewers is 1.04 million. Context: CREATE TABLE table_26736040_1 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_26736040_1 WHERE us_viewers__millions_ = "1.04"</s>
CREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)
SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306
What is the total number of episodes listed with a production code of 306?
<s>[INST]What is the total number of episodes listed with a production code of 306? Context: CREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306</s>
CREATE TABLE table_name_97 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_97 WHERE event = "pfc: put up or shut up"
What is the result for pfc: put up or shut up?
<s>[INST]What is the result for pfc: put up or shut up? Context: CREATE TABLE table_name_97 (res VARCHAR, event VARCHAR)[/INST]SELECT res FROM table_name_97 WHERE event = "pfc: put up or shut up"</s>
CREATE TABLE table_name_61 (gold INTEGER, rank VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT SUM(gold) FROM table_name_61 WHERE silver = 2 AND nation = "bulgaria (bul)" AND rank < 18
How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank?
<s>[INST]How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank? Context: CREATE TABLE table_name_61 (gold INTEGER, rank VARCHAR, silver VARCHAR, nation VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_61 WHERE silver = 2 AND nation = "bulgaria (bul)" AND rank < 18</s>
CREATE TABLE student (dept_code VARCHAR, stu_hrs INTEGER)
SELECT SUM(stu_hrs), dept_code FROM student GROUP BY dept_code
Find the total number of hours have done for all students in each department.
<s>[INST]Find the total number of hours have done for all students in each department. Context: CREATE TABLE student (dept_code VARCHAR, stu_hrs INTEGER)[/INST]SELECT SUM(stu_hrs), dept_code FROM student GROUP BY dept_code</s>
CREATE TABLE table_name_48 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_48 WHERE tournament = "melbourne"
What is the Outcome of the Melbourne Tournament?
<s>[INST]What is the Outcome of the Melbourne Tournament? Context: CREATE TABLE table_name_48 (outcome VARCHAR, tournament VARCHAR)[/INST]SELECT outcome FROM table_name_48 WHERE tournament = "melbourne"</s>
CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR)
SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls"
If the residence is Chagrin falls, who is the representative?
<s>[INST]If the residence is Chagrin falls, who is the representative? Context: CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR)[/INST]SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls"</s>