answer
stringlengths
18
557
context
stringlengths
27
489
question
stringlengths
12
244
text
stringlengths
275
1.7k
SELECT skipper FROM table_name_90 WHERE points = "78"
CREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR)
Which skipper has 78 points?
<s>[INST] Given the following SQL query and context: Query: SELECT skipper FROM table_name_90 WHERE points = "78" Context: CREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which skipper has 78 points? The answer to your question is: SELECT skipper FROM table_name_90 WHERE points = "78". [/s>
SELECT overall_place FROM table_name_57 WHERE yacht_name = "lg flatron"
CREATE TABLE table_name_57 (overall_place VARCHAR, yacht_name VARCHAR)
Which Overall place has a Yacht name of lg flatron?
<s>[INST] Given the following SQL query and context: Query: SELECT overall_place FROM table_name_57 WHERE yacht_name = "lg flatron" Context: CREATE TABLE table_name_57 (overall_place VARCHAR, yacht_name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Overall place has a Yacht name of lg flatron? The answer to your question is: SELECT overall_place FROM table_name_57 WHERE yacht_name = "lg flatron". [/s>
SELECT combined_elapsed_time FROM table_name_17 WHERE skipper = "stephen wilkins"
CREATE TABLE table_name_17 (combined_elapsed_time VARCHAR, skipper VARCHAR)
Which Combined elapsed time has a Skipper of stephen wilkins?
<s>[INST] Given the following SQL query and context: Query: SELECT combined_elapsed_time FROM table_name_17 WHERE skipper = "stephen wilkins" Context: CREATE TABLE table_name_17 (combined_elapsed_time VARCHAR, skipper VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Combined elapsed time has a Skipper of stephen wilkins? The answer to your question is: SELECT combined_elapsed_time FROM table_name_17 WHERE skipper = "stephen wilkins". [/s>
SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988
CREATE TABLE table_name_84 (points INTEGER, entrant VARCHAR, year VARCHAR)
Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988 Context: CREATE TABLE table_name_84 (points INTEGER, entrant VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored? The answer to your question is: SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988. [/s>
SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives"
CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)
Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?
<s>[INST] Given the following SQL query and context: Query: SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives" Context: CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points? The answer to your question is: SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives". [/s>
SELECT entrant FROM table_name_41 WHERE year < 1988
CREATE TABLE table_name_41 (entrant VARCHAR, year INTEGER)
Who was the entrant before 1988?
<s>[INST] Given the following SQL query and context: Query: SELECT entrant FROM table_name_41 WHERE year < 1988 Context: CREATE TABLE table_name_41 (entrant VARCHAR, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: Who was the entrant before 1988? The answer to your question is: SELECT entrant FROM table_name_41 WHERE year < 1988. [/s>
SELECT engine FROM table_name_89 WHERE year = 1987
CREATE TABLE table_name_89 (engine VARCHAR, year VARCHAR)
Which engine was used in 1987?
<s>[INST] Given the following SQL query and context: Query: SELECT engine FROM table_name_89 WHERE year = 1987 Context: CREATE TABLE table_name_89 (engine VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which engine was used in 1987? The answer to your question is: SELECT engine FROM table_name_89 WHERE year = 1987. [/s>
SELECT league FROM table_name_39 WHERE year = 2001
CREATE TABLE table_name_39 (league VARCHAR, year VARCHAR)
What league did they play in 2001?
<s>[INST] Given the following SQL query and context: Query: SELECT league FROM table_name_39 WHERE year = 2001 Context: CREATE TABLE table_name_39 (league VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What league did they play in 2001? The answer to your question is: SELECT league FROM table_name_39 WHERE year = 2001. [/s>
SELECT open_cup FROM table_name_21 WHERE reg_season = "2nd, northeast"
CREATE TABLE table_name_21 (open_cup VARCHAR, reg_season VARCHAR)
What open cup did they play in when they finished 2nd, northeast in the reg. season?
<s>[INST] Given the following SQL query and context: Query: SELECT open_cup FROM table_name_21 WHERE reg_season = "2nd, northeast" Context: CREATE TABLE table_name_21 (open_cup VARCHAR, reg_season VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What open cup did they play in when they finished 2nd, northeast in the reg. season? The answer to your question is: SELECT open_cup FROM table_name_21 WHERE reg_season = "2nd, northeast". [/s>
SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR)
What is the week with a date of October 9, 1983, and attendance smaller than 40,492?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492 Context: CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the week with a date of October 9, 1983, and attendance smaller than 40,492? The answer to your question is: SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492. [/s>
SELECT MIN(attendance) FROM table_name_30 WHERE week = 14
CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR)
What is the lowest attendance with week 14?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(attendance) FROM table_name_30 WHERE week = 14 Context: CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest attendance with week 14? The answer to your question is: SELECT MIN(attendance) FROM table_name_30 WHERE week = 14. [/s>
SELECT game_site FROM table_name_90 WHERE week = 12
CREATE TABLE table_name_90 (game_site VARCHAR, week VARCHAR)
Where did the Oakland Raiders play in week 12 of their 1976 season?
<s>[INST] Given the following SQL query and context: Query: SELECT game_site FROM table_name_90 WHERE week = 12 Context: CREATE TABLE table_name_90 (game_site VARCHAR, week VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Where did the Oakland Raiders play in week 12 of their 1976 season? The answer to your question is: SELECT game_site FROM table_name_90 WHERE week = 12. [/s>
SELECT SUM(year) FROM table_name_43 WHERE entrant = "barclay nordica arrows bmw" AND engine = "cosworth v8"
CREATE TABLE table_name_43 (year INTEGER, entrant VARCHAR, engine VARCHAR)
How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_43 WHERE entrant = "barclay nordica arrows bmw" AND engine = "cosworth v8" Context: CREATE TABLE table_name_43 (year INTEGER, entrant VARCHAR, engine VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine? The answer to your question is: SELECT SUM(year) FROM table_name_43 WHERE entrant = "barclay nordica arrows bmw" AND engine = "cosworth v8". [/s>
SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1
CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR)
How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1 Context: CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point? The answer to your question is: SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1. [/s>
SELECT SUM(year) FROM table_name_12 WHERE points = 4 AND chassis = "ensign n180b"
CREATE TABLE table_name_12 (year INTEGER, points VARCHAR, chassis VARCHAR)
How many years was ensign n180b a Chassis with 4 points?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_12 WHERE points = 4 AND chassis = "ensign n180b" Context: CREATE TABLE table_name_12 (year INTEGER, points VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many years was ensign n180b a Chassis with 4 points? The answer to your question is: SELECT SUM(year) FROM table_name_12 WHERE points = 4 AND chassis = "ensign n180b". [/s>
SELECT division_record FROM table_name_26 WHERE team = "indians"
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
What is the division record for the Indians?
<s>[INST] Given the following SQL query and context: Query: SELECT division_record FROM table_name_26 WHERE team = "indians" Context: CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the division record for the Indians? The answer to your question is: SELECT division_record FROM table_name_26 WHERE team = "indians". [/s>
SELECT overall_record FROM table_name_17 WHERE school = "indian river"
CREATE TABLE table_name_17 (overall_record VARCHAR, school VARCHAR)
What is the overall record of Indian River?
<s>[INST] Given the following SQL query and context: Query: SELECT overall_record FROM table_name_17 WHERE school = "indian river" Context: CREATE TABLE table_name_17 (overall_record VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the overall record of Indian River? The answer to your question is: SELECT overall_record FROM table_name_17 WHERE school = "indian river". [/s>
SELECT season_outcome FROM table_name_43 WHERE school = "lake forest"
CREATE TABLE table_name_43 (season_outcome VARCHAR, school VARCHAR)
What was the season outcome of Lake Forest?
<s>[INST] Given the following SQL query and context: Query: SELECT season_outcome FROM table_name_43 WHERE school = "lake forest" Context: CREATE TABLE table_name_43 (season_outcome VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the season outcome of Lake Forest? The answer to your question is: SELECT season_outcome FROM table_name_43 WHERE school = "lake forest". [/s>
SELECT COUNT(decile) FROM table_name_51 WHERE gender = "coed"
CREATE TABLE table_name_51 (decile VARCHAR, gender VARCHAR)
How many Deciles are coed?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(decile) FROM table_name_51 WHERE gender = "coed" Context: CREATE TABLE table_name_51 (decile VARCHAR, gender VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many Deciles are coed? The answer to your question is: SELECT COUNT(decile) FROM table_name_51 WHERE gender = "coed". [/s>
SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed"
CREATE TABLE table_name_94 (decile INTEGER, gender VARCHAR)
Which is the lowest Decile that is coed?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed" Context: CREATE TABLE table_name_94 (decile INTEGER, gender VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which is the lowest Decile that is coed? The answer to your question is: SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed". [/s>
SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school"
CREATE TABLE table_name_98 (years VARCHAR, name VARCHAR)
What are the years for Kawerau Putauaki School?
<s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school" Context: CREATE TABLE table_name_98 (years VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What are the years for Kawerau Putauaki School? The answer to your question is: SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school". [/s>
SELECT round___race FROM table_name_32 WHERE winning_driver = "charles hollings" AND pole_position = "charles hollings"
CREATE TABLE table_name_32 (round___race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
What is the round or race of the winning driver Charles Hollings and what was his pole position?
<s>[INST] Given the following SQL query and context: Query: SELECT round___race FROM table_name_32 WHERE winning_driver = "charles hollings" AND pole_position = "charles hollings" Context: CREATE TABLE table_name_32 (round___race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the round or race of the winning driver Charles Hollings and what was his pole position? The answer to your question is: SELECT round___race FROM table_name_32 WHERE winning_driver = "charles hollings" AND pole_position = "charles hollings". [/s>
SELECT MIN(year) FROM table_name_69 WHERE performance = "long jump" AND competition = "world indoor championships" AND position = "5th"
CREATE TABLE table_name_69 (year INTEGER, position VARCHAR, performance VARCHAR, competition VARCHAR)
What was the earliest year in which long jump was performed in the world indoor Championships in 5th position?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_69 WHERE performance = "long jump" AND competition = "world indoor championships" AND position = "5th" Context: CREATE TABLE table_name_69 (year INTEGER, position VARCHAR, performance VARCHAR, competition VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the earliest year in which long jump was performed in the world indoor Championships in 5th position? The answer to your question is: SELECT MIN(year) FROM table_name_69 WHERE performance = "long jump" AND competition = "world indoor championships" AND position = "5th". [/s>
SELECT MAX(year) FROM table_name_12 WHERE position = "4th" AND venue = "budapest, hungary"
CREATE TABLE table_name_12 (year INTEGER, position VARCHAR, venue VARCHAR)
What was the latest year in which she took 4th position in Budapest, Hungary?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(year) FROM table_name_12 WHERE position = "4th" AND venue = "budapest, hungary" Context: CREATE TABLE table_name_12 (year INTEGER, position VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the latest year in which she took 4th position in Budapest, Hungary? The answer to your question is: SELECT MAX(year) FROM table_name_12 WHERE position = "4th" AND venue = "budapest, hungary". [/s>
SELECT name FROM table_name_20 WHERE mission = "apollo 16" AND age_at_first_step = "36y 6m 18d"
CREATE TABLE table_name_20 (name VARCHAR, mission VARCHAR, age_at_first_step VARCHAR)
Which astronaut went on the Apollo 16 mission at the age of 36y 6m 18d to step on the moon?
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_20 WHERE mission = "apollo 16" AND age_at_first_step = "36y 6m 18d" Context: CREATE TABLE table_name_20 (name VARCHAR, mission VARCHAR, age_at_first_step VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which astronaut went on the Apollo 16 mission at the age of 36y 6m 18d to step on the moon? The answer to your question is: SELECT name FROM table_name_20 WHERE mission = "apollo 16" AND age_at_first_step = "36y 6m 18d". [/s>
SELECT mission FROM table_name_8 WHERE name = "david scott"
CREATE TABLE table_name_8 (mission VARCHAR, name VARCHAR)
David Scott went on which mission?
<s>[INST] Given the following SQL query and context: Query: SELECT mission FROM table_name_8 WHERE name = "david scott" Context: CREATE TABLE table_name_8 (mission VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: David Scott went on which mission? The answer to your question is: SELECT mission FROM table_name_8 WHERE name = "david scott". [/s>
SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d"
CREATE TABLE table_name_65 (service VARCHAR, age_at_first_step VARCHAR)
The astronaut who was 37y 8m 4d when making a first step on the moon was in which service?
<s>[INST] Given the following SQL query and context: Query: SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d" Context: CREATE TABLE table_name_65 (service VARCHAR, age_at_first_step VARCHAR) [/INST] Based on the provided SQL query and context, your question is: The astronaut who was 37y 8m 4d when making a first step on the moon was in which service? The answer to your question is: SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d". [/s>
SELECT lunar_eva_dates FROM table_name_27 WHERE mission = "apollo 12" AND name = "pete conrad"
CREATE TABLE table_name_27 (lunar_eva_dates VARCHAR, mission VARCHAR, name VARCHAR)
Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates?
<s>[INST] Given the following SQL query and context: Query: SELECT lunar_eva_dates FROM table_name_27 WHERE mission = "apollo 12" AND name = "pete conrad" Context: CREATE TABLE table_name_27 (lunar_eva_dates VARCHAR, mission VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates? The answer to your question is: SELECT lunar_eva_dates FROM table_name_27 WHERE mission = "apollo 12" AND name = "pete conrad". [/s>
SELECT born FROM table_name_27 WHERE age_at_first_step = "38y 9m 7d"
CREATE TABLE table_name_27 (born VARCHAR, age_at_first_step VARCHAR)
The Apollo astronaut who was 38y 9m 7d when first stepping on the moon is who?
<s>[INST] Given the following SQL query and context: Query: SELECT born FROM table_name_27 WHERE age_at_first_step = "38y 9m 7d" Context: CREATE TABLE table_name_27 (born VARCHAR, age_at_first_step VARCHAR) [/INST] Based on the provided SQL query and context, your question is: The Apollo astronaut who was 38y 9m 7d when first stepping on the moon is who? The answer to your question is: SELECT born FROM table_name_27 WHERE age_at_first_step = "38y 9m 7d". [/s>
SELECT class FROM table_name_72 WHERE year < 2011 AND chassis = "audi r15 tdi"
CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, chassis VARCHAR)
Which class has a year prior to 2011 and audi r15 tdi as the chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT class FROM table_name_72 WHERE year < 2011 AND chassis = "audi r15 tdi" Context: CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which class has a year prior to 2011 and audi r15 tdi as the chassis? The answer to your question is: SELECT class FROM table_name_72 WHERE year < 2011 AND chassis = "audi r15 tdi". [/s>
SELECT engine FROM table_name_51 WHERE year > 2006 AND points = "60"
CREATE TABLE table_name_51 (engine VARCHAR, year VARCHAR, points VARCHAR)
Which engine has a year later than 2006 and 60 as the points?
<s>[INST] Given the following SQL query and context: Query: SELECT engine FROM table_name_51 WHERE year > 2006 AND points = "60" Context: CREATE TABLE table_name_51 (engine VARCHAR, year VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which engine has a year later than 2006 and 60 as the points? The answer to your question is: SELECT engine FROM table_name_51 WHERE year > 2006 AND points = "60". [/s>
SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r"
CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r" Context: CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis? The answer to your question is: SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r". [/s>
SELECT entrant FROM table_name_22 WHERE rank = "25th"
CREATE TABLE table_name_22 (entrant VARCHAR, rank VARCHAR)
Which entrant has 25th as the rank?
<s>[INST] Given the following SQL query and context: Query: SELECT entrant FROM table_name_22 WHERE rank = "25th" Context: CREATE TABLE table_name_22 (entrant VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which entrant has 25th as the rank? The answer to your question is: SELECT entrant FROM table_name_22 WHERE rank = "25th". [/s>
SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17
CREATE TABLE table_name_20 (year_won INTEGER, player VARCHAR, to_par VARCHAR)
What is the average year Rich Beem had a to par less than 17?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17 Context: CREATE TABLE table_name_20 (year_won INTEGER, player VARCHAR, to_par VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average year Rich Beem had a to par less than 17? The answer to your question is: SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17. [/s>
SELECT MIN(year_won) FROM table_name_81 WHERE total > 156
CREATE TABLE table_name_81 (year_won INTEGER, total INTEGER)
What is the earliest year won with a total bigger than 156?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year_won) FROM table_name_81 WHERE total > 156 Context: CREATE TABLE table_name_81 (year_won INTEGER, total INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the earliest year won with a total bigger than 156? The answer to your question is: SELECT MIN(year_won) FROM table_name_81 WHERE total > 156. [/s>
SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7
CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR)
What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7 Context: CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7? The answer to your question is: SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7. [/s>
SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145
CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR)
What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145 Context: CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145? The answer to your question is: SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145. [/s>
SELECT MIN(year_won) FROM table_name_12 WHERE player = "paul azinger" AND to_par > 5
CREATE TABLE table_name_12 (year_won INTEGER, player VARCHAR, to_par VARCHAR)
What is the earliest year won Paul Azinger had with a to par higher than 5?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year_won) FROM table_name_12 WHERE player = "paul azinger" AND to_par > 5 Context: CREATE TABLE table_name_12 (year_won INTEGER, player VARCHAR, to_par VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the earliest year won Paul Azinger had with a to par higher than 5? The answer to your question is: SELECT MIN(year_won) FROM table_name_12 WHERE player = "paul azinger" AND to_par > 5. [/s>
SELECT COUNT(year_won) FROM table_name_22 WHERE country = "australia" AND to_par > 16
CREATE TABLE table_name_22 (year_won VARCHAR, country VARCHAR, to_par VARCHAR)
What is the year won by Australia with a to par bigger than 16?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(year_won) FROM table_name_22 WHERE country = "australia" AND to_par > 16 Context: CREATE TABLE table_name_22 (year_won VARCHAR, country VARCHAR, to_par VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the year won by Australia with a to par bigger than 16? The answer to your question is: SELECT COUNT(year_won) FROM table_name_22 WHERE country = "australia" AND to_par > 16. [/s>
SELECT lifespan FROM table_name_96 WHERE representative = "theodore f. kluttz"
CREATE TABLE table_name_96 (lifespan VARCHAR, representative VARCHAR)
What is the Lifespan when the Representative is Theodore F. Kluttz?
<s>[INST] Given the following SQL query and context: Query: SELECT lifespan FROM table_name_96 WHERE representative = "theodore f. kluttz" Context: CREATE TABLE table_name_96 (lifespan VARCHAR, representative VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Lifespan when the Representative is Theodore F. Kluttz? The answer to your question is: SELECT lifespan FROM table_name_96 WHERE representative = "theodore f. kluttz". [/s>
SELECT week FROM table_name_88 WHERE result = "l 35–37"
CREATE TABLE table_name_88 (week VARCHAR, result VARCHAR)
What week's game had a result of l 35–37?
<s>[INST] Given the following SQL query and context: Query: SELECT week FROM table_name_88 WHERE result = "l 35–37" Context: CREATE TABLE table_name_88 (week VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What week's game had a result of l 35–37? The answer to your question is: SELECT week FROM table_name_88 WHERE result = "l 35–37". [/s>
SELECT year FROM table_name_16 WHERE entrant = "trio brdeact wind allass"
CREATE TABLE table_name_16 (year VARCHAR, entrant VARCHAR)
What year was trio brdeact wind allass the entrant?
<s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_16 WHERE entrant = "trio brdeact wind allass" Context: CREATE TABLE table_name_16 (year VARCHAR, entrant VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year was trio brdeact wind allass the entrant? The answer to your question is: SELECT year FROM table_name_16 WHERE entrant = "trio brdeact wind allass". [/s>
SELECT SUM(year) FROM table_name_46 WHERE chassis = "kurtis kraft 500f"
CREATE TABLE table_name_46 (year INTEGER, chassis VARCHAR)
What is the year when kurtis kraft 500f was the chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(year) FROM table_name_46 WHERE chassis = "kurtis kraft 500f" Context: CREATE TABLE table_name_46 (year INTEGER, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the year when kurtis kraft 500f was the chassis? The answer to your question is: SELECT SUM(year) FROM table_name_46 WHERE chassis = "kurtis kraft 500f". [/s>
SELECT MIN(year) FROM table_name_38 WHERE points > 0
CREATE TABLE table_name_38 (year INTEGER, points INTEGER)
What is the earliest year when the points were more than 0?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_38 WHERE points > 0 Context: CREATE TABLE table_name_38 (year INTEGER, points INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the earliest year when the points were more than 0? The answer to your question is: SELECT MIN(year) FROM table_name_38 WHERE points > 0. [/s>
SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186
CREATE TABLE table_name_91 (name VARCHAR, roll VARCHAR, area VARCHAR, decile VARCHAR)
What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186?
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186 Context: CREATE TABLE table_name_91 (name VARCHAR, roll VARCHAR, area VARCHAR, decile VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186? The answer to your question is: SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186. [/s>
SELECT name FROM table_name_52 WHERE area = "balclutha" AND roll < 55
CREATE TABLE table_name_52 (name VARCHAR, area VARCHAR, roll VARCHAR)
Which school in Balclutha has a roll smaller than 55?
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_52 WHERE area = "balclutha" AND roll < 55 Context: CREATE TABLE table_name_52 (name VARCHAR, area VARCHAR, roll VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which school in Balclutha has a roll smaller than 55? The answer to your question is: SELECT name FROM table_name_52 WHERE area = "balclutha" AND roll < 55. [/s>
SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–6"
CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, score VARCHAR)
When has winnipeg jets with a Score of 4–6?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–6" Context: CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When has winnipeg jets with a Score of 4–6? The answer to your question is: SELECT date FROM table_name_82 WHERE home = "winnipeg jets" AND score = "4–6". [/s>
SELECT date FROM table_name_99 WHERE home = "edmonton oilers"
CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR)
When is Edmonton Oilers in?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_99 WHERE home = "edmonton oilers" Context: CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When is Edmonton Oilers in? The answer to your question is: SELECT date FROM table_name_99 WHERE home = "edmonton oilers". [/s>
SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7"
CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR)
What is the Score that has a Winnipeg Jets as Visitor on april 7?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7" Context: CREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score that has a Winnipeg Jets as Visitor on april 7? The answer to your question is: SELECT score FROM table_name_10 WHERE visitor = "winnipeg jets" AND date = "april 7". [/s>
SELECT score FROM table_name_71 WHERE date = "april 6"
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)
What is the Score on April 6?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_71 WHERE date = "april 6" Context: CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score on April 6? The answer to your question is: SELECT score FROM table_name_71 WHERE date = "april 6". [/s>
SELECT date FROM table_name_52 WHERE record = "1–0"
CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR)
When has a Record of 1–0?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_52 WHERE record = "1–0" Context: CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When has a Record of 1–0? The answer to your question is: SELECT date FROM table_name_52 WHERE record = "1–0". [/s>
SELECT llws FROM table_name_37 WHERE year = 2003
CREATE TABLE table_name_37 (llws VARCHAR, year VARCHAR)
What is the LLWS when the Year is 2003?
<s>[INST] Given the following SQL query and context: Query: SELECT llws FROM table_name_37 WHERE year = 2003 Context: CREATE TABLE table_name_37 (llws VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the LLWS when the Year is 2003? The answer to your question is: SELECT llws FROM table_name_37 WHERE year = 2003. [/s>
SELECT MIN(year) FROM table_name_2 WHERE city = "peabody"
CREATE TABLE table_name_2 (year INTEGER, city VARCHAR)
What is the earliest Year when the City is Peabody?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_2 WHERE city = "peabody" Context: CREATE TABLE table_name_2 (year INTEGER, city VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the earliest Year when the City is Peabody? The answer to your question is: SELECT MIN(year) FROM table_name_2 WHERE city = "peabody". [/s>
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"
CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport" Context: CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of Years when the LLWS is 4th place, and when the City is Westport? The answer to your question is: SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport". [/s>
SELECT team FROM table_name_9 WHERE kit_manufacturer = "pony" AND captain = "gary mabbutt"
CREATE TABLE table_name_9 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR)
What team has Pony as the kit manufacturer and Gary Mabbutt as the captain?
<s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_9 WHERE kit_manufacturer = "pony" AND captain = "gary mabbutt" Context: CREATE TABLE table_name_9 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What team has Pony as the kit manufacturer and Gary Mabbutt as the captain? The answer to your question is: SELECT team FROM table_name_9 WHERE kit_manufacturer = "pony" AND captain = "gary mabbutt". [/s>
SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"
CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)
Who is the manager 1 for Leeds United?
<s>[INST] Given the following SQL query and context: Query: SELECT manager_1 FROM table_name_95 WHERE team = "leeds united" Context: CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the manager 1 for Leeds United? The answer to your question is: SELECT manager_1 FROM table_name_95 WHERE team = "leeds united". [/s>
SELECT team FROM table_name_27 WHERE kit_manufacturer = "pony" AND captain = "julian dicks"
CREATE TABLE table_name_27 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR)
What is the team with a Pony kit manufacturer and Julian Dicks as the captain?
<s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_27 WHERE kit_manufacturer = "pony" AND captain = "julian dicks" Context: CREATE TABLE table_name_27 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the team with a Pony kit manufacturer and Julian Dicks as the captain? The answer to your question is: SELECT team FROM table_name_27 WHERE kit_manufacturer = "pony" AND captain = "julian dicks". [/s>
SELECT team FROM table_name_41 WHERE kit_manufacturer = "umbro" AND captain = "eric cantona"
CREATE TABLE table_name_41 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR)
What team has a kit manufacturer of Umbro and Eric Cantona as captain?
<s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_41 WHERE kit_manufacturer = "umbro" AND captain = "eric cantona" Context: CREATE TABLE table_name_41 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What team has a kit manufacturer of Umbro and Eric Cantona as captain? The answer to your question is: SELECT team FROM table_name_41 WHERE kit_manufacturer = "umbro" AND captain = "eric cantona". [/s>
SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma"
CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor?
<s>[INST] Given the following SQL query and context: Query: SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma" Context: CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor? The answer to your question is: SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma". [/s>
SELECT kit_manufacturer FROM table_name_1 WHERE shirt_sponsor = "walkers"
CREATE TABLE table_name_1 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
What is the kit manufacturer with Walkers as the shirt sponsor?
<s>[INST] Given the following SQL query and context: Query: SELECT kit_manufacturer FROM table_name_1 WHERE shirt_sponsor = "walkers" Context: CREATE TABLE table_name_1 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the kit manufacturer with Walkers as the shirt sponsor? The answer to your question is: SELECT kit_manufacturer FROM table_name_1 WHERE shirt_sponsor = "walkers". [/s>
SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988
CREATE TABLE table_name_63 (points INTEGER, chassis VARCHAR, year VARCHAR)
Name the average points for dallara 3087 lola t88/50 and year before 1988
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988 Context: CREATE TABLE table_name_63 (points INTEGER, chassis VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the average points for dallara 3087 lola t88/50 and year before 1988 The answer to your question is: SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988. [/s>
SELECT SUM(points) FROM table_name_38 WHERE year = 1992
CREATE TABLE table_name_38 (points INTEGER, year VARCHAR)
Name the sum of points for 1992
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(points) FROM table_name_38 WHERE year = 1992 Context: CREATE TABLE table_name_38 (points INTEGER, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the sum of points for 1992 The answer to your question is: SELECT SUM(points) FROM table_name_38 WHERE year = 1992. [/s>
SELECT points FROM table_name_56 WHERE year > 1987
CREATE TABLE table_name_56 (points VARCHAR, year INTEGER)
Name the points for year more than 1987
<s>[INST] Given the following SQL query and context: Query: SELECT points FROM table_name_56 WHERE year > 1987 Context: CREATE TABLE table_name_56 (points VARCHAR, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: Name the points for year more than 1987 The answer to your question is: SELECT points FROM table_name_56 WHERE year > 1987. [/s>
SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087"
CREATE TABLE table_name_62 (year VARCHAR, points VARCHAR, chassis VARCHAR)
Name the year for points less than 20 and chassis of dallara 3087
<s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087" Context: CREATE TABLE table_name_62 (year VARCHAR, points VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the year for points less than 20 and chassis of dallara 3087 The answer to your question is: SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087". [/s>
SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3
CREATE TABLE table_name_22 (apps INTEGER, season VARCHAR, goals VARCHAR)
What is the most apps that a has a total season and 3 goals?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3 Context: CREATE TABLE table_name_22 (apps INTEGER, season VARCHAR, goals VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the most apps that a has a total season and 3 goals? The answer to your question is: SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3. [/s>
SELECT COUNT(apps) FROM table_name_90 WHERE goals = 2
CREATE TABLE table_name_90 (apps VARCHAR, goals VARCHAR)
What is the final number of apps with 2 goals?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(apps) FROM table_name_90 WHERE goals = 2 Context: CREATE TABLE table_name_90 (apps VARCHAR, goals VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the final number of apps with 2 goals? The answer to your question is: SELECT COUNT(apps) FROM table_name_90 WHERE goals = 2. [/s>
SELECT airdate FROM table_name_62 WHERE bbc_one_weekly_ranking = 14
CREATE TABLE table_name_62 (airdate VARCHAR, bbc_one_weekly_ranking VARCHAR)
What date did the episode with a weekly ranking of 14 air?
<s>[INST] Given the following SQL query and context: Query: SELECT airdate FROM table_name_62 WHERE bbc_one_weekly_ranking = 14 Context: CREATE TABLE table_name_62 (airdate VARCHAR, bbc_one_weekly_ranking VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What date did the episode with a weekly ranking of 14 air? The answer to your question is: SELECT airdate FROM table_name_62 WHERE bbc_one_weekly_ranking = 14. [/s>
SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16
CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR)
What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16 Context: CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16? The answer to your question is: SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16. [/s>
SELECT rider FROM table_name_36 WHERE grid = 37
CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR)
Who has 37 grids?
<s>[INST] Given the following SQL query and context: Query: SELECT rider FROM table_name_36 WHERE grid = 37 Context: CREATE TABLE table_name_36 (rider VARCHAR, grid VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who has 37 grids? The answer to your question is: SELECT rider FROM table_name_36 WHERE grid = 37. [/s>
SELECT AVG(grid) FROM table_name_78 WHERE laps > 23
CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER)
What is the average grid with more than 23 laps?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(grid) FROM table_name_78 WHERE laps > 23 Context: CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the average grid with more than 23 laps? The answer to your question is: SELECT AVG(grid) FROM table_name_78 WHERE laps > 23. [/s>
SELECT AVG(grid) FROM table_name_56 WHERE laps > 23
CREATE TABLE table_name_56 (grid INTEGER, laps INTEGER)
What is the average grid with more than 23 laps?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(grid) FROM table_name_56 WHERE laps > 23 Context: CREATE TABLE table_name_56 (grid INTEGER, laps INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the average grid with more than 23 laps? The answer to your question is: SELECT AVG(grid) FROM table_name_56 WHERE laps > 23. [/s>
SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school"
CREATE TABLE table_name_84 (decile INTEGER, name VARCHAR)
What is the average decile for te puru school?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school" Context: CREATE TABLE table_name_84 (decile INTEGER, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average decile for te puru school? The answer to your question is: SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school". [/s>
SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835
CREATE TABLE table_name_64 (decile INTEGER, area VARCHAR, roll VARCHAR)
What is the total decile with an Area of whitianga, and a Roll smaller than 835?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835 Context: CREATE TABLE table_name_64 (decile INTEGER, area VARCHAR, roll VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total decile with an Area of whitianga, and a Roll smaller than 835? The answer to your question is: SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835. [/s>
SELECT name FROM table_name_50 WHERE area = "kennedy bay"
CREATE TABLE table_name_50 (name VARCHAR, area VARCHAR)
Which name has an Area of kennedy bay?
<s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_50 WHERE area = "kennedy bay" Context: CREATE TABLE table_name_50 (name VARCHAR, area VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which name has an Area of kennedy bay? The answer to your question is: SELECT name FROM table_name_50 WHERE area = "kennedy bay". [/s>
SELECT years FROM table_name_55 WHERE decile > 4 AND area = "thames"
CREATE TABLE table_name_55 (years VARCHAR, decile VARCHAR, area VARCHAR)
Which years have a Decile larger than 4, and an Area of thames?
<s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_55 WHERE decile > 4 AND area = "thames" Context: CREATE TABLE table_name_55 (years VARCHAR, decile VARCHAR, area VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which years have a Decile larger than 4, and an Area of thames? The answer to your question is: SELECT years FROM table_name_55 WHERE decile > 4 AND area = "thames". [/s>
SELECT authority FROM table_name_68 WHERE decile < 6 AND area = "opoutere"
CREATE TABLE table_name_68 (authority VARCHAR, decile VARCHAR, area VARCHAR)
Which Authority has a Decile smaller than 6, and an Area of opoutere?
<s>[INST] Given the following SQL query and context: Query: SELECT authority FROM table_name_68 WHERE decile < 6 AND area = "opoutere" Context: CREATE TABLE table_name_68 (authority VARCHAR, decile VARCHAR, area VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Authority has a Decile smaller than 6, and an Area of opoutere? The answer to your question is: SELECT authority FROM table_name_68 WHERE decile < 6 AND area = "opoutere". [/s>
SELECT gender FROM table_name_17 WHERE years = "1–8" AND authority = "state" AND roll < 184 AND name = "matatoki school"
CREATE TABLE table_name_17 (gender VARCHAR, name VARCHAR, roll VARCHAR, years VARCHAR, authority VARCHAR)
Which gender has Years of 1–8, an Authority of state, a Roll less than 184, and a Name of matatoki school?
<s>[INST] Given the following SQL query and context: Query: SELECT gender FROM table_name_17 WHERE years = "1–8" AND authority = "state" AND roll < 184 AND name = "matatoki school" Context: CREATE TABLE table_name_17 (gender VARCHAR, name VARCHAR, roll VARCHAR, years VARCHAR, authority VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which gender has Years of 1–8, an Authority of state, a Roll less than 184, and a Name of matatoki school? The answer to your question is: SELECT gender FROM table_name_17 WHERE years = "1–8" AND authority = "state" AND roll < 184 AND name = "matatoki school". [/s>
SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284)
CREATE TABLE table_name_34 (tournament VARCHAR, winning_score VARCHAR)
What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)?
<s>[INST] Given the following SQL query and context: Query: SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284) Context: CREATE TABLE table_name_34 (tournament VARCHAR, winning_score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)? The answer to your question is: SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284). [/s>
SELECT winning_score FROM table_name_47 WHERE runner_s__up = "brian kamm"
CREATE TABLE table_name_47 (winning_score VARCHAR, runner_s__up VARCHAR)
What was the winning score of the event where Brian Kamm was the runner-up?
<s>[INST] Given the following SQL query and context: Query: SELECT winning_score FROM table_name_47 WHERE runner_s__up = "brian kamm" Context: CREATE TABLE table_name_47 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the winning score of the event where Brian Kamm was the runner-up? The answer to your question is: SELECT winning_score FROM table_name_47 WHERE runner_s__up = "brian kamm". [/s>
SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273)
CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR)
Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)?
<s>[INST] Given the following SQL query and context: Query: SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273) Context: CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)? The answer to your question is: SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273). [/s>
SELECT date FROM table_name_39 WHERE tournament = "nike colorado classic"
CREATE TABLE table_name_39 (date VARCHAR, tournament VARCHAR)
On what date was the Nike Colorado Classic held?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_39 WHERE tournament = "nike colorado classic" Context: CREATE TABLE table_name_39 (date VARCHAR, tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the Nike Colorado Classic held? The answer to your question is: SELECT date FROM table_name_39 WHERE tournament = "nike colorado classic". [/s>
SELECT winning_score FROM table_name_57 WHERE tournament = "buy.com siouxland open"
CREATE TABLE table_name_57 (winning_score VARCHAR, tournament VARCHAR)
What was the winning score of the Buy.com Siouxland Open?
<s>[INST] Given the following SQL query and context: Query: SELECT winning_score FROM table_name_57 WHERE tournament = "buy.com siouxland open" Context: CREATE TABLE table_name_57 (winning_score VARCHAR, tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the winning score of the Buy.com Siouxland Open? The answer to your question is: SELECT winning_score FROM table_name_57 WHERE tournament = "buy.com siouxland open". [/s>
SELECT MIN(total) FROM table_name_63 WHERE rank > 8 AND routine_score > 27.6 AND difficulty_score = "13.8"
CREATE TABLE table_name_63 (total INTEGER, difficulty_score VARCHAR, rank VARCHAR, routine_score VARCHAR)
What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(total) FROM table_name_63 WHERE rank > 8 AND routine_score > 27.6 AND difficulty_score = "13.8" Context: CREATE TABLE table_name_63 (total INTEGER, difficulty_score VARCHAR, rank VARCHAR, routine_score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty? The answer to your question is: SELECT MIN(total) FROM table_name_63 WHERE rank > 8 AND routine_score > 27.6 AND difficulty_score = "13.8". [/s>
SELECT AVG(total) FROM table_name_41 WHERE games < 15 AND silver < 0
CREATE TABLE table_name_41 (total INTEGER, games VARCHAR, silver VARCHAR)
What is the average medal total of the country who had 0 silver medals and participated in less than 15 games?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(total) FROM table_name_41 WHERE games < 15 AND silver < 0 Context: CREATE TABLE table_name_41 (total INTEGER, games VARCHAR, silver VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average medal total of the country who had 0 silver medals and participated in less than 15 games? The answer to your question is: SELECT AVG(total) FROM table_name_41 WHERE games < 15 AND silver < 0. [/s>
SELECT MIN(points) FROM table_name_41 WHERE chassis = "forti fg01b forti fg03" AND year < 1996
CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR)
What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(points) FROM table_name_41 WHERE chassis = "forti fg01b forti fg03" AND year < 1996 Context: CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996? The answer to your question is: SELECT MIN(points) FROM table_name_41 WHERE chassis = "forti fg01b forti fg03" AND year < 1996. [/s>
SELECT MIN(year) FROM table_name_47 WHERE engine = "ford zetec-r v8" AND points > 0
CREATE TABLE table_name_47 (year INTEGER, engine VARCHAR, points VARCHAR)
What is the lowest year for an engine of ford zetec-r v8, and points greater than 0?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_47 WHERE engine = "ford zetec-r v8" AND points > 0 Context: CREATE TABLE table_name_47 (year INTEGER, engine VARCHAR, points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest year for an engine of ford zetec-r v8, and points greater than 0? The answer to your question is: SELECT MIN(year) FROM table_name_47 WHERE engine = "ford zetec-r v8" AND points > 0. [/s>
SELECT AVG(points) FROM table_name_63 WHERE engine = "ford zetec-r v8"
CREATE TABLE table_name_63 (points INTEGER, engine VARCHAR)
What are the average points for an engine of ford zetec-r v8?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(points) FROM table_name_63 WHERE engine = "ford zetec-r v8" Context: CREATE TABLE table_name_63 (points INTEGER, engine VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What are the average points for an engine of ford zetec-r v8? The answer to your question is: SELECT AVG(points) FROM table_name_63 WHERE engine = "ford zetec-r v8". [/s>
SELECT years FROM table_name_78 WHERE name = "elsthorpe school"
CREATE TABLE table_name_78 (years VARCHAR, name VARCHAR)
Name the years for elsthorpe school
<s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_78 WHERE name = "elsthorpe school" Context: CREATE TABLE table_name_78 (years VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the years for elsthorpe school The answer to your question is: SELECT years FROM table_name_78 WHERE name = "elsthorpe school". [/s>
SELECT COUNT(roll) FROM table_name_19 WHERE name = "st joseph's school" AND decile < 5
CREATE TABLE table_name_19 (roll VARCHAR, name VARCHAR, decile VARCHAR)
Name the total number of roll for st joseph's school when decile is less than 5
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(roll) FROM table_name_19 WHERE name = "st joseph's school" AND decile < 5 Context: CREATE TABLE table_name_19 (roll VARCHAR, name VARCHAR, decile VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the total number of roll for st joseph's school when decile is less than 5 The answer to your question is: SELECT COUNT(roll) FROM table_name_19 WHERE name = "st joseph's school" AND decile < 5. [/s>
SELECT gender FROM table_name_63 WHERE name = "elsthorpe school"
CREATE TABLE table_name_63 (gender VARCHAR, name VARCHAR)
Name the gender for elsthorpe school
<s>[INST] Given the following SQL query and context: Query: SELECT gender FROM table_name_63 WHERE name = "elsthorpe school" Context: CREATE TABLE table_name_63 (gender VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the gender for elsthorpe school The answer to your question is: SELECT gender FROM table_name_63 WHERE name = "elsthorpe school". [/s>
SELECT drivers FROM table_name_88 WHERE chassis = "season cancelled"
CREATE TABLE table_name_88 (drivers VARCHAR, chassis VARCHAR)
Name the drivers for chassis of season cancelled
<s>[INST] Given the following SQL query and context: Query: SELECT drivers FROM table_name_88 WHERE chassis = "season cancelled" Context: CREATE TABLE table_name_88 (drivers VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the drivers for chassis of season cancelled The answer to your question is: SELECT drivers FROM table_name_88 WHERE chassis = "season cancelled". [/s>
SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled"
CREATE TABLE table_name_95 (teams VARCHAR, third__points_ VARCHAR)
Name the teams for third points of season cancelled
<s>[INST] Given the following SQL query and context: Query: SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled" Context: CREATE TABLE table_name_95 (teams VARCHAR, third__points_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the teams for third points of season cancelled The answer to your question is: SELECT teams FROM table_name_95 WHERE third__points_ = "season cancelled". [/s>
SELECT engine FROM table_name_29 WHERE rounds = "11" AND teams = "25"
CREATE TABLE table_name_29 (engine VARCHAR, rounds VARCHAR, teams VARCHAR)
Name the engine with rounds of 11 and teams of 25
<s>[INST] Given the following SQL query and context: Query: SELECT engine FROM table_name_29 WHERE rounds = "11" AND teams = "25" Context: CREATE TABLE table_name_29 (engine VARCHAR, rounds VARCHAR, teams VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the engine with rounds of 11 and teams of 25 The answer to your question is: SELECT engine FROM table_name_29 WHERE rounds = "11" AND teams = "25". [/s>
SELECT score FROM table_name_39 WHERE loss = "mcdowell (12-7)"
CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)
What was the score for the loss of McDowell (12-7)?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_39 WHERE loss = "mcdowell (12-7)" Context: CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score for the loss of McDowell (12-7)? The answer to your question is: SELECT score FROM table_name_39 WHERE loss = "mcdowell (12-7)". [/s>
SELECT SUM(laps) FROM table_name_1 WHERE year = 2011
CREATE TABLE table_name_1 (laps INTEGER, year VARCHAR)
What is the total laps for the year 2011?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(laps) FROM table_name_1 WHERE year = 2011 Context: CREATE TABLE table_name_1 (laps INTEGER, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total laps for the year 2011? The answer to your question is: SELECT SUM(laps) FROM table_name_1 WHERE year = 2011. [/s>
SELECT class AS pos FROM table_name_98 WHERE pos = "9th"
CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR)
Which team is in 9th place?
<s>[INST] Given the following SQL query and context: Query: SELECT class AS pos FROM table_name_98 WHERE pos = "9th" Context: CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which team is in 9th place? The answer to your question is: SELECT class AS pos FROM table_name_98 WHERE pos = "9th". [/s>
SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0
CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)
What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0 Context: CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0? The answer to your question is: SELECT SUM(division) FROM table_name_69 WHERE country = "serbia and montenegro" AND apps < 12 AND goals > 0. [/s>
SELECT SUM(goals) FROM table_name_8 WHERE team = "partizan" AND country = "serbia" AND division > 1
CREATE TABLE table_name_8 (goals INTEGER, division VARCHAR, team VARCHAR, country VARCHAR)
What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(goals) FROM table_name_8 WHERE team = "partizan" AND country = "serbia" AND division > 1 Context: CREATE TABLE table_name_8 (goals INTEGER, division VARCHAR, team VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1? The answer to your question is: SELECT SUM(goals) FROM table_name_8 WHERE team = "partizan" AND country = "serbia" AND division > 1. [/s>
SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t"
CREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR)
What year was the Honda ra168e 1.5 v6 t engine used?
<s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t" Context: CREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year was the Honda ra168e 1.5 v6 t engine used? The answer to your question is: SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t". [/s>
SELECT tyres FROM table_name_40 WHERE chassis = "mp4/14"
CREATE TABLE table_name_40 (tyres VARCHAR, chassis VARCHAR)
What tyres were used with the mp4/14 chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT tyres FROM table_name_40 WHERE chassis = "mp4/14" Context: CREATE TABLE table_name_40 (tyres VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What tyres were used with the mp4/14 chassis? The answer to your question is: SELECT tyres FROM table_name_40 WHERE chassis = "mp4/14". [/s>