Sql Drupal Count Login
Join the DZone community and get the full member experience.Join For Free
// description of your code here
SELECT u.name name, count(name) anzahl FROM accesslog al, users u where al.uid = u.uid group by name order by anzahl
Opinions expressed by DZone contributors are their own.