וְכֹ֗ל דְּבַר֙ חָכְמַ֣ת בִּינָ֔ה אֲשֶׁר־בִּקֵּ֥שׁ מֵהֶ֖ם הַמֶּ֑לֶךְ וַֽיִּמְצָאֵ֞ם עֶ֣שֶׂר יָד֗וֹת עַ֤ל כָּל־הַֽחַרְטֻמִּים֙ הָֽאַשָּׁפִ֔ים אֲשֶׁ֖ר בְּכָל־מַלְכוּתֽוֹ׃
И во всех вопросах мудрости и понимания, которые царь запрашивал у них, он находил их в десять раз лучше, чем все маги и заклинатели, которые были во всем его царстве.
Rashi on Daniel
the necromancers These are the ones who inquire of טִימֵי מֵתִים, the bones of the dead, as you say, “May his bones be crushed,” שְּׁחִיק טַמַיָא.
Rashi on Daniel
the astrologers These are the ones who “press” the constellation. So it is explained in Tanhuma (Miketz 2, Buber, Miketz 4).