Dropping a table or keyspace 

Steps for dropping table or keyspace using the DROP command.

You drop a table or keyspace using the DROP command.

Procedure

  1. Drop the users table.
    cqlsh:demodb> DROP TABLE users;
  2. Drop the demodb keyspace.
    cqlsh:demodb> DROP KEYSPACE demodb;