This SELECT command is used to query data in an OpenTSDB table.
SELECT * FROM table_name WHERE tagk=tagv LIMIT number;
Parameter |
Description |
---|---|
LIMIT |
Used to limit the query results. |
number |
Only the INT type is supported. |
Query data in the opentsdb_table table.
SELECT * FROM opentsdb_table LIMIT 100;
SELECT * FROM opentsdb_table WHERE city='city1';