context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_86 (silver INTEGER, total VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_86 WHERE total < 10 AND gold > 1
Total smaller than 10, and a Gold larger than 1 then what is the lowest silver?
<s>[INST]Total smaller than 10, and a Gold larger than 1 then what is the lowest silver? Context: CREATE TABLE table_name_86 (silver INTEGER, total VARCHAR, gold VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_86 WHERE total < 10 AND gold > 1</s>
CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR)
SELECT AVG(lower_index_kcal__nm_3) FROM table_name_5 WHERE lower_index_mj__nm_3 = 74.54 AND upper_index_kcal__nm_3 < 19 OFFSET 376
What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper index Kcal/ Nm 3 smaller than 19,376, and a Lower index MJ/ Nm 3 of 74.54?
<s>[INST]What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper index Kcal/ Nm 3 smaller than 19,376, and a Lower index MJ/ Nm 3 of 74.54? Context: CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR)[/INST]SELECT AVG(lower_inde...
CREATE TABLE table_24431264_16 (points VARCHAR, player VARCHAR)
SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = "Victor Hănescu"
How many players named victor hănescu played?
<s>[INST]How many players named victor hănescu played? Context: CREATE TABLE table_24431264_16 (points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = "Victor Hănescu"</s>
CREATE TABLE table_25342713_5 (blocks INTEGER, steals VARCHAR)
SELECT MAX(blocks) FROM table_25342713_5 WHERE steals = 20
If the Steals are 20, what are the blocks?
<s>[INST]If the Steals are 20, what are the blocks? Context: CREATE TABLE table_25342713_5 (blocks INTEGER, steals VARCHAR)[/INST]SELECT MAX(blocks) FROM table_25342713_5 WHERE steals = 20</s>
CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_13 WHERE date = "apr 6"
What is the tournament on Apr 6?
<s>[INST]What is the tournament on Apr 6? Context: CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_13 WHERE date = "apr 6"</s>
CREATE TABLE table_name_75 (attendance INTEGER, result VARCHAR, week VARCHAR)
SELECT AVG(attendance) FROM table_name_75 WHERE result = "w 23-21" AND week < 5
Which Attendance has a Result of w 23-21, and a Week smaller than 5?
<s>[INST]Which Attendance has a Result of w 23-21, and a Week smaller than 5? Context: CREATE TABLE table_name_75 (attendance INTEGER, result VARCHAR, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_75 WHERE result = "w 23-21" AND week < 5</s>
CREATE TABLE table_name_28 (event VARCHAR, round VARCHAR, record VARCHAR)
SELECT event FROM table_name_28 WHERE round = 1 AND record = "5-1"
Which event is in round 1 with a record at 5-1?
<s>[INST]Which event is in round 1 with a record at 5-1? Context: CREATE TABLE table_name_28 (event VARCHAR, round VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_28 WHERE round = 1 AND record = "5-1"</s>
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_15 WHERE venue = "junction oval"
When the VFL played at Junction Oval what was the away score?
<s>[INST]When the VFL played at Junction Oval what was the away score? Context: CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_15 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_10 (state VARCHAR, team VARCHAR)
SELECT state FROM table_name_10 WHERE team = "gwangju fc"
What is the State with Gwangju Fc as the team?
<s>[INST]What is the State with Gwangju Fc as the team? Context: CREATE TABLE table_name_10 (state VARCHAR, team VARCHAR)[/INST]SELECT state FROM table_name_10 WHERE team = "gwangju fc"</s>
CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR)
SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and friz freleng"
Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng?
<s>[INST]Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng? Context: CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR)[/INST]SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and...
CREATE TABLE table_30011_2 (reference VARCHAR, example VARCHAR)
SELECT reference FROM table_30011_2 WHERE example = "AF117"
What is every reference for the example of AF117?
<s>[INST]What is every reference for the example of AF117? Context: CREATE TABLE table_30011_2 (reference VARCHAR, example VARCHAR)[/INST]SELECT reference FROM table_30011_2 WHERE example = "AF117"</s>
CREATE TABLE table_1277350_7 (thursday_day_five VARCHAR, friday_day_six VARCHAR)
SELECT thursday_day_five FROM table_1277350_7 WHERE friday_day_six = "პარასკევი p'arask'evi"
What is thursday day five when friday day six is პარასკევი p'arask'evi?
<s>[INST]What is thursday day five when friday day six is პარასკევი p'arask'evi? Context: CREATE TABLE table_1277350_7 (thursday_day_five VARCHAR, friday_day_six VARCHAR)[/INST]SELECT thursday_day_five FROM table_1277350_7 WHERE friday_day_six = "პარასკევი p'arask'evi"</s>
CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_17325580_6 WHERE date = "December 12"
What is every location attendance on the date December 12?
<s>[INST]What is every location attendance on the date December 12? Context: CREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_17325580_6 WHERE date = "December 12"</s>
CREATE TABLE table_1676073_13 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_1676073_13 WHERE points_for = "539"
How many losses does the club with 539 points for have?
<s>[INST]How many losses does the club with 539 points for have? Context: CREATE TABLE table_1676073_13 (lost VARCHAR, points_for VARCHAR)[/INST]SELECT lost FROM table_1676073_13 WHERE points_for = "539"</s>
CREATE TABLE table_name_75 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)
SELECT MIN(delegates) FROM table_name_75 WHERE candidate = "john mccain" AND counties < 45
What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
<s>[INST]What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates? Context: CREATE TABLE table_name_75 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)[/INST]SELECT MIN(delegates) FROM table_name_75 WHERE candidate = "john mccain" AND counties < 45</s>
CREATE TABLE table_name_40 (year INTEGER, mixed_doubles VARCHAR)
SELECT MIN(year) FROM table_name_40 WHERE mixed_doubles = "wang wei lu ying"
Which is the earliest year that had mixed doubles for wang wei lu ying?
<s>[INST]Which is the earliest year that had mixed doubles for wang wei lu ying? Context: CREATE TABLE table_name_40 (year INTEGER, mixed_doubles VARCHAR)[/INST]SELECT MIN(year) FROM table_name_40 WHERE mixed_doubles = "wang wei lu ying"</s>
CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR)
SELECT l_g FROM table_19018191_5 WHERE player = "Ermengol"
Name the lg for ermengol
<s>[INST]Name the lg for ermengol Context: CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR)[/INST]SELECT l_g FROM table_19018191_5 WHERE player = "Ermengol"</s>
CREATE TABLE table_name_75 (year_commissioned INTEGER, gross_head__metres_ VARCHAR, average_annual_output__million_kwh_ VARCHAR)
SELECT MAX(year_commissioned) FROM table_name_75 WHERE gross_head__metres_ = 60 AND average_annual_output__million_kwh_ < 59
What is the Year commissioned of the power station with a Gross head of 60 metres and Average annual output of less than 59 million KWh?
<s>[INST]What is the Year commissioned of the power station with a Gross head of 60 metres and Average annual output of less than 59 million KWh? Context: CREATE TABLE table_name_75 (year_commissioned INTEGER, gross_head__metres_ VARCHAR, average_annual_output__million_kwh_ VARCHAR)[/INST]SELECT MAX(year_commissioned) ...
CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?
<s>[INST]What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg? Context: CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)[/INST]SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"</s>
CREATE TABLE table_24039597_26 (stumped VARCHAR, innings VARCHAR)
SELECT stumped FROM table_24039597_26 WHERE innings = 143
What is stumped when inning is 143?
<s>[INST]What is stumped when inning is 143? Context: CREATE TABLE table_24039597_26 (stumped VARCHAR, innings VARCHAR)[/INST]SELECT stumped FROM table_24039597_26 WHERE innings = 143</s>
CREATE TABLE table_23887174_1 (center VARCHAR, area__km²_ VARCHAR)
SELECT center FROM table_23887174_1 WHERE area__km²_ = 23860
What's the center of the province that spreads out on 23860 km2?
<s>[INST]What's the center of the province that spreads out on 23860 km2? Context: CREATE TABLE table_23887174_1 (center VARCHAR, area__km²_ VARCHAR)[/INST]SELECT center FROM table_23887174_1 WHERE area__km²_ = 23860</s>
CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR)
SELECT COUNT(launch_date) FROM table_22274142_1 WHERE transmission = "Digital"
How many launch dates are there for digital transmission?
<s>[INST]How many launch dates are there for digital transmission? Context: CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR)[/INST]SELECT COUNT(launch_date) FROM table_22274142_1 WHERE transmission = "Digital"</s>
CREATE TABLE table_21321804_3 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_21321804_3 WHERE cfl_team = "Winnipeg Blue Bombers"
Which player plays for the Winnipeg Blue Bombers?
<s>[INST]Which player plays for the Winnipeg Blue Bombers? Context: CREATE TABLE table_21321804_3 (player VARCHAR, cfl_team VARCHAR)[/INST]SELECT player FROM table_21321804_3 WHERE cfl_team = "Winnipeg Blue Bombers"</s>
CREATE TABLE table_name_60 (worldwide_gross VARCHAR, movie VARCHAR)
SELECT worldwide_gross FROM table_name_60 WHERE movie = "jab tak hai jaan"
How did the jab tak hai jaan movie gross worldwide?
<s>[INST]How did the jab tak hai jaan movie gross worldwide? Context: CREATE TABLE table_name_60 (worldwide_gross VARCHAR, movie VARCHAR)[/INST]SELECT worldwide_gross FROM table_name_60 WHERE movie = "jab tak hai jaan"</s>
CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR)
SELECT peak FROM table_name_14 WHERE project_name = "talakan ph 1"
What is the Peak with a Project Name that is talakan ph 1?
<s>[INST]What is the Peak with a Project Name that is talakan ph 1? Context: CREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR)[/INST]SELECT peak FROM table_name_14 WHERE project_name = "talakan ph 1"</s>
CREATE TABLE table_name_45 (release_date VARCHAR, time VARCHAR, recorded VARCHAR)
SELECT release_date FROM table_name_45 WHERE time = "2:50" AND recorded = "10/29/76"
Tell me the release date record on 10/29/76 and a time on 2:50
<s>[INST]Tell me the release date record on 10/29/76 and a time on 2:50 Context: CREATE TABLE table_name_45 (release_date VARCHAR, time VARCHAR, recorded VARCHAR)[/INST]SELECT release_date FROM table_name_45 WHERE time = "2:50" AND recorded = "10/29/76"</s>
CREATE TABLE table_name_93 (against INTEGER, byes INTEGER)
SELECT AVG(against) FROM table_name_93 WHERE byes < 3
What was the against were there were less than 3 byes?
<s>[INST]What was the against were there were less than 3 byes? Context: CREATE TABLE table_name_93 (against INTEGER, byes INTEGER)[/INST]SELECT AVG(against) FROM table_name_93 WHERE byes < 3</s>
CREATE TABLE table_name_2 (opponent VARCHAR, event VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_2 WHERE event = "sb 24 - return of the heavyweights 2" AND method = "tko (knee and punches)"
Which opponent's event was sb 24 - return of the heavyweights 2, and had a method of TKO (knee and punches)?
<s>[INST]Which opponent's event was sb 24 - return of the heavyweights 2, and had a method of TKO (knee and punches)? Context: CREATE TABLE table_name_2 (opponent VARCHAR, event VARCHAR, method VARCHAR)[/INST]SELECT opponent FROM table_name_2 WHERE event = "sb 24 - return of the heavyweights 2" AND method = "tko (knee ...
CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR)
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)"
What is the width feet in meeters for the truss with a source of nbi (2009)?
<s>[INST]What is the width feet in meeters for the truss with a source of nbi (2009)? Context: CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR)[/INST]SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)"</s>
CREATE TABLE table_name_60 (Id VARCHAR)
SELECT 2010 FROM table_name_60 WHERE 2005 = "1r"
What shows for 2010 when 2005 shows 1r?
<s>[INST]What shows for 2010 when 2005 shows 1r? Context: CREATE TABLE table_name_60 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_60 WHERE 2005 = "1r"</s>
CREATE TABLE table_name_63 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_63 WHERE opponent_in_the_final = "nathalie dechy meilen tu"
What was the surface where the opponent was Nathalie Dechy Meilen Tu?
<s>[INST]What was the surface where the opponent was Nathalie Dechy Meilen Tu? Context: CREATE TABLE table_name_63 (surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT surface FROM table_name_63 WHERE opponent_in_the_final = "nathalie dechy meilen tu"</s>
CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_70 WHERE visitor = "trail blazers"
Who was the home team where Trail Blazers were the visitor?
<s>[INST]Who was the home team where Trail Blazers were the visitor? Context: CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_70 WHERE visitor = "trail blazers"</s>
CREATE TABLE table_name_3 (circuit VARCHAR, winner VARCHAR, race VARCHAR)
SELECT circuit FROM table_name_3 WHERE winner = "stan jones" AND race = "phillip island trophy race"
what is the circuit when the winner is stan jones and the race is phillip island trophy race?
<s>[INST]what is the circuit when the winner is stan jones and the race is phillip island trophy race? Context: CREATE TABLE table_name_3 (circuit VARCHAR, winner VARCHAR, race VARCHAR)[/INST]SELECT circuit FROM table_name_3 WHERE winner = "stan jones" AND race = "phillip island trophy race"</s>
CREATE TABLE table_name_80 (city VARCHAR, host VARCHAR)
SELECT city FROM table_name_80 WHERE host = "university of montana"
Which city is the University of Montana located in?
<s>[INST]Which city is the University of Montana located in? Context: CREATE TABLE table_name_80 (city VARCHAR, host VARCHAR)[/INST]SELECT city FROM table_name_80 WHERE host = "university of montana"</s>
CREATE TABLE table_name_84 (round VARCHAR, time VARCHAR)
SELECT round FROM table_name_84 WHERE time = "2:32"
Which round lasted 2:32?
<s>[INST]Which round lasted 2:32? Context: CREATE TABLE table_name_84 (round VARCHAR, time VARCHAR)[/INST]SELECT round FROM table_name_84 WHERE time = "2:32"</s>
CREATE TABLE table_name_27 (record VARCHAR, game__number VARCHAR)
SELECT record FROM table_name_27 WHERE game__number = 79
What was the record after game 79?
<s>[INST]What was the record after game 79? Context: CREATE TABLE table_name_27 (record VARCHAR, game__number VARCHAR)[/INST]SELECT record FROM table_name_27 WHERE game__number = 79</s>
CREATE TABLE table_name_69 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_69 WHERE name = "hleb"
What is the transfer window for Hleb?
<s>[INST]What is the transfer window for Hleb? Context: CREATE TABLE table_name_69 (transfer_window VARCHAR, name VARCHAR)[/INST]SELECT transfer_window FROM table_name_69 WHERE name = "hleb"</s>
CREATE TABLE table_name_56 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_name_56 WHERE district = "south carolina 1"
When was the incumbent from the south carolina 1 district first elected?
<s>[INST]When was the incumbent from the south carolina 1 district first elected? Context: CREATE TABLE table_name_56 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_name_56 WHERE district = "south carolina 1"</s>
CREATE TABLE table_name_9 (manufacturer VARCHAR, fuel_type VARCHAR)
SELECT manufacturer FROM table_name_9 WHERE fuel_type = "diesel"
What is the Manufacturer with a Fuel Type that is diesel?
<s>[INST]What is the Manufacturer with a Fuel Type that is diesel? Context: CREATE TABLE table_name_9 (manufacturer VARCHAR, fuel_type VARCHAR)[/INST]SELECT manufacturer FROM table_name_9 WHERE fuel_type = "diesel"</s>
CREATE TABLE table_28180840_15 (hometown VARCHAR, name_name_of_act VARCHAR)
SELECT hometown FROM table_28180840_15 WHERE name_name_of_act = "Zhou Jinsong"
What is the name of the zhou jinsong's hometown?
<s>[INST]What is the name of the zhou jinsong's hometown? Context: CREATE TABLE table_28180840_15 (hometown VARCHAR, name_name_of_act VARCHAR)[/INST]SELECT hometown FROM table_28180840_15 WHERE name_name_of_act = "Zhou Jinsong"</s>
CREATE TABLE table_name_51 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_51 WHERE loss = "glynn (0-2)"
Witch opponent has a loss of Glynn (0-2)?
<s>[INST]Witch opponent has a loss of Glynn (0-2)? Context: CREATE TABLE table_name_51 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_51 WHERE loss = "glynn (0-2)"</s>
CREATE TABLE table_name_2 (downstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)
SELECT downstream_rate FROM table_name_2 WHERE version = "adsl" AND standard_name = "itu g.992.2"
What's the downstream rate for the Itu g.992.2 having a version of ADSL?
<s>[INST]What's the downstream rate for the Itu g.992.2 having a version of ADSL? Context: CREATE TABLE table_name_2 (downstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)[/INST]SELECT downstream_rate FROM table_name_2 WHERE version = "adsl" AND standard_name = "itu g.992.2"</s>
CREATE TABLE table_name_88 (certification VARCHAR, album VARCHAR)
SELECT certification FROM table_name_88 WHERE album = "closer: the best of sarah mclachlan"
What was the album Closer: The Best of Sarah Mclachlan certified as?
<s>[INST]What was the album Closer: The Best of Sarah Mclachlan certified as? Context: CREATE TABLE table_name_88 (certification VARCHAR, album VARCHAR)[/INST]SELECT certification FROM table_name_88 WHERE album = "closer: the best of sarah mclachlan"</s>
CREATE TABLE products (Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)
SELECT COUNT(*), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name
Find the number of products for each manufacturer, showing the name of each company.
<s>[INST]Find the number of products for each manufacturer, showing the name of each company. Context: CREATE TABLE products (Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)[/INST]SELECT COUNT(*), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T...
CREATE TABLE table_12094609_1 (preliminaries VARCHAR, evening_gown VARCHAR)
SELECT preliminaries FROM table_12094609_1 WHERE evening_gown = "8.988"
what's the preliminaries where evening gown is 8.988
<s>[INST] what's the preliminaries where evening gown is 8.988 Context: CREATE TABLE table_12094609_1 (preliminaries VARCHAR, evening_gown VARCHAR)[/INST]SELECT preliminaries FROM table_12094609_1 WHERE evening_gown = "8.988"</s>
CREATE TABLE table_25042332_22 (region VARCHAR, primary__6_13_years_ VARCHAR)
SELECT region FROM table_25042332_22 WHERE primary__6_13_years_ = "94.40"
In what region is the enrollment ratio in primary 94.40?
<s>[INST]In what region is the enrollment ratio in primary 94.40? Context: CREATE TABLE table_25042332_22 (region VARCHAR, primary__6_13_years_ VARCHAR)[/INST]SELECT region FROM table_25042332_22 WHERE primary__6_13_years_ = "94.40"</s>
CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER"
Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names.
<s>[INST]Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names. Context: CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT DISTINCT T1.firstnam...
CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_49 WHERE player = "bernhard langer"
What Place has a Player of bernhard langer?
<s>[INST]What Place has a Player of bernhard langer? Context: CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_49 WHERE player = "bernhard langer"</s>
CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones"
What was the highest pick for the player Adam Jones?
<s>[INST]What was the highest pick for the player Adam Jones? Context: CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones"</s>
CREATE TABLE table_name_93 (enrollment INTEGER, location VARCHAR)
SELECT MAX(enrollment) FROM table_name_93 WHERE location = "onalaska"
What is the Enrollment at Onalaska?
<s>[INST]What is the Enrollment at Onalaska? Context: CREATE TABLE table_name_93 (enrollment INTEGER, location VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_name_93 WHERE location = "onalaska"</s>
CREATE TABLE table_name_65 (played INTEGER, position INTEGER)
SELECT SUM(played) FROM table_name_65 WHERE position < 1
What is the total number of played for the entry with a position of less than 1?
<s>[INST]What is the total number of played for the entry with a position of less than 1? Context: CREATE TABLE table_name_65 (played INTEGER, position INTEGER)[/INST]SELECT SUM(played) FROM table_name_65 WHERE position < 1</s>
CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, rank VARCHAR)
SELECT MAX(bronze) FROM table_name_70 WHERE gold > 2 AND rank = "total"
Name the highest Bronze which has a Gold larger than 2 and a Rank of total?
<s>[INST]Name the highest Bronze which has a Gold larger than 2 and a Rank of total? Context: CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, rank VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_70 WHERE gold > 2 AND rank = "total"</s>
CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR)
SELECT MIN(margin) FROM table_name_79 WHERE st_kilda_saints = "11.13 (79)"
What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)?
<s>[INST]What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)? Context: CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR)[/INST]SELECT MIN(margin) FROM table_name_79 WHERE st_kilda_saints = "11.13 (79)"</s>
CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-2"
What date has lost as the result and a competition of friendly with 1-2 as the score?
<s>[INST]What date has lost as the result and a competition of friendly with 1-2 as the score? Context: CREATE TABLE table_name_86 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_86 WHERE result = "lost" AND competition = "friendly" AND score = "1-2"</s>
CREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR)
SELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = "no" AND s_default_argument = "no" AND functions = "no" AND eval_function = "no"
What is the lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function?
<s>[INST]What is the lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function? Context: CREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR)[/INST]SEL...
CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)
SELECT not_out FROM table_20367820_16 WHERE average = "43.70"
How many no outs are there for an average of 43.70?
<s>[INST]How many no outs are there for an average of 43.70? Context: CREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)[/INST]SELECT not_out FROM table_20367820_16 WHERE average = "43.70"</s>
CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_21 WHERE week = 17
What was week 17's date?
<s>[INST]What was week 17's date? Context: CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE week = 17</s>
CREATE TABLE table_26565936_2 (no_in_series VARCHAR, written_by VARCHAR)
SELECT no_in_series FROM table_26565936_2 WHERE written_by = "Bo Crese"
What number(s) in the series was written by bo crese?
<s>[INST]What number(s) in the series was written by bo crese? Context: CREATE TABLE table_26565936_2 (no_in_series VARCHAR, written_by VARCHAR)[/INST]SELECT no_in_series FROM table_26565936_2 WHERE written_by = "Bo Crese"</s>
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR)
SELECT T1.first_name, T1.last_name, T2.department_name, T3.city, T3.state_province FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id
display the first and last name, department, city, and state province for each employee.
<s>[INST]display the first and last name, department, city, and state province for each employee. Context: CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE locations (city V...
CREATE TABLE table_name_64 (music VARCHAR, dance VARCHAR)
SELECT music FROM table_name_64 WHERE dance = "modern"
What was the music for the modern dance?
<s>[INST]What was the music for the modern dance? Context: CREATE TABLE table_name_64 (music VARCHAR, dance VARCHAR)[/INST]SELECT music FROM table_name_64 WHERE dance = "modern"</s>
CREATE TABLE table_name_51 (engine VARCHAR, rank VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_51 WHERE rank = "7th" AND chassis = "reynard 95i"
Which engine finished 7th with the reynard 95i chassis?
<s>[INST]Which engine finished 7th with the reynard 95i chassis? Context: CREATE TABLE table_name_51 (engine VARCHAR, rank VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_51 WHERE rank = "7th" AND chassis = "reynard 95i"</s>
CREATE TABLE table_19744915_15 (couple VARCHAR, vote_percentage VARCHAR)
SELECT couple FROM table_19744915_15 WHERE vote_percentage = "7.691%"
What couple had a vote percentage of 7.691%
<s>[INST]What couple had a vote percentage of 7.691% Context: CREATE TABLE table_19744915_15 (couple VARCHAR, vote_percentage VARCHAR)[/INST]SELECT couple FROM table_19744915_15 WHERE vote_percentage = "7.691%"</s>
CREATE TABLE table_name_80 (representative VARCHAR, presentation_of_credentials VARCHAR)
SELECT representative FROM table_name_80 WHERE presentation_of_credentials = "august 25, 1851"
What's the Representative listed that has a Presentation of Credentials of August 25, 1851?
<s>[INST]What's the Representative listed that has a Presentation of Credentials of August 25, 1851? Context: CREATE TABLE table_name_80 (representative VARCHAR, presentation_of_credentials VARCHAR)[/INST]SELECT representative FROM table_name_80 WHERE presentation_of_credentials = "august 25, 1851"</s>
CREATE TABLE table_29920800_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97"
Who directed the episode that was watched by 2.97 million U.S. viewers?
<s>[INST]Who directed the episode that was watched by 2.97 million U.S. viewers? Context: CREATE TABLE table_29920800_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97"</s>
CREATE TABLE table_10705060_1 (position VARCHAR, season VARCHAR)
SELECT COUNT(position) FROM table_10705060_1 WHERE season = "2009"
how many positions in 2009?
<s>[INST]how many positions in 2009? Context: CREATE TABLE table_10705060_1 (position VARCHAR, season VARCHAR)[/INST]SELECT COUNT(position) FROM table_10705060_1 WHERE season = "2009"</s>
CREATE TABLE table_name_17 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT pick FROM table_name_17 WHERE nationality = "united states" AND player = "elaine powell (g)"
When was Elaine Powell (g) of the United states picked?
<s>[INST]When was Elaine Powell (g) of the United states picked? Context: CREATE TABLE table_name_17 (pick VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_17 WHERE nationality = "united states" AND player = "elaine powell (g)"</s>
CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_57 WHERE channel = "espn" AND date = "september 5, 2002"
Which attendance has a Channel of espn, and a Date of september 5, 2002?
<s>[INST]Which attendance has a Channel of espn, and a Date of september 5, 2002? Context: CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_57 WHERE channel = "espn" AND date = "september 5, 2002"</s>
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)
SELECT first_name, last_name, salary, department_id, MAX(salary) FROM employees GROUP BY department_id
display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.
<s>[INST]display the department ID, full name (first and last name), salary for those employees who is highest salary in every department. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)[/INST]SELECT first_name, last_name, salary, department_id, MAX(salary)...
CREATE TABLE table_23292220_6 (episode VARCHAR, jasons_team VARCHAR)
SELECT episode FROM table_23292220_6 WHERE jasons_team = "Duncan James and Johnny Vegas"
Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team.
<s>[INST]Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team. Context: CREATE TABLE table_23292220_6 (episode VARCHAR, jasons_team VARCHAR)[/INST]SELECT episode FROM table_23292220_6 WHERE jasons_team = "Duncan James and Johnny Vegas"</s>
CREATE TABLE table_name_47 (manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT manner_of_departure FROM table_name_47 WHERE replaced_by = "dick advocaat"
What manner of departure was Dick Advocaat replaced by?
<s>[INST]What manner of departure was Dick Advocaat replaced by? Context: CREATE TABLE table_name_47 (manner_of_departure VARCHAR, replaced_by VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_47 WHERE replaced_by = "dick advocaat"</s>
CREATE TABLE table_name_54 (ship VARCHAR, year INTEGER)
SELECT ship FROM table_name_54 WHERE year > 2013
Which Ship has a Year larger than 2013?
<s>[INST]Which Ship has a Year larger than 2013? Context: CREATE TABLE table_name_54 (ship VARCHAR, year INTEGER)[/INST]SELECT ship FROM table_name_54 WHERE year > 2013</s>
CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER)
SELECT affiliation FROM table_name_28 WHERE pick__number < 32
What affiliations have Pick #s under 32?
<s>[INST]What affiliations have Pick #s under 32? Context: CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER)[/INST]SELECT affiliation FROM table_name_28 WHERE pick__number < 32</s>
CREATE TABLE table_22265261_1 (distance VARCHAR, position VARCHAR)
SELECT distance FROM table_22265261_1 WHERE position = "11th"
What was the distance for the 11th position?
<s>[INST]What was the distance for the 11th position? Context: CREATE TABLE table_22265261_1 (distance VARCHAR, position VARCHAR)[/INST]SELECT distance FROM table_22265261_1 WHERE position = "11th"</s>
CREATE TABLE table_22871316_6 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_22871316_6 WHERE high_assists = "Brandon Jennings (8)"
Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists?
<s>[INST]Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists? Context: CREATE TABLE table_22871316_6 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_22871316_6 WHERE high_assists = "Brandon Jennings (8)"</s>
CREATE TABLE table_name_80 (bullet_weight_gram__grain_ VARCHAR, case_capacity___percentage_ VARCHAR)
SELECT MAX(823 AS _g__127_gr_) FROM table_name_80 WHERE bullet_weight_gram__grain_ = "8x64mm s" AND case_capacity___percentage_ < 110.3
Which 8.23 g (127 gr) is the highest one that has a Bullet weight gram (grain) of 8x64mm s, and a Case capacity (%) smaller than 110.3?
<s>[INST]Which 8.23 g (127 gr) is the highest one that has a Bullet weight gram (grain) of 8x64mm s, and a Case capacity (%) smaller than 110.3? Context: CREATE TABLE table_name_80 (bullet_weight_gram__grain_ VARCHAR, case_capacity___percentage_ VARCHAR)[/INST]SELECT MAX(823 AS _g__127_gr_) FROM table_name_80 WHERE bul...
CREATE TABLE table_name_15 (masthead VARCHAR, end_month VARCHAR)
SELECT masthead FROM table_name_15 WHERE end_month = "oct–69"
Which masthead ends on oct–69?
<s>[INST]Which masthead ends on oct–69? Context: CREATE TABLE table_name_15 (masthead VARCHAR, end_month VARCHAR)[/INST]SELECT masthead FROM table_name_15 WHERE end_month = "oct–69"</s>
CREATE TABLE table_25057928_1 (institute VARCHAR)
SELECT MAX(2012 AS _13) FROM table_25057928_1 WHERE institute = "University of Cambridge"
Name the most 2012/13 for university of cambridge
<s>[INST]Name the most 2012/13 for university of cambridge Context: CREATE TABLE table_25057928_1 (institute VARCHAR)[/INST]SELECT MAX(2012 AS _13) FROM table_25057928_1 WHERE institute = "University of Cambridge"</s>
CREATE TABLE table_name_63 (country VARCHAR, place VARCHAR, points VARCHAR)
SELECT country FROM table_name_63 WHERE place < 8 AND points < 5
Which country has a place smaller than 8 and points smaller than 5?
<s>[INST]Which country has a place smaller than 8 and points smaller than 5? Context: CREATE TABLE table_name_63 (country VARCHAR, place VARCHAR, points VARCHAR)[/INST]SELECT country FROM table_name_63 WHERE place < 8 AND points < 5</s>
CREATE TABLE table_name_18 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR)
SELECT week__number FROM table_name_18 WHERE original_artist = "the beatles" AND theme = "the beatles"
What is the Week # when the Beatles were the original artist and the theme was The Beatles?
<s>[INST]What is the Week # when the Beatles were the original artist and the theme was The Beatles? Context: CREATE TABLE table_name_18 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR)[/INST]SELECT week__number FROM table_name_18 WHERE original_artist = "the beatles" AND theme = "the beatles"</s>
CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
with rank of 31 what is the year?
<s>[INST]with rank of 31 what is the year? Context: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"</s>
CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR)
SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M"
What is the FSB of the model with part number lf80537gf0411m?
<s>[INST]What is the FSB of the model with part number lf80537gf0411m? Context: CREATE TABLE table_11602313_4 (fsb VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M"</s>
CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR)
SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987"
How many candidates were there in the year of 1987?
<s>[INST]How many candidates were there in the year of 1987? Context: CREATE TABLE table_19698421_1 (number_of_candidates VARCHAR, year VARCHAR)[/INST]SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987"</s>
CREATE TABLE table_name_72 (engine VARCHAR, power VARCHAR)
SELECT engine FROM table_name_72 WHERE power = "114hp (85kw)"
What Engine has a Power of 114hp (85kw)?
<s>[INST]What Engine has a Power of 114hp (85kw)? Context: CREATE TABLE table_name_72 (engine VARCHAR, power VARCHAR)[/INST]SELECT engine FROM table_name_72 WHERE power = "114hp (85kw)"</s>
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"
What is the score of the away team when the home team is Essendon?
<s>[INST]What is the score of the away team when the home team is Essendon? Context: CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"</s>
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"
What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"?
<s>[INST]What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"? Context: CREATE TABLE table_name_74 (tournament VARCHAR)[/INST]SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"</s>
CREATE TABLE Settlements (Claim_id VARCHAR); CREATE TABLE Claims (Amount_Claimed INTEGER); CREATE TABLE Claims (Date_Claim_Made VARCHAR, Claim_id VARCHAR, Amount_Claimed INTEGER)
SELECT T1.Date_Claim_Made, T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id GROUP BY T1.Claim_id HAVING COUNT(*) > 2 UNION SELECT T1.Date_Claim_Made, T1.Claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.Claim_id = T2.Claim_id WHERE T1.Amount_Claimed = (SELECT MAX(Amount_Claimed) F...
Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id.
<s>[INST]Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id. Context: CREATE TABLE Settlements (Claim_id VARCHAR); CREATE TABLE Claims (Amount_Claimed INTEGER); CREATE TABLE Claims (Date_Claim_Made VARCHAR, Claim_id VARCHAR, Amount_Claimed INTE...
CREATE TABLE table_name_13 (play_by_play VARCHAR, studio_host VARCHAR, colour_commentator_s_ VARCHAR)
SELECT play_by_play FROM table_name_13 WHERE studio_host = "ward cornell" AND colour_commentator_s_ = "bob goldham"
Who did the play-by-play with studio host Ward Cornell and color commentator Bob Goldham?
<s>[INST]Who did the play-by-play with studio host Ward Cornell and color commentator Bob Goldham? Context: CREATE TABLE table_name_13 (play_by_play VARCHAR, studio_host VARCHAR, colour_commentator_s_ VARCHAR)[/INST]SELECT play_by_play FROM table_name_13 WHERE studio_host = "ward cornell" AND colour_commentator_s_ = "b...
CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3:27"
Who wrote the album recorded at funhouse studios with a time of 3:27?
<s>[INST]Who wrote the album recorded at funhouse studios with a time of 3:27? Context: CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)[/INST]SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3:27"</s>
CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)
SELECT AVG(faces) FROM table_name_39 WHERE dual_archimedean_solid = "truncated icosahedron" AND vertices > 32
Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32?
<s>[INST]Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32? Context: CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)[/INST]SELECT AVG(faces) FROM table_name_39 WHERE dual_archimedean_solid = "truncated icosahedron" AND vertices >...
CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)
SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20
Which Lost has an Against of 49 and a Played smaller than 20?
<s>[INST]Which Lost has an Against of 49 and a Played smaller than 20? Context: CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20</s>
CREATE TABLE table_name_77 (defending_forces VARCHAR, name VARCHAR)
SELECT defending_forces FROM table_name_77 WHERE name = "danna"
Which defending forces have the name Danna?
<s>[INST]Which defending forces have the name Danna? Context: CREATE TABLE table_name_77 (defending_forces VARCHAR, name VARCHAR)[/INST]SELECT defending_forces FROM table_name_77 WHERE name = "danna"</s>
CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)
SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland
What are all the school years where class AAAA is in Gregory-Portland?
<s>[INST]What are all the school years where class AAAA is in Gregory-Portland? Context: CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)[/INST]SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland</s>
CREATE TABLE table_name_4 (district_residence VARCHAR, name VARCHAR)
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
Name of choice b. Randell is the name of which District Residence?
<s>[INST]Name of choice b. Randell is the name of which District Residence? Context: CREATE TABLE table_name_4 (district_residence VARCHAR, name VARCHAR)[/INST]SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"</s>
CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6"
how many voted in the texas 6 section
<s>[INST]how many voted in the texas 6 section Context: CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6"</s>
CREATE TABLE table_name_93 (score VARCHAR, time VARCHAR, venue VARCHAR)
SELECT score FROM table_name_93 WHERE time = "14:30" AND venue = "happy valley recreation ground pitch #2"
What is the score of the match at happy valley recreation ground pitch #2 with a 14:30 time?
<s>[INST]What is the score of the match at happy valley recreation ground pitch #2 with a 14:30 time? Context: CREATE TABLE table_name_93 (score VARCHAR, time VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE time = "14:30" AND venue = "happy valley recreation ground pitch #2"</s>
CREATE TABLE table_name_74 (apogee__km_ VARCHAR, alt_name VARCHAR, mass__kg_ VARCHAR)
SELECT COUNT(apogee__km_) FROM table_name_74 WHERE alt_name = "ops-8285" AND mass__kg_ > 1500
How many Apogee sis Ops-8285 with more than 1500 kg?
<s>[INST]How many Apogee sis Ops-8285 with more than 1500 kg? Context: CREATE TABLE table_name_74 (apogee__km_ VARCHAR, alt_name VARCHAR, mass__kg_ VARCHAR)[/INST]SELECT COUNT(apogee__km_) FROM table_name_74 WHERE alt_name = "ops-8285" AND mass__kg_ > 1500</s>
CREATE TABLE table_name_45 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_45 WHERE date = "15 december 1992"
which Label is in 15 december 1992?
<s>[INST]which Label is in 15 december 1992? Context: CREATE TABLE table_name_45 (label VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_45 WHERE date = "15 december 1992"</s>
CREATE TABLE table_name_33 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_33 WHERE name = "janne happonen"
Which Nationality has a Name of janne happonen?
<s>[INST]Which Nationality has a Name of janne happonen? Context: CREATE TABLE table_name_33 (nationality VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_33 WHERE name = "janne happonen"</s>
CREATE TABLE table_1341690_5 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1341690_5 WHERE district = "California 23"
How many parties won the election in the California 23 district?
<s>[INST]How many parties won the election in the California 23 district? Context: CREATE TABLE table_1341690_5 (party VARCHAR, district VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341690_5 WHERE district = "California 23"</s>
CREATE TABLE table_name_31 (record VARCHAR, result VARCHAR)
SELECT record FROM table_name_31 WHERE result = "w 45–17"
What is the record of the game that has a result of w 45–17?
<s>[INST]What is the record of the game that has a result of w 45–17? Context: CREATE TABLE table_name_31 (record VARCHAR, result VARCHAR)[/INST]SELECT record FROM table_name_31 WHERE result = "w 45–17"</s>