Yadigar
11/10/2023, 8:44 PMjen
11/10/2023, 10:52 PMSELECT (whatever you want to select)
FROM transaction
JOIN entity ON (transaction.entity = entity.id)
LEFT JOIN entityaddressbook ON (entityaddressbook.entity = entity.id
-- AND entityaddressbook.defaultbilling = 'T'
-- AND entityaddressbook.defaultshipping = 'T'
)
LEFT JOIN entityaddress