complete belong and add belong sql