def where(self, *args, **kwargs):
        c = [(k, str(v)) % '%s = "%s"' for k, v in kwargs.items()]
        if c != ((),):
            c.extend(list(args))
        self.base_statement = "select %s from %s where " + \
                              ' and '.join(c) + ";"
        return self
dataset/ETHPy150Open jasonlvhit/lunar/lunar/database.py/SelectQuery.where/swapped operands of `%`