引言
实践Qt+MySQL的小项目《餐饮信息服务系统》中,使用
select cid,cname,count(fname) from foodorder.orderlist group by cid
报错:
数据库查询出错:Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregat
实践Qt+MySQL的小项目《餐饮信息服务系统》中,使用
select cid,cname,count(fname) from foodorder.orderlist group by cid
报错:
数据库查询出错:Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregat