question: What is the year First Elected, when the Party is Alp, and when the State is qld?
answer: SELECT first_elected FROM table_name_17 WHERE party = "alp" AND state = "qld"
context: CREATE TABLE table_name_17 (first_elected VARCHAR, party VARCHAR, state VARCHAR)