'for CTE' temporary table infrastructure