context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR)
SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 2005"
How many championships are there on the date January 9, 2005?
<s>[INST]How many championships are there on the date January 9, 2005? Context: CREATE TABLE table_26202788_7 (championship VARCHAR, date VARCHAR)[/INST]SELECT COUNT(championship) FROM table_26202788_7 WHERE date = "January 9, 2005"</s>
CREATE TABLE table_name_68 (home_ground VARCHAR, coach VARCHAR)
SELECT home_ground FROM table_name_68 WHERE coach = "andrej lemanis"
What is home ground for coach Andrej Lemanis?
<s>[INST]What is home ground for coach Andrej Lemanis? Context: CREATE TABLE table_name_68 (home_ground VARCHAR, coach VARCHAR)[/INST]SELECT home_ground FROM table_name_68 WHERE coach = "andrej lemanis"</s>
CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)
SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25"
Who is the presenter of the episode broadcast in the UK on 1996-09-25?
<s>[INST]Who is the presenter of the episode broadcast in the UK on 1996-09-25? Context: CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)[/INST]SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25"</s>
CREATE TABLE table_name_57 (poles VARCHAR, season VARCHAR, wins VARCHAR)
SELECT poles FROM table_name_57 WHERE season = "2006" AND wins < 2
How many poles did he have in 2006 with under 2 wins?
<s>[INST]How many poles did he have in 2006 with under 2 wins? Context: CREATE TABLE table_name_57 (poles VARCHAR, season VARCHAR, wins VARCHAR)[/INST]SELECT poles FROM table_name_57 WHERE season = "2006" AND wins < 2</s>
CREATE TABLE table_name_40 (gain INTEGER, long VARCHAR, loss VARCHAR)
SELECT MIN(gain) FROM table_name_40 WHERE long = 18 AND loss < 191
What is the lowest gain with an 18 long, and a loss less than 191?
<s>[INST]What is the lowest gain with an 18 long, and a loss less than 191? Context: CREATE TABLE table_name_40 (gain INTEGER, long VARCHAR, loss VARCHAR)[/INST]SELECT MIN(gain) FROM table_name_40 WHERE long = 18 AND loss < 191</s>
CREATE TABLE table_name_64 (race INTEGER, flap VARCHAR, podium VARCHAR, pole VARCHAR)
SELECT SUM(race) FROM table_name_64 WHERE podium = 4 AND pole = 5 AND flap > 3
How many races had 4 podiums, 5 poles and more than 3 Flaps?
<s>[INST]How many races had 4 podiums, 5 poles and more than 3 Flaps? Context: CREATE TABLE table_name_64 (race INTEGER, flap VARCHAR, podium VARCHAR, pole VARCHAR)[/INST]SELECT SUM(race) FROM table_name_64 WHERE podium = 4 AND pole = 5 AND flap > 3</s>
CREATE TABLE table_name_96 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_name_96 WHERE leading_scorer = "rudy gay (18)"
What is the visitor team of the game with Rudy Gay (18) as the leading scorer?
<s>[INST]What is the visitor team of the game with Rudy Gay (18) as the leading scorer? Context: CREATE TABLE table_name_96 (visitor VARCHAR, leading_scorer VARCHAR)[/INST]SELECT visitor FROM table_name_96 WHERE leading_scorer = "rudy gay (18)"</s>
CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_93 WHERE player = "s.k. ho"
What place is S.K. Ho in?
<s>[INST]What place is S.K. Ho in? Context: CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_93 WHERE player = "s.k. ho"</s>
CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17
Name the number ends won when L is 4 and stolen ends is 17
<s>[INST]Name the number ends won when L is 4 and stolen ends is 17 Context: CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR)[/INST]SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17</s>
CREATE TABLE table_16388439_3 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_16388439_3 WHERE home_team = "Carlton"
Name the away team score for carlton
<s>[INST]Name the away team score for carlton Context: CREATE TABLE table_16388439_3 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_16388439_3 WHERE home_team = "Carlton"</s>
CREATE TABLE table_27922491_20 (bbi VARCHAR, average VARCHAR)
SELECT bbi FROM table_27922491_20 WHERE average = "24.50"
What was the BBI for the bowler whose average is 24.50?
<s>[INST]What was the BBI for the bowler whose average is 24.50? Context: CREATE TABLE table_27922491_20 (bbi VARCHAR, average VARCHAR)[/INST]SELECT bbi FROM table_27922491_20 WHERE average = "24.50"</s>
CREATE TABLE table_11323532_2 (premiere VARCHAR, channel VARCHAR)
SELECT premiere FROM table_11323532_2 WHERE channel = "Mega channel"
What is the premiere on the mega channel?
<s>[INST]What is the premiere on the mega channel? Context: CREATE TABLE table_11323532_2 (premiere VARCHAR, channel VARCHAR)[/INST]SELECT premiere FROM table_11323532_2 WHERE channel = "Mega channel"</s>
CREATE TABLE table_name_22 (firefox VARCHAR, opera VARCHAR, date VARCHAR)
SELECT firefox FROM table_name_22 WHERE opera = "1.8%" AND date = "30 july 2007"
What is the firefox value with a 1.8% opera on 30 July 2007?
<s>[INST]What is the firefox value with a 1.8% opera on 30 July 2007? Context: CREATE TABLE table_name_22 (firefox VARCHAR, opera VARCHAR, date VARCHAR)[/INST]SELECT firefox FROM table_name_22 WHERE opera = "1.8%" AND date = "30 july 2007"</s>
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "indiana"
When did indiana play?
<s>[INST]When did indiana play? Context: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE opponent = "indiana"</s>
CREATE TABLE table_1341423_23 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1341423_23 WHERE incumbent = "Jim Ramstad"
What year was incumbent jim ramstad first elected?
<s>[INST]What year was incumbent jim ramstad first elected? Context: CREATE TABLE table_1341423_23 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341423_23 WHERE incumbent = "Jim Ramstad"</s>
CREATE TABLE table_name_17 (frequency VARCHAR, order_part_number VARCHAR)
SELECT frequency FROM table_name_17 WHERE order_part_number = "tmm500dbo22gq"
What is the frequency of the tmm500dbo22gq order part number?
<s>[INST]What is the frequency of the tmm500dbo22gq order part number? Context: CREATE TABLE table_name_17 (frequency VARCHAR, order_part_number VARCHAR)[/INST]SELECT frequency FROM table_name_17 WHERE order_part_number = "tmm500dbo22gq"</s>
CREATE TABLE table_name_21 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_21 WHERE venue = "ta'qali"
What is the competition at the ta'qali venue?
<s>[INST]What is the competition at the ta'qali venue? Context: CREATE TABLE table_name_21 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_21 WHERE venue = "ta'qali"</s>
CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_70 WHERE record = "26-19"
On what date was their record 26-19?
<s>[INST]On what date was their record 26-19? Context: CREATE TABLE table_name_70 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE record = "26-19"</s>
CREATE TABLE table_name_25 (result VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT result FROM table_name_25 WHERE director = "elia schneider" AND film_title_used_in_nomination = "punto y raya"
What's the result for director elia schneider's punto y raya?
<s>[INST]What's the result for director elia schneider's punto y raya? Context: CREATE TABLE table_name_25 (result VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT result FROM table_name_25 WHERE director = "elia schneider" AND film_title_used_in_nomination = "punto y raya"</s>
CREATE TABLE table_25518547_2 (pick__number VARCHAR, affiliation VARCHAR)
SELECT COUNT(pick__number) FROM table_25518547_2 WHERE affiliation = "University of California NorCal Lamorinda United"
How many picks are there with an affiliation is the University of California Norcal Lamorinda United?
<s>[INST]How many picks are there with an affiliation is the University of California Norcal Lamorinda United? Context: CREATE TABLE table_25518547_2 (pick__number VARCHAR, affiliation VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_25518547_2 WHERE affiliation = "University of California NorCal Lamorinda United"<...
CREATE TABLE table_name_49 (year INTEGER, title VARCHAR)
SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade"
Title of the angry brigade involves which lowest year?
<s>[INST]Title of the angry brigade involves which lowest year? Context: CREATE TABLE table_name_49 (year INTEGER, title VARCHAR)[/INST]SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade"</s>
CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.5
What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5?
<s>[INST]What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5? Context: CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.5</s>
CREATE TABLE table_name_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_9 WHERE bronze = "1" AND silver = "3"
What nation has 1 bronze and 3 silvers?
<s>[INST]What nation has 1 bronze and 3 silvers? Context: CREATE TABLE table_name_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT nation FROM table_name_9 WHERE bronze = "1" AND silver = "3"</s>
CREATE TABLE table_name_34 (Id VARCHAR)
SELECT 2011 FROM table_name_34 WHERE 2007 = "atp masters series"
What is the 2011 value that has ATP Masters Series in 2007?
<s>[INST]What is the 2011 value that has ATP Masters Series in 2007? Context: CREATE TABLE table_name_34 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_34 WHERE 2007 = "atp masters series"</s>
CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR)
SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:03"
Who is every name for time(cet) of 09:03?
<s>[INST]Who is every name for time(cet) of 09:03? Context: CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR)[/INST]SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:03"</s>
CREATE TABLE table_name_75 (track INTEGER, song_title VARCHAR)
SELECT MAX(track) FROM table_name_75 WHERE song_title = "burning love"
What is the highest track for Burning Love?
<s>[INST]What is the highest track for Burning Love? Context: CREATE TABLE table_name_75 (track INTEGER, song_title VARCHAR)[/INST]SELECT MAX(track) FROM table_name_75 WHERE song_title = "burning love"</s>
CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR)
SELECT location FROM table_name_13 WHERE year = 2012
What is the location for 2012?
<s>[INST]What is the location for 2012? Context: CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR)[/INST]SELECT location FROM table_name_13 WHERE year = 2012</s>
CREATE TABLE table_13570_1 (nucleus VARCHAR, cytoplasm VARCHAR)
SELECT nucleus FROM table_13570_1 WHERE cytoplasm = "Pink"
The pink cytoplasm will have a nucleus of what color?
<s>[INST]The pink cytoplasm will have a nucleus of what color? Context: CREATE TABLE table_13570_1 (nucleus VARCHAR, cytoplasm VARCHAR)[/INST]SELECT nucleus FROM table_13570_1 WHERE cytoplasm = "Pink"</s>
CREATE TABLE table_name_53 (constructor VARCHAR, circuit VARCHAR)
SELECT constructor FROM table_name_53 WHERE circuit = "goodwood"
Which Constructor has the goodwood circuit?
<s>[INST]Which Constructor has the goodwood circuit? Context: CREATE TABLE table_name_53 (constructor VARCHAR, circuit VARCHAR)[/INST]SELECT constructor FROM table_name_53 WHERE circuit = "goodwood"</s>
CREATE TABLE table_name_58 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9
What is the average earnings ($) that has meg mallon as the player, with a rank less than 9?
<s>[INST]What is the average earnings ($) that has meg mallon as the player, with a rank less than 9? Context: CREATE TABLE table_name_58 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)[/INST]SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9</s>
CREATE TABLE table_name_49 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne"
When South Melbourne was the Away Team, what was their score?
<s>[INST]When South Melbourne was the Away Team, what was their score? Context: CREATE TABLE table_name_49 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne"</s>
CREATE TABLE table_15740666_4 (at_manhattan VARCHAR, kansas_state_vs VARCHAR)
SELECT at_manhattan FROM table_15740666_4 WHERE kansas_state_vs = "TCU"
What is the at Manhattan record against TCU?
<s>[INST]What is the at Manhattan record against TCU? Context: CREATE TABLE table_15740666_4 (at_manhattan VARCHAR, kansas_state_vs VARCHAR)[/INST]SELECT at_manhattan FROM table_15740666_4 WHERE kansas_state_vs = "TCU"</s>
CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR)
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts"
What was the budget for "Thirteen Ghosts"?
<s>[INST]What was the budget for "Thirteen Ghosts"? Context: CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR)[/INST]SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts"</s>
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
What venue was the 2000 AFC Asian Cup qualification held at?
<s>[INST]What venue was the 2000 AFC Asian Cup qualification held at? Context: CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"</s>
CREATE TABLE table_22879323_10 (score VARCHAR, game VARCHAR)
SELECT score FROM table_22879323_10 WHERE game = 80
What was the score when the game was 80?
<s>[INST]What was the score when the game was 80? Context: CREATE TABLE table_22879323_10 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_22879323_10 WHERE game = 80</s>
CREATE TABLE table_name_27 (socket VARCHAR, part_number_s_ VARCHAR)
SELECT socket FROM table_name_27 WHERE part_number_s_ = "adh2350iaa5do"
What is the socket for the processor with part number ADH2350IAA5DO?
<s>[INST]What is the socket for the processor with part number ADH2350IAA5DO? Context: CREATE TABLE table_name_27 (socket VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT socket FROM table_name_27 WHERE part_number_s_ = "adh2350iaa5do"</s>
CREATE TABLE Faculty (FacID VARCHAR, Sex VARCHAR)
SELECT FacID FROM Faculty WHERE Sex = 'M'
Show ids for all the male faculty.
<s>[INST]Show ids for all the male faculty. Context: CREATE TABLE Faculty (FacID VARCHAR, Sex VARCHAR)[/INST]SELECT FacID FROM Faculty WHERE Sex = 'M'</s>
CREATE TABLE table_name_21 (sets VARCHAR, player VARCHAR)
SELECT COUNT(sets) FROM table_name_21 WHERE player = "gary muller"
How many Sets did Gary Muller have?
<s>[INST]How many Sets did Gary Muller have? Context: CREATE TABLE table_name_21 (sets VARCHAR, player VARCHAR)[/INST]SELECT COUNT(sets) FROM table_name_21 WHERE player = "gary muller"</s>
CREATE TABLE table_name_80 (league_one_second_division VARCHAR, club VARCHAR)
SELECT league_one_second_division FROM table_name_80 WHERE club = "millwall"
I want the league one/second division for club of millwall
<s>[INST]I want the league one/second division for club of millwall Context: CREATE TABLE table_name_80 (league_one_second_division VARCHAR, club VARCHAR)[/INST]SELECT league_one_second_division FROM table_name_80 WHERE club = "millwall"</s>
CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_26 WHERE venue = "aigburth"
What year was in Aigburth?
<s>[INST]What year was in Aigburth? Context: CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_26 WHERE venue = "aigburth"</s>
CREATE TABLE table_name_32 (rank INTEGER, name VARCHAR)
SELECT MAX(rank) FROM table_name_32 WHERE name = "laure manaudou"
What is Laure Manaudou's highest rank?
<s>[INST]What is Laure Manaudou's highest rank? Context: CREATE TABLE table_name_32 (rank INTEGER, name VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_32 WHERE name = "laure manaudou"</s>
CREATE TABLE table_name_6 (furtenbacher VARCHAR, ben_tahir VARCHAR, liscumb VARCHAR, lawrance VARCHAR)
SELECT furtenbacher FROM table_name_6 WHERE liscumb = "6" AND lawrance = "10" AND ben_tahir = "24"
What is the Furtenbacher with a 6 Liscumb, 10 Lawrance, and a 24 Ben-Tahir?
<s>[INST]What is the Furtenbacher with a 6 Liscumb, 10 Lawrance, and a 24 Ben-Tahir? Context: CREATE TABLE table_name_6 (furtenbacher VARCHAR, ben_tahir VARCHAR, liscumb VARCHAR, lawrance VARCHAR)[/INST]SELECT furtenbacher FROM table_name_6 WHERE liscumb = "6" AND lawrance = "10" AND ben_tahir = "24"</s>
CREATE TABLE table_1341423_32 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1341423_32 WHERE district = "New York 29"
Name the number of party for new york 29
<s>[INST]Name the number of party for new york 29 Context: CREATE TABLE table_1341423_32 (party VARCHAR, district VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341423_32 WHERE district = "New York 29"</s>
CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342270_42 WHERE district = "Tennessee 2"
What was the result of the Tennessee 2 district election?
<s>[INST]What was the result of the Tennessee 2 district election? Context: CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342270_42 WHERE district = "Tennessee 2"</s>
CREATE TABLE table_name_91 (year INTEGER, score VARCHAR)
SELECT MAX(year) FROM table_name_91 WHERE score = "4–6, 6–3, 7–5"
What is the most recent year in which the score was 4–6, 6–3, 7–5?
<s>[INST]What is the most recent year in which the score was 4–6, 6–3, 7–5? Context: CREATE TABLE table_name_91 (year INTEGER, score VARCHAR)[/INST]SELECT MAX(year) FROM table_name_91 WHERE score = "4–6, 6–3, 7–5"</s>
CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR)
SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai"
Give me the temperature of Shanghai in January.
<s>[INST]Give me the temperature of Shanghai in January. Context: CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR)[/INST]SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai"</s>
CREATE TABLE table_14245_3 (population__1931__in_1 VARCHAR, capital VARCHAR)
SELECT population__1931__in_1, 000 AS s FROM table_14245_3 WHERE capital = "Tarnopol"
Name the population when the capital is tarnopol
<s>[INST]Name the population when the capital is tarnopol Context: CREATE TABLE table_14245_3 (population__1931__in_1 VARCHAR, capital VARCHAR)[/INST]SELECT population__1931__in_1, 000 AS s FROM table_14245_3 WHERE capital = "Tarnopol"</s>
CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR)
SELECT MAX(silver) FROM table_name_76 WHERE nation = "norway"
What is the most silver won by Norway?
<s>[INST]What is the most silver won by Norway? Context: CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_76 WHERE nation = "norway"</s>
CREATE TABLE table_name_89 (rounds VARCHAR, chassis VARCHAR)
SELECT rounds FROM table_name_89 WHERE chassis = "b195"
Which rounds had the B195 chassis?
<s>[INST]Which rounds had the B195 chassis? Context: CREATE TABLE table_name_89 (rounds VARCHAR, chassis VARCHAR)[/INST]SELECT rounds FROM table_name_89 WHERE chassis = "b195"</s>
CREATE TABLE table_name_97 (platform___os VARCHAR, name VARCHAR)
SELECT platform___os FROM table_name_97 WHERE name = "altova umodel"
Which Platform / OS has a Name of altova umodel?
<s>[INST]Which Platform / OS has a Name of altova umodel? Context: CREATE TABLE table_name_97 (platform___os VARCHAR, name VARCHAR)[/INST]SELECT platform___os FROM table_name_97 WHERE name = "altova umodel"</s>
CREATE TABLE table_name_28 (date VARCHAR, team VARCHAR)
SELECT date FROM table_name_28 WHERE team = "@ detroit"
What date was the team @ Detroit?
<s>[INST]What date was the team @ Detroit? Context: CREATE TABLE table_name_28 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE team = "@ detroit"</s>
CREATE TABLE table_name_6 (name VARCHAR, a_league VARCHAR)
SELECT name FROM table_name_6 WHERE a_league = "113 (0)"
Which player has an A-League of 113 (0)?
<s>[INST]Which player has an A-League of 113 (0)? Context: CREATE TABLE table_name_6 (name VARCHAR, a_league VARCHAR)[/INST]SELECT name FROM table_name_6 WHERE a_league = "113 (0)"</s>
CREATE TABLE table_name_35 (brazil_scorers VARCHAR, score VARCHAR)
SELECT brazil_scorers FROM table_name_35 WHERE score = "2-1"
What Brazil scorers have a 2-1 Score?
<s>[INST]What Brazil scorers have a 2-1 Score? Context: CREATE TABLE table_name_35 (brazil_scorers VARCHAR, score VARCHAR)[/INST]SELECT brazil_scorers FROM table_name_35 WHERE score = "2-1"</s>
CREATE TABLE table_23915973_1 (branding VARCHAR, power_kw VARCHAR)
SELECT branding FROM table_23915973_1 WHERE power_kw = "5kW"
What is the radio station branding when the power km is 5kw?
<s>[INST]What is the radio station branding when the power km is 5kw? Context: CREATE TABLE table_23915973_1 (branding VARCHAR, power_kw VARCHAR)[/INST]SELECT branding FROM table_23915973_1 WHERE power_kw = "5kW"</s>
CREATE TABLE table_1341522_38 (status VARCHAR, first_elected VARCHAR)
SELECT COUNT(status) FROM table_1341522_38 WHERE first_elected = 1968
how many status with first elected being 1968
<s>[INST] how many status with first elected being 1968 Context: CREATE TABLE table_1341522_38 (status VARCHAR, first_elected VARCHAR)[/INST]SELECT COUNT(status) FROM table_1341522_38 WHERE first_elected = 1968</s>
CREATE TABLE table_name_63 (figures INTEGER, placings VARCHAR, total VARCHAR)
SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51
Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51?
<s>[INST]Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51? Context: CREATE TABLE table_name_63 (figures INTEGER, placings VARCHAR, total VARCHAR)[/INST]SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51</s>
CREATE TABLE table_name_79 (acquisition_via VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT acquisition_via FROM table_name_79 WHERE position = "forward" AND school_club_team = "state"
Which acquisition via has a position of forward and is on the state school or club?
<s>[INST]Which acquisition via has a position of forward and is on the state school or club? Context: CREATE TABLE table_name_79 (acquisition_via VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT acquisition_via FROM table_name_79 WHERE position = "forward" AND school_club_team = "state"</s>
CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_88 WHERE year < 2007 AND tournament = "sydney"
What is Score, when Year is before 2007, and when Tournament is "Sydney"?
<s>[INST]What is Score, when Year is before 2007, and when Tournament is "Sydney"? Context: CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_88 WHERE year < 2007 AND tournament = "sydney"</s>
CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR)
SELECT T1.Allergy, T1.AllergyType FROM Allergy_type AS T1 JOIN Has_allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" ORDER BY T1.Allergy
What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies.
<s>[INST]What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies. Context: CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR)[...
CREATE TABLE table_name_3 (expected_end_date VARCHAR, target_approach VARCHAR)
SELECT expected_end_date FROM table_name_3 WHERE target_approach = "notes"
What is Expected End Date, when Target/Approach is Notes?
<s>[INST]What is Expected End Date, when Target/Approach is Notes? Context: CREATE TABLE table_name_3 (expected_end_date VARCHAR, target_approach VARCHAR)[/INST]SELECT expected_end_date FROM table_name_3 WHERE target_approach = "notes"</s>
CREATE TABLE table_18425346_2 (district VARCHAR, serial_no VARCHAR)
SELECT COUNT(district) FROM table_18425346_2 WHERE serial_no = 9
In what district is the city listed in Serial number 9?
<s>[INST]In what district is the city listed in Serial number 9? Context: CREATE TABLE table_18425346_2 (district VARCHAR, serial_no VARCHAR)[/INST]SELECT COUNT(district) FROM table_18425346_2 WHERE serial_no = 9</s>
CREATE TABLE table_11951237_3 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_11951237_3 WHERE directed_by = "Timothy Van Patten"
What is theoriginal air date of the episode directed by timothy van patten?
<s>[INST]What is theoriginal air date of the episode directed by timothy van patten? Context: CREATE TABLE table_11951237_3 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_11951237_3 WHERE directed_by = "Timothy Van Patten"</s>
CREATE TABLE table_22357065_1 (league VARCHAR, nation VARCHAR)
SELECT league AS Cup FROM table_22357065_1 WHERE nation = "Northern Ireland"
Name the league cup for northern ireland
<s>[INST]Name the league cup for northern ireland Context: CREATE TABLE table_22357065_1 (league VARCHAR, nation VARCHAR)[/INST]SELECT league AS Cup FROM table_22357065_1 WHERE nation = "Northern Ireland"</s>
CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR)
SELECT date FROM table_name_85 WHERE decision = "joseph" AND home = "detroit" AND record = "27–13–5–2"
What was the date of the home Detroit game with a decision of Joseph and a record of 27–13–5–2?
<s>[INST]What was the date of the home Detroit game with a decision of Joseph and a record of 27–13–5–2? Context: CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE decision = "joseph" AND home = "detroit" AND record = "27–13–5–2"</s>
CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR)
SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"
What is the "season joined league" for the club that had 15 seasons at this level?
<s>[INST]What is the "season joined league" for the club that had 15 seasons at this level? Context: CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR)[/INST]SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"</s>
CREATE TABLE table_20462111_1 (location VARCHAR, date VARCHAR)
SELECT location FROM table_20462111_1 WHERE date = "07.02.2009"
Where was the cup on 07.02.2009 held?
<s>[INST]Where was the cup on 07.02.2009 held? Context: CREATE TABLE table_20462111_1 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_20462111_1 WHERE date = "07.02.2009"</s>
CREATE TABLE table_name_15 (round INTEGER, res VARCHAR, opponent VARCHAR)
SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia"
Name the Round that has Res of win and an Opponent of demian maia?
<s>[INST]Name the Round that has Res of win and an Opponent of demian maia? Context: CREATE TABLE table_name_15 (round INTEGER, res VARCHAR, opponent VARCHAR)[/INST]SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia"</s>
CREATE TABLE table_name_67 (laps VARCHAR, rank VARCHAR, start VARCHAR)
SELECT laps FROM table_name_67 WHERE rank = "14" AND start = "16"
Name the laps for rank of 14 and start of 16
<s>[INST]Name the laps for rank of 14 and start of 16 Context: CREATE TABLE table_name_67 (laps VARCHAR, rank VARCHAR, start VARCHAR)[/INST]SELECT laps FROM table_name_67 WHERE rank = "14" AND start = "16"</s>
CREATE TABLE table_26860595_2 (texture___gt__s_ VARCHAR, tdp__watts__gpu_only VARCHAR)
SELECT COUNT(texture___gt__s_) FROM table_26860595_2 WHERE tdp__watts__gpu_only = "18"
How many texture (gt/s) the card has if the tdp (watts) GPU only is 18?
<s>[INST]How many texture (gt/s) the card has if the tdp (watts) GPU only is 18? Context: CREATE TABLE table_26860595_2 (texture___gt__s_ VARCHAR, tdp__watts__gpu_only VARCHAR)[/INST]SELECT COUNT(texture___gt__s_) FROM table_26860595_2 WHERE tdp__watts__gpu_only = "18"</s>
CREATE TABLE table_16710829_2 (date VARCHAR, game VARCHAR)
SELECT date FROM table_16710829_2 WHERE game = 9
Name the date for game 9
<s>[INST]Name the date for game 9 Context: CREATE TABLE table_16710829_2 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_16710829_2 WHERE game = 9</s>
CREATE TABLE table_name_88 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_88 WHERE surface = "clay" AND date = "18 april 2011"
What is the score in the final of the tournament with a clay surface on 18 April 2011?
<s>[INST]What is the score in the final of the tournament with a clay surface on 18 April 2011? Context: CREATE TABLE table_name_88 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_88 WHERE surface = "clay" AND date = "18 april 2011"</s>
CREATE TABLE table_name_63 (current_map VARCHAR, namesake VARCHAR)
SELECT current_map FROM table_name_63 WHERE namesake = "discovery rupes"
What is the current map designation of the feature which was named for discovery rupes?
<s>[INST]What is the current map designation of the feature which was named for discovery rupes? Context: CREATE TABLE table_name_63 (current_map VARCHAR, namesake VARCHAR)[/INST]SELECT current_map FROM table_name_63 WHERE namesake = "discovery rupes"</s>
CREATE TABLE table_23128286_1 (wins VARCHAR, team_name VARCHAR)
SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = "Carlin Motorsport"
How many wins did he have with carlin motorsport?
<s>[INST]How many wins did he have with carlin motorsport? Context: CREATE TABLE table_23128286_1 (wins VARCHAR, team_name VARCHAR)[/INST]SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = "Carlin Motorsport"</s>
CREATE TABLE table_name_24 (reimboldsh VARCHAR, willingshain VARCHAR, gersdorf VARCHAR)
SELECT reimboldsh FROM table_name_24 WHERE willingshain = "268" AND gersdorf = "194"
What Reimboldsh has Willingshain of 268 and Gersdorf 194?
<s>[INST]What Reimboldsh has Willingshain of 268 and Gersdorf 194? Context: CREATE TABLE table_name_24 (reimboldsh VARCHAR, willingshain VARCHAR, gersdorf VARCHAR)[/INST]SELECT reimboldsh FROM table_name_24 WHERE willingshain = "268" AND gersdorf = "194"</s>
CREATE TABLE table_20360535_2 (directed_by VARCHAR, television_order VARCHAR)
SELECT directed_by FROM table_20360535_2 WHERE television_order = "S01E13"
who directed s01e13
<s>[INST]who directed s01e13 Context: CREATE TABLE table_20360535_2 (directed_by VARCHAR, television_order VARCHAR)[/INST]SELECT directed_by FROM table_20360535_2 WHERE television_order = "S01E13"</s>
CREATE TABLE table_name_27 (division INTEGER, year INTEGER)
SELECT MAX(division) FROM table_name_27 WHERE year < 2011
What is the highest division for years earlier than 2011?
<s>[INST]What is the highest division for years earlier than 2011? Context: CREATE TABLE table_name_27 (division INTEGER, year INTEGER)[/INST]SELECT MAX(division) FROM table_name_27 WHERE year < 2011</s>
CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)
SELECT province FROM table_name_63 WHERE airport = "luogang international airport"
Which province is Luogang International Airport located in?
<s>[INST]Which province is Luogang International Airport located in? Context: CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)[/INST]SELECT province FROM table_name_63 WHERE airport = "luogang international airport"</s>
CREATE TABLE table_name_19 (date VARCHAR, loss VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"
What was the date of A. Benes loss to the Rockies?
<s>[INST]What was the date of A. Benes loss to the Rockies? Context: CREATE TABLE table_name_19 (date VARCHAR, loss VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"</s>
CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR)
SELECT Maker, Model FROM MODEL_LIST
What are all the makers and models?
<s>[INST]What are all the makers and models? Context: CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR)[/INST]SELECT Maker, Model FROM MODEL_LIST</s>
CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
SELECT winner FROM table_14395920_2 WHERE points_classification = "Mark Cavendish" AND general_classification = "Rinaldo Nocentini" AND stage < 11.0
Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0?
<s>[INST]Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0? Context: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT winner FROM...
CREATE TABLE table_name_97 (athlete VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR)
SELECT athlete FROM table_name_97 WHERE rank > 1 AND lane > 7 AND nationality = "china"
Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a Nationality of china?
<s>[INST]Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a Nationality of china? Context: CREATE TABLE table_name_97 (athlete VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR)[/INST]SELECT athlete FROM table_name_97 WHERE rank > 1 AND lane > 7 AND nationality = "china"</s>
CREATE TABLE table_27067379_1 (height VARCHAR, number_of_floors VARCHAR)
SELECT height FROM table_27067379_1 WHERE number_of_floors = 70
If the number of floors is 70, what is the height?
<s>[INST]If the number of floors is 70, what is the height? Context: CREATE TABLE table_27067379_1 (height VARCHAR, number_of_floors VARCHAR)[/INST]SELECT height FROM table_27067379_1 WHERE number_of_floors = 70</s>
CREATE TABLE table_name_95 (function__figure_ VARCHAR, serial_number VARCHAR)
SELECT function__figure_ FROM table_name_95 WHERE serial_number = "af 934103"
What Function (figure) has Serial number AF 934103?
<s>[INST]What Function (figure) has Serial number AF 934103? Context: CREATE TABLE table_name_95 (function__figure_ VARCHAR, serial_number VARCHAR)[/INST]SELECT function__figure_ FROM table_name_95 WHERE serial_number = "af 934103"</s>
CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR)
SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome"
What is the kickoff time for the Hubert H. Humphrey Metrodome?
<s>[INST]What is the kickoff time for the Hubert H. Humphrey Metrodome? Context: CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR)[/INST]SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome"</s>
CREATE TABLE table_name_21 (round INTEGER, method VARCHAR)
SELECT SUM(round) FROM table_name_21 WHERE method = "submission (choke)"
How many total rounds used the submission (choke) method?
<s>[INST]How many total rounds used the submission (choke) method? Context: CREATE TABLE table_name_21 (round INTEGER, method VARCHAR)[/INST]SELECT SUM(round) FROM table_name_21 WHERE method = "submission (choke)"</s>
CREATE TABLE table_name_45 (north VARCHAR, south VARCHAR)
SELECT north FROM table_name_45 WHERE south = "sb rosenheim"
What is the north with sb rosenheim as the south?
<s>[INST]What is the north with sb rosenheim as the south? Context: CREATE TABLE table_name_45 (north VARCHAR, south VARCHAR)[/INST]SELECT north FROM table_name_45 WHERE south = "sb rosenheim"</s>
CREATE TABLE table_name_82 (attendance INTEGER, result VARCHAR, week VARCHAR)
SELECT MIN(attendance) FROM table_name_82 WHERE result = "l 42-35" AND week < 13
What is the lowest attendance that has l 42-35 as the result, with a week less than 13?
<s>[INST]What is the lowest attendance that has l 42-35 as the result, with a week less than 13? Context: CREATE TABLE table_name_82 (attendance INTEGER, result VARCHAR, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_82 WHERE result = "l 42-35" AND week < 13</s>
CREATE TABLE table_name_4 (role VARCHAR, program VARCHAR)
SELECT role FROM table_name_4 WHERE program = "the bionic woman"
What's the roles of the Bionic Woman?
<s>[INST]What's the roles of the Bionic Woman? Context: CREATE TABLE table_name_4 (role VARCHAR, program VARCHAR)[/INST]SELECT role FROM table_name_4 WHERE program = "the bionic woman"</s>
CREATE TABLE table_name_68 (home VARCHAR, away VARCHAR)
SELECT home FROM table_name_68 WHERE away = "motagua"
What is the Home team when Motagua is the Away team?
<s>[INST]What is the Home team when Motagua is the Away team? Context: CREATE TABLE table_name_68 (home VARCHAR, away VARCHAR)[/INST]SELECT home FROM table_name_68 WHERE away = "motagua"</s>
CREATE TABLE student (dept_code VARCHAR, stu_gpa INTEGER)
SELECT MAX(stu_gpa), AVG(stu_gpa), MIN(stu_gpa), dept_code FROM student GROUP BY dept_code
Find the max, average, and minimum gpa of all students in each department.
<s>[INST]Find the max, average, and minimum gpa of all students in each department. Context: CREATE TABLE student (dept_code VARCHAR, stu_gpa INTEGER)[/INST]SELECT MAX(stu_gpa), AVG(stu_gpa), MIN(stu_gpa), dept_code FROM student GROUP BY dept_code</s>
CREATE TABLE table_17246160_1 (position VARCHAR, team VARCHAR)
SELECT position FROM table_17246160_1 WHERE team = "Josef Kaufmann Racing"
What was the position for the Josef Kaufmann Racing team?
<s>[INST]What was the position for the Josef Kaufmann Racing team? Context: CREATE TABLE table_17246160_1 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_17246160_1 WHERE team = "Josef Kaufmann Racing"</s>
CREATE TABLE table_name_3 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_3 WHERE city = "budapest"
Name the IATA with a City of budapest?
<s>[INST]Name the IATA with a City of budapest? Context: CREATE TABLE table_name_3 (iata VARCHAR, city VARCHAR)[/INST]SELECT iata FROM table_name_3 WHERE city = "budapest"</s>
CREATE TABLE table_1341423_13 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341423_13 WHERE incumbent = "Henry Hyde"
What district is Henry Hyde in
<s>[INST]What district is Henry Hyde in Context: CREATE TABLE table_1341423_13 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341423_13 WHERE incumbent = "Henry Hyde"</s>
CREATE TABLE table_name_23 (vietnamese_name VARCHAR, chinese_name_¹ VARCHAR)
SELECT vietnamese_name FROM table_name_23 WHERE chinese_name_¹ = "芒種 (芒种) mángzhòng"
WHICH Vietnamese name has a Chinese name ¹ of 芒種 (芒种) mángzhòng?
<s>[INST]WHICH Vietnamese name has a Chinese name ¹ of 芒種 (芒种) mángzhòng? Context: CREATE TABLE table_name_23 (vietnamese_name VARCHAR, chinese_name_¹ VARCHAR)[/INST]SELECT vietnamese_name FROM table_name_23 WHERE chinese_name_¹ = "芒種 (芒种) mángzhòng"</s>
CREATE TABLE table_18042409_1 (player VARCHAR, alma_mater VARCHAR)
SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurier University"
List the plats that attended Wilfrid Laurier University.
<s>[INST]List the plats that attended Wilfrid Laurier University. Context: CREATE TABLE table_18042409_1 (player VARCHAR, alma_mater VARCHAR)[/INST]SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurier University"</s>
CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)
SELECT MAX(w) FROM table_29542147_2 WHERE l = 0
What is the highest W of the 0 L?
<s>[INST]What is the highest W of the 0 L? Context: CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)[/INST]SELECT MAX(w) FROM table_29542147_2 WHERE l = 0</s>
CREATE TABLE table_name_98 (batsmen VARCHAR, year VARCHAR)
SELECT batsmen FROM table_name_98 WHERE year = "2002"
Who are the Batsmen from the year 2002?
<s>[INST]Who are the Batsmen from the year 2002? Context: CREATE TABLE table_name_98 (batsmen VARCHAR, year VARCHAR)[/INST]SELECT batsmen FROM table_name_98 WHERE year = "2002"</s>
CREATE TABLE table_name_3 (investment_earnings VARCHAR, year VARCHAR, other_local_sources VARCHAR)
SELECT investment_earnings FROM table_name_3 WHERE year > 2001 AND other_local_sources = "$2,670,060"
What were the investment earnings in a year when other local sources were $2,670,060 after 2001?
<s>[INST]What were the investment earnings in a year when other local sources were $2,670,060 after 2001? Context: CREATE TABLE table_name_3 (investment_earnings VARCHAR, year VARCHAR, other_local_sources VARCHAR)[/INST]SELECT investment_earnings FROM table_name_3 WHERE year > 2001 AND other_local_sources = "$2,670,060...
CREATE TABLE table_name_82 (location___state VARCHAR, team VARCHAR, winner VARCHAR)
SELECT location___state FROM table_name_82 WHERE team = "castrol perkins motorsport" AND winner = "russell ingall"
Castrol Perkins Motorsport and the winner Russell Ingall was in what location/state?
<s>[INST]Castrol Perkins Motorsport and the winner Russell Ingall was in what location/state? Context: CREATE TABLE table_name_82 (location___state VARCHAR, team VARCHAR, winner VARCHAR)[/INST]SELECT location___state FROM table_name_82 WHERE team = "castrol perkins motorsport" AND winner = "russell ingall"</s>
CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_58 WHERE date = "october 8, 1985"
What was the result on October 8, 1985?
<s>[INST]What was the result on October 8, 1985? Context: CREATE TABLE table_name_58 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_58 WHERE date = "october 8, 1985"</s>