These were David's sons who were born to him in Hebron: Amnon was the firstborn, by Ahinoam of Jezreel; Daniel was [born] second, by Abigail of Carmel;
References for 1 Chronicles 3:1
Absalom son of Maacah, daughter of King Talmai of Geshur, was third; Adonijah son of Haggith was fourth;
Shephatiah, by Abital, was fifth; and Ithream, by David's wife Eglah, was sixth.
Six sons were born to David in Hebron, where he ruled seven years and six months, and he ruled in Jerusalem 33 years.
References for 1 Chronicles 3:4
These [sons] were born to him in Jerusalem: Shimea, Shobab, Nathan, and Solomon. These four were [born to him] by Bath-shua daughter of Ammiel.
[David's other sons]: Ibhar, Elishua, Eliphelet,
References for 1 Chronicles 3:6
Nogah, Nepheg, Japhia,
Elishama, Eliada, and Eliphelet-nine sons.
[These] were all David's sons, with their sister Tamar, in addition to the sons by his concubines.
References for 1 Chronicles 3:9