Skip to content

Commit dec05e7

Browse files
authored
Update the-number-of-users-that-are-eligible-for-discount.sql
1 parent 7b61127 commit dec05e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQL/the-number-of-users-that-are-eligible-for-discount.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ BEGIN
66
RETURN (
77
SELECT COUNT(DISTINCT user_id) AS user_cnt
88
FROM Purchases
9-
WHERE time_stamp >= startDate AND time_stamp <= endDate AND amount >= minamount
9+
WHERE time_stamp >= startDate AND time_stamp <= endDate AND amount >= minAmount
1010
);
1111
END

0 commit comments

Comments
 (0)