SELECT school_type,
sum(3daycnt)/sum(uidcnt) trdays
FROM ad_channel_register_retention_uid
GROUP BY school_type