示例
class people{
private int id;
private String name;
private int age;
private Pet pet;
}
class Pet{
private String petName;
private String color;
}
select id,name,age,petName,color
from people,pet
where
pet.master=people.id
如何将petName
,color
分配给人们的宠物财产