The Report

  • + 1 comment

    priyanshu281, if it is having trouble with NULL and order, try converting the null into a 0.

    The orderby line becomes:

    order by G.Grade DESC, ISNULL(name, 0), Marks