How to find space after words in postgresql:
I have two same strings in my database :
string1
string1
I am trying to find the one with 2 spaces before and one space after.
here are some of the queries I used with their results:
SELECT * FROM table WHERE "column" LIKE '__string1_'; --> *no result*
SELECT * FROM part1 WHERE "column" LIKE '__string1%';
Results:
1) string1 and xyx
2) string1 and string2
3) string1
but I only need string1 with no strings after or before.
' string1'?