added "select distinct" for getBlogConfigXWQL