How to use
Use the form to generate a query in seconds.
- Pick a query type (SELECT/INSERT/UPDATE/DELETE) and dialect.
- Enter the table name.
- Fill the main box based on type (columns for SELECT/INSERT, or key=value pairs for UPDATE).
- (Optional) Add WHERE / ORDER BY / LIMIT.
- Click Generate SQL, then copy the output.
FAQ
Does this tool execute my SQL?
No. It only generates query text in your browser and does not run anything against a database.
What does “Strict identifiers” do?
It validates table/column names as simple identifiers (letters, numbers, underscore, optional dots) and applies dialect-style quoting.
Can I generate JOIN queries?
This tool focuses on common single-table templates. For JOINs, generate a base SELECT and then edit the output.
Why are my WHERE/ORDER BY parts not quoted?
Those fields are treated as raw SQL so you can write expressions freely; the tool only quotes validated identifiers like table/column lists.
How do I insert multiple rows?
Use INSERT, list columns, then add one VALUES row per line (or paste full tuples like (1,'A'),(2,'B')).
Is DELETE/UPDATE without WHERE blocked?
Yes by default. You can explicitly allow it with the provided checkboxes.
Which dialects are supported?
PostgreSQL, MySQL, SQLite, SQL Server, and a generic mode (mainly affects identifier quoting and SELECT TOP vs LIMIT).