sql commands to get rest from division code example Example: mod in sql SQL MOD() function is for to get the remainder from a division