Uploaded image for project: 'Apache MetaModel (Retired)'
  1. Apache MetaModel (Retired)
  2. METAMODEL-168

Allow SELECT ... COUNT(DISTINCT ...) clause

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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;

      Attachments

        Activity

          People

            Unassigned Unassigned
            ardlema Alberto Rodriguez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: