I\'ve got a table and I want a query that returns the last 10 records created plus the record who\'s id is x.
I\'m trying to do -
SELECT * FROM cata
Just checked that this will work:
(SELECT * FROM catalog_productimage ORDER BY date_modified LIMIT 10) UNION SELECT * FROM catalog_productimage WHERE id=5;