You are viewing a single comment's thread. Return to all comments →
This is my MySQL Query:-
WHERE months < 10
AND salary > 2000;
shall we need to add command "ORDER BY employee_id" here.
by default table itself, data is displayed in order of Employee ID.
Not only that, it does't mention in question also.
yes your query does pass the testcase
The question states to " Sort your result by ascending employee_id".
We need to add "Order By employee_id" because it is specified that we need ascending order.