Really thanks for the useful informations.
I will take care with next MySQL DB.
Now I have understand a bit better how things work.
I still have two doubts:
1) Is there a logic for using INNER JOIN ?
Suppose I have these tables and each of
the has the primary key called using
your method: "drivers", "computers", "kindofdrivers" and "operatingsystems".
If the "drivers" table is the one on the M side, is this queries ok to get info from all of them as it was a unique table?
SELECT drivers.id_driver, computers.id_computer, kindofdriver.id_kindofdriver FROM kindofdrivers INNER JOIN (operatingsystems INNER JOIN (computers INNER JOIN drivers ON computers.computer_id = drivers.computer_id) ON operatingsystems.operatingsystem_id = drivers.operatingsystem_id) ON kindofdrivers.kindofdriver_id = kindofdrivers.kindofdriver_id ;
This is the SQL string I get if I do this thing with MS-Access. Also MySQL should support this syntax. What I have not so clear in mind is the logic of inner join.
Can I start from any table or the order before have a logic ?
The last question, and thanks again to have read me till now, is about the relation between drivers table and operatingsystems one.
Each driver could have more then one OS and each OS could have more than one Driver.
It is a M to M relation.
I know how to solve it in Access, but with MySQL how I can do ?
I mean, which kind of form could I build to allow a user to select more then one OS ?
A list box ?
Many many thanks for your help
Fabio