全文検索
edit
# SELECT sum(point) AS total_point FROM t1; $rs = $rs->search( {}, { select => [ { sum => 'point' } ], as => ['total_point'], } ); my $total_point = $rs->first ? $rs->first->get_column('total_point') : 0;