keyspace-cycling-alt

cql
CONSISTENCY ALL;
SELECT * FROM cycling_alt.cyclist_name WHERE id = 1;
cql
SELECT * FROM cycling_alt.cyclist_name WHERE id = 1;
cql
CONSISTENCY QUORUM;
SELECT * FROM cycling_alt.cyclist_name WHERE id = 1;
cql
INSERT INTO cycling_alt.cyclist_name (
  id, lastname, firstname
) VALUES (
  1, 'HOSKINS', 'Melissa'
);
cql
CREATE KEYSPACE IF NOT EXISTS cycling_alt
WITH REPLICATION = {
  'class': 'SimpleStrategy',
  'replication_factor': 3
};
cql
DESCRIBE KEYSPACE cycling_alt;
cql
DROP KEYSPACE IF EXISTS cycling_alt;
cql
USE cycling_alt;
CREATE TABLE IF NOT EXISTS cycling_alt.cyclist_name (
  id int PRIMARY KEY,
  lastname text,
  firstname text
);
cql
TRACING OFF;
CONSISTENCY;
cql
TRACING ON;
CONSISTENCY;

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax | Privacy policy | Terms of use | Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com