SQL – MySQL QUARTER() Function
The MySQL QUARTER() function returns the quarter of the year for a given date value (a number from 1 to 4).
The MySQL QUARTER() function returns the quarter of the year for a given date value (a number from 1 to 4).
The MySQL RADIANS() function converts a degree value (expressed as a positive or negative number) into radians.
The MySQL RAND() function returns a random number between 0 (inclusive) and 1 (exclusive).
The MySQL REPEAT() function repeats a string as many times as specified.
The MySQL REPLACE() function replaces all case-sensitive occurrences of a substring within a string, with a new substring.
The MySQL REVERSE() function reverses a string and returns the result.
The MySQL RIGHT() function extracts a number of characters from a string, starting from right.
The MySQL ROUND() function rounds a number to a specified number of decimal places.
The MySQL RPAD() function right-pads a string with another string, to achieve a specified length.
The MySQL SECOND() function returns the seconds part of a time/datetime (from 0 to 59).
The MySQL SEC_TO_TIME() function returns a time value (in format HH:MM:SS) based on the specified seconds (positive or negative).
The MySQL SESSION_USER() function returns the current user name and host name for the MySQL connection.
The MySQL SPACE() function returns a string of the specified number of space characters.
The MySQL SQRT() function returns the square root of a number greater than zero.
The MySQL STR_TO_DATE() function returns a date based on a string and a format.
The MySQL SUBDATE() function subtracts a time/date interval from a date and then returns the new date.