> 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 ‘),
consumpiton_time date,
create_time datetime,
consumer_id int(11),
‘ at line 6
1) 结尾的标点符号,主要中英切换
2)类型名称,长度有没有写错
等等原因,,,
原文:https://www.cnblogs.com/arsn/p/12541223.html