Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Standardize Customer Names | String Functions
Functions in SQL
Section 1. Chapter 2
single

single

bookChallenge: 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 customers table
  • Return exactly two columns:
    • uppercase_name — the customer's name converted to uppercase using UPPER()
    • name_length — the number of characters in the original name using LENGTH()
  • Column aliases must match exactly: uppercase_name and name_length

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 2
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt