How to use CTE in another CTE

with report as (
      <your query here>
     reportLimited as (
      select *
      from report
      where foo = value
select *
from reportLimited

If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

© 2023 - ErnesTech LLC- Privacy