The sum of the user's points
PHP Snippet 1:
$db->query("SELECT COUNT(DISTINCT(Full_name)) as ID FROM db_main");
PHP Snippet 2:
$db->query("SELECT MAX(Date) AS Date, Full_name, Login, SUM(Points) AS Points FROM db_main GROUP BY Full_name LIMIT $limit");