Sort and Filter Data in SQL using MySQL Workbench

Offered By
Coursera Project Network
In this Guided Project, you will:

Write SQL retrieval queries using MySQL Workbench.

Apply filtering in an SQL query to limit the rows displayed in the results.

Sort the rows of data retrieved by an SQL query.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this project you will use MySQL Workbench to write SQL queries that retrieve, sort, and filter data from tables in a relational database. Adding filtering to a query ensures that only the data needed is displayed in the query result. Sorting is applied to arrange the rows in that query result into an order that is meaningful to the data’s user. Adding code to an SQL query to filter and sort data generates a query result that makes data analysis easier for users, enabling more effective decision-making. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Mysql WorkbenchQuerySortFilterSQL

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Open and execute an SQL script that contains a query with a WHERE clause that filters and an ORDER BY clause that sorts.

  2. Experiment with sorting by multiple columns and comparing ascending and descending sorts.

  3. Use the SQL WHERE clause to specify which rows to display as a result of an SQL retrieval query.

  4. Code a WHERE clause with one condition that tests for multiple values using the IN operator.

  5. Combine multiple conditions in a combination WHERE clause in an SQL query to limit the rows retrieved and displayed.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.