Hi,

> I know that intersect does not work yet with mySQL. I am selecting data from
> two tables. Results of one select 
> would be 1, 2, 3, 4 . Results of other select 1, 2.

> Want to print 1, 2.

> Are there any nice workarounds using PHP or SQL?

You  could  use a temporary table to store the result of the
first  query  and  join the second query with it afterwards.
Nice enough? :)


Regards,
Sasa

»mysql, select, database«



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