MySQL Database
MySQL Create Table
Define columns and constraints for a MySQL table.
CREATE TABLE products (
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
price DECIMAL(10, 2)
);Each column has a name and data type. Constraints protect the data rules.
Continue learning
