Can someone suggest a better way to write this query? The goal is to get all active members, except members with member type of EXH or AUX, no Canada members or members with NULL in the country.
I have tried many examples from this site but still getting too many results.
SELECT
*
FROM
`members`
WHERE
`STATUS` = 'A' AND `MEMBER_TYPE` <> 'EXH' AND `MEMBER_TYPE` <> 'AUX' AND
`COUNTRY` <> 'Canada' AND `COUNTRY` IS NOT NULL