รับโพสต์ทั้งหมดที่โพสต์โดยผู้ใช้และแก้ไขโดยผู้อื่น ไม่จำเป็นต้องใช้ตารางทั้งหมด
Get all posts that were posted by a user and edited by another.It is not neccessary to use all the tables.
 ReviewRejectionReasons:  Id [ number]  Name [ text]  Description [ text]  PostTypeId [ number] 
SELECT Posts.Id AS "post_link", Posts.CreationDate AS "post_date", PostHistory.CreationDate AS "edit_date", PostHistoryTypes.Name AS "edit_type" FROM Posts JOIN PostHistory ON Posts.Id = PostHistory.PostId JOIN PostHistoryTypes ON PostHistory.PostHistoryTypeId = PostHistoryTypes.Id WHERE OwnerUserId = @UserId AND PostHistory.UserId != @UserId ORDER BY Posts.CreationDate DESC