ORACLE where 子句

2025 年 3 月 17 日 | 阅读 1 分钟

在 Oracle 中,where 子句用于过滤结果。Where 子句可以在 INSERT、UPDATE、DELETE 和 SELECT 语句中使用。

语法

参数

条件: 用于获取指定的记录。

表 1:employee1

ORACLE where clause

表 2:employee2

ORACLE where clause

示例 1

Select *from employee1 where city = 'raipur'

ORACLE where clause

示例 2

Select *from employee2 where name like 's%'

ORACLE where clause
下一主题#