create sql power status table