0 AND A.VALIDFLAG = '1' GROUP BY A.PHY_CODE ]]>