Laravel : Syntax error or access violation: 1055 Error?
publicfunctionuploads($count){$items=\DB::table('article')->select('pcode.name',\DB::raw('count(*)asupload_count'))->leftJoin('pcode','article.organization_id','=','pcode.id')->where([['pcode.type','=