第一条语句会报错:
错误码: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't where t.deveui = ''' at line 1
第二条语句则可以,原来是mysql数据库delete数据时,不支持表别名。
https://blog.csdn.net/huangxingchen123/article/details/52608408
-------------------------------------------------------------------------------------------------------------------
第二次遇到了,同事写的接口,一测就出现问题:
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right syntax to use n