I'd like to query a database table that looks like the simplified example below:

```
Quote  | Sequence  | Item
-------|-----------|-----
    1  |    1.0M   | a
    1  |    2.0M   | a
    1  |    3.0M   | a
    1  |    1.0M   | b
    1  |    2.0M   | b
    1  |    3.0M   | b
    2  |    1.0M   | x
    2  |    2.0M   | x
    3  |    1.0M   | y

```

and I need a query that gets all rows for a given `Quote` where the `Sequence` is the max value for that column:

```
Quote  | Sequence  | Item
-------|-----------|-----
    1  |    3.0M   | a
    1  |    3.0M   | b
    2  |    2.0M   | x
    3  |    1.0M   | y

```

I'm using `F#` and `System.Data.Linq`.

I can use

```
let quoteQuery = 
    query{
        for row in db.[TABLE] do 
        select row
        }

```

to get all rows, but I don't know `Linq` well enough--yet--to modify this to have the query that will produce the desired results. I've tried using [the answer from this question](https://stackoverflow.com/questions/20444918/linq-select-rows-mith-max-version) in an attempt to modify my query, but I've hit a wall in trying to modify (guess?) the syntax/language necessary.

There are several SQL examples I can find, but few that are Linq-specific.