Iam trying to create a Select query such that where conditions should be added dynamically only if the value is passed using python pymsql
condition1: