I inserted 5 records in table STAFF
and tried creating a new table using STAFF
table but I get an error:
Incorrect syntax near the keyword 'SELECT'
Default syntax:
CREATE TABLE new_table_name AS
SELECT column1, column2,...
FROM existing_table_name
[ WHERE ....; ]
My SQL statement
CREATE TABLE STAFF3 AS
SELECT *
FROM STAFF
I don't know where I wrong, How could I fix this ?