I have table.
Table structure is
And now I run the query
SELECT * FROM `studentregistrations`
ORDER BY `studentregistrations`.`studentID` DESC, `studentregistrations`.`studentName`
And the result I am getting is
I want an explanation how it is working. Because I am confusing that it should give result like studentID
is in descending order and studentName
is in ascending order.
I checked below answer but not getting any proper explanations