表1(基本信息)
id|name | typeid
1  zhang   1
2  john    1表2(血型)
typeid   type
1        A
2        B插入表A一条记录,id=3 name=jack 血型是A,需要从表2先查出typeidid