Create method to created clause's where