Skip to main content

Using EXCEPT or MINUS clause in the admin ad hoc SQL queries

Comments

1 comment

  • Stephen Ladek

    Credit (Andy Braden): 

    The site is running MySQL which does not support EXCEPT but may support MINUS. That said, MINUS is run between queries (SELECT A  MINUS SELECT B) and I doubt the tool supports this. It may be more successful to either restructure the primary SELECT to exclude the results or run the larger SELECT and manually remove the undesired results. 

    In anycase, shifting your syntax to MySQL will be the right place to start. 

    0

Please sign in to leave a comment.