You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_76 (points INTEGER, tyres VARCHAR, year VARCHAR)
system
What is the total points listed that includes P listed Tyres after 1986?
user
SELECT SUM(points) FROM table_name_76 WHERE tyres = "p" AND year > 1986
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_76 (points INTEGER, tyres VARCHAR, year VARCHAR)<|im_end|>
<|im_start|>user
What is the total points listed that includes P listed Tyres after 1986?<|im_end|>
