Free practice · SQL environment

Run your first query in two minutes.

The query is ready: it should display the name and price of three products. Run it to see SQL turn a table into a result.

No accountFictional dataRead-only queries

Browser-based SQL environment

First query — display two columns

Run a read-only query on this exercise's fictional data. Nothing is sent to SQL.tn.

Local and private
Shortcut: Ctrl/⌘ + Enter
The SQL environment will be prepared when you first run the query.

Preview

Available data

Table products
product_idproduct_namecategoryprice
1Atlas KeyboardComputing89
2Dune MouseComputing45
3Carthage NotebookOffice12
4Studio MonitorComputing249
5USB HubComputing45
6WebcamComputing89
7Laptop StandOffice39
8Desk LampOffice39
9Standing DeskFurniture399
10Ergonomic ChairFurniture249
11Drawer UnitFurniture129
12Meeting TableFurniture499
13HeadphonesAudio89
14Conference SpeakerAudio149
15USB MicrophoneAudio79
16Wireless EarbudsAudio59
17PlannerOffice12
18Pen SetOffice9
19Cable OrganiserOffice9
20Storage BoxOffice19
21External SSDComputing129
22Travel ChargerComputing49
23FootrestFurniture49
24BookcaseFurniture199