Get startedGet started for free

Design table with composite primary key

You're designing an "Orders" table with userId as the partition key and orderDate as the sort key. Classify the following queries as either "Possible with composite key" or "NOT possible with composite key"

This exercise is part of the course

Using Data Stores in AWS

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise