programming-for-all-sql

Chapter 7: SQL Functions

Mathematical Functions

SQL provides a wide range of mathematical functions that you can use in your queries. Here are a few examples:

Date and Time Functions

SQL also provides several functions for working with dates and times. Here are a few examples:

String Functions

SQL also provides several functions for working with strings. Here are a few examples:

Aggregate Functions

Aggregate functions are used to perform calculations on groups of rows. Here are a few examples: