如何在postgres里使用where排除条件

 时间:2024-10-31 14:26:09

1、sudo su postgres进入postgres。

如何在postgres里使用where排除条件

2、\c test\dt连接数据库。

如何在postgres里使用where排除条件

3、SELECT * FROM person;选取数据查看一下所有数据。

如何在postgres里使用where排除条件如何在postgres里使用where排除条件

4、SELECT * FROM person;WHERE gender = 争犸禀淫"Male";根据条件可以筛选数据。

如何在postgres里使用where排除条件如何在postgres里使用where排除条件

5、SELECT * FROM person;WHERE gender = 争犸禀淫"Male" AND country_of_birth = "China媪青怍牙";WHERE还可以和AND配合。

如何在postgres里使用where排除条件如何在postgres里使用where排除条件

6、还可以用括号选定多个数据判断。

如何在postgres里使用where排除条件如何在postgres里使用where排除条件

7、即使是多个数据也是没问题的。

如何在postgres里使用where排除条件如何在postgres里使用where排除条件
  • eclipse怎么重设项目编码?
  • excel中使用vba关闭excel的两种方法
  • 电脑睡眠按钮的功能怎么改为关闭显示器?
  • oracle误删表如何恢复?oracle闪回表功能。
  • jsp页面360浏览器兼容模式不兼容问题解决方法
  • 热门搜索
    怎么接收传真 奇迹暖暖搭配师联盟攻略 短靴搭配 崴脚了怎么快速恢复 怎么样减肥最快 红烧大黄鱼 蒸美味加盟怎么样 我的世界竹子怎么种 脚后跟疼是怎么治疗 怎么排八字