title: Query Database from Azure Mobile Service then Send Notification Containing the Returned Value
body: <p>I have a Windows Phone 8.1 app that accesses an azure sql database through an azure mobile service. It all works nice and dandy, but I now have a new objective:</p>
  
  <p>Modify the scheduled job in my mobile service to query the database every time it is triggered. The goal is to have the job look at the current time, search a specific column in the table for a value that matches the current time, grab the name from the name column of that record, put it into a string, and then send a notification containing that string to the phone app.</p>
  
  <p>I have already implemented notifications in my mobile service. My main concern is how I am going to query the database from the scheduled job. I can't seem to find a solid example of how I can accomplish this. Can anyone explain to me what must be done with an example? If not, even some articles that will clear things up for me or topics that I should research that will send me in the right direction?</p>