Syntax:
DIV

Integer division. Similar to FLOOR(), but is safe with BIGINT values.

In MySQL 5.6, if either operand has a noninteger type, the operands are
converted to DECIMAL and divided using DECIMAL arithmetic before
converting the result to BIGINT. If the result exceeds BIGINT range, an
error occurs.

URL: http://dev.mysql.com/doc/refman/5.6/en/arithmetic-functions.html

