WRITE QUERIES
Write and run SQL
Use the SQL editor and guided builder to work with Forge SQL in Simple DB.
Choose a catalog source
Browse Tables, Views and Queries, then open an object to inspect its data or definition. Use the editor for a new query, or open a saved query to continue working with its SQL.
Write one statement at a time
Simple DB validates SQL and allows one statement per execution. The SQL engine follows Forge SQL's MySQL/TiDB dialect. Use a SELECT query to read data, and review generated or changed SQL before you run it.
Use the SQL Builder
Open the SQL Builder for guided construction of supported statements, including common table operations. The builder produces SQL for the editor; check the statement and run it from Studio.
Review execution results
Run a statement to see its rows or a summary of the operation in Results. For a SELECT, switch the result view to inspect the returned data. Save useful SQL as a query for later runs or page embeds.
Example: a filtered query
This example uses a placeholder table and column name. Replace them with objects and fields from your own catalog.
SELECT name, status
FROM projects
WHERE status = :status
LIMIT 100;