Hi I have table 'cashdatas' with Model 'Cashdata' with column id,user_id,cashpayment,date
in specific day A user can pay cash many times. and cash payment is the total cash pay in a specific date.
I have script so it will calculate total cashpayment in the specific date and create new entry with total cash pay (cashpayment will increase in every entry).
Now I want to make a query which will get Last 10 Highest cashpayment userlist in a specific date. What will be the eloquent.
Is it possible ???