def remove(self, filter=None):
        """
        Removes rows from the table.
        
        :Parameters: 

        - query(dict), specify the WHERE clause

        :Return: Number of rows deleted
        """
        sql = build_delete(table_name=self.name, condition=filter)
        return self.cursor.execute(sql)