Database: shop_membership
Question: Show all member names and registered branch names sorted by register year.
SQL: select t3.name ,  t2.name from membership_register_branch as t1 join branch as t2 on t1.branch_id  =  t2.branch_id join member as t3 on t1.member_id  =  t3.member_id order by t1.register_year