PostgreSQL - Window Functions in PostgreSQL
Identify the error in this query:
SELECT employee_id, salary, LEAD(salary) ORDER BY employee_id FROM employees;
SELECT employee_id, salary, LEAD(salary) ORDER BY employee_id FROM employees;
LEAD(salary) without OVER(), causing a syntax error.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions