Update sqljoinmax.sq