I need a help with a specific scenario I ran into.
I have a table structure like this.
In this table(lets call it a user table) ID is the primary key. I want to find the higher value of the ID if the data is duplicated in the username column.
For an example, John is listed 4 times and the highest ID of that data is 10. So i need that in my result.
I can find the duplicate but max id I am having some issue.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…