An SQL result set is a set of rows from a database, as well as metadata about the query such as the column names, and the types and sizes of each column. Depending on the database system, the number of rows in the result set may or may not be known. Usually, this number is not known up front because the result set is built on-the-fly. Precomputations often impose undesired performance impacts.
A result set is effectively a table. The ORDER BY clause can be used in a query to impose a certain sort condition on the rows. Without that clause, there is no guarantee whatsoever on the order in which the rows are returned.
Famous quotes containing the words result and/or set:
“These are bad days for all of us who remember always that when real world forces come into conflict, the final result is never as dark as we mortals guess it in very difficult days.”
—Franklin D. Roosevelt (18821945)
“[My mother told me:] You must decide whether you want to get married someday, or have a career.... I set my sights on the career. I thought, what does any man really have to offer me?”
—Annie Elizabeth Delany (b. 1891)