MySQL Forums
Forum List  »  Newbie

Re: How to create a computed column
Posted by: Mark Snyder
Date: July 15, 2008 10:53AM

Created a computed column is a waste of space, IMHO. You can do a select and get it any time, on the fly.

SELECT distrito, homens, mulheres, sum(homens + mulheres) Pop_Total from pop_residente
group by distrito

Options: ReplyQuote

Written By
Re: How to create a computed column
July 15, 2008 10:53AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.