incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sri Ramya <ramya.1...@gmail.com>
Subject Re: cql query
Date Fri, 03 May 2013 04:59:22 GMT
thank you very much. i will try and let you know whether its working or not


On Thu, May 2, 2013 at 7:04 PM, Jabbar Azam <ajazam@gmail.com> wrote:

> Hello Sri,
>
> As far as I know you can if name and age are part of your partition key
> and timestamp is the cluster key e.g.
>
> create table columnfamily (
>     name varchar,
>     age varchar,
>     tstamp timestamp,
>    partition key((name, age), tstamp)
> );
>
>
>
>
> Thanks
>
> Jabbar Azam
>
>
> On 2 May 2013 11:45, Sri Ramya <ramya.1255@gmail.com> wrote:
>
>> hi
>>
>> Can some body tell me is it possible to to do multiple query on cassandra
>> like "Select * from columnfamily where name='foo' and age ='21' and
>> timestamp >= 'unixtimestamp' ";
>>
>> Please tell me some guidence for these kind of queries
>>
>>   Thank you
>>
>
>

Mime
View raw message