I used table.generator website to generate my latex table but it always shows me this error: extra alignment tab has been changed to cr
% Please add the following required packages to your document preamble:
% \usepackage{multirow}
\begin{table}[]
\begin{tabular}{|l|l|l|}
\hline
\textbf{Log} &
\textbf{Structure} &
\textbf{Collector}
\\ \hline
\begin{tabular}[c]{@{}l@{}}User Control \\ Log\end{tabular} &
\begin{tabular}[c]{@{}l@{}}Command ID, Controlled Device, \\ Control
Action,
Timestamp\end{tabular} & \begin{tabular}[c]{@{}l@{}}Control Log \\
Collector\end{tabular} \\ \hline
\begin{tabular}[c]{@{}l@{}}User Activity \\ Log\end{tabular} & Activity,
Start Time, End Time
& \multirow{2}{*}{\begin{tabular}[c]{@{}l@{}}Sensory Logs \\
Collector\end{tabular}} \\ \cline{1-2}
\begin{tabular}[c]{@{}l@{}}SHS States \\ Log\end{tabular} &
\begin{tabular}[c]{@{}l@{}}Timestamp, State of Devicei, …, \\ State of
Devicen\end{tabular} &
\\ \hline
\end{tabular}
\end{table}
The table that supposed to be displayed
Where is the problem in my script, please?
PS: I included the package as demanded by the generator
&
, so:\textbf{Log} & \textbf{Structure} & \textbf{Collector}