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:
“...many men choose a wife amid the deft-fingered clerks in preference to the society misses. The woman clerk has studied the value of concentration, learned the lesson that incites to work when a burden bears heavily upon her strength. She knows the word of self- reliance, and the fine courage that springs from the consciousness that a good result has been accomplished by a well-directed effort.”
—Clara (Marquise)
“I set out as a sort of self-dependent politician. My opinions were my own. I dashed at all prejudices. I scorned to follow anybody in matter of opinion.... All were, therefore, offended at my presumption, as they deemed it.”
—William Cobbett (17621835)