The document describes Cassandra CRUD operations on a student registration database. It includes:
1. Creating a keyspace and table to store student details including name, ID, hobbies, subject marks, and absent days.
2. Inserting records for 4 students into the table.
3. Updating records for all students, modifying all fields.
4. Deleting the record for the student with ID 100.
5. Querying to display details of students with no absent days for any subject.
The document describes Cassandra CRUD operations on a student registration database. It includes:
1. Creating a keyspace and table to store student details including name, ID, hobbies, subject marks, and absent days.
2. Inserting records for 4 students into the table.
3. Updating records for all students, modifying all fields.
4. Deleting the record for the student with ID 100.
5. Querying to display details of students with no absent days for any subject.
The document describes Cassandra CRUD operations on a student registration database. It includes:
1. Creating a keyspace and table to store student details including name, ID, hobbies, subject marks, and absent days.
2. Inserting records for 4 students into the table.
3. Updating records for all students, modifying all fields.
4. Deleting the record for the student with ID 100.
5. Querying to display details of students with no absent days for any subject.
Create Business Analytics as keyspace with student_regno as table name. It
should have the following info ● Name ● Id ● Hobbies of student - set ● Cat1 marks of all subjects in this sem - subject name : mark -map ● No of days absent in each course from day1 to last class of cat1 for all the subjects – list
cqlsh> CREATE KEYSPACE IF NOT EXISTS BusinessAnalytics WITH replication = {'class':
'SimpleStrategy', 'replication_factor': 1}; cqlsh> USE BusinessAnalytics; 1. Insert min 2 records
cqlsh:businessanalytics> CREATE TABLE IF NOT EXISTS student_1128 (student_id INT
PRIMARY KEY, name TEXT, hobbies SET<TEXT>,cat1_marks MAP<TEXT, DOUBLE>,days_absent LIST<INT>);
cqlsh:businessanalytics> INSERT INTO student_MIA1126 (student_id, name, hobbies,
cqlsh:businessanalytics> INSERT INTO student_1128 (student_id, name, hobbies, cat1_marks,
days_absent) VALUES (100, 'sarvs', {'reading', 'Swiming'}, {'Maths': 09.5, 'Sci': 37.0}, [1, 1]); 2. Perform update operation on all fields of student table with all attributes