14.15.MOD | ||||
14.15.1. | MOD(x, y) gets the remainder when x is divided by y. | |||
14.15.2. | MOD function in action | |||
14.15.3. | select mod(8,3), mod(13,0) | |||
14.15.4. | MOD(8, 3) | |||
14.15.5. | MOD(8, 4) | |||
14.15.6. | List all employee with odd employee number | |||
14.15.7. | Combine case statement with mod function | |||
14.15.8. | Use floor(), mod() and date calculation to show how many weeks and days an employee has been working here | |||
14.15.9. | Use mod() function to get all event employee id |