SQL Functions are a very powerful feature of SQL. These functions can take arguments but always return some value. There are two distinct types of SQL functions available. They are:
Single-Row functions: These functions operate on a single row to give one result per row.
Types of Single-Row functions are:
- Character
- Number
- Date
- Conversion
- General
- Multiple-Row functions: These functions operate on groups of rows to give one result per group of rows.
Types of Multiple-Row functions:
- avg
- count
- max
- min
- sum
- stddev
- variance