How to create a Computation with the Advanced mode in SQL?