I have a sales table and would like to select customer sales, but if the customer made more than one sale per month, I would like it to bring the older one just, how could I do that?
I do not have SQL code to provide because I do not know where to start, but I have the table in question:
HowIwishitwerereturn:
Noticethatline2disappeared,ascustomer"John" made 2 purchases in January and brought only his oldest purchase.
I'm just studying, these tables are only fictitious.