Sign in
apache
/
cassandra
/
eb5eda76c5b3110bb86b687da64bb99965af0fbb
/
.
/
doc
/
modules
/
cassandra
/
examples
/
CQL
/
create_mv_statement.cql
blob: 0792c3e027d84d3c63aff1c12467aac80961c180 [
file
] [
log
] [
blame
]
CREATE MATERIALIZED VIEW monkeySpecies_by_population AS
SELECT
*
FROM monkeySpecies
WHERE population IS NOT NULL AND species IS NOT NULL
PRIMARY KEY
(
population
,
species
)
WITH comment
=
'Allow query by population instead of species'
;