select wr_trackback, mb_id, wr_id, wr_subject, wr_option, wr_content, wr_comment, wr_parent, wr_datetime, wr_last, wr_homepage, wr_name, wr_email, wr_reply, wr_link1, wr_link2, ca_name, wr_hit, wr_1, wr_2, wr_3, wr_4, wr_5, wr_6, wr_7, wr_8, wr_9, wr_10 from test.g4_write_book_D where wr_is_comment = 0 and 1 order by chk_buy desc, wr_10 asc, wr_good desc, wr_nogood asc, wr_id desc limit 0, 16
1054 : Unknown column 'chk_buy' in 'order clause'
error file : /bbs/board.php