Good day. Please how can I re-write this query below in order to eliminate GROUP BY as it interferes with pagination and not sacrifice performance when the data