Watch the Let's Get Funky In D! online guitar lesson by John Goldsby from Upright Bass Handbook
This etude uses the open D string, and the D on the G string. Play the D on the G string with your 4th finger. We can play all of the other notes in this etude from this hand position: D, C, A, and G.
Make sure that the D on the G string is in tune. You can check your intonation by using the open D string and playing the high D. Once that's in tune, you're in position to play the notes C (on the G string), A, and G (on the D string).
You don't need to (and you shouldn't) move your left hand out of this position to play any of the notes. Be aware of muting the D string on two and four (where the rests are written in the notated music). These are spots where the drummer is placing a backbeat on two and four--lock in with the drums!