startDate, endDate, and minAmount parameters.user_ids from the Purchases table.time_stamp is greater than or equal to startDate and less than or equal to endDate.amount is greater than or equal to minAmount.user_id to get the list of eligible users in ascending order.
erDiagram
Purchases {
int user_id
datetime time_stamp
int amount
user_id time_stamp PK
}