Hi,
In DS201, it has been told that we use equality operator on first clustering column and then inequality operator on next clustering column. I encountered an error while doing select statements. I did in both the ways.
create table test( one uuid, two text, three text, primary key(one, two, three) );
//I have already inserted records into table. cqlsh> select * from test where one=08ab39df-68ad-487e-b489-4569693555fa and two='C' and three!='D'; Error: InvalidRequest: Error from server: code=2200 [Invalid query] message="Unsupported "!=" relation: three != 'D'"
cqlsh> select * from test where one=08ab39df-68ad-487e-b489-4569693555fa and two!='C' and three='D'; Error: InvalidRequest: Error from server: code=2200 [Invalid query] message="Unsupported "!=" relation: three != 'D'"
I could not find the right way of doing this. Could you please assist me with correct example of doing Inequality on Clustering Columns?