datastaxdevs / workshop-intro-to-cassandra

Learn Apache Cassandra fundamentals in this hands-on workshop
Apache License 2.0
219 stars 168 forks source link

[HW] Mukesh Yadav #290

Open yadavmukesh opened 3 years ago

yadavmukesh commented 3 years ago

Name: Mukesh Yadav Email: yadav92mukesh@gmail.com Linkedin Profile: www.linkedin.com/in/learning-eyes-mukesh-yadav

Attach the homework screenshots below for both step II and step III:

Step II Create a table - Output Screenshots (below)

Step 2a. Navigate to the CQL Console and login to the database

image

Step 2b. Describe keyspaces and USE killrvideo

image

Step 2c. Create the users_by_city table

image

Describe keyspace table

image

Step III Execute CRUD operations - OUTPUT Screenshots (below)

Step 3a. Create a couple more tables

Create 2 tables named, comments_by_user and comments_by_video, Insert data into comments_by_user table

image

Step 3b. (C)RUD = create = insert data Description: Insert data into comments_by_user table

image

Insert data into comments_by_video table

image

Step 3c. C(R)UD = read = read data

Description: Display records of comments_by_user table using SELECT clause

image

Display records of a specific user ID

image

Read all data from the comments_by_user table and comments_by_video table

image

Display the timestamp from the value

image

Step 3d. CR(U)D = update = update data See the primary key: PRIMARY KEY ((videoid), commentid)

image

Update the record

image

Step 3e. CRU(D) = delete = remove data

image

-----------Added new screenshots below------------

Short course completion screenshot: Cassandra Data Modeling

image

image

Short course completion screenshot: Cassandra Query Language

image

image

000 commented 3 years ago

You may need to attach "Congratulations!" screenshots from https://www.datastax.com/node/3272 and https://www.datastax.com/dev/scenario/try-it-out-cassandra-query-language-cql as well, @yadavmukesh .

yadavmukesh commented 3 years ago

You may need to attach "Congratulations!" screenshots from https://www.datastax.com/node/3272 and https://www.datastax.com/dev/scenario/try-it-out-cassandra-query-language-cql as well, @yadavmukesh .

DONE. Have added the remaining homework screen shots at the end of the previous submission. Thank you.

yadavmukesh commented 3 years ago

You may need to attach "Congratulations!" screenshots from https://www.datastax.com/node/3272 and https://www.datastax.com/dev/scenario/try-it-out-cassandra-query-language-cql as well, @yadavmukesh .

Is there anything else pending from my side? Please let me know... Thanks!

HadesArchitect commented 3 years ago

Hey Mukesh Yadav, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/QMXNF07pTZ2cJBLT3zs_Xw

SonicDMG commented 3 years ago

This looks great, nicely done.