Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 430 Bytes

check-inequality.md

File metadata and controls

17 lines (11 loc) · 430 Bytes

How to Check Inequality


Like many other languages, PostgreSQL supports the != comparison operator.

> select category from animals where datatype != datatype;

PostgreSQL also supports the <> comparison operator, and actually converts != into <> during parsing.

> select category from animals where datatype <> datatype;

link