Which statement should you use?

In your student directory database, the Students table contains the following fields:
firstName
lastName
emailAddress
telephoneNumber
You need to retrieve the data from the firstName, lastName, and emailAddress fields for all
students listed in the directory. The results must be in alphabetical order according to
lastName and then firstName.
Which statement should you use?

In your student directory database, the Students table contains the following fields:
firstName
lastName
emailAddress
telephoneNumber
You need to retrieve the data from the firstName, lastName, and emailAddress fields for all
students listed in the directory. The results must be in alphabetical order according to
lastName and then firstName.
Which statement should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
to sort use: ORDER BY LastName, FirstName



Leave a Reply to DB7 Cancel reply1

Your email address will not be published. Required fields are marked *

eight − one =


DB7

DB7

D is correct columns, sorting and syntax