title: I want to add two tables one after one in a section using latex. But, my second table is going to another section. What to do?
body: <p>In my 2nd section I want to add two table. One table is in the right position, but the second table went to the next section. it was supposed to be in the previous section. How can I bring the second table in the right section?</p>
  
  <p>Here is the code I used:</p>
  
  <pre><code>% table 3 begins
  \begin{table}[h]
      \centering
      \caption{}
      \label{my-label}
      \begin{tabular}{cccc}
          \hline
          \textbf{Properties} &amp; \textbf{Model 1} &amp; \textbf{Model 2} &amp; \textbf{Model 3} \\ \hline
          \begin{tabular}[c]{@{}c@{}}Training\\ Window width\end{tabular} &amp; 2 &amp; 2 &amp; 1 \\
          \begin{tabular}[c]{@{}c@{}}Training\\ window step\end{tabular} &amp; 1 &amp; 1 &amp; 1 \\
          \begin{tabular}[c]{@{}c@{}}Test\\ window width\end{tabular} &amp; 2 &amp; 2 &amp; 1 \\
          Horizon &amp; 5 &amp; 10 &amp; 15 \\
          \begin{tabular}[c]{@{}c@{}}Cumulative\\ training\end{tabular} &amp; No &amp; No &amp; No \\ \hline
      \end{tabular}
  \end{table}
  \\
  
  
  % table 4 begins
  \begin{table}[!t]
      \centering
      \caption{}
      \label{my-label}
      \begin{tabular}{ccccc}
          \hline
          \textbf{Date} &amp; \textbf{\begin{tabular}[c]{@{}c@{}}Actual Price\\ (USD)\end{tabular}} &amp; \multicolumn{3}{c}{\textbf{Predicted Price}} \\ \hline
          \textbf{} &amp; \textbf{} &amp; \textbf{Model 1} &amp; \textbf{Model 1} &amp; \textbf{Model 1} \\
          13-01-15 &amp; 89.30 &amp; 89.44 &amp; 87.90 &amp; 91.71 \\
          07-11-14 &amp; 78.76 &amp; 77.63 &amp; 77.72 &amp; 78.08 \\
          29-07-14 &amp; 75.44 &amp; 75.00 &amp; 76.43 &amp; 77.59 \\
          04-06-14 &amp; 77.12 &amp; 76.26 &amp; 76.96 &amp; 77.53 \\ \hline
      \end{tabular}
  \end{table}
  </code></pre>