column name is keyword from

mysql: select tablename.from from tablename;

postgresql: select "from" from tablename;

sqlserver: select [from] from tablename;

我那个脑残同事把列名写成了from。

原文地址:https://www.cnblogs.com/jvava/p/3865549.html