'T0.ID' is either not in any table in the FROM list or appears within a join
cification and is outside the scope of the join specification or appears in
VING clause and is not in the GROUP BY list. If this is a CREATE or ALTER
statement then 'T0.ID' is not a column in the target table.