mysql - Is it possible to address whole table by ID? -


i'm creating database in have devices list in first table , features in second table. know can initialize relation between tables in way:

+----------------+                 +----------------------+ |     device     |                 |   features           | +----------------+                 +----------------------+ |   id           |--------+        |id                    | |   dname        |        +--------|did                   | +----------------+                 |options               |                                    |...                   |                                    +----------------------+ 

but think better decision if create "features" table each device. possible address table id? decision have names of tables in "device" table under "dname" , have huge quantity of "features" tables?

but think better decision if create "features" table each device.

this contrary principle of orthogonal design.

don't it. @ least not without very reason. first proposal of single features table devices far better solution.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -