mysql 查询



DB::select('select customer_id as id from (select customer_id,sum(price) as totalprice from erm_orders group by customer_id) as t where t.totalprice >= ?', [$total_start]



这种子查询在laravel中怎么操作呢