Dynamic SQL Error SQL error code = -104 Token unknown - line 1, column 29 .
SELECT FIRST 8 SKIP -8 PAKET.NAZIV, PAKET.CENA, PAKET.ID_PAKET, PAKET.ID_PROIZVAJALEC, PAKET.DAVEK, POPUSTI.PROCENT, POPUSTI.KODA as POPUST_KODA FROM PAKET LEFT JOIN POPUSTI ON POPUSTI.ID_POPUSTA = PAKET.ID_POPUSTA WHERE PAKET.IZBRISAN = 0 AND PAKET.AKTIVEN = 1 ORDER BY NAZIV