NAMED is a Teradata extension to the ANSI SQL:2011 standard. For ANSI compliance, use AS instead of NAMED. See AS.