select t.id, t.user_id, t.product_name, t.status, t.client_id, t.date from ( select *, cou...