MariaDB EXCEPT Operator Explained

In MariaDB, the EXCEPT operator returns rows from the left input query that aren’t output by the right input query.

Another way of putting it is that it returns all rows from the left SELECT result set except rows that are in right SELECT result set.

Read more