Well, you can certainly do this in a query ... if you have unitcost and
quantity in your table you could do this:
select unitcost, quantity, (unitcost*quantity) as totalsale from orders
Hank
On Sat, Nov 24, 2001 at 04:06:31PM -0700, Jared Howard wrote:
> I'm not really sure what I should be l
I'm not really sure what I should be looking for in the MySQL manual. I
basically want to make a column that will do math to other columns, like in
a spreadsheet program. Is it possible? And if so, what do I look for?
And if you can give me an example that would be great.
--
PHP General Mail
portion of
it.
Elliot J. Balanza
CEO
M&B Trading Co., SA de CV
-Mensaje original-
De: Matt [mailto:[EMAIL PROTECTED]]
Enviado el: Sábado, 24 de Noviembre de 2001 17:55
Para: [EMAIL PROTECTED]; Jared Howard
Asunto: Re: [PHP] MySQL function in a Table's Column
> I basically
3 matches
Mail list logo