Eric,
Wednesday, October 23, 2002, 2:06:30 PM, you wrote:
EG> I�m a new user on this list as well as Mysql.
EG> �
EG> I use it with coldfusion
EG> �
EG> My first problem is the following :
EG> �
EG> ����������� I have a table where I created a timestamp column named
EG> date_creation
EG> �
EG> ����������� When I try to execute this sql syntax it doesn�t work !
EG> �
EG> ����������������������� select fname, lname, date_creation
EG> from tb_person
EG> where date_creation = (select max(date_creation) from tb_person)
EG> �
EG> ����������� I know subselect is limited but what are alternatives
EG> solutions ?
Manual is a very useful thing :-)
Here is an exact example for you:
http://www.mysql.com/doc/en/example-Maximum-row.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
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