https://medium.com/@sakethmamidi99/unleashing-the-full-potential-of-user-defined-functions-in-sql-a-comprehensive-exploration-part-74638783ffa1