Real PostgreSQL and MySQL — in the browser

Learn SQL by writing it,
not by reading about it

SQLab is an online lab for database courses. Nothing to install, nothing to configure, no powerful laptop required. Open the site and start writing queries.

Start for free

SQLab

  • PostgreSQL 18
  • MySQL 8.4
  • 3 languages
  • Free
university=#
SELECT first_name, last_name, city
FROM students
WHERE course = 2
ORDER BY last_name
LIMIT 5;
first_namelast_namecity
FarruxAliyevNavoiy
LazizAzimovToshkent
OzodaAzimovaQarshi
UmidBoboyevToshkent
NozimaBoboyevaSamarqand

(5 rows)

university=#
rows

Built for university students across Uzbekistan

TATUToshkentO‘zMUToshkentTDTUToshkentINHAToshkentWIUTToshkentTTPUToshkentNewUUToshkentPDPToshkentTDIUToshkentAUTToshkentCAUToshkentKIUTToshkentWebsterToshkentMDISTToshkentTIQXMMIToshkentTDTrUToshkentTAQUToshkentTDPUToshkentTKTIToshkentTTYeSIToshkentSamDUSamarqandTATU SFSamarqandSamISISamarqandBuxDUBuxoroBuxMTIBuxoroAndDUAndijonAndMIAndijonNamDUNamanganNamMTINamanganFarDUFarg‘onaFarPIFarg‘onaTATU FFFarg‘onaQarDUQarshiQarMIIQarshiTATU QFQarshiUrDUUrganchTATU UFUrganchQDUNukusTATU NFNukusTerDUTermizGulDUGulistonJizPIJizzaxNDKTUNavoiy

0

auto-checked tasks

0

lessons from zero to pro

0

lifelike databases

0

languages: Uzbek, Russian, English

Which database do we use?

Pick the one your course teaches. Switch with a single button — the exercises are the same in both.

Available

PostgreSQL18

The most advanced open-source database. The choice of serious projects.

Available

MySQL8.4

The most widespread database. A large share of the web runs on it.

Coming soon

Oracle Database

The database of large enterprises and banks. We are working on it.

From zero to writing queries on your own

Four sections, one path. In each of them theory turns into practice right away.

Small things that make learning easier

Just as comfortable in class, at home or on a phone.

Explains errors

Under the database’s own message: what happened and how to fix it, in your language.

ERROR 1054 (42S22): Unknown column 'nmae' in 'field list'

«nmae» degan ustun yo‘q. Balki «name» demoqchimisiz?

A real server

Not a simulation: queries run on PostgreSQL and MySQL themselves.

Works on a phone

The terminal fits small screens and has quick keys for SQL symbols.

SELECT*;'()JOINWHERE

Three languages

Every text is translated for meaning, not word for word.

O‘zbekchaРусскийEnglish

Group codes

A teacher hands out a 6-character code — a student joins in a minute.

K7M-2QX

Leaderboard and XP

Every solution earns points, and a group turns into a friendly race.

1Dilnoza Karimova1,840
2Jasur Toshmatov1,610
3Malika Yusupova1,335

Universities on SQLab

These numbers are live: they change the moment a teacher opens a group or a student joins one.

TATU

Tashkent University of Information Technologies named after Muhammad al-Khwarizmi

Toshkent

0

teachers

0

groups

0

students

For teachers

See where your group stands at a glance

No more hours spent checking lab work: who finished which lesson and how many problems they solved — all in one table.

  • Open a group and hand students a 6-character code
  • Follow every student’s lessons, practice and problems
  • The in-group leaderboard keeps students moving on its own

SQLab

Group DB-211

Group code: K7M-2QX

Sample
#StudentLessonsProblemsXP
1Dilnoza Karimova18420
2Jasur Toshmatov16370
3Malika Yusupova15290
4Bobur Aliyev11180
5Sardor Nazarov790

Frequently asked questions

Is it paid?

No. SQLab is free for students and teachers.

Do I need to install anything?

No. Your queries run on our servers in real PostgreSQL and MySQL; all you need is a browser.

Can I use it without signing up?

Yes. As a guest you can read lessons and practise. Problems, the arena and the leaderboard need a Google sign-in.

What if my university is not on the list?

Choosing a university is optional. You can join a group with just the code from your teacher.

Is this a real database or a simulation?

Real. Error messages and results are exactly what production PostgreSQL and MySQL give you — so what you learn here works on the job.

Write your first query right now

A minute from now you will be writing SELECT.

Start for free