Error: select grupe.id, grupe.naziv from grupe where grupe.idgeneracije = order by grupe.naziv
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by grupe.naziv' at line 3