Amit, Wednesday, January 30, 2002, 7:45:13 AM, you wrote:
ADL> Hi!! ADL> I am trying to execute the following query. But it is giving ADL> an error at "select max(columnname)....." ADL> select columname from tablename where columname1 = ADL> select max(columnname) from tablename MySQL doesn't support subselects, look at: http://www.mysql.com/doc/A/N/ANSI_diff_Sub-selects.html You can do it by another way, see at: http://www.mysql.com/doc/e/x/example-Maximum-row.html ADL> Thanks ADL> Amit Lonkar -- For technical support contracts, goto https://order.mysql.com/ 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