从数据库中取出数据字段后,需求是统计字段个数,但是取出来的字段已经过滤过了,所以统计的数量一直是1,
那么问题来了,比如该字段中出现30次苹果时,现在只能统计出一次,怎么才能显示出30呢?
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVsAAACOCAIAAAAQKTySAAAHlUlEQVR4nO2cwVHjSBhGndOmA9lsBnCZggD2sBHAZYoQOG0YJLClPcCCRv11WyP9rdb38175YISnRs9WP7eE3ZfXCj+bXP6nsaXBlBG8vMBLctlQhEUI5BaKkAa8vKAIZwEvL/CSbClCY/Bz1pAPvLwYVoTNOeCV8AIvL8YUYU8OeCW8wMuLAUXYmQNeCS/w8mJMEebILRQhDXh5MaAI+4mSPxV4eYGXhCKEgZcXeEkoQhh4eYGX5PL6+vr09HR7e/v4+EgR9oCXF3hJPuYI9/f3z8/PFGEPeHmBl6R61vD3Xz863bq2BgD28FGEl5cXriPsBC8v8JJwHSEMvLzAS8J1hDDw8gIvCX99DAMvL/CScB0hDLy8wEvycR3h5ubm4eFhfRFYVa0ELy/wknzMEe7u7p6enlYWgTWUJHh5gZckZlW12m8pQgLw8mJAEWqDn7OG0bvQBby8GFaE2uBnjpAMvLwYU4TGsKcIycDLiwFFaF87oAjJwMuLMUUo11Djr494eYGXhM8shoGXF3hJKEIYeHmBl4QihIGXF3hJKEIYeHmBl4QihIGXF3hJWFUNAL5gjhAGXl7gJaEIYeDlBV4SihAGXl7gJaEIYeDlBV4SihAGXl7gJdn+3Uf5LQa+15APvLwYUITaNx35ptPoXegCXl6cpQjlgosUIQd4eTGgCI00UIR84OXFsCI0ZgoUIRN4eTGmCPKa4vpFU6LkTwVeXuAliVlVbc2vKIIpeHkxpgi1GQFzhHzg5cWAIuwnSv5U4OUFXhKKEAZeXuAloQhh4OUFXhKKEAZeXuAloQhh4OUFXhJWVQOAL5gjhIGXF3hJKEIYeHmBl4QihIGXF3hJKEIYeHmBlyRJES6Xi7zffmQsY736Eeh1ucbVfxi1JxNFqBCzqlrjmw5diyAPFHncf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