Hello,

I have two questions:

1) How to write my query with SQL_CACHE and UNION ? UNION work with
SQL_CACHE ?
A)
     SELECT SQL_CACHE ....
     ....
     UNION
     SELECT SQL_CACHE ....
     ....
or B)
     SELECT SQL_CACHE ....
     ....
     UNION
     SELECT ....
     ....

2) How to write my query with SQL_CACHE and rand() in order ? SQL_CACHE work
with function rand() ?
     SELECT SQL_CACHE ....
     ....

     ORDER BY rand()


Regards
iks



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