Postgres Check If String Has Substring Method Sql