It is a AI-powered SQL and NoSQL generator. You can tell AI what SQL or NoSQL you want using everyday language and will generate the SQL or NoSQL query.
It depends on what you want to achieve, but instructions like "Get customers from this month" or "Get customers within 500m of the Eiffel Tower using lat/lng" are some examples. You can see SQL examples here. It shows what you can ask AI and what it generates.
Adding your custom data source improves the accuracy. AI is then often able to infer table and column names like foreign keys.
With AI "training" you teach AI about your specific database schema like naming conventions, desired syntax and how it should understand various instructions. You can read more about it here.