I have this query:
->join(array('p'=>'persona'),'u.persona_id=p.id',array('nomp'=> new Zend_Db_Expr("CONCAT(p.nombre, ' ', p.apellidos)")))
I concatenated (p.nombre y p.apellidos) and give them that has the name of "nomp"
When I do the "Where" and give it a "LIKE" I look for the column "nomp" zend tells me that column does not exist.
You know any other way to concatenate.