To Test query History to join the display