Some LINQ queries still puzzle me.
for a table \'Hits\' containing two columns, \'Page\' and \'Date\', I want to find the most Pages with the most rows in a defined
Something like this should work:
(from p in DataContext.Hits where (p.Date >= minDate) && (p.Date < maxDate) group p by p.Page into g select new { Page = g.Key, Number = g.Count() }).OrderByDescending(x => x.Number).Take(10);