select '---user-counts---';
select count(*) as total_users,
       count(*) filter (where invite_code is null or invite_code = '') as missing_invite_code,
       count(*) filter (where invite_code is not null and invite_code <> '') as filled_invite_code
from users;

select '---boundary-samples---';
select id, invite_code from users where id in (30,31,32,33,34,35,36,37,38,39,40,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270) order by id;
