when i try it in phpMyAdmin.. it return me the error below:
==============
Error
SQL-query:
select from (select from tblA union select * from tbl😎 order by header_date;
MySQL said: You have an error in your SQL syntax near 'select from tblA union select from tbl😎 order by header_date' line 1
================
DOes MySQL support 'UNION'??
Gerald wrote:
You'll find that as you become familiar with relational databses in general that MySQL seems to do less and less of what you want. MySQL is fast, but it does very little.
Consider trying out PostgreSQL or Interbase if you want a database that actually does what relational databases are supposed to do.
The syntax is something to the effect of:
select from (
select from t1 union select * from t2
) order by id;