WPShortcode
-- Approximate distinct count (fast for large tables) SELECT APPROX_COUNT_DISTINCT(customer_id) FROM orders;