Named wives
Michal
Saul’s daughter
No children
Ahinoam
A Jezreelitess
Son: Amnon
Abigail
Widow of Nabal
Son: Daniel (Chiliab)
Maacah
Daughter of Talmai, king of Geshur
Son: Absolom
Daughter: Tamar
Haggith
No genealogy recorded
Son: Adonijah
Abital
No genealogy recorded
Son: Shephatiah
Eglah
No genealogy recorded
Son: Ithream
Bathsheba
Widow of Uriah; daughter of Eliam, one of David’s thirty; granddaughter of Ahithophel, one of David’s chief advisors
Sons: Shammua, Shobab, Nathan, Solomon
And all the rest
David also had unnamed wives and concubines who sons are mentioned: Ibhar, Elishua, Eliphelet, Nogah, Nepheg, Japhia, Elishama, Eliada, and Eliphelet.
[1] Scriptures consulted: 2 Sam. 3:2-5; 5:13-16s 1 Chron. 3:1-8; 14:4-7s 2 Chron. 11:18