次のようなサブクエリでラップできます:
SELECT *
FROM (
select (select A from B where ... ) as C from D
) subq
WHERE
C like ' ... '
次のようなサブクエリでラップできます:
SELECT *
FROM (
select (select A from B where ... ) as C from D
) subq
WHERE
C like ' ... '