Unable to get the proper result
<p>Here is my function..</p>

<pre><code>public Cursor fetchAllAlarmGreaterByDate(long appDate, int appTime) {

    return mDb.query(ALARM_TABLE, null, ALARM_DATE + "&gt;" + appDate
            + " and " + ALARM_TIME + "&gt;" + appTime, null, null, null,
            ALARM_DATE + " ASC" + " and " + ALARM_TIME + " ASC");

}
</code></pre>

<p>I am unable to get result in asc on both column ALARM_DATE AND ALARM_TIME (it gives syntax error).</p>

<p>If I use only ALARM_DATE + " ASC" then it doesn't give any error but the problem is that it also doesn't give any result.</p>

<p>How to make it work properly?</p>
