Question 53: You have defined a table as below
CREATE TABLE TRINING_COURSE (
id uuid,
course_sequence int,
course_id uuid,
title text,
category text,
trainer text,
PRIMARY KEY (id, course_sequence ) );
ALTER TABLE TRINING_COURSE ADD emails set<text>;
Which of the following is correct CQL to add new emailid for a training_course
- ADD VALUE TO TRINING_COURSE IN emails = emails + {This email address is being protected from spambots. You need JavaScript enabled to view it.'}
WHERE id = 62c36092-82a1-3a00-93d1-46196ee77204 AND course_sequence = 2;
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Correct Answer: 2
Explanation: Each element of a set, list, or map is internally stored as one Cassandra column. To update a set,
You can access to full explanation to question and answer from this page.