CSS para excluir la tabla de la última fila

tr:nth-first-child {/*the first item*/
  border-bottom: 2px solid black
}
tr:nth-last-child(2) { /*the second-last item*/
  border-bottom: 2px solid black
}
tr:not(:last-child){/* all but not the last */
  border-left: 2px solid black;
  border-right: 2px solid black
}
Naughty Newt