I'm pretty new to PostgreSQL right now and am trying to search through a column and find where in that column duplicate strings exist.
For example, if I have the following table:
Col_1 Col_2 Col_3
1 cat 45
2 dog 67
3 bird 77
4 cat 90
So essentially, without knowing which specific strings to look for, I want to write a query that would pull both instances of 'cat'
from col_2
because they are the same.
Can anyone help out with some suggestions of where to begin/how to do this?