Skip to content

Beginner guide ​

In ten minutes you open a small SQLite database, look at a table, find rows without writing SQL, change a value, run a query and make a backup. You practise on a throwaway file, so nothing can go wrong.

What you need ​

  • Database Manager installed. See Install.
  • A SQLite database file to practise on. If you have none, make one in the next section.

Make a practice database ​

The app opens existing databases. It does not create new ones. This command creates a small one called practice.db in your home folder.

  1. Install the SQLite command-line tool if you do not have it:

    bash
    sudo apt install sqlite3
  2. Create the database with one table and three rows:

    bash
    sqlite3 ~/practice.db "CREATE TABLE people (id INTEGER PRIMARY KEY, name TEXT, city TEXT, age INTEGER); INSERT INTO people (name, city, age) VALUES ('Asha', 'Chennai', 34), ('Ben', 'Leeds', 61), ('Chloe', 'Chennai', 67);"

Add a connection ​

A connection is a saved description of where a database is. You create it once and open it with a click after that.

  1. Open Database Manager and select New connection.

  2. At the top of the dialog, make sure SQLite is selected.

  3. In Connection name, type Practice.

  4. Select Browse, find practice.db in your home folder and open it. Its path appears in SQLite file.

  5. Leave the password field empty. It is only for encrypted databases.

  6. Select Save.

The connection appears in the list as Practice, with the database type and the file path under it.

Open it and look around ​

Select Practice. The workspace opens. It has four areas:

AreaWhereWhat it is for
Title barTopThe connection name, a refresh button, a padlock for encryption, the Backup button, and the Data and Query tabs.
Table listLeftEvery table in the database, with a Filter tables box above it.
ToolbarAbove the gridThe table name and row count, the find-rows button, page arrows, Insert, Export CSV and a refresh button.
GridCentreThe rows of the selected table, 100 per page.

The first table, people, is already selected. The toolbar reads people · 3 rows.

Find rows without SQL ​

  1. In the toolbar, select the funnel button. Its tooltip is Find rows without writing a query. A panel opens above the grid.

  2. Select Add a condition (e.g. "name contains john"). A row appears that starts with Where.

  3. In the first list choose city. In the second leave is. In the value box type Chennai.

  4. Select Add another condition. Choose age, then is more than, and type 60.

  5. Select Find rows.

The grid now shows one row, Chloe. The toolbar reads people · 1 rows (filtered) and the funnel button shows a badge with the number of conditions.

Select Show the query this runs at the bottom of the panel. The app shows the SQL it built:

sql
SELECT * FROM "people"
WHERE "city" = 'Chennai' AND "age" > 60
LIMIT 100;

Select Clear to remove the conditions and see every row again.

Change a value ​

  1. Click any cell in Ben's row. The Edit row dialog opens with one box per column.

  2. Change city from Leeds to York.

  3. Select Save.

A message at the bottom says Row updated and the grid shows the new value. The change is already written to the file. There is no separate save step and no undo.

Run a query ​

  1. Select the Query tab.

  2. Type this in the box:

    sql
    SELECT city, COUNT(*) AS people FROM people GROUP BY city;
  3. Select Run (Ctrl+Enter), or press Ctrl + Enter.

The result appears in a grid. To the right of the button you see how many rows came back and how long the query took.

Take a backup ​

  1. Select Backup in the title bar.

  2. Choose a folder, for example Documents.

A message confirms Backup created with the full path. The file is named after the database with the date and time, for example practice_backup_20261109_142530.db.

Use the back arrow in the title bar to close the database and return to the connection list.

What you learned ​

  • A connection is saved once and opened with a click.
  • The Data tab browses and edits. The Query tab runs what you type.
  • The find-rows panel builds a search from lists and can show you the query behind it.
  • Edits are written immediately, so a backup comes first when the data matters.

Next steps ​