select c.* -- specify Change table fields here.
from pub."_Cdc-Change-Tracking" ct inner join pub.CDC_Customer c -- well-known Change table name. on ct."_Change-Sequence" = c."_Change-Sequence" where ct.”_Source-Table-Number" = ? -- from 1st query. and ct.”_Time-Stamp” between ? and ? -- time range parameters from app order by ct."_Source-Table-Number", ct.”_Time-Stamp”, ct."_Change-Sequence"; |