I am trying to write this, query with zf select but without success
SELECT * FROM `subscribers` WHERE id IN (Select subscriber_id From gs_relations Where group_id=55)
I was trying with ssomething like this:
$gs_relations = new GSRelations();
$part = gs_relations->select()->from('gs_relations',subscriber_id')->where("group_id=$group_id");
$select = $this->select()->setIntegrityCheck(false);
return $select->where('id IN ('.$part->__toString().')');
Anybody can help me to solve the problem!?