SQL Window Functions Tutorial — RANK, LAG, Running Totals | Demo Academy