harish, Thursday, June 20, 2002, 9:52:37 AM, you wrote: hv> I am using mysql-4.0.1-alpha on windows 2000 professional hv> How to exceute nested query in MySql
hv> select aeVcharEventId from alarmescalation where aeDtimeTimeStamp = (select hv> max(aeDtimeTimeStamp) from alarmescalation) hv> This query gives an error hv> you have an in your Sql syntax near '(select max(aeDtimeTimeStamp) from hv> alarmescalation)' MySQL currently doesn't support sub-selects. Check the following link, you can find some solutions here: http://www.mysql.com/doc/e/x/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/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [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