Prøv følgende (forudsat at viewed_profile_id er 6):
SELECT COUNT(DISTINCT profile_id) FROM ptb_profile_views WHERE viewed_profile_id=6
Prøv følgende (forudsat at viewed_profile_id er 6):
SELECT COUNT(DISTINCT profile_id) FROM ptb_profile_views WHERE viewed_profile_id=6