SQL - Common Table Expressions (CTEs)
Find the error in this SQL snippet:
WITH cte1 AS (SELECT * FROM table1) cte2 AS (SELECT * FROM table2) SELECT * FROM cte1 JOIN cte2 ON cte1.id = cte2.id;
