Database schema: create table ChangeLogs(Id Integer Primary Key, CorrelationId uniqueidentifier, UserId integer FK->ApplicationUsers.Id, ChangeDate DateTime, EntityType Integer, EntityId Integer, FieldName varchar(256), PreviousValue varchar(max), NewValue varchar(max));
Question: show me all changelogs for transaction 49534
SQL: Select id, UserId, ChangeDate, EntityType, EntityId, FieldName, PreviousValue, NewValue from Changelogs where EntityId = 49534 and EntityType = 1