0

Here is an example of the data to query:

| ID |  NAME | MARKS |
|----|-------|-------|
|  0 | Fazal |    89 |
|  1 | Fazal |    89 |
|  2 | Fazal |    89 |
|  3 | Fazal |    89 |
|  4 | Fazal |    89 |
|  5 | Fazal |    89 |
Martin Smith
  • 438,706
  • 87
  • 741
  • 845
  • which record do you want to have left over? – horace Feb 14 '14 at 18:31
  • possible duplicate of [How can I remove duplicate rows?](http://stackoverflow.com/questions/18932/how-can-i-remove-duplicate-rows) see the second answer using `ROW_NUMBER` – Martin Smith Feb 14 '14 at 19:20

0 Answers0