Vote count:
0
I am trying to select 3 rows with 3 highest values in laravel. How can I do this?
$data = DB::table('election')->select('election_id')->take(3)->max('votes');
This is not working
asked 1 min ago
How to select row with the highest values in Laravel
Aucun commentaire:
Enregistrer un commentaire