select distinct wr_parent from g4_write_product_en where ( ca_name = '14' or ca_name="27" or ca_name="28" or ca_name="29" ) and (wr_num between '-221' and '9778') and wr_10 != '1' ORDER BY wr_datetime asc , wr_datetime DESC limit 0, 6
3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'supercom_uno.g4_write_product_en.wr_datetime' which is not in SELECT list; this is incompatible with DISTINCT
error file : /web/bbs/board.php