B major piano scale. From the Root note B, we create the B piano major chord. Then from the Root note using the piano formula for major scales- RWWHWWWH (R for root note, W for whole step and H for half step), we create our B major scale.
From the above diagram, piano notes B, D# and F# which when struck together creates the B major piano chord. Then applying the piano major scales formula, we get the following notes depicted in the below diagram: B,C#, D#, E, F#, G#, A# and B again. This is what is termed as B piano major scale.