Exercise

Changing the case of string data

Now you are going to use the film and category tables to create a new field called film_category by concatenating the category name with the film's title. You will also format the result using functions you learned about in the video to transform the case of the fields you are selecting in the query; for example, the INITCAP() function which converts a string to title case.

Instructions

100 XP
  • Convert the film category name to uppercase.
  • Convert the first letter of each word in the film's title to upper case.
  • Concatenate the converted category name and film title separated by a colon.
  • Convert the description column to lowercase.