Search the MySQL manual:

D.2.1 Changes in release 4.1.1 (not released yet)

Functionality added or changed:

Bugs fixed:

User Comments

Posted by asherhastings on Tuesday July 15 2003, @11:39am[Delete] [Edit]

Something like the following with UNION would be cool - enabling union sets to be used as derived tables in other select statements. Not sure if this is already supported... can't seem to get it to work in 4.1 and there are no suggestions in the documentation to the contrary...

select * FROM ( (SELECT * FROM table1) AS t1 UNION ALL ( SELECT * FROM table2 ) AS t2 ) AS t3

Add your own comment.