--01-首页 专家
--专家数
select count(*)
from expert_resource_library
-- 参与任务评审专家数
select count(*)
from expert_resource_library erl
join
(select expert_id from task_expert where container_type = 1 group by expert_id having count(*) > 0) as tmp
on erl.expert_id = tmp.expert_id
-- 参与竞赛评审专家数
select count(*)
from expert_resource_library erl
join
(select expert_id from task_expert where container_type = 2 group by expert_id having count(*) > 0) as tmp
on erl.expert_id = tmp.expert_id
-- 专家点击次数
select count(*) from clickers c
wehre c.click_type = 'Experts'