Quantcast
Viewing all articles
Browse latest Browse all 4871

SQL query assist

Alright so I have this bastard SQL query:
 select a.custnmbr, b.custname, a.ADDRESS1, a.ADDRESS2, a.cntcprsn, a.PHONE1, a.PHONE2, a.FAX

from rm00102 a left outer join rm00101 b on (a.custnmbr = b.custnmbr)

left outer join sy01200 c on (a.custnmbr = c.master_id) and (a.adrscode = c.adrscode) and (c.master_type = 'CUS')

I need to add another field from rm00106 Email_recipient and I'm pounding my head against the wall on it. Any help would be appreciated! 


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>