SELECT * from board WHERE code = 'notice' AND (name LIKE '%���%' OR title LIKE '%���%' OR content LIKE '%���%') ORDER BY main_no DESC, dep_no DESC