The explain for the first query is:

SELECT
    ID,
    "geom" AS "geom"
FROM PUBLIC.TESTDATA
    /* PUBLIC.PRIMARY_KEY_3: ID IN(SELECT
        CAST(HATBOX_JOIN_ID AS INTEGER)
    FROM PUBLIC.HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'TESTDATA',
-139.17094658129298, -113.94051433313055, 44.17730198523503,
64.12298153276885)
        /++ function ++/)
     */
WHERE ID IN(
    SELECT
        CAST(HATBOX_JOIN_ID AS INTEGER)
    FROM PUBLIC.HATBOX_MBR_INTERSECTS_ENV('PUBLIC', 'TESTDATA',
-139.17094658129298, -113.94051433313055, 44.17730198523503,
64.12298153276885)
        /* function */)

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to