incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: CQL where clause and "OR"
Date Mon, 02 May 2011 13:34:53 GMT
OR will not be supported for a while yet, however IN support is in
trunk and will be in 0.8.1 (but not 0.8.0).

On Mon, May 2, 2011 at 5:10 AM, Miguel Auso <miguel.auso@groupalia.com> wrote:
> hi!,
> It`s posible
> for exemple:
> select * from aw_advancednewsletter_subscriptions where id='1' OR id='3';
>
>
> Un Saludo
> Miguel Ángel Ausó
>
>
> 2011/5/2 Sébastien Druon <sdruon@spotuse.com>
>>
>> Hi!
>> Is it possible to use an "OR" operator in the "WHERE" clause of a "SELECT"
>> statement? I do not find any documentation on that
>> i.e.
>> SELECT name1 FROM cf1 WHERE name1=value1 OR name1=value2
>> Thanks a lot in advance
>> Sébastien Druon
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message