Complex sentence: According to the 2011 census Ujjain has a population of 515,215 of which male are 264,871 and female are 250,344 respectively with sex ratio is 945 per 1000 males and child sex ratio of girls is 929 per 1000 boys.
Split into simpler sentences: According to the 2011 census, Ujjain has a population of 515,215,264,871 of whom were male and 250,344 female. The sex ratio is 945 per 1000 males, and the child sex ratio is 929 girls per 1000 boys.