Skip to content
Advertisement

left join and return only the latest record from right table using LARAVEL 6.5.0

I want to return only the latest and only one record per nameID from right table I dont know what code to use

This is the Result I want to return

Controller.php

Advertisement

Answer

try this

Edited :

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement