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 Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR)
system
When do all the researcher role staff start to work, and when do they stop working?
user
SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'researcher'
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 Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR)<|im_end|>
<|im_start|>user
When do all the researcher role staff start to work, and when do they stop working?<|im_end|>
