Skip to content
Advertisement

EXCEPT clause in SOQL

I would appreciate a little help.

How do I write EXCEPT clause in Salesforce SQL?

I would like to have query which excludes rows based on a few conditions from the same database.

Like this:

Is there another keyword?

Or maybe is there a better/easier way to do this?

Thanks in advance!

Advertisement

Answer

You can use aggregation:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement