Adding sql statement from config