Okay, I thought I'd done this before but maybe not.  I can't figure it out
now.

What I want to do is:

SELECT column AS something FROM table WHERE something > 5

Basically I'm creating a new column called something and I want to use it to
compare with in the WHERE condition.  Is this possible?

Ultimately I want to have MySQL calculate the age of people and also put a
condition on it.  I am using a very old fashioned web language which doesn't
have a lot of power.  I could do this in PHP if I could only use it.  But I
need MySQL to do it.

Any thoughts?

Also what is the name of this that I am doing, creating a new column.  Is it
a "dynamic" column or something?


---------------------------------------------------------------------
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