Quote:
where dsm_IsDeleted=0 order by des"
Your ORDER BY does not state the field which you want to use to order by. It should look something like this:-
SELECT * FROM DownloadScheduleMap WHERE dsm_IsDeleted = 0 ORDER BY yourOrderField DESC
Just replace
yourOrderField
above with the name of the field you would like to use to order by.
Hope this helps