• Once you prefer different outputs, obviously you need to change the filtering. But, i don't know what is the problem of changing the query..

    Regards,
    Karthik.
    SQL Developer.