sql added all bases