opteryx icon indicating copy to clipboard operation
opteryx copied to clipboard

🪲 Can't use EXTRACT statement with a FOR clause

Open joocer opened this issue 1 year ago • 1 comments
trafficstars

SELECT COUNT(*), EXTRACT(HOUR FROM dte)
FROM table
FOR date
GROUP BY EXTRACT(HOUR FROM dte)

The from in the EXTRACT statement confuses the temporal filters

joocer avatar Sep 23 '24 14:09 joocer