I have a table application and it has 10 columns. category is one column and this column has duplicated values. To get distinct values I have a query
SELECT distinc
please use
SELECT CATEGORY as CategoryName, sum(rownum) FROM APPLICATION WHERE applicationId=? GROUP BY CATEGORY