\documentclass{article}
\usepackage{booktabs}

\begin{document}

\begin{table}
  \centering
  \begin{tabular}{cr}
    \toprule
    1234 \\
    \midrule
    2345 \\
    \bottomrule
  \end{tabular}
\end{table}

\end{document}
