ESV: When Uriah came to him, David asked how Joab was doing and how the people were doing and how the war was going.
NIV: When Uriah came to him, David asked him how Joab was, how the soldiers were and how the war was going.
NASB: When Uriah came to him, David asked about Joab’s well-being and that of the people, and the condition of the war.
CSB: When Uriah came to him, David asked how Joab and the troops were doing and how the war was going.
NLT: When Uriah arrived, David asked him how Joab and the army were getting along and how the war was progressing.
KJV: And when Uriah was come unto him, David demanded of him how Joab did, and how the people did, and how the war prospered.
NKJV: When Uriah had come to him, David asked how Joab was doing, and how the people were doing, and how the war prospered.