SELECT INTO with HSQLDB
问题 I am trying to create a new table from the result of a select. This works fine with SQL Server: SELECT * INTO newTable FROM (SELECT col1, col2, col3 FROM oldTable) x; Now, I want to achieve the exact same thing with HSQLDB (Version 2.2). I have tried several forms like SELECT * INTO newTable FROM (SELECT col1, col2, col3 FROM oldTable); SELECT INTO newTable FROM SELECT col1, col2, col3 FROM oldTable; CREATE TABLE newTable AS SELECT col1, col2, col3 FROM oldTable; All these variants result in