You can create an instance of a Zend_Db_Select object using the
select() method of a
Zend_Db_Adapter_Abstract object.
Example 226. Example of the database adapter's select() method
<?php
$db = Zend_Db::factory( ...options... );
$select = $db->select();
Another way to create a Zend_Db_Select object is with its
constructor, specifying the database adapter as an argument.
Example 227. Example of creating a new Select object
<?php
$db = Zend_Db::factory( ...options... );
$select = new Zend_Db_Select($db);




