SELECT o.record_number
     , o.Order_Number
     , o.Order_Date
     , IF(os.Status IS NOT NULL, os.Status,'') AS Current_Status
     , IF(rel1.Record_Date IS NOT NULL, rel1.Record_Date,'') AS Date_Status_Assigned
     , o.Grand_Total
     , o.Bill_First_Name
     , o.Bill_Last_Name
     , o.Bill_Street
     , o.Bill_Postal_Code
     , s.Name AS Bill_State_or_Province
     , c.Name AS Bill_Country
     , o.Bill_Email_Address
     , p.Name AS Payment_Method
  FROM Orders o
LEFT OUTER
  JOIN REL_Orders__Order_Status AS rel1
    ON o.record_number = rel1.Orders_rn
LEFT OUTER
  JOIN REL_Orders__Order_Status AS rel2
    ON o.record_number = rel2.Orders_rn
LEFT OUTER
  JOIN Order_Status AS os
    ON rel1.Order_Status_rn = os.record_number
LEFT OUTER
  JOIN States AS s
    ON o.Bill_State_or_Province = s.record_number
LEFT OUTER
  JOIN Countries AS c
    ON o.Bill_Country = c.record_number
LEFT OUTER
  JOIN Payment_Methods AS p
    ON o.Payment_Method = p.record_number
