ETHNIC_MYS_VW(SQL View) |
Index Back |
---|---|
View for Employee Ethnic DataView for Employee Ethnic Data - Malaysia |
SELECT A.EMPLID , A.REG_REGION , C.DESCRSHORT FROM PS_DIVERS_ETHNIC A , PS_REG_REGION_TBL B , PS_ETHNIC_GRP_TBL C WHERE A.REG_REGION = B.REG_REGION AND B.COUNTRY = 'MYS' AND C.SETID = A.SETID AND C.ETHNIC_GRP_CD = A.ETHNIC_GRP_CD AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_ETHNIC_GRP_TBL C1 WHERE C1.SETID = C.SETID AND C1.ETHNIC_GRP_CD = C.ETHNIC_GRP_CD) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | REG_REGION | Character(5) | VARCHAR2(5) NOT NULL | Regulatory Region |
3 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |