我有
office
office_id name
--------- -----------------
1 office1
2 office2
3 office3
person
uid office_id age gender
---------------------------
1 1 20 male
2 1 20 female
3 1 20 male
4 1 21 male
5 2 20 male
6 3 20 male
是否有可能我可以使用一个查询来获取
office_id name age_20 male
-----------------------------
1 office1 3 3
2 office2 1 1
3 office3 1 1