title: how do i get the last inserted column in sqlyog database without using top or last function?
body: <p>I have a table named <code>tbltimpunch</code> that has the following columns:</p>
  
  <ul>
  <li>employeeID (not primary key/not auto inc)</li>
  <li>dateoftime (time of day)</li>
  <li>timein (the time input by the employee)</li>
  <li>timeout (the time of clockout)</li>
  </ul>
  
  <p>It can be created with the following mysql:</p>
  
  <pre><code>CREATE TABLE tbltimpunch(
      `employeeID` varchar(10),
      `dateoftime` datetime,
      `timein` time,
      `timeout` time
  );
  </code></pre>
  
  <p>How can I get the last <code>timein</code> or <code>timeout</code> input by the employee?</p>