DataStax Luna  —  Support for Open-Source Apache Cassandra. Start a Free 30-Day Trial Now!

Jump to main content
CQL (Cassandra Query Language) is a query language for the DataStax Distribution of Apache Cassandra database.
Quickstart for CQL.
Provides a consolidated syntax list of Cassandra Query Language (CQL) commands for quick reference.
Basic rules to follow when designing a DataStax Distribution of Apache Cassandra database.
Shows the CQL command syntax and rules, and provides instruction on using CQL shell (cqlsh).
Create and drop keyspaces. Manage the replication factor (data availability).
Create, replace, alter, and drop customized user-defined functions, aggregates, and types.
How to create tables to store data.
Retrieve data sets from a table using SELECT statements.
How to insert data into a table with either regular or JSON data.
Performing multiple writes in the same command.
CQL reference topics.
CQL commands to set up the cycling examples used in this guide.