When Uriah came to him, David asked him how Joab was, how the soldiers were and how the war was going. (NIV)
When Uriah had come to him, David asked him how Joab was, how the people fared, and how the war progressed. (AMP)
And when Uriah was come unto him, David demanded of him how Joab did, and how the people did, and how the war prospered. (KJV)