I want to create table in Teradata. Therefore I am using this syntax:
CREATE VOLATILE TABLE a AS ( Select * FROM ... ) WITH DATA PRIMARY INDE