Example
Return the minute part of a datetime value:
SELECT MINUTE("2017-06-20 09:34:00");
Definition and Usage
The MINUTE() function returns the minute part of a time/datetime (from 0 to 59).
Syntax
MINUTE(datetime)
Return the minute part of a datetime value:
SELECT MINUTE("2017-06-20 09:34:00");
The MINUTE() function returns the minute part of a time/datetime (from 0 to 59).
MINUTE(datetime)
Find the price of the cheapest product in the “Products” table:
SELECT MIN(Price) AS SmallestPrice FROM Products;
The MIN() function returns the minimum value in a set of values.
Note: See also the MAX() function. Continue reading MySQL MIN Function