АР
Size: a a a
АР
A
S
AR
AR
ДМ
Л
Л
Л
АР
with t as
(
select
row_number() over (partition by email order by last_login desc) as rn
from
auth_user
where
email > ''
)
update t set email = '' where rn > 1;
Л
АР
Л
АР
with t as
(
select
email,
row_number() over (partition by email order by last_login desc) as rn
from
auth_user
where
email > ''
)
update t set email = '' where rn > 1;
Л
АС
ЕГ
DI
KN
KT