I have a really long table and it does not fit the page. So, I want it to span on several pages. When I google about my issue, I came accross longtable. However, it seems like longtable do not support tabular format. Is there a way to resolve this issue?
\documentclass[jou,apacite]{apa6}
\usepackage{multirow}
\usepackage{array}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\usepackage{longtable}
\begin{document}
\begin{longtable*}[!t]
\renewcommand{\arraystretch}{1.3}
\caption{My data}
\centering
\begin{tabular}{|p{2.8cm}|p{0.6cm}|p{1.6cm}|p{2.2cm}|P{0.8cm}|p{2.6cm}|p{2.5cm}|}
\hline
\textbf{Name} & \textbf{Year} & \textbf{ID} & \textbf{Address} & \textbf{Salary} & \textbf{Skills} & \textbf{Qualifications} \\
\hline
Some text & some text & some text & 5 & some text & Som text
\hline
\end{tabular}
\label{table3}
\end{longtable*}
\end{document}
Please let me know if any further details are needed. :)
EDIT
I did not just post the question without looking at any materials or other questions. I also tried the solution in How to convert table to longtable being able to break across pages?. However, that did not work either. That is why I posted the question.

\begin{longtable}and you don't use a\begin{tabular}inside it. You'll find some examples of usinglongtablein its manual and lots more here in this site. – Phelype Oleinik Jan 13 '19 at 00:21texdoc longtableand the manual has many examples or look at the [tag:longtable] tag on this site for thousands more examples. – David Carlisle Jan 13 '19 at 00:24longtable*environment. – Mico Jan 13 '19 at 02:24