SELECT a.idx, a.title, a.contents, a.comment, a.comment_reply, a.hit,, a.write_date,, a.thumb, a.user_idx, a.community_idx, AS category2 FROM etc a LEFT JOIN category2 b ON (b.idx = a.category2) WHERE 1 AND (a.community_idx = 98) AND (a.community_idx = 98) AND (a.user_idx = 359809) AND (a.display=1) ORDER BY idx DESC LIMIT -50, 50 [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 '-50, 50' at line 1]