SELECT sort FROM user_news WHERE language='0' AND user='uobon' GROUP BY sort HAVING sort<>'' ORDER BY news_idExpression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'uobon_db.user_news.news_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_bySELECT book_id,no_id,sort,value,key_wd,sign,imgsrc FROM user_book WHERE sort='PRDS' AND user='uobon' AND bound='WEBSITE' GROUP BY key_wd HAVING key_wd<>'' ORDER BY no_id<->Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'uobon_db.user_book.book_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by