select order_num, sum(item_price * quantity) as total_price from OrderItems group by 1 having sum(item_price * quantity) >= 1000 order by 1