title: LINQ: Select all from each group except the first item
body: <p>It is easy to select the first of each group:</p>
  
  <pre><code>        var firstOfEachGroup = dbContext.Measurements
              .OrderByDescending(m =&gt; m.MeasurementId)
              .GroupBy(m =&gt; new { m.SomeColumn })
              .Where(g =&gt; g.Count() &gt; 1)
              .Select(g =&gt; g.First());
  </code></pre>
  
  <p>But...<br>
  <strong>Question</strong>: how can I select all from each group except the first item?</p>
  
  <pre><code>        var everythingButFirstOfEachGroup = dbContext.Measurements
              .OrderByDescending(m =&gt; m.MeasurementId)
              .GroupBy(m =&gt; new { m.SomeColumn })
              .Where(g =&gt; g.Count() &gt; 1)
              .Select( ...? );
  </code></pre>
  
  <p>Additional information:<br>
  My real goal is to delete all duplicates except the last (in a bulk way, ie: not using an in-memory foreach), so after the previous query I want to use <code>RemoveRange</code>:</p>
  
  <pre><code> dbContext.Measurements.RemoveRange(everythingButFirstOfEachGroup);
  </code></pre>
  
  <p>So, if my <strong>question</strong> has no sense, this information might be handy.</p>