Difficulty: Beginner
Estimated Time: 15 minutes

In this scenario, you will:

  • Create tables for an order management use case
  • Populate tables with sample order management data
  • Design and execute CQL queries over order management data

In this scenario, you explored:

  • Schema design for an order management use case
  • Sample order management data
  • CQL queries over order management data

Order Management Data Modeling Example

Step 1 of 8

Create a keyspace

Create the order_management_data keyspace:

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

Set the current working keyspace:

USE order_management_data;