Running CQL commands

Run CQL commands using CQL shell.

Prerequisites

Ensure DataStax Distribution of Apache Cassandra (DDAC) is installed and running. See Installing DDAC.
Use CQL shell to run CQL commands.

Procedure

Start CQL shell:
cqlsh
[cqlsh 5.0.1 | Cassandra 3.11.3.5115 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cassandra@cqlsh>

You will see the version numbers for your installation.