Skip to main content
🔮 Output PredictionSQ SQL Hard⚡+35 XP

CTE Result

What does this CTE query return?

SQL
WITH top_earners AS (
  SELECT * FROM employees WHERE salary > 80000
)
SELECT COUNT(*) FROM top_earners;

🔮 What is the output?