Insert Query With Where Condition In Sql