摘要: 先来个错误截图 tp嵌套查询时使用了外部的变量,报错。 解决方法: 使用use 关键字 阅读全文
posted @ 2021-03-02 16:13 Beautytoloveme 阅读(40) 评论(0) 推荐(0) 编辑
摘要: mysql 不同条件count ,多条件count() create table abc(A int,B int) Select A,count(B) as total from ABC group by A Select A,count(B) as total1 from ABC where B 阅读全文
posted @ 2021-03-02 14:38 Beautytoloveme 阅读(2107) 评论(0) 推荐(0) 编辑