JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
If someone clears Day 7 honestly, they are SQL-ready for SDE-1 interviews.
“We have a simple e-commerce system. Users can place orders. Each order can have multiple items. Each item refers to a product.”
If OrderItem is missed → design is wrong
“What is the total revenue?”
“How much did each user spend?”
“Which users never placed any order?”
“Which products sold the most?”
“Find orders which have no items.”
“Now add a requirement: Find users who spent more than average user spend.”