PostgreSQL: Run your first query
PostgreSQL: Connect and run SQL. Connections, SQL worksheets and query results.
PostgreSQL: Run your first query
Connections, SQL worksheets and query results
- Install Nexo SQL Studio and open Connections Explorer.
- Add a connection, select the database engine and enter a unique name.
- Enter the engine-specific fields. Test the connection, resolve any inline errors, then save.
- Open a SQL worksheet from the saved connection and run the example below.
- Inspect the results. Use a disposable database for write examples and review commit/rollback behavior before changing production data.
SELECT current_database(), current_user;
SELECT table_schema, table_name FROM information_schema.tables ORDER BY table_schema, table_name;
Before connecting
Enter the PostgreSQL database name and role. Check schema permissions and TLS requirements. For Supabase, use the direct or pooler details provided by the project; IPv4/IPv6 reachability and pooler behavior can affect your workflow.
Troubleshooting
Check the selected engine, host or file path, database name, account permissions and TLS requirements. Keep the connection editor open while correcting failed tests. Include the engine, server version, extension version and a sanitized error when requesting support; never include passwords or wallet secrets.
Next steps
Database support does not imply identical features. Connections and SQL worksheets are the starting point; editing, DDL, modeling, transfers, administration and AI operations depend on the engine and workflow. Check the installed version and the relevant guide before relying on an advanced operation.