Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为 COUNT 的列的表。
如果我执行以下查询: Select count From mytable
从 SQL Developer 它工作正常。从 JDBC 连接它不起作用。
我无法修改表结构...
你知道我该如何解决这个问题吗?
提前致谢
这将有助于:
Select a.count from mytable a
COUNT是一个保留字,所以你需要转义它:
COUNT
select "COUNT" from yourtable