DB ERROR

=============================================================================
Mysql_Query : (select tn01.seq, (SELECT code_name FROM tn_code WHERE table_name = 'tn_bbs_notice' AND column_name = 'headid' AND code = headid) as headid, tn01.title, date_format(tn01.create_date, '%Y-%m-%d') create_date, ifnull(notice_ind,'N') notice_ind, hilight_ind from tn_bbs_notice tn01 where 1 = 1 and ifnull(notice_ind,'N') = 'N' order by seq desc limit -10, 10) union all (select tn01.seq, (SELECT code_name FROM tn_code WHERE table_name = 'tn_bbs_notice' AND column_name = 'headid' AND code = headid) as headid, tn01.title, date_format(tn01.create_date, '%Y-%m-%d') create_date, notice_ind, hilight_ind from tn_bbs_notice tn01 where notice_ind = 'Y' ) order by notice_ind desc,seq desc
Mysql_Error : 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 '-10, 10) union all (select tn01.seq, (SELECT code_name FROM tn_code ' at line 9
Mysql Error Num : 1064

=============================================================================