Updated on 2023-11-03 GMT+08:00

Querying an Oracle Table

Function

This statement is used to query data in an Oracle table.

Syntax

1
SELECT * FROM table_name LIMIT number;

Keyword

LIMIT is used to limit the query results. Only INT type is supported by the number parameter.

Precautions

If schema information is not specified during table creation, the query result contains the _id field for storing _id in the DOC file.

Example

Querying data in the test_oracle table

1
SELECT * FROM test_oracle limit 100;