select id, length(invite_code), quote_literal(invite_code)
from users
where invite_code is not null and invite_code <> '' and length(invite_code) <> 8
order by id;
