column name is keyword from

mysql: select tablename.from from tablename;

postgresql: select "from" from tablename;

sqlserver: select [from] from tablename;

 

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

posted @ 2014-07-24 14:23  jvava  阅读(146)  评论(0编辑  收藏  举报