\documentclass{article}
\usepackage{longtable}

\begin{document}
\begin{longtable}{lllllll}
\caption{A longtable}\\
\end{longtable}
\end{document}
