inequality values for the second attr is taken from the first attr