BAQ unique Blank Title 57123

Hello, I would like to write a BAQ that would give a unique (distinct
in SQL) list of part numbers, vendor names. What I get is duplicate
lines of data.
Is there a way to get a unique list?
Thanks
djj