Skip to content
Medium-Easy Apply RDBMS & SQL Multiple Choice

What does the LAG() window function return?

Apply — Tests ability to use knowledge in practical scenarios.

Answer Options

A The maximum value in the partition
B The value from a row a specified number of rows BEFORE the current row in the ordered partition
C The value from a row a specified number of rows AFTER the current row
D The running total up to the current row

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 15+ more RDBMS & SQL questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the RDBMS & SQL topic (Databases).

More RDBMS & SQL Questions