Понятно
Ладно скажите что в этом запросе неправильно?
select SUM(today.hits) as t_hits,count(today.ip) as t_hosts\',SUM(today.hits+arhiv.hits) as total_hits,SUM(t_hosts+arhiv.hosts) as total_hosts,users.site_name as imya,users.site_url as url from today,users,arhiv where today.user_id=users.user_id and today.user_id=arhiv.user_id and users.rub=$rub group by today.user_id order by t_hits