How to countDistinct on multiple columns

后端 未结 3 815
广开言路
广开言路 2020-12-06 06:00

How can I, using the JPA criteria API do the following:

select count(distinct column1, column2) from table

Doing this on one column/path is

3条回答
提交回复
热议问题