CREATE TABLE table_name_17 (first_elected VARCHAR, party VARCHAR, state VARCHAR)

What is the year First Elected, when the Party is Alp, and when the State is qld?
SELECT first_elected FROM table_name_17 WHERE party = "alp" AND state = "qld"
SELECT "first_elected" FROM "table_name_17" WHERE "alp" = "party" AND "qld" = "state"