题解 | 请写出计算粉丝ctr的sql语句
select sum(read_num) / sum(show_num) as fans_ctr from a, b, c where a.author_id = b.author_id and b.content_id = c.content_id and a.fans_id = c.fans_id
select sum(read_num) / sum(show_num) as fans_ctr from a, b, c where a.author_id = b.author_id and b.content_id = c.content_id and a.fans_id = c.fans_id
相关推荐