Here's a table showing the piano keys and their corresponding oboe keys:
Piano key | Oboe key
---- | ----
C4 | Bb3
C#4 | B3
D4 | C4
D#4 | C#4
E4 | D4
F4 | Eb4
F#4 | E4
G4 | F4
G#4 | F#4
A4 | G4
A#4 | G#4
B4 | A4
So, if you have a piece of music written in C major for the piano, you would play it on the oboe in B major, starting with Bb3 instead of C4.
Here's an example of how a simple melody in C major would look when transposed for the oboe in B major:
Piano: C4 D4 E4 F4 G4
Oboe: Bb3 C4 Db4 Eb4 F4