I have 3 tables
Table1
Primary_key int
Forign_key int
PostId
CreatedDate Datetime
Table2
Primary_key int
Forign_key int
LocationId
CreatedDate Datetime
Table3
Primary_key int
Forign_key int
UserId
OrganisationId
CreatedDate Datetime
How can I Select latest created 10 records from all of the 3 tables.
Note that the 3 tables have different structure
sql server 2005
If you want “last 10 per table”
For “last 10 over all tables”