答案1
给你。这个一定有用。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\begin{document}
\begin{table}[h!]
\centering
\caption{Your Caption}
\label{yourtable}
\begin{tabular}{|c|cc|cc|}
\hline
\multirow{2}{*}{S.No.} & \multicolumn{2}{c|}{Rate (2001)} & \multicolumn{2}{c|}{Rate (2010)} \\
& Jan & Feb & Jan & Feb \\ \hline
01 & 10 & 11 & 20 & 22 \\ \hline
02 & 10 & 12 & 20 & 25 \\ \hline
\end{tabular}
\end{table}
\end{document}
答案2
也许你喜欢下面的“更专业的外观”的表格:-)
\documentclass{article}
\usepackage{array, booktabs, multirow}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\begin{document}
\begin{table}
\centering
\caption{Your Caption}
\label{yourtable}
\begin{tabular}{ l C{9mm}C{9mm} C{9mm}C{9mm} }
\toprule
\multirow{2}{*}{S.No.}
& \multicolumn{2}{c}{Rate (2001)}
& \multicolumn{2}{c}{Rate (2010)} \\
\cmidrule(lr){2-3}\cmidrule(lr){4-5}
& Jan & Feb & Jan & Feb \\
\midrule
01 & 10 & 11 & 20 & 22 \\
02 & 10 & 12 & 20 & 25 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
答案3
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\begin{document}
\begin{table}[h]
\centering
\caption{your caption}
\label{your-lable}
\begin{tabular}{|l|c|c|c|c|}
\hline
& \multicolumn{2}{c|} {Rate (2001)} & \multicolumn{2}{c|}{Rate (2010)} \\
\multirow{-2}{*}{S. No.} & Jan & Feb & Jan & Feb \\ \hline
\multicolumn{1}{|c|}{01} & 10 & 11 & 20 & 22 \\
\multicolumn{1}{|c|}{02} & 10 & 12 & 20 & 25 \\ \hline
\end{tabular}
\end{table}
\end{document}