Comparison Operators
SQL provides several operators for comparing values:
| Operator | Meaning |
|---|---|
= | Equal to |
<> or != | Not equal to |
> | Greater than |
< | Less than |
>= | Greater than or equal |
<= | Less than or equal |
Exercises
Loading exercise...
Loading exercise...
Loading exercise...
Loading exercise...
Loading exercise...
Free Practice
Loading SQL editor...
Try these:
- Find users between certain ages (you'll need AND - covered in next lesson)
- Find users not from a specific city
- Compare different age thresholds

