When running the below query:
WITH sublevels AS ( SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1), FIELDA AS (SELECT (ROW_NUMBER() OVER ())::INT sublevel FROM
In Redshift:
You cannot mix and match 1. and 2.