Skip to content
Aabha AI Academy
Skip to reading

SQL

01A

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

-- 01a: Confirm orders are at order grain
SELECT COUNT(*) AS rows,COUNT(DISTINCT order_id) AS distinct_orders FROM aabha_sql.orders;

Download this source file