I have the following LaTeX code for two tables:
\begin{table}[h]
\scriptsize
\centering
\begin{tabular}{c|c}
\textbf{Brand} & \textbf{Customer Engagement Average} \\ \hline
Apple & 1,937,852.45 \\
Huawei & 156,962.065 \\
Samsung & 174,166.98 \\
\end{tabular}
\caption{Average Brand Customer Engagement}
\label{brand_ce}
%\end{table}
%\begin{table}[h]
\scriptsize
\centering
\begin{tabular}{c|c}
\textbf{Brand} & \textbf{Customer Satisfaction Score Average} \ \hline
Apple & 3.37 \
Huawei & 4.049 \
Samsung & 3.76 \
\end{tabular}
\caption{Average Brand Customer Satisfaction Score}
\label{brand_sscore}
\end{table}
Those tables are on top of each other as the following figure:
I need to to put those tables side by side.



minipageinside thetableenvironment, like this:\begin{minipage}{0.45\linewidth}\centering\begin{tabular}...\end{tabular}\caption{...}\end{minipage}\hfill\begin{minipage}{0.45\linewidth}...\end{minipage}. You can play with the0.5\linewidthto get something more pleasing. – Skillmon Jul 29 '20 at 06:47