Hi,

Can someone tell me if it is possible to have a calculation in a SELECT 
statement.

EG

SELECT * FROM (table_name) where (col_1 + col_2 = col_3)

I am using MySQL 3.23.xx and PHP4

I only want to display those fields where the sum is true.
Kindest Regards,

Steve Lowe


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to