add target to sql