Codington
0 of 8 problems solved • 0%

Exercise prompt

Watch Two Statuses

When several alternatives belong to the same column, IN lets you list them inside parentheses. A row matches any one of the listed values.

Example

SELECT id FROM deployments WHERE service IN ('api', 'web');

Your task

Use IN to show id and status for deployments that are running or have been rolled back. The log uses the values running and rolled_back.

Opening the database…