-- Database schema
| bool : name [ TEXT ] primary_key | person : name [ TEXT ] primary_key | disabled : name [ TEXT ] primary_key disabled.name = person.name | enlist : name [ TEXT ] enlist.name = person.name , organ [ TEXT ] | filed_for_bankrupcy : name [ TEXT ] primary_key filed_for_bankrupcy.name = person.name | longest_absense_from_school : name [ TEXT ] primary_key longest_absense_from_school.name = person.name , month [ INTEGER ] | male : name [ TEXT ] primary_key male.name = person.name | no_payment_due : name [ TEXT ] primary_key no_payment_due.name = person.name , bool [ TEXT ] no_payment_due.bool = bool.name | unemployed : name [ TEXT ] primary_key unemployed.name = person.name | enrolled : name [ TEXT ] enrolled.name = person.name , school [ TEXT ] , month [ INTEGER ] |
-- -- What percentage of students who enlisted in the navy make up the number of students enrolled in OCC?

SELECT CAST(SUM(IIF(T1.school = 'occ', 1.0, 0)) AS REAL) * 100 / COUNT(T1.name) FROM enrolled AS T1 INNER JOIN enlist AS T2 ON T1.`name` = T2.`name` WHERE T2.organ = 'navy';