Codington
0 of 8 problems solved • 0%

Exercise prompt

Name Each Deployment

INNER JOIN brings together rows for which the ON condition is true. Write the table name before a column when both tables use the same column name, as they do with id.

Example

SELECT deployments.id, services.team FROM deployments INNER JOIN services ON deployments.service_id = services.id;

Your task

Use INNER JOIN to show the deployment id followed by the service name for every run with a matching service. Compare the result with run 206, whose service ID is NULL.

Opening the database…