Detect relations between tables WIP