Q&A about the site for developers and researchers interested in open data
SELECT TOP 5 p.Id, p.CreationDate, 'this is a post' AS Category FROM Posts p UNION SELECT TOP 5 c.Id, c.CreationDate, 'this is a comment' AS Category FROM Comments c