讨论数量: 0
发起讨论
只看当前版本
SQL 代码规范
/
单纯的因为 !=
读起来更像 “不等于”,更接近于我们口语表达的方式:
-- Good
select count(*) as paying_users_count
from users
where plan_name != 'free'
本文章首发在 LearnKu.com 网站上。
粤ICP备18099781号-6
|
粤公网安备 44030502004330号
|
违法和不良信息举报
由 Summer 设计和编码 ❤