Please, help me to write following:
name contact id
AAA e 12
AAA b 12
NULL e 11
BBB b 11
So if contract is e then name.
If contract is e and name is null then name then contract b and name.
Thanks.
P.S. I always want cotract e but if not avail then b and name under b.
name contact id
AAA e 12
AAA b 12
NULL e 11
BBB b 11
So if contract is e then name.
If contract is e and name is null then name then contract b and name.
Thanks.
P.S. I always want cotract e but if not avail then b and name under b.