What I have so far...
select cst_id,
pht_code
cph_pht_key
from co_phone_type (NOLOCK)
LEFT JOIN co_customer (nolock) on pht_key=cst_key
LEFT JOIN co_customer_x_p hone (nolock) on cph_key=cph_pht _key
where pht_code = 'Billing'
Thanks for any help.
Mk
User Profile
Collapse
Leave a comment: