Count number of unique values March 4, 2023 by Tarik use SELECT count( DISTINCT(email) ) FROM orders Distinct provide unique email ids and then simply count them.