Categories of SQL Functions:
Aggregate Functions: These operate on a group of rows and return a single result (used in conjunction with
GROUP BY).- Examples: 
AVG(),SUM(),COUNT(),MAX(),MIN() 
- Examples: 
 Scalar Functions: These operate on a single value and return a single result.
- Examples: 
UPPER(),LOWER(),LENGTH(),CONCAT(),ROUND() 
- Examples: 
 String Functions: Used to manipulate string (text) data.
- Examples: 
CONCAT(),TRIM(),SUBSTRING(),REPLACE() 
- Examples: 
 Date Functions: Used to manipulate date and time values.
- Examples: 
NOW(),DATEADD(),DATEDIFF(),YEAR(),MONTH() 
- Examples: 
 Mathematical Functions: Used to perform mathematical calculations.
- Examples: 
ROUND(),CEILING(),FLOOR(),ABS(),POW() 
- Examples: 
 Conversion Functions: Used to convert one data type to another.
- Examples: 
CAST(),CONVERT() 

No comments:
Post a Comment