Add returning to format sql block