Home >Database >Oracle >What does in in oracle mean?

What does in in oracle mean?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2021-12-27 11:43:114240browse

In in oracle means "within...". In is often used in conditional expressions to set the range for data operations. The field value only needs to satisfy any one within this range. , the syntax is "field in(value1,value2,…)".

What does in in oracle mean?

The operating environment of this tutorial: Windows 10 system, Oracle 11g version, Dell G3 computer.

What does in mean in Oracle

in is often used in conditional expressions (where), its function is to control within a certain range Operate, query or delete the data. The field value only needs to satisfy any one within this range.

The example query syntax is as follows:

select * from TableName(表名) where 字段 in (value1,value2,…);

The example is as follows:

(1) Query all records in the t_hero table

What does in in oracle mean?

(2) Query all records whose keyid is equal to one of these three values ​​(21, 16, 7). As long as one of these three values ​​is satisfied, you can query it.

What does in in oracle mean?

Recommended tutorial: "Oracle Tutorial"

The above is the detailed content of What does in in oracle mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn