SQL Server DISTINCT -
select dbo.clientrep.ref, dbo.rep2.ref dbo.clientrep full outer join dbo.rep2 on (dbo.rep2.ref = dbo.clientrep.ref) dbo.rep2.ref null or dbo.clientrep.ref null;
how can specify distinct
dbo.clientrep.ref
, dbo.rep2.ref
returned?
just write select distinct ...
select distinct dbo.clientrep.ref, dbo.rep2.ref dbo.clientrep full outer join dbo.rep2 on (dbo.rep2.ref = dbo.clientrep.ref) dbo.rep2.ref null or dbo.clientrep.ref null;
Comments
Post a Comment