MariaDB MINUS Operator Explained

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

The MINUS operator was introduced in MariaDB 10.6.1 as a synonym for the EXCEPT operator for the purposes of compatibility with Oracle. Therefore, we can use MINUS and EXCEPT interchangeably (in MariaDB 10.6.1 and later).

Read more

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

How the JSONPath Wildcard Step (**) Works in MariaDB

When working with JSON in MariaDB, you can use JSONPath expressions to manipulate data within a JSON document.

One powerful feature that MariaDB provides is the wildcard step (**). This allows you to recursively select all child elements of the current element.

The wildcard step is a non-standard extension, and it’s also supported with the same meaning in MySQL.

Read more