Transformations with SQL (Part 1/3)