Question 60: You have been given below structure of data, with Cassandra datatypes

course_id timeuuid

published_date timestamp

category set<text>

title text

trainer text

 

Following are the table structure

CREATE TABLE HadoopExam (

course_id timeuuid,

published_date timestamp,

category set<text>,

title text,

trainer text

  PRIMARY KEY ( XXXX )

) WITH CLUSTERING ORDER BY ( YYYYY);

Now replace the correct value of XXXX and YYYY, to satisfy the below requirement

Retrieve course a trainer has created in (newest first).

  1. XXXX=((trainer), published_date, course_id) and YYYY= published_date DESC ,course_id ASC
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering Python Certification Material

Correct Answer : 1

Exp : Lets see what is our query requirement

Retrieve course a trainer has created in (newest first).

Retrieve Course

You can access to full explanation to question and answer from this page.