Fall in Laravel -Abfrage

DB::table('ref')->select(['id','name',DB::raw('(case when (id > 17) then "yes" else "no" end) as present')])->get();
Puzzled Platypus