Root on A string
no fifthx-10-9-11-10-x
Gmaj9 is the G major 9 chord. Its notes are G, B, D, F♯ and A. A major seventh plus a ninth. The compact grip omits the fifth.
x-10-9-11-10-x
Numbers show frets from the low E string to the high e string; x means don't play that string.
Every G, B, D, F♯ and A on the first 12 frets. The filled dots are the root, G. Build your own shape from any nearby group.
Other G chords
Other major 9 chords