you don't.  Check the manual.  Nested queries are not yet supported. (4.1?)

=C=

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:53 AM
To: [EMAIL PROTECTED]
Subject: Netsde Query


Hello everybody!
I am using mysql-4.0.1-alpha on windows 2000 professional

How to exceute nested query in MySql

select aeVcharEventId from alarmescalation where aeDtimeTimeStamp = (select
max(aeDtimeTimeStamp) from alarmescalation)


This query gives an error
you have an in your Sql syntax near '(select max(aeDtimeTimeStamp) from
alarmescalation)'

Regards
Harish Varandani


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



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