Adding SQL from master.