What is the default sorting order when using ORDER BY without specifying ASC or DESC? MCQ with Answer and Explanation

What is the default sorting order when using ORDER BY without specifying ASC or DESC?
A. Descending
B. No order
C. Random
D. Ascending
Answer: Option D
Solution (By JKExamLibrary)
ORDER BY defaults to ascending (ASC) order.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
What is normalization in database design?
A. The process of organizing data to reduce redundancy and improve integrity
B. The process of encrypting data
C. The process of indexing tables
D. The process of increasing data duplication

Correct Answer: Option A


Explanation:
Normalization is the process of structuring a relational database to reduce data redundancy and dependency, typically by dividing large tables into smaller, related tables.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
Which of the following is a valid SQL statement to update a record?
A. UPDATE table_name SET column1 = value1 WHERE condition;
B. UPDATE table_name column1 = value1 WHERE condition;
C. MODIFY table_name SET column1 = value1 WHERE condition;
D. CHANGE table_name SET column1 = value1 WHERE condition;

Correct Answer: Option A


Explanation:
The correct syntax for UPDATE is: UPDATE table_name SET column1 = value1 WHERE condition;

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
Which operator is used to combine the distinct result sets of two or more SELECT queries into a single output, automatically filtering out duplicate rows?
A. INTERSECT
B. UNION ALL
C. EXCEPT
D. UNION

Correct Answer: Option D


Explanation:
The UNION operator merges the result sets of two queries, removing any duplicate records. UNION ALL performs a similar merge but retains duplicates.

This question belongs to: Computer Database Management System (DBMS)