H2 - Error accessing linked table with SQL statement “SELECT * FROM null T”
问题 I try to created linked table in my Java application. Statement stmtH2 = DBconnect.connH2.createStatement() String linkedTable = ("CREATE LINKED TABLE tableName('', 'jdbc:mysql://localhost:3306/DBname', 'root', '', 'tableName');"; stmtH2.execute(linkedTable) String query = "SELECT * FROM tableName WHERE Sex = 'F' ORDER BY Cod"; stmtH2.executeUpdate(query); In Java I've got this error: org.h2.jdbc.JdbcSQLException: Column "COD" not found; SQL statement: When I try to see the table in localhost