Skip to content

Commit a1ad03c

Browse files
committed
fix: update code blocks and add link
1 parent bcabfa2 commit a1ad03c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

postgresql/check-inequality.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
Like many other languages, PostgreSQL supports the `!=` comparison operator.
66

77
```sql
8-
> select datatype != datatype;
8+
> select category from animals where datatype != datatype;
99
```
1010

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

1313
```sql
14-
> select datatype <> datatype;
14+
> select category from animals where datatype <> datatype;
1515
```
1616

17-
[link]()
17+
[link](https://www.postgresql.org/docs/15/functions-comparison.html)

0 commit comments

Comments
 (0)