All identifiers are coerced to lower-case so column names are effectively case-insensitive. To avoid this, quote the identifier with double quotes.
SELECT "myColA" FROM "camelCaseTable";
Prepend the following
explain (analyze on, timing on)
Remove the timing
keyword if you don't want to actually execute the query.
SELECT
*,
LAG(col, 1) OVER w AS previous_col,
RANK() OVER w AS "rank"
FROM
table
WINDOW w AS (
PARTITION BY col1, col2
ORDER BY col3
);