Single-row frame.
Section: Frame clause cheatsheet
Current row only
sql
sql
ROWS BETWEEN CURRENT ROW AND CURRENT ROWExplanation
Useful in examples and to contrast with broader frames.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Frame clause cheatsheet