![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
开开心心玩编程
这个作者很懒,什么都没留下…
展开
-
MYSQL 数据库使用order by limit分页排序时数据出错
MYSQL 数据库使用order by limit分页排序时数据出错原创 2022-07-04 11:50:53 · 509 阅读 · 0 评论 -
Sql isnull函数 不起作用
ISNULL函数起作用的前提是 该条数据存在可以先通过IF EXISTS 来判断是否存在IF EXISTS ( SELECT ISNULL( CASE WHEN (SELECT COUNT(1) FROM beau_User where UserId=mpo.superior_user_id and PID='10539300278' )>0 THEN (ISNULL(mpo.buy_commission, 0)+ISNULL(mpo.superior_comm...原创 2020-07-04 09:53:50 · 1779 阅读 · 0 评论