For example, I have the following table :
id user_id name age address
1 12 John 21 earth
2 13 Daniel 19 planet
3 12 Paul 25 here
4 11 Joana 23 mars
5 11 Paul 18 earth
The results that I want :
id user_id name age address
1 12 John 21 earth
3 12 Paul 25 here
4 11 Joana 23 mars
5 11 Paul 18 earth
So basically, I want to show all rows from duplicated values in the user_id column. I am new to SQL and hopefully, you guys can help me. Thanks in advance.