Complex sentence: This subject is not mandatory on a national scale, however, it is generally mandatory within schools.
Split into simpler sentences: This subject is not mandatory on a national scale. However, it is generally mandatory within schools.