Select the first two items in each month for each person – Phpmyadmin
I want to get the first two items of each month for each person. The idea is if the item have the same date, it should return the largest amount instead. I am having trouble writing a simple logical condition…