Difficulty: Beginner
Estimated Time: 15 minutes

In this scenario, you will:

  • Create tables for a digital library data use case
  • Populate tables with sample digital library data
  • Design and execute CQL queries over digital library data

In this scenario, you explored:

  • Schema design for a digital library use case
  • Sample digital library data
  • CQL queries over digital library data

Digital Library Data Modeling Example

Step 1 of 13

Create a keyspace

Create the music_data keyspace:

cqlsh -e "

CREATE KEYSPACE music_data
WITH replication = {
  'class': 'NetworkTopologyStrategy', 
  'DC-Houston': 1 };"