UPPER() converts all characters in a string to their uppercase equivalents. This function is the opposite of LOWER(), which converts characters to lowercase. UPPER() is commonly used for text standardization, case-insensitive comparisons, and data normalization.
UPPER(string)
UPPER() returns a character string
// Basic conversion
UPPER("apples") = "APPLES"
// Mixed case conversion
UPPER("Apples and Oranges") = "APPLES AND ORANGES"
// Additional examples
UPPER("hello world") = "HELLO WORLD" // All lowercase
UPPER("Hello World") = "HELLO WORLD" // Mixed case
UPPER("HELLO WORLD") = "HELLO WORLD" // Already uppercase
UPPER("123abc") = "123ABC" // Numbers and letters