2. Install SQLite and DB Browser (Windows and Mac)
2.4 How to Open a Practice Database and Run Your First SELECT
Why. Seeing your first result table builds confidence fast.
What. Execute SQL runs your statement and shows a results grid.
How. Open raja_coffee.db → Execute SQL → type SELECT → click Run.
Steps
- File → Open Database → raja_coffee.db.
- Click the Execute SQL tab.
- Paste the example query.
- Click the Run / play button.
- Read the result grid — city and amount.
Examples
Example 1 · dataset: raja_coffee
SELECT order_id, city, amount_inr
FROM orders
ORDER BY order_id
LIMIT 5;Output
| order_id | city | amount_inr |
|---|---|---|
| 1001 | Pune | 840.0 |
| 1002 | Mumbai | 720.0 |
| 1003 | Goa | 890.0 |
| 1004 | Pune | 1050.0 |
| 1005 | Kolhapur | 620.0 |
Meaning. Your first five coffee orders — read-only.
Ravindra Bagale's Tip
End statements with a semicolon ; — habit that helps on every engine.
Ravindra Bagale's Tip – मराठी
Statements शेवटी ; ठेवा — प्रत्येक engine वर उपयुक्त सवय.
Ravindra Bagale's Tip – हिंदी
Statements के अंत में ; लगाएँ — हर engine पर काम आने वाली आदत।