こんにちは、私は zend フレームワークが初めてです
これは私のSQLクエリです
select * from cwi_company where manage=1 and deleteOption='0' and passwordStatus=1 and organizationuserid in (SELECT userId FROM cwi_passtable WHERE passwordAciveStatus ='1';
上記のクエリを zend モデルに実装したい
例:
$row = $select_company_table->fetchAll(
$select_company_table->select()
->where('manage=1 and status=0')
->order('id DESC')
);