Database schema: create table Transactions (ActualDepartureDate datetime, ArrivedAt datetime, BillToId integer, CreatedById integer FK->ApplicationUsers.id, CreatedOn datetime, CustomerPO varchar(20), DateRequired datetime, DisputeNotes varchar(50), FromLocationId integer FK->Locations.id, Id integer primary key, InventoryCategoryId integer FK->InventoryCategory.Id, IsEstimateFinalized integer, LocationReference integer, OriginalTransactionId integer FK->Transactions.Id, PartnerReferenceNumber varchar(20), PlannedDeliveryDate datetime, PlannedDepartureDate datetime, SalesOrder varchar(20), ShipmentId integer FK->Shipments.Id, Status integer FK->TransactionStatus.id, ToLocationId integer FK->Locations.Id, Timestamp datetime );create table TransactionLines (ActualQuantity integer, CustomerLineNumber integer, EstimatedQuantity integer, Id INTEGER PRIMARY KEY, ItemId integer FK->Items.id, PlannedQuantity INTEGER, TransactionId integer FK->Transactions.Id, ReceivedQuantity integer, RequestedQuantity integer, SalesOrderLineItem integer, UnitLoadParentId integer  );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 details of all changes to Actual Quantity on Transaction 51978
SQL: Select cl.id, UserId, au.FirstName + ' ' + au.LastName, ChangeDate, EntityType, EntityId, FieldName, PreviousValue, NewValue, td.* from Changelogs cl join ApplicationUsers au on cl.userid = au.id join TransactionLines td on cl.EntityId = td.id join transactions tr on td.transactionid = tr.id where EntityId = td.id and EntityType = 2 and FieldName = 'ActualQuantity' and tr.id = 51978