Created
September 8, 2016 18:21
-
-
Save andrewstevenson/ee39dd150cb92af2382cccb747fdc5a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE KEYSPACE demo WITH REPLICATION = {'class' : 'SimpleStrategy', 'replication_factor' : 3}; | |
use demo; | |
create table orders (id int, created varchar, product varchar, qty int, price float, PRIMARY KEY (id, created)) | |
WITH CLUSTERING ORDER BY (created asc); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment