new full sql