MOD()()
MOD() is a MySQL math function: remainder. MOD(10, 3) is 1. Same idea as %. Use it in SELECT, e.g. SELECT MOD(marks) FROM students;
These functions do not change stored marks unless you UPDATE. NULL in, NULL out for most of them.
Trap — mixing MOD with TRUNCATE TABLE (different word). Trap: maths on VARCHAR without CAST.
In a viva, one numeric example beats listing twenty functions.
On the example next to this theory: MOD()(): create two demo rows, then SELECT qty >= 2 ordered. Say which labels come back.
Exam tip
Explain MOD with one number. remainder. MOD(10, 3) is 1. Same idea as %.