Hesla dle oboru - Pediatrie
SELECT t.*, tt.*, u.*, ts.* FROM term t
LEFT JOIN termText tt on t.termId=tt.termId
LEFT JOIN user u ON t.authorUserId=u.userId
LEFT JOIN termStatus ts ON tt.termStatusId=ts.termStatusId
LEFT JOIN category_term tc ON tc.termId=t.termId
WHERE tc.categoryId=37 AND tt.termStatusId=5 GROUP BY t.termId ORDER BY t.termName ASC, t.termId DESC LIMIT 150≤tter=E,30 [nativecode=1064 ** 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 '150≤tter=E,30' at line 6]