young-datafan-ooooo1 / sqlbuilder

通用的sql构建包,目前支持(mysql、oracle、postgresql、sqlserver、Clickhouse)的大部分函数,以及多表关联。
http://www.young-datafan.com/docs-sqlbuilder/intro/
Apache License 2.0
126 stars 20 forks source link

加权平均分母为0时,用case when做一下判断,当分母为0是,返回null #18

Closed iris2019 closed 2 years ago

iris2019 commented 2 years ago

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows: