PRAGMA PositionalUnionAll;

SELECT 
    1 as y,
    2 as x
UNION
SELECT
    1 as x,
    2 as y;