The rows of the result relation produced by a SELECT statement can be sorted, but only by one column.
A. True
B. False
Answer: Option B
Solution (By Examveda Team)
Option A: False - This option is incorrect. In SQL, the rows of the result relation produced by a SELECT statement can be sorted by multiple columns using the ORDER BY clause. The ORDER BY clause allows specifying one or more columns and their sort order (ascending or descending). This enables sorting based on multiple criteria, not just one column.Option B: True - This option is correct. The rows returned by a SELECT statement in SQL can indeed be sorted using the ORDER BY clause. While traditionally sorting is done by one column, SQL allows specifying multiple columns in the ORDER BY clause to achieve sorting based on more than one criterion.
Conclusion:
The statement "The rows of the result relation produced by a SELECT statement can be sorted, but only by one column" is Option B: False. SQL supports sorting of result rows using the ORDER BY clause, which can specify multiple columns for sorting. Therefore, the correct answer is False.
Related Questions on Introduction to SQL
You can add a row using SQL in a database with which of the following?
A. ADD
B. CREATE
C. INSERT
D. MAKE
The command to remove rows from a table 'CUSTOMER' is:
A. REMOVE FROM CUSTOMER ...
B. DROP FROM CUSTOMER ...
C. DELETE FROM CUSTOMER WHERE ...
D. UPDATE FROM CUSTOMER ...
A. limits the column data that are returned.
B. limits the row data are returned.
C. Both A and B are correct.
D. Neither A nor B are correct.
Which of the following is the original purpose of SQL?
A. To specify the syntax and semantics of SQL data definition language
B. To specify the syntax and semantics of SQL manipulation language
C. To define the data structures
D. All of the above

Join The Discussion