Unknown column 'derecho' 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 '%2250%' or l.localidad like '%2250%') group by i.PKimprenta order by derecho limit 0,16