149975
AssignmentMultiple Choice

Querying a Database

Question 149975 • TX-Business Information Management (BIM) I

When multiple columns in a query are sorted simultaneously, which one will be the primary sort?

Answer
A
the middle column
B
the leftmost column
C
the rightmost column
D
the primary key column

Explanation

When a query sorts by multiple columns, the first column named in the sort order is the primary sort. In a typical left-to-right list of columns, that is the leftmost column; the later columns are used to sort rows that tie on earlier columns. So the correct choice is the leftmost column.

AI-written and checked against the verified answer.

Previous
Next