
select *  from Doctypes where BRANCH+Code
in (select  BRANCH+Code from Doctypes
group by  BRANCH+Code
having count( BRANCH+Code)>1)
order by  BRANCH+Code
