Uppercase in SQL

Level 122 keystrokes

UPPER function converts a string to uppercase letters.

SQL code

-- UPPER converts every letter of the string to uppercase
-- 'hello' becomes 'HELLO'
1SELECT UPPER('hello');

Output

+----------------+
| UPPER('hello') |
+----------------+
| HELLO          |
+----------------+
1 row in set
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

Symbols in this code

The symbols you type in this SQL code and how often they appear.

  • '× 2
  • ;× 1
  • (× 1
  • )× 1

More SQL examples at level 1

← SQL typing practice