mysql 带条件查询(sum/count)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29611427/article/details/80192520

sql实例:

SELECT count(d.surplus_amount != 0 or null) AS '结余' from test    

猜你喜欢

转载自blog.csdn.net/qq_29611427/article/details/80192520