> For the complete documentation index, see [llms.txt](https://ai2sql.gitbook.io/ai2sql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai2sql.gitbook.io/ai2sql/2.-ai2sql-dashboard/2.2.-generating-sql-based-on-predefined-datasets.md).

# 2.2. Generating SQL based on predefined datasets

1. Select a dataset from the list of predefined datasets available in the Playground.
2. In the input field, type a natural language query related to the selected dataset.
3. Click the "Generate SQL" button to convert your query into an SQL query.
4. Review the generated SQL query and make any necessary modifications.
