讨论数量: 0
发起讨论
只看当前版本
SQL 代码规范
/
单纯的因为 !=
读起来更像 “不等于”,更接近于我们口语表达的方式:
-- Good
select count(*) as paying_users_count
from users
where plan_name != 'free'
本文章首发在 LearnKu.com 网站上。