Codington
0 of 8 problems solved • 0%

Exercise prompt

Count the Runs

Each row in deployments represents one run. COUNT(*) turns a set of rows into a single number. The example counts the services in the registry.

Example

SELECT COUNT(*) AS service_count FROM services;

Your task

Count all rows in deployments, including the run with no assigned service. Name the result run_count.

Opening the database…