4 Types of functions,to write better SQL Queries

There are 4 functions present in DB2. These are scalar functions, aggregate functions, Table functions and Row functions. Each function has its own purpose and use.