What query will count the number of rows, but distinct by three parameters?
Example:
Id Name Address ============================== 1 My
Get all distinct id, name and address columns and count the resulting rows.
id
name
address
SELECT COUNT(*) FROM mytable GROUP BY id, name, address