Context: CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
Question: What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
Answer: SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"