I am using group by clause in mysql query and getting error of nonaggregated column,I can't disable full_ group_by from preveliges because I am using share hosting so don't have access to this so I tried alternate way ANY_VALUE however using this also I am getting same error: Mysql query
SELECT any_value(o.booking_id), any_value(o.id)id,any_value(u.name) as user_name,
FROM orders o
JOIN items ON items.id=o.product_id
JOIN users u ON u.id=o.user_id
JOIN payment p ON p.booking_id=o.booking_id
WHERE o.status =0
GROUP BY o.booking_id
ORDER BY o.id DESC
LIMIT 10