Update an order's status to Closed only if all its lines are Closed.
Unlock detailed company stats for this questionUpgrade
Two tables, Order and Lines. One order can have multiple lines, and both tables have a Status column. Update the Order status to Closed only if all of its order lines are Closed, efficiently. Write a SQL query or code.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
