SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
-- Create the Customers table CREATE TABLE Customers ( CustomerID INT PRIMARY KEY AUTO_INCREMENT, FirstName VARCHAR(50) NOT NULL, LastName VARCHAR(50) NOT NULL, Email VARCHAR(100) NOT NULL UNIQUE, PhoneNumber VARCHAR(15), DateOfBirth DATE, Address VARCHAR(200), City VARCHAR(50), State VARCHAR(50), ZipCode VARCHAR(10), SSN CHAR(11), -- Social Security Number (Sensitive Information) AccountBalance DECIMAL(10, 2), CreatedAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP );'

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear