Codington
0 of 8 problems solved • 0%

Exercise prompt

Put the IDs in Order

Add ORDER BY after FROM to choose the order of the result. ASC means ascending. SQL uses it by default when you leave out the direction. Without ORDER BY, the order of the rows is unspecified.

Example

SELECT id FROM deployments ORDER BY id DESC;

Your task

Show id and service for every deployment, with the smallest ID first.

Opening the database…