How Can I Convert this mySql raw query Into Laravel Eloquent?

Select MONTHNAME(Date) as date, SpecificMonthBal from bank_pl_ytds where date in ( select Max(Date) from bank_pl_ytds where date BETWEEN $FromDate and $ToDate and LineNo='9995' and BranchCode='$BranchCode' group by month(Date)) and date BETWEEN $FromDate and $ToDate and LineNo = '9995' and BranchCode = '$BranchCode'



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/32dB92P
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time