select suid as userid,
fact_ts as TS,
fact_datetime as DT,
fact_name as name,
item_id as item,
counter as level_num,
from sales_hero_level_up as levelup
-- assuming account ban data is in account_ban table
left join account_ban on account_ban.suid = levelup.suid
-- to retrieve the records that didn't match the BAN join
where levelup.userid is NULL
order by item asc;