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 'AND segmentvalue.sid = odnosi_novi.sid' at line 10
- upit=
SELECT rev, inc, current.totalrevCurrent, current.netincomeCurrent, nazivseg, segmentvalue.trimester, segmentvalue.sid AS name_seg
FROM odnosi_novi, segmentvalue, current
WHERE odnosi_novi.code != odnosi_novi.other_code
AND current.code = 'CREC'
AND odnosi_novi.code = 'CREC'
AND VrstaOdnosa = 1
AND segmentvalue.code = odnosi_novi.code
AND segmentvalue.trimester <=
AND segmentvalue.sid = odnosi_novi.sid