Relational operators
Relational operators are those operators that can be used to compare two pieces of data.
Relational Operator |
What it's used for |
< |
Less than |
> |
Greater than |
<= |
Less than or equal to |
>= |
Greater than or equal to |
= or == |
Equal to |
!= or <> |
Not equal to |
An important note to remember is that it is always greater or less than and then equal to never equals first.