Query Run
select c7.cl_to, count(*) from categorylinks c7 join (select p7.page_id ... 1 year ago
prepare com from 'select case when c7.cl_to is not null then ? end as... 1 year ago