Added core status sql
Added core status sql