5.14.2 String Functions
String functions can be used to transform strings, extract parts of strings, trans-
form strings, etc.
The functions upper and lower, convert strings to upper and lower charac-
ters, respectively.
Example 5.14.4 To print names of students in capital characters and course
titles in small letters we can write:
select distinct upper(STUDENTS.name) as STNAME,
lower(COURSES.cname) as course
from STUDENTS, GRADES, COURSES
where STUDENTS.stno = GRADES.stno and
GRADES.cno = COURSES.cno;
This generates the following return:
STNAME COURSE