Sociology of inequality in educational and labor relations