Home > Database > Oracle > body text

What does in in oracle mean?

WBOY
Release: 2021-12-27 11:43:11
Original
4188 people have browsed it

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,…);
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template