Consider the following tables:
Table A
Category Misc
-------- ----
a fsd
a wer
b fgg
c ghj
c yui
c rty
Table B (maps category to a number)
Category Num
-------- ---
a 1
b 2
c 3
Desired Outcome
Category Num Misc
-------- --- ----
a 1 fsd
a wer
b 2 fgg
c 3 ghj
c yui
c rty
A simple left outer join will try to map Num to every Category in Table A, but I only want Num to appear once. Can this be done?