oracle之运算符和表达式

来源:互联网 发布:abb离线编程软件 编辑:程序博客网 时间:2024/05/29 07:52

1、算术运算符
select id,username,salary+200 from users;

2、比较运算符
select username from users where salary>800;

3、逻辑运算符
select username from users where salary>800 and salary<>1800;

优先级顺序:not >and > or

原创粉丝点击