Frage im Vorstellungsgespräch bei Tredence

How to do pivoting in sql ? How to handle cumulative function in sql ?