SELECT `idx`, `total_order_by`, `website_order_by`, `subject`, `hit_count`, `add_date`, `secret_flag`, `parent_idx`, `add_id` FROM `board_data` WHERE `board_id`='portfolio' AND `del_flag`='n' AND `real_data`='y' AND `idx`!=1047 AND `category` LIKE '%shoppaging=1%' AND `shoppaging=1_order_by`< ORDER BY `shoppaging=1_order_by` DESC LIMIT 1
There is an error in the transmitted query.
ERROR_CODE 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 'ORDER BY `shoppaging=1_order_by` DESC LIMIT 1' at line 1