SQL moved to pri