I'm not found build-in solution, so I just create new column in tables with concat values and use it in relation