This commit is contained in:
Russ Long 2022-05-01 09:33:38 -04:00
parent cabf4a48d3
commit 556371c11d

View File

@ -64,7 +64,7 @@ class TabulateWinners extends Command
{
$peoplesChoiceWinnerQuery = DB::table('peoples_choice')
->groupBy('peoples_choice.vehicle')
->selectRaw('*, sum(pc_count as totalscore')
->selectRaw('*, sum(pc_count) as totalscore')
->whereNotIn('vehicle', function($query){
$query->select('vehicle')->from('car_show_winners');
})