Find all categories NOT used in current item


/ Published in: SQL
Save to your folder(s)

It's easy to find the categories used on one item, but find all categories NOT used on current item?
This snippet stores a "NOT IN" query.

This is used with PHP & mySQL. The query can be written differently on other databases, but this seems to work with mySQL.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.