Solution
Fancy sql added