# SQLite: Run your first query

SQLite: Connect and run SQL. Connections, SQL worksheets and query results.

Source: https://www.nexosqlstudio.com/docs/sqlite-quickstart
Language: en
Type: docs

# SQLite: Run your first query

Connections, SQL worksheets and query results

1. Install Nexo SQL Studio and open Connections Explorer.
2. Add a connection, select the database engine and enter a unique name.
3. Enter the engine-specific fields. Test the connection, resolve any inline errors, then save.
4. Open a SQL worksheet from the saved connection and run the example below.
5. Inspect the results. Use a disposable database for write examples and review commit/rollback behavior before changing production data.

```sql
SELECT sqlite_version();
```

```sql
SELECT name, type FROM sqlite_schema ORDER BY name;
```

## Before connecting

Choose a local SQLite database file that you are authorized to access. SQLite does not need a server, port or database-user password. Confirm file access when prompted and check read-only mode before making changes.

## 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

- [Connection guide](https://www.nexosqlstudio.com/docs/sqlite-connection)
- [Connections, SQL worksheets and query results](https://www.nexosqlstudio.com/docs/worksheet)
- [Feature availability](https://www.nexosqlstudio.com/databases)

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.


