DRM-95 fix building join on statement
DRM-96 introduce connector for many-to-many join
DRM-96 fix select action all joins