SF-2  added sql