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_12338595_1 (swimsuit VARCHAR, state VARCHAR)
system
What swimsuit score did the state of Virginia contestant achieve?
user
SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = "Virginia"
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_12338595_1 (swimsuit VARCHAR, state VARCHAR)<|im_end|>
<|im_start|>user
What swimsuit score did the state of Virginia contestant achieve?<|im_end|>
