ORA-00942: table or view does not exist (works when a separate sql, but does nto work inside a oracle function)
ORA-00942: table or view does not exist (works when a separate sql, but does not work inside a oracle function)