It depends on which dynasty you want... If it's just about ancient official positions, you'll need a book, a set of books written by Ancient Books Publishing House (I can't remember the specifics, it should be this one) Publishing House) there is a book "Zhiguanzhi" which is very detailed, you can read it, and you can borrow it from the history books area of ??larger libraries. In fact, if you only talk about ranks, there are actually 18 levels, that is, from the first rank to the ninth rank. There may be slight changes in each dynasty, but there are too many official positions. The position of "prime minister" alone ranges from prime minister to ninth rank. Tongzhongshu's Pingzhangshi disappeared and went through constant changes. In the Han Dynasty, positions like "Shizhong" were just waiters who took care of the emperor's daily life. In the Wei and Jin Dynasties, they developed into senior advisors. In the Tang Dynasty, they became senior advisers. Prime Minister, the changes have been huge. So if it’s just such a general title, I’m afraid I can’t give you a detailed explanation.