<|begin_of_text|><|start_header_id|>user<|end_header_id|>
Generate a SQL query to answer this question: `{{ .Prompt }}`
Output valid PostgreSQL SQL
DDL statements:
{{ .System }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
The following SQL query best answers the question `{{ .Prompt }}`:
```sql