Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Sorting after Filtering Data | Sorting Data
Introduction to SQL
course content

Course Content

Introduction to SQL

Introduction to SQL

1. Getting Started
3. Sorting Data
4. Populating a Database
5. Updating & Deleting Data

book
Sorting after Filtering Data

Summary:

  • The ORDER BY clause can be placed after the WHERE clause to sort the data after conditionally filtering it;
  • Example: SELECT * FROM students WHERE age > 20 ORDER BY name;.
Which of the following query is valid?

Which of the following query is valid?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 5
We're sorry to hear that something went wrong. What happened?
some-alt