adding sql