Oracle
 sql >> Database >  >> RDS >> Oracle

Possiamo avere più WITH AS in un singolo sql - Oracle SQL

Puoi farlo come:

WITH abc AS( select
             FROM ...)
, XYZ AS(select
         From abc ....) /*This one uses "abc" multiple times*/
  Select 
  From XYZ....   /*using abc, XYZ multiple times*/