can we use two 'AND' operator in mysql......................

#3
[eluser]Aken[/eluser]
Try giving your SUM() function an alias, so it can actually return a column name.
Code:
SELECT SUM(charge) AS total_charges

Also please post in the appropriate forum sections in the future Wink


Messages In This Thread
can we use two 'AND' operator in mysql...................... - by El Forum - 02-06-2012, 02:33 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.