added adv SQL (to task 13)