I have the type/string value stored in another table, and from that i would like to get the id.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных