19.98 ORDER BY procent DESC LIMIT 1)"; } $data = DB::select($query); $count = DB::select("SELECT count(*) as count FROM all_view")[0]; #$data = DB::table('whisky_view')->orderBy('procent', 'DESC')->limit(100)->simplePaginate(20); return view('index', ['data' => $data, 'views' => $views, 'hits' => $count]); } }