Is it possible to have optional relationships in mySQL? I have a table that stores jobs carried out by engineers and uses foreign keys to link to the different types of job that they may do. Here is the table:
CREATE TABLE job(
job_id INT AUTO_INCREMENT...
Hi all,
I am trying to create a database table that will act like a linked list by using self referencing. I have used the following definitions:
CREATE TABLE partslist(
id INT AUTO_INCREMENT,
PRIMARY KEY(id),
partid INT NOT NULL,
INDEX...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.