Codington
0 of 8 problems solved • 0%

Exercise prompt

Remove a Retired Service

DELETE FROM removes whole rows. You can reuse the condition from a SELECT even if the preview only displays a few columns.

Example

SELECT id, status FROM deployments WHERE service = 'web'; DELETE FROM deployments WHERE service = 'web';

Your task

In this practice copy the worker service is being removed. Select id and status for its deployments. Inspect the IDs, then use DELETE FROM with the same service condition. Check which services remain.

Opening the database…