How to print part of html table?

I have a table where 7 columns, there is a button to print this table. How do I hide columns when printing I do not want to print?
June 14th 19 at 18:03
1 answer
June 14th 19 at 18:05
@media print {

Oops. Did not understand correctly)))

Find more questions by tags HTML