PostgreSQL Operators
OPERATORS: An operator performs on separate data items and returns a result. The data items are called operands or arguments. Operators are mentioned by special characters or by keywords. Arithmetic operators Comparison operators Logical operators Bitwise operators Arithmetic operators: + addition - subtraction * multiplication / division % modulo (remainder) examples: pearl=# select 10+5; ?column? ---------- 15 (1 row) pearl=# select 10-5; ?column? ---------- 5 (1 row) pearl=# select 10*5; ?column? ---------- 50 (1 row) pearl=# select 10/5; ?column? ---------- 2 (1 row) pearl=# select 10%5; ?column? ---------- 0 (1 row) Comparison operators: < less than > greater than <= less than or equal to >= greater than or equal to = equal <> or !=...