Search the MySQL manual:

7.2.1 MERGE Table Problems

The following are the known problems with MERGE tables:

User Comments

Posted by Brad Bulger on Sunday September 1 2002, @5:19pm[Delete] [Edit]

If your key values are not unique across all
tables - a row in each table with a primary key
value of 100, for instance - then an exact key
lookup - "... where x = 100" - gives you only the
matching row from the first table from the UNION.
A range or pattern match query - " .... where x
like 100" - however, gives you both rows. If
that's not considered a "problem", then it's
certainly an
interesting feature. It's one thing to say that
unique keys
can't be enforced across the multiple tables. It's
quite
different to simply ignore non-unique key values - and
to only ignore them sometimes, at that.

Posted by [name withheld] on Tuesday September 17 2002, @8:51am[Delete] [Edit]

When using select max(<varname>) from a merge
table with only one matching entry, it returns a NULL
result, however, using select min(<varname>)
returns the correct result. The workaround is to use
a select max(<varname>) on the underlying tables
comprising the merge table.

Add your own comment.