title: SQL Show Only the Most Recent DateTime Values
body: <p>My sql string is off just a little bit and I need help to get it exactly right. I have tried a number of strings with no luck. <a href="https://stackoverflow.com/questions/16550703/sql-get-the-last-date-time-record" title="Stackoverflow thread.">I've tried most of the examples in this thread, with no luck.</a> Concerning the sql, here is a screenshot of what it looks like with just the results:</p>
  
  <p><img src="https://i.stack.imgur.com/m83pQ.png" alt="enter image description here"></p>
  
  <p>I want it to only display the value for the most recent DateTime for PRecipeRunning and ERecipeRunning. </p>
  
  <p><a href="http://sqlfiddle.com/#!6/d6332/1/0" rel="nofollow noreferrer">I have setup a SQLFiddle here, with the schema and the grab everything code.</a></p>
  
  <p>[Edit, split my two parter into two separate questions. Here is the sql question and I will do another for the visual studio part of it.]</p>