Return statement added to Sql engine