Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
Write a program that performs the calculations using the SQL function?
¬†The SQL functions are used to perform the calculations of the statements using the Zend_Db_Select command.¬†
- The expression needs to have parentheses and the command that is given as Zend_Db_Select need to provide the statement appropriately.¬†
- The Zend_Db_Expr is used to explicitly create the expressions that are given below:
$select = $db->select()
->from(array('p' => 'products'),
'cost_plus_tax' => new Zend_Db_Expr('p.cost * 1.08'),
Aug 25, 2015
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please