If you replace the EXISTS by NOT EXIST in the query, it will not return any records at all.
MySQL subquery in FROM clause
When you use a subquery in the FROM clause, the result set returned from a subquery is used as a table. This table is referred to as a derived table or materialized subquery.
The following subquery finds the maximum, minimum and average number of items in sale orders: