sql insert using with statement