2230. The Users That Are Eligible for Discount ¶ SQL 1 2 3 4 5 6 7 8 9CREATE PROCEDURE getUserIDs(startDate DATE, endDate DATE, minAmount INT) BEGIN SELECT DISTINCT user_id FROM Purchases WHERE time_stamp BETWEEN startDate AND endDate AND amount >= minAmount ORDER BY 1; END