Problem Description

Create sp_mark_low_stock(p_limit) that sets Products.low_stock=1 when qty_on_hand < p_limit.

Input Format

SQL procedure

Output Format

Procedure created

Sample Test Case

Input:
Products(qty_on_hand, low_stock)
Output:
Procedure created

Constraints

No cursor needed; set-based is fine

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next