TCS interview question

Write any plsql function with proper syntax