Insert Only Specified Columns

suggest change
INSERT INTO Customers (FName, LName, Email, PreferredContact)
VALUES ('Zack', 'Smith', 'zack@example.com', 'EMAIL');

This statement inserts a new row into the Customers table. Only the listed columns are set. No value is provided for PhoneNumber, so that column is NULL if it has no default. Every NOT NULL column without a default must be included.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents