Higher Than 75 Marks

  • + 0 comments
    /*
    Enter your query here.
    Please append a semicolon ";" at the end of the query and enter your query in a single line to avoid error.
    
    simply take the STUDENTS table check for Marks > 75 in WHERE clause
    then sort by order of last 3 chars and then id
    */
    
    select Name 
    from STUDENTS 
    where Marks > 75
    order by right(Name,3), ID;