You are given the student record of a school containing the student id, name and the age. Your task is to report the id, name and the age in alphabetical order based on the student name.
Input
You will be given a table Students
with 3 columns: id
, name
and age
. id
is the primary key of the table. Names will always start with an upppercase letter and there are no two students with the same name.
Output
Write a query to show all the students but the names should be in alphabetical order.