Natural Language SQL vs SQL Mocker
Natural Language SQL
github.comSQL Mocker
sqlmocker.comSide by side
| Figure | Natural Language SQL | SQL Mocker |
|---|---|---|
| Price from | Free | $10/mo |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 5 |
| Spec score · AI SQL Generators | 8.4 (#3) | 7.5 (#14) |
| Database support | It connects to PostgreSQL and MySQL and can query multiple same-type databases in parallel. | The homepage lists 17 supported systems: SQL Server, PostgreSQL, MySQL, Oracle, SQLite, MariaDB, Snowflake, BigQuery, Amazon Redshift, Databricks, SAP HANA, IBM Db2, Teradata, Microsoft Access, ClickHouse, DuckDB, and MongoDB. |
| Purpose | The engine turns plain-English database questions into SQL, validates and executes the query, and streams back results. | SQL Mocker generates SQL from natural-language questions using a reviewed copy of database schema metadata. |
Plans
SQL Mocker
- ExploreFree
- Starter$10 a month
- Pro$20 a month
- Business$39 a month
- EnterprisePriced on request
In their own words
Natural Language SQL
Natural Language SQL turns plain-English questions about databases into SQL, validates and runs the query, then streams back results. It connects to PostgreSQL and MySQL, including multiple databases of the same type in parallel. Hybrid retrieval combines BM25 and sentence-transformer vectors to select schema context for a question. Users can review and edit generated SQL before execution, while the interface shows progress through query stages. Results can be sorted, paginated at 50 rows per page, downloaded as CSV or JSON, or copied as tab-separated text. SELECT queries receive a default limit, explicit result counts are capped at 1,000 rows, and execution times out after 30 seconds by default. INSERT, UPDATE and DELETE are allowed by default, with warning banners; the project recommends a read-only database user to block writes. Ollama runs locally by default, keeping questions, schema and generated SQL on the user’s machine. OpenAI, Gemini and Groq are optional cloud providers and receive the question, relevant schema portion and SQL context. The project is free under GPL-3.0. Its recommended Docker setup needs Docker 20.10 or later with Compose v2 and about 10 GB of free disk space.
SQL Mocker
SQL Mocker is a web app that generates SQL from natural-language questions using a reviewed copy of database schema metadata. Users can provide schema details through a file, pasted metadata, manual setup, or results from an extraction script run in their own database. Its workspace can detect, review, edit, or add table relationships, including ones missing from the supplied metadata. Existing SQL can also be submitted for explanation, review, improvement, formatting, conversion, troubleshooting, or mapping columns and joins. SQL Mocker can generate dummy data from a schema to preview results and test query logic without production rows. Its homepage lists 17 supported database systems, including SQL Server, PostgreSQL, MySQL, Oracle, Snowflake, BigQuery, and MongoDB. It says it needs no database credentials for schema-based generation and does not connect to a live customer database. Generated SQL is presented for review and copying; users run it themselves in their own database tool. Saved projects sync to the user account and are cached in the browser, with backup files available from History. The free Explore plan includes 50 AI queries total and five saved projects; paid plans are marked as coming soon.