-- Create the Referentable table CREATE TABLE Reference ( ref_id INT PRIMARY KEY, ref_name VARCHAR(255), ref_contant VARCHAR(255) ); -- Create the Customer table CREATE TABLE Customer ( cust_id INT PRIMARY KEY, cust_name VARCHAR(255), picture VARCHAR(255), CNIC VARCHAR(255), contact1 VARCHAR(255), contact2 VARCHAR(255), address VARCHAR(255), ref_id INT, tax_id INT, FOREIGN KEY (ref_id) REFERENCES Reference(ref_id) ); -- Create the Tax_table table CREATE TABLE Tax ( tax_id INT PRIMARY KEY, tax_year INT, tax_status VARCHAR(255), tax_file VARCHAR(255), cust_id INT, FOREIGN KEY (cust_id) REFERENCES Customer(cust_id) );