Sex;Country of birth;Level of education;Periodo;Total Both sexes;Total;Total;2021;299.179 Both sexes;Total;Total;2020;192.506 Both sexes;Total;Total;2019;231.616 Both sexes;Total;Primary education or lower;2021;110.073 Both sexes;Total;Primary education or lower;2020;60.833 Both sexes;Total;Primary education or lower;2019;68.838 Both sexes;Total;First stage of secondary education and the like;2021;42.195 Both sexes;Total;First stage of secondary education and the like;2020;32.972 Both sexes;Total;First stage of secondary education and the like;2019;40.401 Both sexes;Total;Second stage of secondary education and non-upper post-secondary education.;2021;55.867 Both sexes;Total;Second stage of secondary education and non-upper post-secondary education.;2020;36.574 Both sexes;Total;Second stage of secondary education and non-upper post-secondary education.;2019;43.361 Both sexes;Total;Higher education;2021;88.338 Both sexes;Total;Higher education;2020;61.470 Both sexes;Total;Higher education;2019;78.101 Both sexes;Total;No consta;2021;2.706 Both sexes;Total;No consta;2020;657 Both sexes;Total;No consta;2019;915 Both sexes;Spain;Total;2021;32.556 Both sexes;Spain;Total;2020;28.384 Both sexes;Spain;Total;2019;34.963 Both sexes;Spain;Primary education or lower;2021;2.553 Both sexes;Spain;Primary education or lower;2020;1.899 Both sexes;Spain;Primary education or lower;2019;2.345 Both sexes;Spain;First stage of secondary education and the like;2021;4.791 Both sexes;Spain;First stage of secondary education and the like;2020;3.945 Both sexes;Spain;First stage of secondary education and the like;2019;4.559 Both sexes;Spain;Second stage of secondary education and non-upper post-secondary education.;2021;5.344 Both sexes;Spain;Second stage of secondary education and non-upper post-secondary education.;2020;4.385 Both sexes;Spain;Second stage of secondary education and non-upper post-secondary education.;2019;5.000 Both sexes;Spain;Higher education;2021;19.605 Both sexes;Spain;Higher education;2020;18.041 Both sexes;Spain;Higher education;2019;22.922 Both sexes;Spain;No consta;2021;263 Both sexes;Spain;No consta;2020;114 Both sexes;Spain;No consta;2019;137 Both sexes;Abroad;Total;2021;266.623 Both sexes;Abroad;Total;2020;164.122 Both sexes;Abroad;Total;2019;196.653 Both sexes;Abroad;Primary education or lower;2021;107.520 Both sexes;Abroad;Primary education or lower;2020;58.934 Both sexes;Abroad;Primary education or lower;2019;66.493 Both sexes;Abroad;First stage of secondary education and the like;2021;37.404 Both sexes;Abroad;First stage of secondary education and the like;2020;29.027 Both sexes;Abroad;First stage of secondary education and the like;2019;35.842 Both sexes;Abroad;Second stage of secondary education and non-upper post-secondary education.;2021;50.523 Both sexes;Abroad;Second stage of secondary education and non-upper post-secondary education.;2020;32.189 Both sexes;Abroad;Second stage of secondary education and non-upper post-secondary education.;2019;38.361 Both sexes;Abroad;Higher education;2021;68.733 Both sexes;Abroad;Higher education;2020;43.429 Both sexes;Abroad;Higher education;2019;55.179 Both sexes;Abroad;No consta;2021;2.443 Both sexes;Abroad;No consta;2020;543 Both sexes;Abroad;No consta;2019;778 Males;Total;Total;2021;163.028 Males;Total;Total;2020;104.361 Males;Total;Total;2019;125.935 Males;Total;Primary education or lower;2021;60.078 Males;Total;Primary education or lower;2020;32.771 Males;Total;Primary education or lower;2019;36.799 Males;Total;First stage of secondary education and the like;2021;27.730 Males;Total;First stage of secondary education and the like;2020;21.140 Males;Total;First stage of secondary education and the like;2019;26.287 Males;Total;Second stage of secondary education and non-upper post-secondary education.;2021;30.392 Males;Total;Second stage of secondary education and non-upper post-secondary education.;2020;19.835 Males;Total;Second stage of secondary education and non-upper post-secondary education.;2019;23.709 Males;Total;Higher education;2021;43.262 Males;Total;Higher education;2020;30.175 Males;Total;Higher education;2019;38.523 Males;Total;No consta;2021;1.566 Males;Total;No consta;2020;440 Males;Total;No consta;2019;617 Males;Spain;Total;2021;17.867 Males;Spain;Total;2020;15.495 Males;Spain;Total;2019;19.012 Males;Spain;Primary education or lower;2021;1.236 Males;Spain;Primary education or lower;2020;970 Males;Spain;Primary education or lower;2019;1.227 Males;Spain;First stage of secondary education and the like;2021;3.271 Males;Spain;First stage of secondary education and the like;2020;2.653 Males;Spain;First stage of secondary education and the like;2019;3.128 Males;Spain;Second stage of secondary education and non-upper post-secondary education.;2021;3.145 Males;Spain;Second stage of secondary education and non-upper post-secondary education.;2020;2.634 Males;Spain;Second stage of secondary education and non-upper post-secondary education.;2019;2.916 Males;Spain;Higher education;2021;10.066 Males;Spain;Higher education;2020;9.174 Males;Spain;Higher education;2019;11.663 Males;Spain;No consta;2021;149 Males;Spain;No consta;2020;64 Males;Spain;No consta;2019;78 Males;Abroad;Total;2021;145.161 Males;Abroad;Total;2020;88.866 Males;Abroad;Total;2019;106.923 Males;Abroad;Primary education or lower;2021;58.842 Males;Abroad;Primary education or lower;2020;31.801 Males;Abroad;Primary education or lower;2019;35.572 Males;Abroad;First stage of secondary education and the like;2021;24.459 Males;Abroad;First stage of secondary education and the like;2020;18.487 Males;Abroad;First stage of secondary education and the like;2019;23.159 Males;Abroad;Second stage of secondary education and non-upper post-secondary education.;2021;27.247 Males;Abroad;Second stage of secondary education and non-upper post-secondary education.;2020;17.201 Males;Abroad;Second stage of secondary education and non-upper post-secondary education.;2019;20.793 Males;Abroad;Higher education;2021;33.196 Males;Abroad;Higher education;2020;21.001 Males;Abroad;Higher education;2019;26.860 Males;Abroad;No consta;2021;1.417 Males;Abroad;No consta;2020;376 Males;Abroad;No consta;2019;539 Females;Total;Total;2021;136.151 Females;Total;Total;2020;88.145 Females;Total;Total;2019;105.681 Females;Total;Primary education or lower;2021;49.995 Females;Total;Primary education or lower;2020;28.062 Females;Total;Primary education or lower;2019;32.039 Females;Total;First stage of secondary education and the like;2021;14.465 Females;Total;First stage of secondary education and the like;2020;11.832 Females;Total;First stage of secondary education and the like;2019;14.114 Females;Total;Second stage of secondary education and non-upper post-secondary education.;2021;25.475 Females;Total;Second stage of secondary education and non-upper post-secondary education.;2020;16.739 Females;Total;Second stage of secondary education and non-upper post-secondary education.;2019;19.652 Females;Total;Higher education;2021;45.076 Females;Total;Higher education;2020;31.295 Females;Total;Higher education;2019;39.578 Females;Total;No consta;2021;1.140 Females;Total;No consta;2020;217 Females;Total;No consta;2019;298 Females;Spain;Total;2021;14.689 Females;Spain;Total;2020;12.889 Females;Spain;Total;2019;15.951 Females;Spain;Primary education or lower;2021;1.317 Females;Spain;Primary education or lower;2020;929 Females;Spain;Primary education or lower;2019;1.118 Females;Spain;First stage of secondary education and the like;2021;1.520 Females;Spain;First stage of secondary education and the like;2020;1.292 Females;Spain;First stage of secondary education and the like;2019;1.431 Females;Spain;Second stage of secondary education and non-upper post-secondary education.;2021;2.199 Females;Spain;Second stage of secondary education and non-upper post-secondary education.;2020;1.751 Females;Spain;Second stage of secondary education and non-upper post-secondary education.;2019;2.084 Females;Spain;Higher education;2021;9.539 Females;Spain;Higher education;2020;8.867 Females;Spain;Higher education;2019;11.259 Females;Spain;No consta;2021;114 Females;Spain;No consta;2020;50 Females;Spain;No consta;2019;59 Females;Abroad;Total;2021;121.462 Females;Abroad;Total;2020;75.256 Females;Abroad;Total;2019;89.730 Females;Abroad;Primary education or lower;2021;48.678 Females;Abroad;Primary education or lower;2020;27.133 Females;Abroad;Primary education or lower;2019;30.921 Females;Abroad;First stage of secondary education and the like;2021;12.945 Females;Abroad;First stage of secondary education and the like;2020;10.540 Females;Abroad;First stage of secondary education and the like;2019;12.683 Females;Abroad;Second stage of secondary education and non-upper post-secondary education.;2021;23.276 Females;Abroad;Second stage of secondary education and non-upper post-secondary education.;2020;14.988 Females;Abroad;Second stage of secondary education and non-upper post-secondary education.;2019;17.568 Females;Abroad;Higher education;2021;35.537 Females;Abroad;Higher education;2020;22.428 Females;Abroad;Higher education;2019;28.319 Females;Abroad;No consta;2021;1.026 Females;Abroad;No consta;2020;167 Females;Abroad;No consta;2019;239