upit nije izvrsen zbog:- broj greske=1064
- greska=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 trimester DESC LIMIT 0,5' at line 6
- upit=
SELECT trimester, zadnjiTM, lastTM, code, tm, capx_r as r_r, capx_m as r_m, capx_a as r_a, capx_l as r_l, capx_s as r_s, capx_md as r_md, capx_ld as r_ld, capx_ind as r_ind, capxq_r as r_r1, capxq_m as r_m1, capxq_a as r_a1, capxq_l as r_l1, capxq_s as r_s1, capxq_md as r_m1d, capxq_ld as r_l1d, capxq_ind as r_ind1 , capxtq_r as r_r2, capxtq_m as r_m2, capxtq_a as r_a2, capxtq_l as r_l2, capxtq_s as r_s2, capxtq_md as r_md2, capxtq_ld as r_ld2, capxtq_ind as r_ind2 , capxt_r as r_r3, capxt_m as r_m3, capxt_a as r_a3, capxt_l as r_l3, capxt_s as r_s3, capxt_md as r_md3, capxt_ld as r_ld3, capxtq_ind as r_ind3
FROM comp_ranking
WHERE
code = 'PMTC'
AND trimester <=
ORDER BY trimester DESC LIMIT 0,5