From the course: Advanced SQL for Data Scientists

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Write a user-defined function

Challenge: Write a user-defined function

From the course: Advanced SQL for Data Scientists

Start my 1-month free trial

Challenge: Write a user-defined function

(upbeat music) - [Instructor] In this challenge, I'd like you to write a SQL function that returns a Boolean and the function will return true, if an input string is a palindrome. That is the string is the same in reverse as it is going forward. So, for example, the string abccba is the same in going forward and going in reverse. So, again, just write a SQL function that we will call isPalindrome.

Contents