Added SQL quries (BC,BS,AP_S,AP_W)