select count(all grade) from customer;

SELECT COUNT(DISTINCT customer_id) FROM customer WHERE grade IS NOT NULL;

05-22 12:41