I am starting to design a relational MySQL database to keep a plants and nutrients inventory but I keep running in circles on how to design the tables.
I have various types of plants and various types of nutrients.
I am having trouble deciding how the tables are going to relate with each other, if I make some simple related tables and then make sub-tables to store specific information.
如果您不知道它们之间的关系,只需为带有ID的植物和营养素创建两个单独的表,然后再创建一个子表即可使用其ID或您想要的方式将具有多种营养素的一种植物关联起来,反之亦然。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.