I have two columns called topic_id and post_id, and what I want to do is find every row where the topic_id is the lowest for each post ID.
For example
topic_id post_id
1 5
2 5
3 8
4 8
So it would grab row 1 and 3.
I am not even sure where to begin so any help would be greatly appreciated.
1 Answer