Tables
Tables
Tables
LastName VARCHAR(50),
DateOfBirth DATE,
Address VARCHAR(100),
PhoneNumber VARCHAR(15),
Email VARCHAR(50)
);
AccountType VARCHAR(20),
Balance DECIMAL(10, 2),
DateOpened DATE,
FOREIGN KEY (CustomerID) REFERENCES Customers(CustomerID)
);
LoanType VARCHAR(20),
FOREIGN KEY (CustomerID) REFERENCES Customers(CustomerID)
);
INSERT INTO Loans (LoanID, CustomerID, LoanAmount, InterestRate,
LoanDate, LoanType) VALUES