user warning: Unknown column '43' in 'order clause' query: select f.company_name, sum(if(f.tid=43, 1, null)) "External Training Credit FY 18 - 1", sum(if(f.tid=44, 1, null)) "External Training Credit FY 18 - 2" from company_training_v f where f.company_name is not null and (date_format((f.training_date - interval 6 month),'%Y') = date_format((curdate() - interval 6 month),'%Y')) group by f.company_name ORDER BY 43 ASC LIMIT 0, 50 in /hsphere/local/home/summit/thesummitcountysafetycouncil.org/sites/all/modules/meeting/meeting.pages.inc on line 182.