Thread:Project:Support desk/database query condition, not in array/reply (2)

I need it to work in my extension. How do I code it using the mediaiwiki syntax as shown on https://www.mediawiki.org/wiki/Manual:Database_access NOT IN gives a Parse error: syntax error, unexpected T_STRING, expecting ')'