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