1. How can i convert this sql query in a eloquent laravel command

    How can i convert this sql query in a eloquent laravel command