Consider the below table with primary key as (EMPNO, CONTACTNO) and its content,

Identify which of the following delete statements are executed successfully?

(i) cqlsh > DELETE FROM GEC1.EMP WHERE EMPNO=102985;

(ii) cqlsh > DELETE NAME, CONTACTNO FROM GEC1.EMP WHERE EMPNO=102986;

(iii) cqlsh > DELETE NAME FROM GEC1.EMP WHERE EMPNO=102984;

(iv) cqlsh > DELETE NAME FROM GEC1.EMP WHERE EMPNO=102983 and CONTACTNO=8467234836;

All (i), (ii), (iii) and (iv)

Only (i), (iii), (iv)

Only (i), (ii), (iii)

Only (i) and (iv)

Verified Answer
Correct Option - d

To get all Infosys Certified Cassandra Administrator Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram