员工信息表 employee: user_id , name, store_id, salary
商店表stores:store_id, name,city
参考答案:select a.city from stores a,employee b where b.store_id=a.store_id group by b.store_id having avg(b.salary)<5000
原文地址:https://www.cnblogs.com/testertechnology/p/10980940.html
时间: 2024-10-12 04:51:44