Is this bug ? or spec change ?

--Preparation
DROP TABLE TESTTBL IF EXISTS;
CREATE TABLE TESTTBL AS SELECT 'VAL' AS TESTCOL;

--##TEST START##
--This query doesn't work on ver1.3.174. But works on 1.3.173.
SELECT * FROM 
(
  SELECT 
    TESTCOL AS TESTCOL
  FROM TESTTBL
  ORDER BY TESTCOL ASC
);

-- This query works on ver1.3.174.
  SELECT 
    TESTCOL AS TESTCOL
  FROM TESTTBL
  ORDER BY TESTCOL ASC;

--If I use "sub query", "order by" and "ALIAS" at same time, the query 
execution become syntax error.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to