phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pham Phuong Tu <tuphamphu...@gmail.com>
Subject How to query select count distinct with Phoenix
Date Mon, 16 Jun 2014 07:54:41 GMT
Hi guys,

I cann't run this type of query with Phoenix

- Phoenix shell

> select count distinct (id) from session;

> Error: ERROR 601 (42P00): Syntax error. Encountered "distinct" at line 1,
column 14. (state=42P00,code=601)


But this query still ok

>  select distinct (id) from session;

Please tell me how to do this, thanks.
-- 
*-----------------------------------------*


*Pham Phuong TuBack-end & Big data developerSkype: phamphuongtu*

Mime
View raw message