This feels as if it should work but failing. I'll try to look into it but thought I'd bring it up in case it's an easy fix.
SELECT max(dt) FROM
(
SELECT max(dt) as dt FROM t
UNION ALL
SELECT max(dt) as dt FROM t2
)
This query also fails so I wonder if it has to do with that specific query construction:
SELECT max(dt) FROM
(
SELECT max(dt) as dt FROM t
)
This is also failing
SELECT max(dt) FROM
(
SELECT dt FROM t
)
This feels as if it should work but failing. I'll try to look into it but thought I'd bring it up in case it's an easy fix.
This query also fails so I wonder if it has to do with that specific query construction:
This is also failing