voxinforma
MIS
I am creating a view from table A, and also have table B and C. If A.departmentcode=1 I want to populate the field (as alias, call it xyz) with the corresponding field B.specialcode where A.objectid=B.objectid, otherwise I want xyz to contain the value of the field C.supercode where A.objectid=C.objectid.
So far, have not hit on a good way to do this. Any help would be appreciated. Thanks.
So far, have not hit on a good way to do this. Any help would be appreciated. Thanks.