Computer science · lesson 2 of 4
SELECT, filtering and sorting
A query clause that specifies values to return.
University8 practice questionsNotes + worked examples
Learn the ideas
Prerequisites: Basic computing and simple data tables.
SELECT
A query clause that specifies values to return.
WHERE
A clause that filters rows using a condition.
ORDER BY
A clause that defines the requested result ordering.
Aggregate
A calculation such as COUNT or SUM that summarizes multiple rows.
Worked examples
Which term best matches this description: A query clause that specifies values to return.
SELECT is the matching concept in this lesson.
SELECT
Which term best matches this description: A clause that filters rows using a condition.
WHERE is the matching concept in this lesson.
WHERE
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.