I don\'t want to any kind of JOIN here. I\'m building an RSS feed of two tables using PHP, and I want to select all the rows from the two tables, keeping t
Expanding on @Brendan Bullen's suggestion, here's an example using UNION ALL that should work for you:
SELECT id as id, NULL as title, NULL as body, downloads as downloads,
views as views, created as created, 'foo' as table_name
FROM foo
UNION ALL
SELECT NULL as id, title as title, body as body, NULL as downloads,
NULL as views, created as created, 'bar' as table_name
FROM bar
ORDER BY created ASC