If you absolutely need different results, another possibility is to use union all and group by :
SELECT title FROM ( SELECT title FROM table1 group by title UNION ALL SELECT title FROM table2 group by title ) AS query group by title LIMIT 25;
Testing this without the limit clause in a column with an indexed identifier from two tables with ~ 920K rows in the test database (in $work ) resulted in a bit per second with a query higher and about 17 seconds through a union .
user554546
source share