Select Query With Condition In Postgresql What Does The Host