Section 1. Chapter 2
single
Challenge: Standardize Customer Names
Swipe to show menu
Task
Swipe to start coding
Write a SQL query against the customers table that returns each customer's name in uppercase along with its character count.
- Select from the
customerstable - Return exactly two columns:
uppercase_name— the customer's name converted to uppercase usingUPPER()name_length— the number of characters in the original name usingLENGTH()
- Column aliases must match exactly:
uppercase_nameandname_length
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat