Hi, I'm using MySQL 4.0.7 gamma version. I just want to know if MySQL support sub select statement. The example of sub select statement is as below. I've tried many times but then get an error.
Example: select alc, fdate, sum(totalpax) from (select distinct alc, fln, fdate, totalpax from billing group by alc, fln, fdate, totalpax) group by alc,fdate thank you. regards, Sal __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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