当前位置:Gxlcms > 数据库问题 > php 中 mysql 操作 语句 总结

php 中 mysql 操作 语句 总结

时间:2021-07-01 10:21:17 帮助过:3人阅读

$goods = D(‘Goods‘);

// 获得总条数价格大于1000的商品

$cnt = $goods -> where (‘price > 1000‘) -> count();   sum() 总数   max()   avg() 平均数  min()

 

php 中 mysql 操作 语句 总结

标签:

人气教程排行