Functions
Functions
1. Aggregate Functions
2. String Functions
3. Numeric Functions
4. Date and Time Functions
5. Control Flow Functions
6. Other Utility Functions
🔷 1. Aggregate Functions
🔷 2. String Functions
LOWER()
Converts to SELECT LOWER(city) FROM Address;
lowercase
UPPER()
Converts to SELECT UPPER(department) FROM Dept;
uppercase
SUBSTRING()
Extract part of SELECT SUBSTRING(name,1,3) FROM Student;
string
SELECT
REPLACE() Replace substring REPLACE(email,'@gmail.com','@outlook.com') FROM
Users;
Remove
TRIM() leading/trailing SELECT TRIM(name) FROM Student;
spaces
🔷 3. Numeric Functions
---