Snippet Name: Select maximum value Description: Selects the maximum value of the column in the brackets. Comment: (none) Language: MYSQL Highlight Mode: MYSQL Last Modified: March 01st, 2009
Description: Selects the maximum value of the column in the brackets.
SELECT MAX(`user_hits`) AS `u_hits` FROM `users`