filtering on not selected column on aggregate solution - Supabase