Skip to content
Aabha AI Academy
Skip to reading

SQL

05A

Compare these references after your own attempt. You can read them at any time; they do not record a live model or vendor run.

-- 05a: Count all order statuses
SELECT status,COUNT(*) AS orders FROM aabha_sql.orders GROUP BY status ORDER BY status;

Download this source file