Můžete to zabalit do dílčího dotazu takto:
SELECT *
FROM (
select (select A from B where ... ) as C from D
) subq
WHERE
C like ' ... '
Můžete to zabalit do dílčího dotazu takto:
SELECT *
FROM (
select (select A from B where ... ) as C from D
) subq
WHERE
C like ' ... '