SQL server has a "Cube" and "rollup" statment I've never used...