I have two tables Employee and EmployeeLog (with the same columns except LogCreatedDate)
Columns are something like this:
EmployeeID, EmployeeName, LastModifiedBy, ModifiedDate,
ColumnA, ColumnB, ColumnC bla-bla-bla
I need T-SQL which give me output as shown in this table.
ResultSet 1:

On every Employee table update I insert a new row in EmployeeLog table with current values.
EmployeeLog table contains multiple rows for each EmployeeID so I need previous and current value in column that is modified.
So my first step is that I fetch TOP 2 record order by LogCreatedDate DESC. Now what should I do for getting output as shown in table?
ResultSet 2:

Thanks
Try this: