FOFTable::setQueryJoin

Sets the query with joins to other tables