I am trying to create one-to-one relationships between the a User and Archive table. I successfully achieved that using entity relationship diagram, but not in actual SQL code.
I wan to create these tables using SQL code like shown below, but at the same time defining its relationship with Table 2.
CREATE TABLE Table1 ( Some code
);