CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR)

What is the name of the minister from the party of minister for community safety and legal affairs?
SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs"
SELECT "name" FROM "table_name_45" WHERE "minister for community safety and legal affairs" = "party"