Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
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;

Stuck with a problem? Got Error? Ask AI support!

Copy Clear