I want to delete some data from a table.
First, I executed the following sql:
select count(1) from dclm_device.device_int where identifier = "water_level";
I can see "Query OK, 1 rows in database"
However, when I tried to delete the data from this table, it failed.
The delete statement is :
from dclm_device.device_int where identifier = "water_level";
The output is:
DB error: invalid input
I think the statement is correct, so what may be the problem?