answer
stringlengths
18
557
context
stringlengths
27
489
question
stringlengths
12
244
text
stringlengths
275
1.7k
SELECT location FROM table_name_97 WHERE county = "71 st. joseph" AND school = "south bend washington"
CREATE TABLE table_name_97 (location VARCHAR, county VARCHAR, school VARCHAR)
Which location is in 71 St. Joseph county with South Bend Washington school?
<s>[INST] Given the following SQL query and context: Query: SELECT location FROM table_name_97 WHERE county = "71 st. joseph" AND school = "south bend washington" Context: CREATE TABLE table_name_97 (location VARCHAR, county VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which location is in 71 St. Joseph county with South Bend Washington school? The answer to your question is: SELECT location FROM table_name_97 WHERE county = "71 st. joseph" AND school = "south bend washington". [/s>
SELECT mascot FROM table_name_8 WHERE school = "south bend clay"
CREATE TABLE table_name_8 (mascot VARCHAR, school VARCHAR)
What is the mascot for South Bend Clay?
<s>[INST] Given the following SQL query and context: Query: SELECT mascot FROM table_name_8 WHERE school = "south bend clay" Context: CREATE TABLE table_name_8 (mascot VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the mascot for South Bend Clay? The answer to your question is: SELECT mascot FROM table_name_8 WHERE school = "south bend clay". [/s>
SELECT street_address FROM table_name_13 WHERE architect = "edmund woolley and andrew hamilton"
CREATE TABLE table_name_13 (street_address VARCHAR, architect VARCHAR)
What was the address of the building with architects Edmund Woolley and Andrew Hamilton?
<s>[INST] Given the following SQL query and context: Query: SELECT street_address FROM table_name_13 WHERE architect = "edmund woolley and andrew hamilton" Context: CREATE TABLE table_name_13 (street_address VARCHAR, architect VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the address of the building with architects Edmund Woolley and Andrew Hamilton? The answer to your question is: SELECT street_address FROM table_name_13 WHERE architect = "edmund woolley and andrew hamilton". [/s>
SELECT years_as_tallest FROM table_name_78 WHERE name = "tenth presbyterian church"
CREATE TABLE table_name_78 (years_as_tallest VARCHAR, name VARCHAR)
How many years as tallest building was the Tenth Presbyterian Church?
<s>[INST] Given the following SQL query and context: Query: SELECT years_as_tallest FROM table_name_78 WHERE name = "tenth presbyterian church" Context: CREATE TABLE table_name_78 (years_as_tallest VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many years as tallest building was the Tenth Presbyterian Church? The answer to your question is: SELECT years_as_tallest FROM table_name_78 WHERE name = "tenth presbyterian church". [/s>
SELECT years_as_tallest FROM table_name_6 WHERE name = "independence hall"
CREATE TABLE table_name_6 (years_as_tallest VARCHAR, name VARCHAR)
How many years as tallest building was Independence Hall?
<s>[INST] Given the following SQL query and context: Query: SELECT years_as_tallest FROM table_name_6 WHERE name = "independence hall" Context: CREATE TABLE table_name_6 (years_as_tallest VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many years as tallest building was Independence Hall? The answer to your question is: SELECT years_as_tallest FROM table_name_6 WHERE name = "independence hall". [/s>
SELECT height_ft__m_ FROM table_name_69 WHERE name = "tenth presbyterian church"
CREATE TABLE table_name_69 (height_ft__m_ VARCHAR, name VARCHAR)
What is the height of the Tenth Presbyterian Church?
<s>[INST] Given the following SQL query and context: Query: SELECT height_ft__m_ FROM table_name_69 WHERE name = "tenth presbyterian church" Context: CREATE TABLE table_name_69 (height_ft__m_ VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the height of the Tenth Presbyterian Church? The answer to your question is: SELECT height_ft__m_ FROM table_name_69 WHERE name = "tenth presbyterian church". [/s>
SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)"
CREATE TABLE table_name_63 (record VARCHAR, loss VARCHAR)
For the Loss of Plesac (1-5), what is the Record?
<s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)" Context: CREATE TABLE table_name_63 (record VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For the Loss of Plesac (1-5), what is the Record? The answer to your question is: SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)". [/s>
SELECT record FROM table_name_18 WHERE loss = "plesac (1-5)"
CREATE TABLE table_name_18 (record VARCHAR, loss VARCHAR)
For the Loss of Plesac (1-5), what is the Record?
<s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_18 WHERE loss = "plesac (1-5)" Context: CREATE TABLE table_name_18 (record VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For the Loss of Plesac (1-5), what is the Record? The answer to your question is: SELECT record FROM table_name_18 WHERE loss = "plesac (1-5)". [/s>
SELECT entrant FROM table_name_98 WHERE year < 1990 AND chassis = "eurobrun er189"
CREATE TABLE table_name_98 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Name the entrant for year less than 1990 and chassis of eurobrun er189
<s>[INST] Given the following SQL query and context: Query: SELECT entrant FROM table_name_98 WHERE year < 1990 AND chassis = "eurobrun er189" Context: CREATE TABLE table_name_98 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the entrant for year less than 1990 and chassis of eurobrun er189 The answer to your question is: SELECT entrant FROM table_name_98 WHERE year < 1990 AND chassis = "eurobrun er189". [/s>
SELECT engine FROM table_name_57 WHERE year < 1990 AND chassis = "eurobrun er189"
CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR)
Name the engine for years before 1990 and chassis of eurobrun er189
<s>[INST] Given the following SQL query and context: Query: SELECT engine FROM table_name_57 WHERE year < 1990 AND chassis = "eurobrun er189" Context: CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the engine for years before 1990 and chassis of eurobrun er189 The answer to your question is: SELECT engine FROM table_name_57 WHERE year < 1990 AND chassis = "eurobrun er189". [/s>
SELECT MIN(touchdowns) FROM table_name_79 WHERE receptions = 51 AND games_started < 16
CREATE TABLE table_name_79 (touchdowns INTEGER, receptions VARCHAR, games_started VARCHAR)
With games started smaller than 16 plus receptions of 51, what is the smallest amount of touchdowns listed?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(touchdowns) FROM table_name_79 WHERE receptions = 51 AND games_started < 16 Context: CREATE TABLE table_name_79 (touchdowns INTEGER, receptions VARCHAR, games_started VARCHAR) [/INST] Based on the provided SQL query and context, your question is: With games started smaller than 16 plus receptions of 51, what is the smallest amount of touchdowns listed? The answer to your question is: SELECT MIN(touchdowns) FROM table_name_79 WHERE receptions = 51 AND games_started < 16. [/s>
SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3
CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR)
What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3 Context: CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3? The answer to your question is: SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3. [/s>
SELECT date FROM table_name_66 WHERE casualties = "1 wia" AND circumstances = "ied" AND location = "15km nw of pol-e khomri"
CREATE TABLE table_name_66 (date VARCHAR, location VARCHAR, casualties VARCHAR, circumstances VARCHAR)
When was the location 15km NW of Pol-E Khomri, the circumstaances IED and the casualties of 1 WIA?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_66 WHERE casualties = "1 wia" AND circumstances = "ied" AND location = "15km nw of pol-e khomri" Context: CREATE TABLE table_name_66 (date VARCHAR, location VARCHAR, casualties VARCHAR, circumstances VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When was the location 15km NW of Pol-E Khomri, the circumstaances IED and the casualties of 1 WIA? The answer to your question is: SELECT date FROM table_name_66 WHERE casualties = "1 wia" AND circumstances = "ied" AND location = "15km nw of pol-e khomri". [/s>
SELECT date FROM table_name_17 WHERE location = "pol-e khomri"
CREATE TABLE table_name_17 (date VARCHAR, location VARCHAR)
When was the incident in Pol-E Khomri?
<s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_17 WHERE location = "pol-e khomri" Context: CREATE TABLE table_name_17 (date VARCHAR, location VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When was the incident in Pol-E Khomri? The answer to your question is: SELECT date FROM table_name_17 WHERE location = "pol-e khomri". [/s>
SELECT nature_of_incident FROM table_name_99 WHERE location = "imam sahib area, kunduz province"
CREATE TABLE table_name_99 (nature_of_incident VARCHAR, location VARCHAR)
What was the incident in imam sahib area, kunduz province?
<s>[INST] Given the following SQL query and context: Query: SELECT nature_of_incident FROM table_name_99 WHERE location = "imam sahib area, kunduz province" Context: CREATE TABLE table_name_99 (nature_of_incident VARCHAR, location VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the incident in imam sahib area, kunduz province? The answer to your question is: SELECT nature_of_incident FROM table_name_99 WHERE location = "imam sahib area, kunduz province". [/s>
SELECT gender FROM table_name_14 WHERE romanized_name = "kim yoon-yeong"
CREATE TABLE table_name_14 (gender VARCHAR, romanized_name VARCHAR)
What gender has Romanized name and kim yoon-yeong?
<s>[INST] Given the following SQL query and context: Query: SELECT gender FROM table_name_14 WHERE romanized_name = "kim yoon-yeong" Context: CREATE TABLE table_name_14 (gender VARCHAR, romanized_name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What gender has Romanized name and kim yoon-yeong? The answer to your question is: SELECT gender FROM table_name_14 WHERE romanized_name = "kim yoon-yeong". [/s>
SELECT MIN(year) FROM table_name_97 WHERE team = "baltimore ravens" AND games < 15
CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, games VARCHAR)
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_97 WHERE team = "baltimore ravens" AND games < 15 Context: CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, games VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens? The answer to your question is: SELECT MIN(year) FROM table_name_97 WHERE team = "baltimore ravens" AND games < 15. [/s>
SELECT MIN(games) FROM table_name_81 WHERE year > 2013
CREATE TABLE table_name_81 (games INTEGER, year INTEGER)
After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(games) FROM table_name_81 WHERE year > 2013 Context: CREATE TABLE table_name_81 (games INTEGER, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season? The answer to your question is: SELECT MIN(games) FROM table_name_81 WHERE year > 2013. [/s>
SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre"
CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR)
What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre?
<s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre" Context: CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre? The answer to your question is: SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre". [/s>
SELECT venue FROM table_name_98 WHERE competition = "friendly" AND result = "2–3"
CREATE TABLE table_name_98 (venue VARCHAR, competition VARCHAR, result VARCHAR)
What is the name of the venue when the competition was friendly, with a Result of 2–3?
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_98 WHERE competition = "friendly" AND result = "2–3" Context: CREATE TABLE table_name_98 (venue VARCHAR, competition VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the venue when the competition was friendly, with a Result of 2–3? The answer to your question is: SELECT venue FROM table_name_98 WHERE competition = "friendly" AND result = "2–3". [/s>
SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier"
CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR)
What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier?
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier" Context: CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier? The answer to your question is: SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier". [/s>
SELECT death FROM table_name_45 WHERE name = "elisabeth of valois"
CREATE TABLE table_name_45 (death VARCHAR, name VARCHAR)
When did elisabeth of valois die?
<s>[INST] Given the following SQL query and context: Query: SELECT death FROM table_name_45 WHERE name = "elisabeth of valois" Context: CREATE TABLE table_name_45 (death VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: When did elisabeth of valois die? The answer to your question is: SELECT death FROM table_name_45 WHERE name = "elisabeth of valois". [/s>
SELECT entrant FROM table_name_14 WHERE year < 1975 AND chassis = "lotus 20"
CREATE TABLE table_name_14 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
Who is entered earlier than 1975 and has a Lotus 20 chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT entrant FROM table_name_14 WHERE year < 1975 AND chassis = "lotus 20" Context: CREATE TABLE table_name_14 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is entered earlier than 1975 and has a Lotus 20 chassis? The answer to your question is: SELECT entrant FROM table_name_14 WHERE year < 1975 AND chassis = "lotus 20". [/s>
SELECT engine FROM table_name_41 WHERE chassis = "lotus 49c"
CREATE TABLE table_name_41 (engine VARCHAR, chassis VARCHAR)
Which engine has a Lotus 49c chassis?
<s>[INST] Given the following SQL query and context: Query: SELECT engine FROM table_name_41 WHERE chassis = "lotus 49c" Context: CREATE TABLE table_name_41 (engine VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which engine has a Lotus 49c chassis? The answer to your question is: SELECT engine FROM table_name_41 WHERE chassis = "lotus 49c". [/s>
SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 1968
CREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR)
What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 1968 Context: CREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968? The answer to your question is: SELECT AVG(points) FROM table_name_16 WHERE entrant = "scuderia scribante" AND chassis = "brabham bt11" AND year < 1968. [/s>
SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23"
CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR)
How many points are there for a Mclaren m23 chassis later than 1972?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23" Context: CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many points are there for a Mclaren m23 chassis later than 1972? The answer to your question is: SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23". [/s>
SELECT AVG(change___percentage_) FROM table_name_51 WHERE land_area__km²_ = 546.74 AND population_density__per_km²_ > 0.5
CREATE TABLE table_name_51 (change___percentage_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
What is the average change to have a land area of 546.74 and a population density greater than 0.5?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(change___percentage_) FROM table_name_51 WHERE land_area__km²_ = 546.74 AND population_density__per_km²_ > 0.5 Context: CREATE TABLE table_name_51 (change___percentage_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average change to have a land area of 546.74 and a population density greater than 0.5? The answer to your question is: SELECT AVG(change___percentage_) FROM table_name_51 WHERE land_area__km²_ = 546.74 AND population_density__per_km²_ > 0.5. [/s>
SELECT finish FROM table_name_64 WHERE year > 1994 AND team = "mb2" AND start = "31"
CREATE TABLE table_name_64 (finish VARCHAR, start VARCHAR, year VARCHAR, team VARCHAR)
What was the result after 1994 for team MB2 and 31 starts?
<s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_64 WHERE year > 1994 AND team = "mb2" AND start = "31" Context: CREATE TABLE table_name_64 (finish VARCHAR, start VARCHAR, year VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the result after 1994 for team MB2 and 31 starts? The answer to your question is: SELECT finish FROM table_name_64 WHERE year > 1994 AND team = "mb2" AND start = "31". [/s>
SELECT team FROM table_name_22 WHERE start = "33"
CREATE TABLE table_name_22 (team VARCHAR, start VARCHAR)
What team has 33 starts?
<s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_22 WHERE start = "33" Context: CREATE TABLE table_name_22 (team VARCHAR, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What team has 33 starts? The answer to your question is: SELECT team FROM table_name_22 WHERE start = "33". [/s>
SELECT team FROM table_name_90 WHERE year < 1997 AND manufacturer = "ford" AND finish = "35"
CREATE TABLE table_name_90 (team VARCHAR, finish VARCHAR, year VARCHAR, manufacturer VARCHAR)
What team finished 35 in a ford before 1997?
<s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_90 WHERE year < 1997 AND manufacturer = "ford" AND finish = "35" Context: CREATE TABLE table_name_90 (team VARCHAR, finish VARCHAR, year VARCHAR, manufacturer VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What team finished 35 in a ford before 1997? The answer to your question is: SELECT team FROM table_name_90 WHERE year < 1997 AND manufacturer = "ford" AND finish = "35". [/s>
SELECT SUM(score) FROM table_name_29 WHERE venue = "halmstad" AND year < 2002
CREATE TABLE table_name_29 (score INTEGER, venue VARCHAR, year VARCHAR)
What was the sum of the scores before the year 2002, that had the venue of Halmstad?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(score) FROM table_name_29 WHERE venue = "halmstad" AND year < 2002 Context: CREATE TABLE table_name_29 (score INTEGER, venue VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the sum of the scores before the year 2002, that had the venue of Halmstad? The answer to your question is: SELECT SUM(score) FROM table_name_29 WHERE venue = "halmstad" AND year < 2002. [/s>
SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens"
CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR)
What was France's highest score when the venue was Bokskogens?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens" Context: CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was France's highest score when the venue was Bokskogens? The answer to your question is: SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens". [/s>
SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270
CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR)
What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270 Context: CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270? The answer to your question is: SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270. [/s>
SELECT AVG(year) FROM table_name_7 WHERE score = 270
CREATE TABLE table_name_7 (year INTEGER, score VARCHAR)
What was the average year during which the score was 270?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(year) FROM table_name_7 WHERE score = 270 Context: CREATE TABLE table_name_7 (year INTEGER, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the average year during which the score was 270? The answer to your question is: SELECT AVG(year) FROM table_name_7 WHERE score = 270. [/s>
SELECT COUNT(score) FROM table_name_76 WHERE winner = "david patrick" AND year > 2005
CREATE TABLE table_name_76 (score VARCHAR, winner VARCHAR, year VARCHAR)
What were the total number scores after 2005, when the winner was David Patrick?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(score) FROM table_name_76 WHERE winner = "david patrick" AND year > 2005 Context: CREATE TABLE table_name_76 (score VARCHAR, winner VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What were the total number scores after 2005, when the winner was David Patrick? The answer to your question is: SELECT COUNT(score) FROM table_name_76 WHERE winner = "david patrick" AND year > 2005. [/s>
SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens"
CREATE TABLE table_name_16 (year INTEGER, venue VARCHAR)
What was the average year that the venue was Bokskogens?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens" Context: CREATE TABLE table_name_16 (year INTEGER, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the average year that the venue was Bokskogens? The answer to your question is: SELECT AVG(year) FROM table_name_16 WHERE venue = "bokskogens". [/s>
SELECT opponent FROM table_name_66 WHERE score = "4 - 2"
CREATE TABLE table_name_66 (opponent VARCHAR, score VARCHAR)
Who did the Toronto Blue Jays play against where the score was 4 - 2?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_66 WHERE score = "4 - 2" Context: CREATE TABLE table_name_66 (opponent VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who did the Toronto Blue Jays play against where the score was 4 - 2? The answer to your question is: SELECT opponent FROM table_name_66 WHERE score = "4 - 2". [/s>
SELECT opponent FROM table_name_52 WHERE date = "april 11"
CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)
Who did the Blue Jays play against on April 11?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_52 WHERE date = "april 11" Context: CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who did the Blue Jays play against on April 11? The answer to your question is: SELECT opponent FROM table_name_52 WHERE date = "april 11". [/s>
SELECT opponent FROM table_name_44 WHERE date = "april 24"
CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
Who did the Blue Jays play against on April 24?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_44 WHERE date = "april 24" Context: CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who did the Blue Jays play against on April 24? The answer to your question is: SELECT opponent FROM table_name_44 WHERE date = "april 24". [/s>
SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = "england" AND operating_income_$m_ > -5 AND revenue__$m_ < 103
CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR)
What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = "england" AND operating_income_$m_ > -5 AND revenue__$m_ < 103 Context: CREATE TABLE table_name_95 (value__ INTEGER, revenue__$m_ VARCHAR, country VARCHAR, operating_income_$m_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the average Value ($M) when the Country was England, the Operating income($m) was greater than -5, and the Revenue ($M) was smaller than 103? The answer to your question is: SELECT AVG(value__) AS $m_ FROM table_name_95 WHERE country = "england" AND operating_income_$m_ > -5 AND revenue__$m_ < 103. [/s>
SELECT COUNT(value__) AS $m_ FROM table_name_54 WHERE country = "spain" AND rank = 19 AND debt_as__percentageof_value > 159
CREATE TABLE table_name_54 (value__ VARCHAR, debt_as__percentageof_value VARCHAR, country VARCHAR, rank VARCHAR)
What was the total amount of Value ($M), when the Country was Spain, the Rank was 19, and the Debt as % of value was larger than 159?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(value__) AS $m_ FROM table_name_54 WHERE country = "spain" AND rank = 19 AND debt_as__percentageof_value > 159 Context: CREATE TABLE table_name_54 (value__ VARCHAR, debt_as__percentageof_value VARCHAR, country VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the total amount of Value ($M), when the Country was Spain, the Rank was 19, and the Debt as % of value was larger than 159? The answer to your question is: SELECT COUNT(value__) AS $m_ FROM table_name_54 WHERE country = "spain" AND rank = 19 AND debt_as__percentageof_value > 159. [/s>
SELECT SUM(value__) AS $m_ FROM table_name_3 WHERE revenue__$m_ < 307 AND team = "valencia" AND rank < 19
CREATE TABLE table_name_3 (value__ INTEGER, rank VARCHAR, revenue__$m_ VARCHAR, team VARCHAR)
What was the sum of Value ($M), when the Revenue ($M) was less than 307, the Team was Valencia, and the Rank was smaller than 19?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(value__) AS $m_ FROM table_name_3 WHERE revenue__$m_ < 307 AND team = "valencia" AND rank < 19 Context: CREATE TABLE table_name_3 (value__ INTEGER, rank VARCHAR, revenue__$m_ VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the sum of Value ($M), when the Revenue ($M) was less than 307, the Team was Valencia, and the Rank was smaller than 19? The answer to your question is: SELECT SUM(value__) AS $m_ FROM table_name_3 WHERE revenue__$m_ < 307 AND team = "valencia" AND rank < 19. [/s>
SELECT COUNT(value__) AS $m_ FROM table_name_36 WHERE rank > 6 AND _percentage_change_on_year = "-27"
CREATE TABLE table_name_36 (value__ VARCHAR, rank VARCHAR, _percentage_change_on_year VARCHAR)
What was the total amount of Value ($M), when the Rank was higher than 6, and the % change on year was -27?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(value__) AS $m_ FROM table_name_36 WHERE rank > 6 AND _percentage_change_on_year = "-27" Context: CREATE TABLE table_name_36 (value__ VARCHAR, rank VARCHAR, _percentage_change_on_year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the total amount of Value ($M), when the Rank was higher than 6, and the % change on year was -27? The answer to your question is: SELECT COUNT(value__) AS $m_ FROM table_name_36 WHERE rank > 6 AND _percentage_change_on_year = "-27". [/s>
SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77
CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR)
What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77 Context: CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77? The answer to your question is: SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77. [/s>
SELECT screening_completed FROM table_name_22 WHERE screening_started = "23 january 2006"
CREATE TABLE table_name_22 (screening_completed VARCHAR, screening_started VARCHAR)
Name the screening completed for screening started 23 january 2006
<s>[INST] Given the following SQL query and context: Query: SELECT screening_completed FROM table_name_22 WHERE screening_started = "23 january 2006" Context: CREATE TABLE table_name_22 (screening_completed VARCHAR, screening_started VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the screening completed for screening started 23 january 2006 The answer to your question is: SELECT screening_completed FROM table_name_22 WHERE screening_started = "23 january 2006". [/s>
SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 2006"
CREATE TABLE table_name_40 (screening_started VARCHAR, screening_completed VARCHAR)
Name the screening started when it was completed 3 may 2006
<s>[INST] Given the following SQL query and context: Query: SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 2006" Context: CREATE TABLE table_name_40 (screening_started VARCHAR, screening_completed VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the screening started when it was completed 3 may 2006 The answer to your question is: SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 2006". [/s>
SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007
CREATE TABLE table_name_2 (award VARCHAR, result VARCHAR, year VARCHAR)
What award was Trent Tesoro nominated for in 2007?
<s>[INST] Given the following SQL query and context: Query: SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007 Context: CREATE TABLE table_name_2 (award VARCHAR, result VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What award was Trent Tesoro nominated for in 2007? The answer to your question is: SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007. [/s>
SELECT score FROM table_name_43 WHERE record = "80-64"
CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR)
What is the score for the team that has a record of 80-64?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_43 WHERE record = "80-64" Context: CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the score for the team that has a record of 80-64? The answer to your question is: SELECT score FROM table_name_43 WHERE record = "80-64". [/s>
SELECT finish FROM table_name_72 WHERE engine = "cosworth" AND team = "team scandia"
CREATE TABLE table_name_72 (finish VARCHAR, engine VARCHAR, team VARCHAR)
What position did team scandia finish when their engine was cosworth?
<s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_72 WHERE engine = "cosworth" AND team = "team scandia" Context: CREATE TABLE table_name_72 (finish VARCHAR, engine VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What position did team scandia finish when their engine was cosworth? The answer to your question is: SELECT finish FROM table_name_72 WHERE engine = "cosworth" AND team = "team scandia". [/s>
SELECT finish FROM table_name_10 WHERE engine = "oldsmobile" AND start = "dnq"
CREATE TABLE table_name_10 (finish VARCHAR, engine VARCHAR, start VARCHAR)
What was the position of the team that used an oldsmobile engine and DNQ?
<s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_10 WHERE engine = "oldsmobile" AND start = "dnq" Context: CREATE TABLE table_name_10 (finish VARCHAR, engine VARCHAR, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the position of the team that used an oldsmobile engine and DNQ? The answer to your question is: SELECT finish FROM table_name_10 WHERE engine = "oldsmobile" AND start = "dnq". [/s>
SELECT MIN(bronze) FROM table_name_37 WHERE gold > 0 AND nation = "russia"
CREATE TABLE table_name_37 (bronze INTEGER, gold VARCHAR, nation VARCHAR)
what is the least bronze when gold is more than 0 for russia?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(bronze) FROM table_name_37 WHERE gold > 0 AND nation = "russia" Context: CREATE TABLE table_name_37 (bronze INTEGER, gold VARCHAR, nation VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the least bronze when gold is more than 0 for russia? The answer to your question is: SELECT MIN(bronze) FROM table_name_37 WHERE gold > 0 AND nation = "russia". [/s>
SELECT MAX(rank) FROM table_name_19 WHERE nation = "italy" AND gold > 1
CREATE TABLE table_name_19 (rank INTEGER, nation VARCHAR, gold VARCHAR)
what is the highest rank for italy when gold is more than 1?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(rank) FROM table_name_19 WHERE nation = "italy" AND gold > 1 Context: CREATE TABLE table_name_19 (rank INTEGER, nation VARCHAR, gold VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the highest rank for italy when gold is more than 1? The answer to your question is: SELECT MAX(rank) FROM table_name_19 WHERE nation = "italy" AND gold > 1. [/s>
SELECT SUM(total) FROM table_name_1 WHERE bronze > 1 AND gold < 1
CREATE TABLE table_name_1 (total INTEGER, bronze VARCHAR, gold VARCHAR)
what is the total when bronze is more than 1 and gold smaller than 1?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(total) FROM table_name_1 WHERE bronze > 1 AND gold < 1 Context: CREATE TABLE table_name_1 (total INTEGER, bronze VARCHAR, gold VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the total when bronze is more than 1 and gold smaller than 1? The answer to your question is: SELECT SUM(total) FROM table_name_1 WHERE bronze > 1 AND gold < 1. [/s>
SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231
CREATE TABLE table_name_26 (avg_seek_time_ VARCHAR, ms VARCHAR, device INTEGER)
What is the avg seek time for a device that is less than 3231?
<s>[INST] Given the following SQL query and context: Query: SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231 Context: CREATE TABLE table_name_26 (avg_seek_time_ VARCHAR, ms VARCHAR, device INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the avg seek time for a device that is less than 3231? The answer to your question is: SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231. [/s>
SELECT MIN(avg_transfer_rate_)[kb_s] FROM table_name_69 WHERE device = 3243
CREATE TABLE table_name_69 (kb_s VARCHAR, avg_transfer_rate_ INTEGER, device VARCHAR)
What is the smallest transfer rate for a 3243 device?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(avg_transfer_rate_)[kb_s] FROM table_name_69 WHERE device = 3243 Context: CREATE TABLE table_name_69 (kb_s VARCHAR, avg_transfer_rate_ INTEGER, device VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the smallest transfer rate for a 3243 device? The answer to your question is: SELECT MIN(avg_transfer_rate_)[kb_s] FROM table_name_69 WHERE device = 3243. [/s>
SELECT entrant FROM table_name_59 WHERE year > 1955
CREATE TABLE table_name_59 (entrant VARCHAR, year INTEGER)
Which entrant has a year after 1955?
<s>[INST] Given the following SQL query and context: Query: SELECT entrant FROM table_name_59 WHERE year > 1955 Context: CREATE TABLE table_name_59 (entrant VARCHAR, year INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which entrant has a year after 1955? The answer to your question is: SELECT entrant FROM table_name_59 WHERE year > 1955. [/s>
SELECT MAX(draws) FROM table_name_35 WHERE club = "real valladolid" AND played < 38
CREATE TABLE table_name_35 (draws INTEGER, club VARCHAR, played VARCHAR)
How many draws has a Club of real valladolid that was played less than 38?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(draws) FROM table_name_35 WHERE club = "real valladolid" AND played < 38 Context: CREATE TABLE table_name_35 (draws INTEGER, club VARCHAR, played VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many draws has a Club of real valladolid that was played less than 38? The answer to your question is: SELECT MAX(draws) FROM table_name_35 WHERE club = "real valladolid" AND played < 38. [/s>
SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43
CREATE TABLE table_name_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR)
How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43 Context: CREATE TABLE table_name_51 (losses VARCHAR, goals_against VARCHAR, goal_difference VARCHAR, draws VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many losses are there with 5 goal differences, drew more than 10 times, and 43 goals against? The answer to your question is: SELECT COUNT(losses) FROM table_name_51 WHERE goal_difference = 5 AND draws > 10 AND goals_against = 43. [/s>
SELECT award_show FROM table_name_66 WHERE year = 2004 AND category = "most popular drama"
CREATE TABLE table_name_66 (award_show VARCHAR, year VARCHAR, category VARCHAR)
On which award show was Bad Girls nominated for Most Popular Drama in 2004?
<s>[INST] Given the following SQL query and context: Query: SELECT award_show FROM table_name_66 WHERE year = 2004 AND category = "most popular drama" Context: CREATE TABLE table_name_66 (award_show VARCHAR, year VARCHAR, category VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On which award show was Bad Girls nominated for Most Popular Drama in 2004? The answer to your question is: SELECT award_show FROM table_name_66 WHERE year = 2004 AND category = "most popular drama". [/s>
SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004
CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
Who was the recipient when the show was nominated for Most Popular Drama after 2004?
<s>[INST] Given the following SQL query and context: Query: SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004 Context: CREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the recipient when the show was nominated for Most Popular Drama after 2004? The answer to your question is: SELECT recipient_s_ FROM table_name_5 WHERE result = "nominated" AND category = "most popular drama" AND year > 2004. [/s>
SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002
CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)
In what award show was Bad Girls nominated for Best Loved Drama in 2002?
<s>[INST] Given the following SQL query and context: Query: SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002 Context: CREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In what award show was Bad Girls nominated for Best Loved Drama in 2002? The answer to your question is: SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002. [/s>
SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7
CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, rank VARCHAR)
What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7 Context: CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7? The answer to your question is: SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7. [/s>
SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine"
CREATE TABLE table_name_95 (rank INTEGER, nation VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals?
<s>[INST] Given the following SQL query and context: Query: SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine" Context: CREATE TABLE table_name_95 (rank INTEGER, nation VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals? The answer to your question is: SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine". [/s>
SELECT COUNT(bronze) FROM table_name_68 WHERE total = 16 AND rank > 3
CREATE TABLE table_name_68 (bronze VARCHAR, total VARCHAR, rank VARCHAR)
What is the total of bronze medals from nations with more than 16 total medals and ranks larger than 3?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(bronze) FROM table_name_68 WHERE total = 16 AND rank > 3 Context: CREATE TABLE table_name_68 (bronze VARCHAR, total VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total of bronze medals from nations with more than 16 total medals and ranks larger than 3? The answer to your question is: SELECT COUNT(bronze) FROM table_name_68 WHERE total = 16 AND rank > 3. [/s>
SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1
CREATE TABLE table_name_90 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
What is the total number of bronze medals with a total of 4 medals and 1 gold medal?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1 Context: CREATE TABLE table_name_90 (bronze VARCHAR, total VARCHAR, gold VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of bronze medals with a total of 4 medals and 1 gold medal? The answer to your question is: SELECT COUNT(bronze) FROM table_name_90 WHERE total = 4 AND gold = 1. [/s>
SELECT qual FROM table_name_35 WHERE laps > 162 AND year = "1953"
CREATE TABLE table_name_35 (qual VARCHAR, laps VARCHAR, year VARCHAR)
What was the qualification with more than 162 laps in 1953?
<s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_35 WHERE laps > 162 AND year = "1953" Context: CREATE TABLE table_name_35 (qual VARCHAR, laps VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the qualification with more than 162 laps in 1953? The answer to your question is: SELECT qual FROM table_name_35 WHERE laps > 162 AND year = "1953". [/s>
SELECT qual FROM table_name_16 WHERE laps = 585
CREATE TABLE table_name_16 (qual VARCHAR, laps VARCHAR)
What was the qualification with more than 585 laps?
<s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_16 WHERE laps = 585 Context: CREATE TABLE table_name_16 (qual VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the qualification with more than 585 laps? The answer to your question is: SELECT qual FROM table_name_16 WHERE laps = 585. [/s>
SELECT COUNT(laps) FROM table_name_50 WHERE qual = "136.168"
CREATE TABLE table_name_50 (laps VARCHAR, qual VARCHAR)
How many laps had a qualification of 136.168?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(laps) FROM table_name_50 WHERE qual = "136.168" Context: CREATE TABLE table_name_50 (laps VARCHAR, qual VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many laps had a qualification of 136.168? The answer to your question is: SELECT COUNT(laps) FROM table_name_50 WHERE qual = "136.168". [/s>
SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905"
CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR)
Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?
<s>[INST] Given the following SQL query and context: Query: SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905" Context: CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905? The answer to your question is: SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905". [/s>
SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861"
CREATE TABLE table_name_29 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?
<s>[INST] Given the following SQL query and context: Query: SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861" Context: CREATE TABLE table_name_29 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861? The answer to your question is: SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861". [/s>
SELECT member_countries FROM table_name_71 WHERE population = "1,341,664"
CREATE TABLE table_name_71 (member_countries VARCHAR, population VARCHAR)
What is the name of the member country that has a Population of 1,341,664?
<s>[INST] Given the following SQL query and context: Query: SELECT member_countries FROM table_name_71 WHERE population = "1,341,664" Context: CREATE TABLE table_name_71 (member_countries VARCHAR, population VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the member country that has a Population of 1,341,664? The answer to your question is: SELECT member_countries FROM table_name_71 WHERE population = "1,341,664". [/s>
SELECT population FROM table_name_15 WHERE gdp_per_capita__us$_ = "15,054"
CREATE TABLE table_name_15 (population VARCHAR, gdp_per_capita__us$_ VARCHAR)
What is the total population of the country that has a GDP per capita (US$) of 15,054?
<s>[INST] Given the following SQL query and context: Query: SELECT population FROM table_name_15 WHERE gdp_per_capita__us$_ = "15,054" Context: CREATE TABLE table_name_15 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total population of the country that has a GDP per capita (US$) of 15,054? The answer to your question is: SELECT population FROM table_name_15 WHERE gdp_per_capita__us$_ = "15,054". [/s>
SELECT member_countries FROM table_name_47 WHERE area__km²_ = "49,036"
CREATE TABLE table_name_47 (member_countries VARCHAR, area__km²_ VARCHAR)
What is the name of the country that has an Area (km²) of 49,036?
<s>[INST] Given the following SQL query and context: Query: SELECT member_countries FROM table_name_47 WHERE area__km²_ = "49,036" Context: CREATE TABLE table_name_47 (member_countries VARCHAR, area__km²_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the country that has an Area (km²) of 49,036? The answer to your question is: SELECT member_countries FROM table_name_47 WHERE area__km²_ = "49,036". [/s>
SELECT gdp__billion_us$_ FROM table_name_76 WHERE area__km²_ = "316"
CREATE TABLE table_name_76 (gdp__billion_us$_ VARCHAR, area__km²_ VARCHAR)
What is the GDP (billion US$) of the country that has an Area (km²) of 316?
<s>[INST] Given the following SQL query and context: Query: SELECT gdp__billion_us$_ FROM table_name_76 WHERE area__km²_ = "316" Context: CREATE TABLE table_name_76 (gdp__billion_us$_ VARCHAR, area__km²_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the GDP (billion US$) of the country that has an Area (km²) of 316? The answer to your question is: SELECT gdp__billion_us$_ FROM table_name_76 WHERE area__km²_ = "316". [/s>
SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = "2,011,473"
CREATE TABLE table_name_54 (gdp_per_capita__us$_ VARCHAR, population VARCHAR)
What is the GDP per capita (US$) of the country that has a Population of 2,011,473?
<s>[INST] Given the following SQL query and context: Query: SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = "2,011,473" Context: CREATE TABLE table_name_54 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the GDP per capita (US$) of the country that has a Population of 2,011,473? The answer to your question is: SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = "2,011,473". [/s>
SELECT original_title FROM table_name_24 WHERE language = "korean"
CREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR)
What is the original title for the Korean language film?
<s>[INST] Given the following SQL query and context: Query: SELECT original_title FROM table_name_24 WHERE language = "korean" Context: CREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the original title for the Korean language film? The answer to your question is: SELECT original_title FROM table_name_24 WHERE language = "korean". [/s>
SELECT language FROM table_name_24 WHERE original_title = "la diagonale du fou"
CREATE TABLE table_name_24 (language VARCHAR, original_title VARCHAR)
What language is the film La Diagonale du Fou in?
<s>[INST] Given the following SQL query and context: Query: SELECT language FROM table_name_24 WHERE original_title = "la diagonale du fou" Context: CREATE TABLE table_name_24 (language VARCHAR, original_title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What language is the film La Diagonale du Fou in? The answer to your question is: SELECT language FROM table_name_24 WHERE original_title = "la diagonale du fou". [/s>
SELECT original_title FROM table_name_88 WHERE language = "hindi"
CREATE TABLE table_name_88 (original_title VARCHAR, language VARCHAR)
What was the original title of the Hindi film?
<s>[INST] Given the following SQL query and context: Query: SELECT original_title FROM table_name_88 WHERE language = "hindi" Context: CREATE TABLE table_name_88 (original_title VARCHAR, language VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the original title of the Hindi film? The answer to your question is: SELECT original_title FROM table_name_88 WHERE language = "hindi". [/s>
SELECT language FROM table_name_22 WHERE original_title = "karnal"
CREATE TABLE table_name_22 (language VARCHAR, original_title VARCHAR)
What language is the film Karnal in?
<s>[INST] Given the following SQL query and context: Query: SELECT language FROM table_name_22 WHERE original_title = "karnal" Context: CREATE TABLE table_name_22 (language VARCHAR, original_title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What language is the film Karnal in? The answer to your question is: SELECT language FROM table_name_22 WHERE original_title = "karnal". [/s>
SELECT film_title_used_in_nomination FROM table_name_18 WHERE country = "netherlands"
CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, country VARCHAR)
What was the film title nominated from the Netherlands?
<s>[INST] Given the following SQL query and context: Query: SELECT film_title_used_in_nomination FROM table_name_18 WHERE country = "netherlands" Context: CREATE TABLE table_name_18 (film_title_used_in_nomination VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the film title nominated from the Netherlands? The answer to your question is: SELECT film_title_used_in_nomination FROM table_name_18 WHERE country = "netherlands". [/s>
SELECT film_title_used_in_nomination FROM table_name_16 WHERE country = "sweden"
CREATE TABLE table_name_16 (film_title_used_in_nomination VARCHAR, country VARCHAR)
What was the film title nominated from the Sweden?
<s>[INST] Given the following SQL query and context: Query: SELECT film_title_used_in_nomination FROM table_name_16 WHERE country = "sweden" Context: CREATE TABLE table_name_16 (film_title_used_in_nomination VARCHAR, country VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the film title nominated from the Sweden? The answer to your question is: SELECT film_title_used_in_nomination FROM table_name_16 WHERE country = "sweden". [/s>
SELECT score FROM table_name_73 WHERE date = "15 june 1992"
CREATE TABLE table_name_73 (score VARCHAR, date VARCHAR)
On the Date of 15 June 1992 what is the Score that is listed?
<s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_73 WHERE date = "15 june 1992" Context: CREATE TABLE table_name_73 (score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On the Date of 15 June 1992 what is the Score that is listed? The answer to your question is: SELECT score FROM table_name_73 WHERE date = "15 june 1992". [/s>
SELECT AVG(crimean_war) FROM table_name_49 WHERE second_afghan_war = "1" AND school = "hamblin and porter's school, cork"
CREATE TABLE table_name_49 (crimean_war INTEGER, second_afghan_war VARCHAR, school VARCHAR)
What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork?
<s>[INST] Given the following SQL query and context: Query: SELECT AVG(crimean_war) FROM table_name_49 WHERE second_afghan_war = "1" AND school = "hamblin and porter's school, cork" Context: CREATE TABLE table_name_49 (crimean_war INTEGER, second_afghan_war VARCHAR, school VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average Crimean War with a Second Afghan War totaling 1, and a School of hamblin and porter's school, cork? The answer to your question is: SELECT AVG(crimean_war) FROM table_name_49 WHERE second_afghan_war = "1" AND school = "hamblin and porter's school, cork". [/s>
SELECT venue FROM table_name_92 WHERE sport = "basketball"
CREATE TABLE table_name_92 (venue VARCHAR, sport VARCHAR)
What Venue has Basketball as a Sport?
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_92 WHERE sport = "basketball" Context: CREATE TABLE table_name_92 (venue VARCHAR, sport VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Venue has Basketball as a Sport? The answer to your question is: SELECT venue FROM table_name_92 WHERE sport = "basketball". [/s>
SELECT venue FROM table_name_71 WHERE club = "spartak st. petersburg"
CREATE TABLE table_name_71 (venue VARCHAR, club VARCHAR)
What Venue has Spartak St. Petersburg Club?
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_71 WHERE club = "spartak st. petersburg" Context: CREATE TABLE table_name_71 (venue VARCHAR, club VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Venue has Spartak St. Petersburg Club? The answer to your question is: SELECT venue FROM table_name_71 WHERE club = "spartak st. petersburg". [/s>
SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl"
CREATE TABLE table_name_40 (sport VARCHAR, established VARCHAR, league VARCHAR)
What League of VSL Sport was Established in 1935?
<s>[INST] Given the following SQL query and context: Query: SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl" Context: CREATE TABLE table_name_40 (sport VARCHAR, established VARCHAR, league VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What League of VSL Sport was Established in 1935? The answer to your question is: SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl". [/s>
SELECT club FROM table_name_13 WHERE league = "mhl" AND established = 2010
CREATE TABLE table_name_13 (club VARCHAR, league VARCHAR, established VARCHAR)
What Club Established in 2010 has a League of MHL?
<s>[INST] Given the following SQL query and context: Query: SELECT club FROM table_name_13 WHERE league = "mhl" AND established = 2010 Context: CREATE TABLE table_name_13 (club VARCHAR, league VARCHAR, established VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Club Established in 2010 has a League of MHL? The answer to your question is: SELECT club FROM table_name_13 WHERE league = "mhl" AND established = 2010. [/s>
SELECT MAX(attendance) FROM table_name_64 WHERE week = 12
CREATE TABLE table_name_64 (attendance INTEGER, week VARCHAR)
What was the highest attendance week 12?
<s>[INST] Given the following SQL query and context: Query: SELECT MAX(attendance) FROM table_name_64 WHERE week = 12 Context: CREATE TABLE table_name_64 (attendance INTEGER, week VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the highest attendance week 12? The answer to your question is: SELECT MAX(attendance) FROM table_name_64 WHERE week = 12. [/s>
SELECT record FROM table_name_4 WHERE result = "w 33-3"
CREATE TABLE table_name_4 (record VARCHAR, result VARCHAR)
What is the record for the result w 33-3?
<s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_4 WHERE result = "w 33-3" Context: CREATE TABLE table_name_4 (record VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the record for the result w 33-3? The answer to your question is: SELECT record FROM table_name_4 WHERE result = "w 33-3". [/s>
SELECT committee FROM table_name_98 WHERE first_elected = 1993
CREATE TABLE table_name_98 (committee VARCHAR, first_elected VARCHAR)
What Committee has the First Elected of 1993?
<s>[INST] Given the following SQL query and context: Query: SELECT committee FROM table_name_98 WHERE first_elected = 1993 Context: CREATE TABLE table_name_98 (committee VARCHAR, first_elected VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Committee has the First Elected of 1993? The answer to your question is: SELECT committee FROM table_name_98 WHERE first_elected = 1993. [/s>
SELECT COUNT(first_elected) FROM table_name_22 WHERE counties_represented = "anne arundel" AND district = "30" AND committee = "ways and means"
CREATE TABLE table_name_22 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR)
What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee?
<s>[INST] Given the following SQL query and context: Query: SELECT COUNT(first_elected) FROM table_name_22 WHERE counties_represented = "anne arundel" AND district = "30" AND committee = "ways and means" Context: CREATE TABLE table_name_22 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee? The answer to your question is: SELECT COUNT(first_elected) FROM table_name_22 WHERE counties_represented = "anne arundel" AND district = "30" AND committee = "ways and means". [/s>
SELECT counties_represented FROM table_name_97 WHERE first_elected = 2006 AND committee = "ways and means"
CREATE TABLE table_name_97 (counties_represented VARCHAR, first_elected VARCHAR, committee VARCHAR)
What counties represented have a First Elected of 2006 and a Ways and Means Committee?
<s>[INST] Given the following SQL query and context: Query: SELECT counties_represented FROM table_name_97 WHERE first_elected = 2006 AND committee = "ways and means" Context: CREATE TABLE table_name_97 (counties_represented VARCHAR, first_elected VARCHAR, committee VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What counties represented have a First Elected of 2006 and a Ways and Means Committee? The answer to your question is: SELECT counties_represented FROM table_name_97 WHERE first_elected = 2006 AND committee = "ways and means". [/s>
SELECT venue FROM table_name_56 WHERE year > 2001 AND competition = "summer olympics"
CREATE TABLE table_name_56 (venue VARCHAR, year VARCHAR, competition VARCHAR)
What is the venue when the year is after 2001 for the summer olympics?
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_56 WHERE year > 2001 AND competition = "summer olympics" Context: CREATE TABLE table_name_56 (venue VARCHAR, year VARCHAR, competition VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the venue when the year is after 2001 for the summer olympics? The answer to your question is: SELECT venue FROM table_name_56 WHERE year > 2001 AND competition = "summer olympics". [/s>
SELECT SUM(attendance) FROM table_name_48 WHERE date = "august 8"
CREATE TABLE table_name_48 (attendance INTEGER, date VARCHAR)
What is the total attendance for the August 8 game?
<s>[INST] Given the following SQL query and context: Query: SELECT SUM(attendance) FROM table_name_48 WHERE date = "august 8" Context: CREATE TABLE table_name_48 (attendance INTEGER, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total attendance for the August 8 game? The answer to your question is: SELECT SUM(attendance) FROM table_name_48 WHERE date = "august 8". [/s>
SELECT opponent FROM table_name_53 WHERE record = "56-59"
CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR)
Which opponent led to a 56-59 record?
<s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_53 WHERE record = "56-59" Context: CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which opponent led to a 56-59 record? The answer to your question is: SELECT opponent FROM table_name_53 WHERE record = "56-59". [/s>
SELECT venue FROM table_name_21 WHERE result = "22-12"
CREATE TABLE table_name_21 (venue VARCHAR, result VARCHAR)
Where did they play that the score was 22-12?
<s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_21 WHERE result = "22-12" Context: CREATE TABLE table_name_21 (venue VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Where did they play that the score was 22-12? The answer to your question is: SELECT venue FROM table_name_21 WHERE result = "22-12". [/s>
SELECT language FROM table_name_56 WHERE year > 2007 AND role = "urvashi mathur"
CREATE TABLE table_name_56 (language VARCHAR, year VARCHAR, role VARCHAR)
What language is spoken after 2007 for the role of urvashi mathur?
<s>[INST] Given the following SQL query and context: Query: SELECT language FROM table_name_56 WHERE year > 2007 AND role = "urvashi mathur" Context: CREATE TABLE table_name_56 (language VARCHAR, year VARCHAR, role VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What language is spoken after 2007 for the role of urvashi mathur? The answer to your question is: SELECT language FROM table_name_56 WHERE year > 2007 AND role = "urvashi mathur". [/s>
SELECT role FROM table_name_26 WHERE language = "hindi" AND year = 2011
CREATE TABLE table_name_26 (role VARCHAR, language VARCHAR, year VARCHAR)
What role is spoken in hindi in 2011?
<s>[INST] Given the following SQL query and context: Query: SELECT role FROM table_name_26 WHERE language = "hindi" AND year = 2011 Context: CREATE TABLE table_name_26 (role VARCHAR, language VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What role is spoken in hindi in 2011? The answer to your question is: SELECT role FROM table_name_26 WHERE language = "hindi" AND year = 2011. [/s>
SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum"
CREATE TABLE table_name_30 (notes VARCHAR, language VARCHAR, title VARCHAR)
What is the note section for the role with a language of hindi and a title of miley naa miley hum?
<s>[INST] Given the following SQL query and context: Query: SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum" Context: CREATE TABLE table_name_30 (notes VARCHAR, language VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the note section for the role with a language of hindi and a title of miley naa miley hum? The answer to your question is: SELECT notes FROM table_name_30 WHERE language = "hindi" AND title = "miley naa miley hum". [/s>
SELECT title FROM table_name_38 WHERE english_translation = "without me"
CREATE TABLE table_name_38 (title VARCHAR, english_translation VARCHAR)
What is the title of the song that has a translation of Without Me?
<s>[INST] Given the following SQL query and context: Query: SELECT title FROM table_name_38 WHERE english_translation = "without me" Context: CREATE TABLE table_name_38 (title VARCHAR, english_translation VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the title of the song that has a translation of Without Me? The answer to your question is: SELECT title FROM table_name_38 WHERE english_translation = "without me". [/s>