Hi,
With later versions of mysql (see manual) you can do something like ...
SELECT
FROM (SELECT FROM ... etc)
... which is 'nested'.
But that might not be the sort of thing you want.
You may need to just add another 'WHERE' clause ( using 'AND') to your existing SQL to refine the search.
You'll have to be a bit more specific, I think ... show us an example of what you mean (an sql query).
P. 🙂