- In theory, nesting can be
arbitrarily deep:
SELECT ...
FROM ...
WHERE ... (SELECT ...
FROM ...
WHERE ... (SELECT ...
FROM ...
WHERE ... ( ...
...
)
)
)
|
- In practice, depending on
your DBMS system,
the number of
nesting levels
is limited
(and different for each
system)
- According to
click here,
MySQL can have
60 levels
of nested selects.
|
|