scope row comparison for  clause