企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
#### 平均值 avg ~~~ $avgAmount = Be::getTable('oms_order') ->where('create_time', '>', '2017-12-01') ->avg('amount'); ~~~ 等效SQL: ~~~ SELECT AVG(amount) FROM oms_order WHERE create_time > '2017-12-01' ~~~