SQL | Windows Vs Aggregate Functions