graph TD
C1 --- C2 --- C3 --- C4
C2 --- C3a --- C4
SELECT *, stolpci, st1+st2
FROM tabela
WHERE (stolpec LIKE 'niz%' AND st2 = st3) OR st1+4 >= st2*3
ORDER BY stolpec DESC, st2 ASC, st3
LIMIT stevilo;
Izpiši vse filme iz leta 1950.
SELECT *
FROM film
WHERE leto = 1950;
Izpiši imena vseh žanrov.
SELECT naziv FROM zanr;
Izpiši imena prvih 10 oseb v abecednem vrstnem redu.
SELECT ime FROM oseba
ORDER BY ime ASC
LIMIT 10;