SQL select query not as intended

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.

Leave a Comment

Your email address will not be published.

Scroll to Top