select st.id --05
from borrow br, student st, library li
where 
    st.id = br.id
and st.scity=li.city
and br.lname = li.lname