吧两表关联起来。talbe a's primary 作为table b's foreign即可。。