Quantcast
Channel: VBForums - Database Development
Viewing all articles
Browse latest Browse all 2918

Count distinct in group by

$
0
0
This my query to count PR.

SELECT PR, PROVINCIA, COUNT(PR) FROM TABELLA GROUP BY PR, PROVINCIA

in field PR have a duplicate valute.
How to count a distinct PR?

Tks

Tks

Viewing all articles
Browse latest Browse all 2918

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>