The Music Stem / The Musician's Library / The Musician’s Ear Library / Secondary Dominant
The Musician’s Ear Library
Which chord points to G?
D7 (V7 of V)
D7 brings in F♯, the leading tone of G, so it acts as V7 of V.