如何在postgres里使用比较级

2025-06-01 11:55:53

1、sudo su postgrespsql进入postgres。

如何在postgres里使用比较级
如何在postgres里使用比较级

2、SELECT 2 > 1;返回的t表示真。

如何在postgres里使用比较级

3、SELECT 2 < 1;返回的f表示假。

如何在postgres里使用比较级

4、还可以用<=或者>=也是可以比较的。

如何在postgres里使用比较级
如何在postgres里使用比较级

5、<>这个符号标识不等于。

如何在postgres里使用比较级
如何在postgres里使用比较级

6、=就是表示等于号,和数学里的一样。

如何在postgres里使用比较级
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢