所以我有一个DB三表和SQL语法忽略知识结合表记录
表1;
person_id;
person_name;
表2;
thing_id;
thing_name;
表3;
action_id;
action name;
thing_id; (referencing thing_id in the table 2)
person1_id(referencing person_id in the Table 1);
person2_id(referencing person_id in the Table 1);
基本上,我需要结合显示第一人称名称,第二人称名称,动作名称和事物名称。我能指导一些正确的加入方式吗?
http://www.w3schools.com/sql/sql_join.asp – SeanR
谢谢,我仍然不知道如何状况都人名的显示。 – 5up9n00b13