I have a table rooms and user. In the table user I want store room_id is the cluster key and id_user can be duplicate. Example room1 have user (1,2,3..), room2 have users (1,2,3). And name of user can be different ex: with room1 i have the id user is 1 and name is Joni, but room2 id user is 1 and name can be Joini or Sam.
But with can't duplicate when have sample the room_id and user_id. ex the room1 have user 1, it can't have a row second stored the room1 and user 1.
it's sample cassandra db