Js array random sampling display, how to control the probability of the display of specified elements

the company makes a lucky draw page, in which all people draw lottery in a group, but some colleagues take children, so that the probability of drawing children is higher than that of colleagues. Is it 90% for each child, or 90% for all children? 10% for other colleagues. Could you tell me how to write this random, which has a high probability of winning the lottery

May.23,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c60d-2b670.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c60d-2b670.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?