title: How do I get upcoming appointments in C# from a table in MySql?
body: <p>I need a way to populate a reminder in my winforms application of appointments that are coming up within the next 15 minutes of a user logging in.  Every SQL query I've tried doesn't give me what I need.  I am a noob, so please don't be too harsh.  I don't have a table that gives me login times, only the appointment table with start date.</p>
  <blockquote>
  <p>SELECT DISTINCT start FROM appointment  WHERE start &lt; NOW() - INTERVAL
  15 MINUTE  AND NOT EXISTS (SELECT * FROM appointment      WHERE start
  = NOW() - INTERVAL 15 MINUTE )</p>
  </blockquote>