How do I turn this
+--------+---------------+
| ID | name |
|--------|---------------|
+ 1 | tim |
+-------------------------
| 1 | timothy |
+--------++--------------+
| 1 | timmy |
+--------|---------------|
| 2 | jane +
+--------+---------------+
into this?
+--------+---------------+
| ID | name |
|--------|---------------|
+ 1 | timothy |
+-------------------------
| 2 | jane |
+--------++--------------+
The problem seems to be one of using MAX on a string, while keeping the string and grouping by ID.
FWIW, the table actually has 7K rows and about 40 columns; I don’t think that should matter, but I’m mentioning it just in case.
On my existing MAX efforts, I’m getting integers to consolidate, but not strings…
Of course, this will not handle a scenario like
Rob,Bob. In that case, both would be returned.