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 poker_player (Earnings INTEGER)
system
What is the average earnings of poker players?
user
SELECT AVG(Earnings) FROM poker_player
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 poker_player (Earnings INTEGER)<|im_end|>
<|im_start|>user
What is the average earnings of poker players?<|im_end|>
