question: What is the name of the minister from the party of minister for community safety and legal affairs?
answer: SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs"
context: CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR)