Friday, November 27, 2015

SQL - COUNT AND DISTINCT FUNCTIONS (Same query)

This is an example of how to use the the count and distinct funcions ins the same query

Example:

SELECT COUNT(DISTINCT(T.field))
  FROM Table T

No comments:

Post a Comment