select * from orders a left join ordersproduct  b on a.order_id = b.order_id