Spring Boot with Cassandra DB
PS C:\Users\Rajesh_Kawali> cd C:\setup\apache-cassandra-4.1.1\bin
PS C:\setup\apache-cassandra-4.1.1\bin> cassandra
PS C:\setup\apache-cassandra-4.1.1\bin> cqlsh
cqlsh> CREATE KEYSPACE mykeyspace WITH REPLICATION = {'class' : 'SimpleStrategy','replication_factor' : 1};
cqlsh> use mykeyspace;
cqlsh:mykeyspace> CREATE table user(id UUID PRIMARY KEY, firstName text, lastName text, age int, gender text, role text);
INSERT INTO user(id, firstName, lastName, age, gender, role) VALUES(12345, "Rajesh", "Kawali", 25, "male", "Software Engineer");
cqlsh:mykeyspace> select * from user;
cqlsh:mykeyspace> drop keyspace mykeyspace;
cqlsh:mykeyspace> drop table mykeyspace.user;