Sam Scordo
08/09/2022, 2:58 PMSELECT DISTINCT
t.customer,
c.internalId
FROM
timebill as t
JOIN
customer as c
ON ??
WHERE
t.trandate BETWEEN x and y
Mike Robbins
08/09/2022, 4:21 PMid
rather than internalId
on the customer record.
select distinct
t.customer,
c.id,
from timebill t
inner join customer c on t.customer = c.id
where t.trandate > '1/1/2020'
Sam Scordo
08/09/2022, 4:28 PM