Database Error

Query: "SELECT as id, count( as petoplam, pe.seflink as yazarseflink, as yazar FROM users as pe JOIN product as p ON p.people = WHERE p.deleted = '0' AND p.status = '0' AND ( LIKE '%A. Deniz Atlı%' OR pe.seflink LIKE '%A. Deniz Atlı%') GROUP BY ORDER BY DESC"

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