SELECT count(DISTINCT Name) FROM PHOTOS
Count the number of distinct names associated with the photos.
SELECT count ( DISTINCT Name ) FROM PHOTOS
select count ( distinct name ) from photos
Count the number of distinct names associated with the photos .