-- Approximate distinct count (fast for large tables) SELECT APPROX_COUNT_DISTINCT(customer_id) FROM orders;
Remove ads and enjoy uninterrupted bedtime stories.
Go Ad-Free