select max value laravel query at join code example Example: laravel select max value Client::max('id')