It looks like all you really need is distinct
, eg
select distinct a, b
from t
where a=2;
CLICK HERE to find out more related problems solutions.
It looks like all you really need is distinct
, eg
select distinct a, b
from t
where a=2;
CLICK HERE to find out more related problems solutions.