[INST] Here is a database schema:
account :
account_id [ INTEGER ] primary_key
district_id [ INTEGER ] account.district_id = district.district_id
frequency [ TEXT ]
date [ DATE ]

card :
card_id [ INTEGER ] primary_key
disp_id [ INTEGER ] card.disp_id = disp.disp_id
type [ TEXT ]
issued [ DATE ]

client :
client_id [ INTEGER ] primary_key
gender [ TEXT ]
birth_date [ DATE ]
district_id [ INTEGER ] client.district_id = district.district_id

disp :
disp_id [ INTEGER ] primary_key
client_id [ INTEGER ] disp.client_id = client.client_id
account_id [ INTEGER ] disp.account_id = account.account_id
type [ TEXT ]

district :
district_id [ INTEGER ] primary_key
A2 [ TEXT ]
A3 [ TEXT ]
A4 [ TEXT ]
A5 [ TEXT ]
A6 [ TEXT ]
A7 [ TEXT ]
A8 [ INTEGER ]
A9 [ INTEGER ]
A10 [ REAL ]
A11 [ INTEGER ]
A12 [ REAL ]
A13 [ REAL ]
A14 [ INTEGER ]
A15 [ INTEGER ]
A16 [ INTEGER ]

loan :
loan_id [ INTEGER ] primary_key
account_id [ INTEGER ] loan.account_id = account.account_id
date [ DATE ]
amount [ INTEGER ]
duration [ INTEGER ]
payments [ REAL ]
status [ TEXT ]

order :
order_id [ INTEGER ] primary_key
account_id [ INTEGER ] order.account_id = account.account_id
bank_to [ TEXT ]
account_to [ INTEGER ]
amount [ REAL ]
k_symbol [ TEXT ]

trans :
trans_id [ INTEGER ] primary_key
account_id [ INTEGER ] trans.account_id = account.account_id
date [ DATE ]
type [ TEXT ]
operation [ TEXT ]
amount [ INTEGER ]
balance [ INTEGER ]
k_symbol [ TEXT ]
bank [ TEXT ]
account [ INTEGER ]

Please write me a SQL statement that answers the following question: List the loan ID, district and average salary for loan with duration of 60 months. [/INST]
SELECT T3.loan_id, T2.A3, T2.A11 FROM account AS T1 INNER JOIN district AS T2 ON T1.district_id = T2.district_id INNER JOIN loan AS T3 ON T1.account_id = T3.account_id WHERE T3.duration = 60;