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_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)
system
How many titles had an average rating of 8.9%?
user
SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.9%"
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_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)<|im_end|>
<|im_start|>user
How many titles had an average rating of 8.9%?<|im_end|>
