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