Nikolay Alexeev wrote:
> 
> SELECT *,'aaa' AS product
> FROM tablename
> 

$select = $db->select()->from('tablename', 
    array(
        new Zend_Db_Expr('*'),
        new Zend_Db_Expr("'aaa'")
    )
);

Regards,
Bill Karwin
-- 
View this message in context: 
http://www.nabble.com/Zend_Db_Select--question-tp19090172p19090738.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to