The program pauses to accept a SQL command.
CREATE TABLE newtab (col1 CHAR(30), col2 CHAR(11))The program pauses to accept a SQL command.
GRANT ALL PRIVILEGES ON newtab TO PUBLIC
The program pause to accept a SQL command.
CREATE UNIQUE INDEX newtab_index ON newtab (col1)
When naming columns and tables, make sure to use underscores ("_"), not hyphens ("-"), or a syntax error occurs.
The above entries create a new table and grant access permission to everyone. Enter the following command to delete the table.
DROP TABLE newtab