Check on create table

PHOTO EMBED

Fri May 28 2021 15:03:32 GMT+0000 (UTC)

Saved by @captm #sql

CREATE TABLE Persons (
    ID int NOT NULL,
    LastName varchar(255) NOT NULL,
    FirstName varchar(255),
    Age int,
    CHECK (Age>=18)
);
content_copyCOPY

https://www.freecodecamp.org/news/best-sql-database-tutorial/