doc-exports/docs/dli/sqlreference/dli_08_0199.html
Su, Xiaomeng 76a5b1ee83 dli_sqlreference_20240227
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2024-03-27 22:02:33 +00:00

3.1 KiB

Querying the RDS Table

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

Syntax

1
SELECT * FROM table_name LIMIT number;

Keywords

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

Precautions

The table to be queried must exist. Otherwise, an error is reported.

Example

Query data in the test_ct table.

1
SELECT * FROM dli_to_rds limit 100;