Add owner to sql