Write a code to make a word palindrome.
Use PostgreSQL to evaluate each input word. Comparison should be case-insensitive and ignore spaces and punctuation. Treat an empty normalized string as a palindrome and a NULL input as not a palindrome.
word_idword_id, input_word, normalized_word, and is_palindromeis_palindrome must be a Boolean value| Column | Type | Description |
|---|---|---|
| word_idPK | INT | Unique identifier for the input word |
| input_word | VARCHAR(255) | Word or phrase to evaluate |