Pode deixar, já consegui.
div {
max-width: 40em;
max-height: 20em;
overflow: scroll;
position: relative;
}
table {
position: relative;
border-collapse: collapse;
}
td,
th {
padding: 0.25em;
}
thead th {
position: -webkit-sticky; /* for Safari */
position: sticky;
top: 0;
background: #000;
color: #FFF;
}
thead th:first-child {
left: 0;
z-index: 2;
}
thead th:nth-child(2) {
left: 0;
z-index: 2;
}
tbody td:nth-child(2){
position: -webkit-sticky; /* for Safari */
position: sticky;
left: 0;
background: #fff;
border-right: 1px solid #CCC;
z-index: 1;
}
td:nth-child(2){
color: DeepPink;
background: #FFF;
}
O código usado foi este. =)