MOD « Math « SQL / MySQL






1.MOD in MySQL
2.Use the MOD() function to divide the Amount values by 10 and then return the remainder from that division.
3.The MOD() function returns the remainder derived by dividing two numbers.
4.modulus operator
5.Treat Monday as the first day of the week and Sunday as the last, use a the MOD( ) function to map Monday to 0