Просмотр поста

.
Jane
Блиносвёрт ?
Hat-Trik (05.03.2013 / 04:14)
Кто-нибудь поможет или просто не ясна задача?
$req = mysql_query("select `users`.`name` , `novosti`.`avtor` , count(`novosti`.`id`) as `num`
 from `novosti` left join `users` on `novosti`.`avtor` = `users`.`id`
 where `users`.`id` is not null
 GROUP BY `novosti`.`avtor` order by `num` desc");