upper

UK[ˈʌpə(r)] US[ˈʌpɚ]

adj. Above; higher status; inland; surface layer

n.upper,boot;stimulant;exciting experience

SQLite UPPER function syntax

Function: SQLite UPPER function converts strings to uppercase letters.

Syntax: sqlite> SELECT upper(a certain column of data) FROM TABLENAME;

SQLite UPPER function example

COMPANY 表

ID          NAME        AGE         ADDRESS     SALARY
----------  ----------  ----------  ----------  ----------
1           Paul        32          California  20000.0
2           Allen       25          Texas       15000.0
3           Teddy       23          Norway      20000.0
4           Mark        25          Rich-Mond   65000.0
5           David       27          Texas       85000.0
6           Kim         22          South-Hall  45000.0
7           James       24          Houston     10000.0

实例:

sqlite> SELECT upper(name) FROM COMPANY;

上面的 SQLite SQL 语句将产生以下结果:

upper(name)
-----------
PAUL
ALLEN
TEDDY
MARK
DAVID
KIM
JAMES