What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest" </s>