message: Add in my nested CTE test cases
diff: @@ -46,3 +46,13 @@ query I
  with cte1 as (Select i as j from a) select * from cte1 where j = (with cte2 as (select max(j) as j from cte1) select j from cte2);
  ----
  42
  +
  +# refer to same-named CTE in a subquery expression
  +query I
  +with cte as (Select i as j from a) select * from cte where j = (with cte as (select max(j) as j from cte) select j from cte);
  +----
  +42
  +
  +# self-refer to non-existent cte
  +statement error
  +with cte as (select * from cte) select * from cte
  