mercredi 27 juillet 2016

Distinct values from two columns

This is the query which I am using to get the distinct values:

SELECT DISTINCT
    LOGIN_BY,
    RECEIVED_BY
FROM SAMPLE

My requirement is I need the distinct values of both the columns as a single output. Is there any way to do that?

Aucun commentaire:

Enregistrer un commentaire