Hi,

The following query works for the first time:


WITH t AS (
SELECT * FROM tables )
SELECT * FROM t
 
If I execute the query again, it gives the following error:
 
Variable 't' allready declared
 
If I change the alias from "t" to "t2" it works for the first time and then gives the error on second execution.
 
Please look into this and correct this bug.
 
Thanks,
 
- Venkatesh