CREATE TABLE table_name_45 (entered_office VARCHAR2, throne_name VARCHAR2)

What was the Entered Office of the man with the throne name Mohammad Ali Shah Qajar?
SELECT entered_office FROM table_name_45 WHERE throne_name = "mohammad ali shah qajar"
SELECT "entered_office" FROM "table_name_45" WHERE "mohammad ali shah qajar" = "throne_name"