ERROR: relation "qsharevents.sys" does not exist LINE 5: from QSharEvents.sys sys JOIN QSharEvents.pr... ^ :: select sys.*, sys.QSharEvents_objid AS objid, html_object_id, users_objid, firstname || ' ' || secondname as users_name, sys.QSharEvents_active_att as active_att, prop.rorw_stat, prop.lock_stat from QSharEvents.sys sys JOIN QSharEvents.prop prop ON prop.QSharEvents_def_id=sys.QSharEvents_def_id JOIN _users u ON u.users_id=sys.users_id where sys.QSharEvents_def_id=1073