typofix
This commit is contained in:
parent
cabf4a48d3
commit
556371c11d
@ -64,7 +64,7 @@ class TabulateWinners extends Command
|
|||||||
{
|
{
|
||||||
$peoplesChoiceWinnerQuery = DB::table('peoples_choice')
|
$peoplesChoiceWinnerQuery = DB::table('peoples_choice')
|
||||||
->groupBy('peoples_choice.vehicle')
|
->groupBy('peoples_choice.vehicle')
|
||||||
->selectRaw('*, sum(pc_count as totalscore')
|
->selectRaw('*, sum(pc_count) as totalscore')
|
||||||
->whereNotIn('vehicle', function($query){
|
->whereNotIn('vehicle', function($query){
|
||||||
$query->select('vehicle')->from('car_show_winners');
|
$query->select('vehicle')->from('car_show_winners');
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user