Table:
text: Education in Switzerland
Cantonal school systems
Cantonal school systems
Canton Years_of_Kindergarten Years_of_Kindergarten_provided Years_of_Kindergarten_legally_required Length_of_Primary_School Length_of_mandatory_Secondary_School Separate_Secondary_Schools Cooperative_Secondary_Schools Integrated_Secondary_Schools
Zurich 2 2 2 6 3 Yes No No
Bern 1 1 0 6 3 Yes Yes Yes
Lucerne 1 1 1 6 3 Yes Yes Yes
Uri 1 1 0 6 3 No No Yes
Schwyz 1 1 1 6 3 No No Yes
Obwalden 1 1 1 6 3 No No Yes
Nidwalden 2 2 1 6 3 No No Yes
Glarus 2 2 1 6 3 Yes Yes Yes
Zug 2 1 1 6 3 No No Yes
Fribourg 2 1 or 2 0 or 2 6 3 Yes No Yes

text: Education in Switzerland
Cantonal school systems
Cantonal school systems
Canton Years_of_Kindergarten Years_of_Kindergarten_provided Years_of_Kindergarten_legally_required Length_of_Primary_School Length_of_mandatory_Secondary_School Separate_Secondary_Schools Cooperative_Secondary_Schools Integrated_Secondary_Schools
Solothurn 2 2 0 6 3 Yes Yes Yes
Basel-Stadt 2 2 2 4 5 Yes No No
Basel-Landschaft 2 2 1 5 4 Yes No No
Schaffhausen 2 2 1 6 3 No No Yes
Appenzell Ausserrhoden 2 2 1 6 3 Yes Yes Yes
Appenzell Innerrhoden 2 2 1 6 3 Yes Yes Yes
St. Gallen 2 2 2 6 3 No No Yes
Graubünden 1 1 0 6 3 Yes No No
Aargau 1 1 0 5 4 Yes No No
Thurgau 2 2 2 6 3 Yes No No
Ticino 3 3 0 5 4 Yes No No

text: Education in Switzerland
Cantonal school systems
Cantonal school systems
Canton Years_of_Kindergarten Years_of_Kindergarten_provided Years_of_Kindergarten_legally_required Length_of_Primary_School Length_of_mandatory_Secondary_School Separate_Secondary_Schools Cooperative_Secondary_Schools Integrated_Secondary_Schools
Vaud 2 2 0 4 5 Yes No No
Valais 1 0 0 6 3 Yes No No
Neuchâtel 2 2 0 5 4 Yes No No
Geneva 2 2 0 6 3 Yes No No

Question: How long does compulsory secondary education last in Switzerland?