test FROM with two level join