Medium-EasyApplyRDBMS & SQLMultiple Choice

What does the LAG() window function return?

Apply Tests ability to use knowledge in practical scenarios.

Answer Options

AThe maximum value in the partition
BThe value from a row a specified number of rows BEFORE the current row in the ordered partition
CThe value from a row a specified number of rows AFTER the current row
DThe 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