mysql查询需要多次使用聚合函数值

2025-03-13 09:35:40
推荐回答(1个)
回答1:

(select count(*) from tableA) - (select max from tableB where tableB.username=tableA.uername)