added latest sql