title: Execute multiple select queries in MySQL - SQLyog
body: <p>I am trying to execute two select queries like this in SQLyog</p>
  
  <pre><code>SELECT * FROM `admin`
  SELECT * FROM `student`
  </code></pre>
  
  <p>I got this error
  <a href="https://i.stack.imgur.com/vczAR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vczAR.png" alt="enter image description here"></a></p>
  
  <p>Then I tried adding semicolumn (;) at the end of first query</p>
  
  <pre><code>  SELECT * FROM `admin`;
    SELECT * FROM `student`
  </code></pre>
  
  <p>I am getting result of only second table </p>
  
  <p>Then I tried this </p>
  
  <pre><code>  SELECT * FROM `admin`;
    SELECT * FROM `student`;
  </code></pre>
  
  <p>I got this error
  <a href="https://i.stack.imgur.com/wxyNN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wxyNN.png" alt="enter image description here"></a></p>
  
  <p>Where m i missing?</p>