You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Alberto (JIRA)" <ji...@apache.org> on 2015/08/05 11:27:04 UTC
[jira] [Created] (METAMODEL-168) Allow SELECT ... COUNT(DISTINCT
...) clause
Alberto created METAMODEL-168:
---------------------------------
Summary: Allow SELECT ... COUNT(DISTINCT ...) clause
Key: METAMODEL-168
URL: https://issues.apache.org/jira/browse/METAMODEL-168
Project: Apache MetaModel
Issue Type: Improvement
Reporter: Alberto
Priority: Minor
It would be great to allow passing a DISTINCT expression to the COUNT aggregate function:
select user_id, count(distinct company_id) from TABLE group by user_id;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)