In SQL, a ___ calculates values across related rows while preserving each individual output row instead of collapsing r…