nerdexam
Zend

200-530 · Question #20

A table named employees is given below: Which of the following statements would return the employees names, in ascending order, based on their last name and first name? Each correct answer…

The correct answer is A. select fname, lname from employees order by lname; B. select fname, lname from employees order by lname asc. See the full explanation below for the reasoning.

Question

A table named employees is given below: Which of the following statements would return the employees names, in ascending order, based on their last name and first name? Each correct answer represents a complete solution. Zend 200-530 Exam Choose all that apply.

Exhibit

200-530 question #20 exhibit

Options

  • Aselect fname, lname from employees order by lname;
  • Bselect fname, lname from employees order by lname asc;
  • Cselect fname, lname from employees group by lname;
  • Dselect fname, lname from employees order by lname desc;

How the community answered

(40 responses)
  • A
    70% (28)
  • C
    10% (4)
  • D
    20% (8)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice