Which clause specifies result ordering in an ordinary SQL query?
- ORDER BY
- SELECT alone always
- WHERE alone
- The table filename
Answer and explanation
ORDER BY
Without explicit ordering, result order should not be assumed.
Subjects
Choose questions individually, practise online, or create a worksheet with matching answers. Counts include generated variants, not only authored originals.
ORDER BY
Without explicit ordering, result order should not be assumed.
5
The filter retains exactly the five matching rows.
Uniquely identify rows under its constraint
Uniqueness and non-null key constraints identify records, not all semantic truth.
Each matching parent-child combination appears in the join result. A one-to-many relation naturally produces multiple rows.
Credit join cardinality.
Keep values separate from executable SQL syntax
Parameter binding reduces injection risk from data values.
6
3×2=6 combinations.
A relational table holds rows and columns with a defined schema. Keys identify rows or relationships, while constraints enforce some consistency rules.
UniversityA relational table holds rows and columns with a defined schema. Keys identify rows or relationships, while constraints enforce some consistency rules.
UniversityA concrete piece of data such as a number or string.
UniversityA concrete piece of data such as a number or string.
UniversityA relation represented as rows with named columns.
UniversityA relation represented as rows with named columns.
UniversityA query clause that specifies values to return.
UniversityA query clause that specifies values to return.
UniversityAn operation combining rows according to a relationship condition.
UniversityAn operation combining rows according to a relationship condition.
UniversityA group of database operations treated as one logical unit.
UniversityA group of database operations treated as one logical unit.
UniversityAn observation where a required measurement is absent.
UniversityAn observation where a required measurement is absent.
UniversityAn expression in a spreadsheet cell that calculates a result.
UniversityAn expression in a spreadsheet cell that calculates a result.
UniversityA function that adds numerical values in a range or list.
UniversityA function that adds numerical values in a range or list.
UniversityReordering rows according to selected values while preserving row relationships.
UniversityReordering rows according to selected values while preserving row relationships.
UniversityAssume no protocol overhead or contention. MB and Mbps use decimal prefixes, not binary mebibytes.
Grades 9–12Assume no protocol overhead or contention. MB and Mbps use decimal prefixes, not binary mebibytes.
Grades 9–12Learn core Python concepts with paper-based reasoning and small code-reading tasks.
Study HTML, CSS, JavaScript and accessible web structure without a paid bootcamp.
Learn tables, queries, joins and data modelling with original exercises.
Work through data cleaning, visualization, modelling and interpretation.
Study defensive security, privacy and risk management without offensive exploitation instructions.
Learn formulas, references, cleaning and charts for practical study and office work.