RELIGION_SGP_VW(SQL View) |
Index Back |
---|---|
Employee Religion Data viewEmployee Religion Data view - Singapore |
SELECT A.EMPLID , A.REG_REGION , C.DESCRSHORT FROM PS_DIVERS_RELIGION A , PS_REG_REGION_TBL B , PS_RELIGION_TBL C WHERE A.REG_REGION = B.REG_REGION AND B.COUNTRY = 'SGP' AND C.SETID = A.SETID AND C.RELIGION_CD = A.RELIGION_CD AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_RELIGION_TBL C1 WHERE C1.SETID = C.SETID AND C1.RELIGION_CD = C.RELIGION_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 |