http://lmgtfy.com/?q=sql+avg+count
select avg(url_count) from ( select count(url_id) as url_count, user_id from urls_users group by url_id limit 10 ); -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

