SQL Prepare Error

Error Number: 42000

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'nn00057824_db.table_product.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

select * from table_product where type = ? and thu = ? and find_in_set('hienthi',status) group by ngayquay order by ngayquay desc limit 0,7