Similar to @Mico answer (+1), but columns are locked in "jail" of vertical lines and for horizontal lines are used Xhline defined in the makecell package:
\documentclass{article}
\usepackage{siunitx}
\usepackage{makecell, multirow}
\NewExpandableDocumentCommand\mcc{O{1}m}%
{\multicolumn{#1}{c|}{#2}}
\begin{document}
\begin{table}[ht]
\sisetup{table-format=2.1,
output-decimal-marker={,}
}
\renewcommand{\arraystretch}{1.3}
\centering
\caption{Add caption}
\label{tab:tabela3}%
\begin{tabular}{|c |*{2}{S[table-format=1.1]|}
*{3}{S|} }
\Xhline{1pt}
\multirow{2}{*}{\makecell{nr.\\ fragmentu}}
& \multicolumn{3}{c|}{wymiary [cm]}
& \multicolumn{2}{c|}{\makecell{wymiary\\ fragmentu}} \\
\cline{2-6}
& \mcc{dł.} & \mcc{szer.} & \mcc{powierzchnia} & \mcc{dł.} & \mcc{szer.} \\
\Xhline{0.6pt}
1 & 6,8 & 4,9 & 33,6 & 7,0 & 11,8 \\
2 & 4,8 & 3,4 & 16,1 & 10,0 & 4,5 \\
3 & 3,4 & 2,4 & 7,9 & 6,5 & 3,5 \\
4 & 7,8 & 5,5 & 43,3 & 12,5 & 10,1 \\
5 & 4,8 & 3,4 & 16,4 & 9,7 & 4,9 \\
6 & 3,6 & 2,5 & 9,1 & 5,5 & 4,8 \\
7 & 3,3 & 2,3 & 7,8 & 6,7 & 3,3 \\
8 & 6,2 & 4,4 & 27,2 & 12,5 & 6,2 \\
\Xhline{1pt}
\end{tabular}%
\end{table}
\end{document}

Edit: As suggested @Mico in his comment, decimal dots are now replaced with decimal comma.
Addendum
Your table without vertical lines but with use of the tabularray package and X column type. For fun and exercise, but you may liked:
\documentclass{article}
\usepackage{tabularray}
\UseTblrLibrary{booktabs,siunitx}
\begin{document}
\begin{table}[ht]
\sisetup{table-format=2.2,
output-decimal-marker={,},
}
\caption{Add caption}
\label{tab:tabela3}%
\begin{tblr}{width=3\linewidth/4,
colspec = {c {2}{X[c, si={table-format=1.1}]}
{3}{X[c, si]}
},
rowsep=1pt,
}
\toprule
\SetCell[r=2]{c} {nr.\ fragmentu}
& \SetCell[c=3]{c} {{{wymiary\ {[cm]} }}}
& & & \SetCell[c=2]{c} {{{wymiary\fragm}}}%{{{\ tu}}}
& \
\cmidrule[r=-0.5]{2-4}
\cmidrule[l=-0.5]{5-6}
& {{{dł.}}}
& {{{szer.}}}
& {{{powier.}}}
& {{{dł.}}}
& {{{szer.}}} \
\midrule
1 & 6,8 & 4,9 & 33,6 & 7,0 & 11,8 \
2 & 4,8 & 3,4 & 16,1 & 10,0 & 4,5 \
3 & 3,4 & 2,4 & 7,9 & 6,5 & 3,5 \
4 & 7,8 & 5,5 & 43,3 & 12,5 & 10,1 \
5 & 4,8 & 3,4 & 16,4 & 9,7 & 4,9 \
6 & 3,6 & 2,5 & 9,1 & 5,5 & 4,8 \
7 & 3,3 & 2,3 & 7,8 & 6,7 & 3,3 \
8 & 6,2 & 4,4 & 27,2 & 12,5 & 6,2 \
\bottomrule
\end{tblr}
\end{table}
\end{document}

booktabspackage. There is no in-between compromise. – Mico Nov 25 '21 at 06:10\cmidrule{2-6}with\cline{2-6}. – Mico Nov 25 '21 at 06:23