Routine~13min
The Negative Stock
Eight products show negative quantities in the warehouse system. The stock went below zero. Someone processed returns but the counts moved in the wrong direction.
Tables you'll query
productsstockstock_movements
What you'll learn
SELECT & FilteringCASE Statements