Dropping a keyspace or table
Use the DROP KEYSPACE or DROP TABLE command to drop a keyspace or table.
Use the DROP KEYSPACE or DROP TABLE command to drop a keyspace or table.
Procedure
-
Drop the test keyspace.
DROP KEYSPACE test;
-
Drop the cycling.last_3_days table.
DROP TABLE cycling.last_3_days;