SELECT TOP 5 p.Id, p.CreationDate, 'this is a post' AS ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

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

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results