Unknown column 'caceres' in 'order clause'
SELECT i.PKimprenta, i.imprenta, l.localidad FROM imprentas i INNER JOIN localidades l ON i.FKlocalidad = l.PKlocalidad WHERE 1 and (i.imprenta like '%2549%' or l.localidad like '%2549%') group by i.PKimprenta order by caceres limit 0,16