Skip to content

Commit 85fb87d

Browse files
committed
add check inequality git til
1 parent cfec357 commit 85fb87d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

postgresql/check-inequality.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# How to Check Inequality
2+
3+
---
4+
5+
Like many other languages, PostgreSQL supports the `!=` comparison operator.
6+
7+
```sql
8+
> select datatype != datatype;
9+
```
10+
11+
PostgreSQL also supports the `<>` comparison operator, and actually converts `!=` into `<>` during parsing.
12+
13+
```sql
14+
> select datatype <> datatype;
15+
```
16+
17+
[link]()

0 commit comments

Comments
 (0)