This SELECT command is used to query data in an OpenTSDB table.
1 | SELECT * FROM table_name LIMIT number; |
LIMIT is used to limit the query results. Only INT type is supported by the number parameter.
The table to be queried must exist. Otherwise, an error is reported.
Query data in the opentsdb_table table.
1 | SELECT * FROM opentsdb_table limit 100; |