SQL object:
SELECT a*b AS product FROM table
I tried this but it doesn't work :
$table = new MyTable();
$select = $table->select()->from( $table, array('product' => 'a * b') );
Thanks for your help!
--
View this message in context: http://www.nabble.com/Need-Help-with-Constructing-an-SQL-Object-tp21033994p21033994.html
Sent from the Zend DB mailing list archive at Nabble.com.
没有评论:
发表评论