Syntax:
LN(X)

Returns the natural logarithm of X; that is, the base-e logarithm of X.
If X is less than or equal to 0, then NULL is returned.

URL: http://dev.mysql.com/doc/refman/5.1/en/mathematical-functions.html

