Description
The > operator takes two operands and compares them. If one operand is of integral type and the other is of real type then the integral operand is converted to real before the comparison is made. The result of this operation is of boolean type and is true if the left operand is greater than the right operand, and false otherwise.
For operands of string type the > operator compares the lexical ordering of the operands.
Example
For example
'abc' > 'abc' results in false
'abc' > 'abcd' results in false
'abc' > 'ab' results in true
'abc' > 'abd' results in false
'abc' > 'aac' results in true
'abc' > 'b' results in false