Just for example:
With DependencedIncidents AS ( SELECT INC.[RecTime],INC.[SQL] AS [str] FROM ( SELECT A.[RecTime] As [RecTime],X.[SQL] As [S
Yes - just do it this way:
WITH DependencedIncidents AS ( .... ), lalala AS ( .... )
You don't need to repeat the WITH keyword
WITH