AS SELECT (CTAS) creates a new table and populates it in one statement, using the result of a query to define both its schema and its data.