How to add an option within an opt group that pulls the data directly from the database in select

I would like to know how to add an option within an opt group in a select, but that data is pulled directly from the database and categorized as well as in the image

Community Page
Last updated: