SQL – MySQL HOUR() Function
The MySQL HOUR() function returns the hour part for a given date (from 0 to 838).
The MySQL HOUR() function returns the hour part for a given date (from 0 to 838).
The MySQL IF() function returns a value if a condition is TRUE, or another value if a condition is FALSE.
The MySQL IFNULL() function returns a specified value if the expression is NULL.
The MySQL INSERT() function inserts a string within a string at the specified position and for a certain number of characters.
The MySQL INSTR() function returns the position of the first occurrence of a case-insensitive string in another string.
The MySQL ISNULL() function returns 1 (null) or 0 (not null) depending on whether an expression is NULL.
The MySQL LAST_INSERT_ID() function returns the AUTO_INCREMENT id of the last row that has been inserted or updated in a table.
The MySQL LAST_DAY() function extracts the last day of the month for a given date.
The MySQL LEAST() function returns the smallest value of the list of arguments.
The MySQL LEFT() function extracts a number of characters from a string, starting from left.
The MySQL LN() function returns the natural logarithm of a number (greater than 0).
The MySQL LOCALTIME() function returns the current date and time as “YYYY-MM-DD HH-MM-SS” (string) or as YYYYMMDDHHMMSS.uuuuuu (numeric).
The MySQL LOCALTIMESTAMP() function returns the current date and time as “YYYY-MM-DD HH-MM-SS” (string) or as YYYYMMDDHHMMSS.uuuuuu (numeric).
The MySQL LOCATE() function returns the position of the first occurrence of a case-insensitive substring in a string.
The MySQL LOG() function returns the natural logarithm of a specified number, or the logarithm of the number to the specified base.
The MySQL LOG2() function returns the natural logarithm of a number greater than 0 to base 2.
The MySQL LOG10() function returns the natural logarithm of a number greater than 0 to base 10.