I would rather go to Beijing than go to Shanghai.
I (like) going to Beijing (better than going) to Shanghai.
比起去上海来,我更喜欢去北京.