You're trying to enter a raw sql query into the select() method. The select method only accepts string parameter(s) with the columns you wish to retrieve.
Select documentation here: https://laravel.com/docs/5.7/queries#selects
If you want to use raw expressions you may find clarification here: https://laravel.com/docs/5.7/queries#raw-expressions
Raw queries however will expose you to sql injection and as such they must be used with care.