I am writing an application that helps book exchange between users. I am using PHP and MySQL, and I am pretty new to them both.
表2
用户:用户属性(用户_id、姓名、出生......等)。
书籍:具有图书属性(书目、名称、作者、出版商等)。
副本:是书籍的实际复制件(复印件、状况、评论等)。
用户_copy:描述哪些用户持有该拷贝,由用户信息数据库和复印件组成。
复印件:是复印件和书籍的链接,由复印件和图书信息数据库组成。
My question is: what is the easiest and most efficient statement for getting the book attributes and copy attributes for each copy that a user holds?