SQL: all 运算符 可以 表示 非空(NOT NULL)的意思吗?

select count(all grade) from customer;

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

原文地址:https://www.cnblogs.com/books2read/p/11174591.html