This one did not work for me (I needed to select from only one joined table):
$select->reset(Zend_Db_Select::COLUMNS) ->from('thetable', 'COUNT(*)');
Perhaps because I had several associations. But, nevertheless, here is the solution: use reset () and then columns ():
$select->setIntegrityCheck(false) ->from(['t1' => 'table1']) ->join(['t2' => 't2'], 't1.id = t2.t1_id') ->reset(Zend_Db_Select::COLUMNS) ->columns('t1.*');
Just FYI, Zend Framework version - 1.12
A. Martyn
source share